/* Home: responsive hero, cards and section spacing - GitHub #781 */
/* Hero tags: same outlined pills at every screen size */
section.hero .hero__tags { gap: 8px; }
section.hero .hero__tags li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; font-size: 12px; letter-spacing: 0.08em; }
section.hero .hero__tags li + li::before { content: none; }
/* Hero stats: same tiles at every screen size (fixed width on desktop, full row below 900px) */
section.hero .hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 132px)); gap: 12px; }
section.hero .hero__stats li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font-size: 13px; }
section.hero .hero__stats strong { margin: 0; font-size: 18px; }
@media (max-width: 900px) { section.hero .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { section.hero .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  section.hero .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; margin: 20px 0 22px; }
  section.hero .hero__btn { justify-content: center; box-sizing: border-box; width: 100%; }
}
@media (min-width: 576px) and (max-width: 900px) {
  section.hero { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  section.hero .hero__cover { order: 0; width: 132px; height: 176px; }
}
.iss .iss-grid:has(> .iss-card:only-child) { grid-template-columns: 1fr; }
@media (min-width: 992px) { .iss .iss-grid:has(> .iss-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.layout-section [class*="col-"] > div:has(.iss) ~ div:has(.iss) { margin-top: calc(var(--section-gap) - 20px) !important; }
/* Article cards: "View Article" stays on one line at every card width (container query on the action row) */
.iss .iss-foot { container-type: inline-size; }
.iss .iss-foot .iss-btn { flex: 0 0 auto; white-space: nowrap; }
@container (max-width: 252px) {
  .iss .iss-foot .iss-actions { gap: 8px; }
  .iss .iss-foot .iss-btn { gap: 8px; padding: 10px 14px 10px 16px; font-size: 13px; }
  .iss .iss-foot .iss-icon-btn { width: 38px; height: 38px; }
}
@container (max-width: 214px) {
  .iss .iss-foot .iss-actions { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
  .iss .iss-foot .iss-btn { flex: 1 1 100%; justify-content: center; }
  .iss .iss-foot .iss-icon-btn--first { margin-left: 0; }
}

/* Information box (sidebar): heading on the page background above the card, same as the Open Access Policy page */
html body .layout-section .container .row:not(.ftr) > [class*="col-"]:has(> ul.info-links) > h2 { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
@media (min-width: 576px) { html body .layout-section .container .row:not(.ftr) > [class*="col-"]:has(> ul.info-links) > h2 { font-size: calc(1.325rem + 0.9vw) !important; } }
@media (min-width: 1200px) { html body .layout-section .container .row:not(.ftr) > [class*="col-"]:has(> ul.info-links) > h2 { font-size: 2rem !important; } }
