/* Homepage editorial refresh. Isolated from independently styled experiences. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-page {
  --bg: #fcfcfd;
  --bg-alt: #f0f3f8;
  --text: #111b2e;
  --text-muted: #546176;
  --accent: #164ee8;
  --accent-hover: #103bb2;
  --accent-light: #e8efff;
  --border: #d8dfea;
  --card-bg: #fcfcfd;
  --header-bg: rgba(252,252,253,.97);
  --ticker-bg: #111b2e;
  --ticker-text: #edf2ff;
  --font-editorial: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
}
html.dark .home-page {
  --bg: #0c1422;
  --bg-alt: #131f32;
  --text: #edf2fa;
  --text-muted: #abb8cc;
  --accent: #91b1ff;
  --accent-hover: #bdd0ff;
  --accent-light: #1a2d50;
  --border: #2a3850;
  --card-bg: #0c1422;
  --header-bg: rgba(12,20,34,.97);
  --ticker-bg: #080e19;
}
.home-page button, .home-page input { font-family: inherit; }
.home-page :where(a, button, input, [role="button"]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 1000; padding: 12px 20px; background: var(--bg); color: var(--text); }
.skip-link:focus { top: 1rem; }
.home-page .header-inner { max-width: 1400px; min-height: 76px; padding: 12px 40px; gap: 24px; }
.home-page .site-logo { background: none; -webkit-text-fill-color: currentColor; flex-shrink: 0; }
.home-page .logo-img { width: 224px; height: 32px; }
.home-page .main-nav { gap: 4px; }
.home-page .main-nav a { font-size: .875rem; border-radius: 0; padding: 10px 12px; }
.home-page .main-nav a.active { background: none; color: var(--text); box-shadow: inset 0 -2px var(--accent); }
.home-page .theme-toggle { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; margin-left: 12px; }
.home-page .masthead { max-width: 1400px; padding: 30px 40px 34px; margin: 0 auto; }
.home-page .masthead-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .875rem; color: var(--text-muted); }
.home-page .masthead-top a { color: var(--text-muted); }
.home-page .masthead h1 { font-size: clamp(2.6rem, 7.5vw, 6.5rem); font-weight: 800; letter-spacing: -.065em; line-height: 1.12; margin: 16px 0 10px; }
.home-page .masthead h1 span { color: var(--accent); }
.home-page .masthead p { color: var(--text-muted); font-size: 1.125rem; }
.home-page .stats-ticker { padding: 14px 40px; font-size: .8125rem; }
.home-page .ticker-items { max-width: 1320px; justify-content: space-between; gap: 32px; }
.home-page .ticker-item { flex-shrink: 0; }
.home-page .ticker-number { color: #a9c1ff; font-family: var(--font-mono); font-size: 1rem; }
.home-page .featured { max-width: 1400px; margin: 36px auto 0; padding: 0 40px; }
.home-page .section-eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; color: var(--text-muted); }
.home-page .featured > a { display: block; }
.home-page .featured-card { grid-template-columns: 1.04fr 1fr; border-radius: 0; background: transparent; box-shadow: none; gap: 40px; overflow: visible; align-items: center; }
.home-page .featured-card:hover { box-shadow: none; }
.home-page .featured-img { display: block; height: 100%; min-height: 380px; max-height: 540px; object-fit: cover; border-radius: 3px; }
.home-page .featured-content { min-width: 0; padding: 10px 0; }
.home-page :where(.featured-kicker, .card-kicker) { background: none; padding: 0; border-radius: 0; font-size: .8125rem; letter-spacing: .06em; line-height: 1.5; }
.home-page .featured-title { font-family: var(--font-editorial); font-weight: 700; font-size: clamp(1.7rem, 2.75vw, 2.65rem); letter-spacing: -.035em; line-height: 1.13; margin-bottom: 18px; }
.home-page .featured-deck { font-size: 1rem; line-height: 1.65; margin-bottom: 22px; }
.home-page .featured-meta { font-size: .8125rem; line-height: 1.7; }
.home-page .featured-link { display: inline-block; color: var(--accent); margin-top: 24px; font-size: .875rem; font-weight: 650; }
.home-page .featured > a:hover .featured-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.home-page .search-bar { max-width: 1400px; padding: 0 40px; margin: 48px auto 0; }
.home-page .search-wrap { border-top: 2px solid var(--text); padding-top: 24px; }
.home-page .search-wrap::before { top: calc(50% + 12px); left: 16px; }
.home-page .search-input { padding: 15px 20px 15px 46px; font-size: 1rem; border-radius: 4px; background: var(--bg); }
.home-page .category-pills { max-width: 1400px; padding: 0 40px 10px; margin-top: 18px; gap: 8px; }
.home-page .pill { min-height: 44px; padding: 8px 12px; font-size: .875rem; border-radius: 4px; background: transparent; color: var(--text-muted); }
.home-page .pill:hover { color: var(--text); background: var(--bg-alt); border-color: var(--text-muted); }
.home-page .pill.active { color: #fff; background: #164ee8; border-color: #164ee8; }
.home-page .pill-count { padding: 0 4px; border-radius: 2px; font-size: .75rem; background: var(--bg-alt); color: var(--text-muted); }
.home-page .pill.active .pill-count { background: rgba(255,255,255,.16); color: #fff; }
.home-page .article-grid-section { max-width: 1400px; margin: 32px auto 0; padding: 0 40px; }
.home-page .grid-header { border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 28px; gap: 16px; align-items: baseline; }
.home-page .grid-title { font-size: 1.45rem; letter-spacing: -.04em; }
.home-page .article-count { font-size: .875rem; white-space: nowrap; }
.home-page #articleGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.home-page .article-card { display: flex; flex-direction: column; min-width: 0; background: transparent; border-radius: 0; border-bottom: 1px solid var(--border); padding-bottom: 26px; box-shadow: none; }
.home-page .article-card:hover { transform: none; box-shadow: none; }
.home-page .card-img-wrap { height: auto; aspect-ratio: 16 / 10; border-radius: 3px; }
.home-page .card-img-wrap img { display: block; transition: transform .25s ease; }
.home-page .article-card:hover .card-img-wrap img { transform: scale(1.025); }
.home-page .card-body { padding: 18px 0 0; }
.home-page .card-body h3 { font-family: var(--font-editorial); font-size: 1.45rem; line-height: 1.25; letter-spacing: -.02em; color: var(--text); margin-bottom: 12px; }
.home-page .article-card:hover h3 { color: var(--accent); }
.home-page .card-deck { font-size: 1rem; line-height: 1.6; margin-bottom: 0; -webkit-line-clamp: 4; }
.home-page .card-meta { flex-wrap: wrap; gap: 8px; font-size: .8125rem; margin-top: 16px; }
.home-page .card-img-placeholder { height: 100%; min-height: 100px; background: var(--bg-alt); }
.home-page .site-footer { margin-top: 56px; padding: 36px 40px; background: var(--bg); }
.home-page .footer-inner { max-width: 1320px; }
.home-page .footer-brand { font-size: 1.125rem; letter-spacing: -.025em; }
.home-page .footer-links { flex-wrap: wrap; }
.home-page .footer-links a { font-size: .875rem; padding: 8px 0; }
.home-page .footer-copy { text-align: left; font-size: .8125rem; }
.home-page .scroll-top { background: #164ee8; }
.home-page .drawer-close { position: absolute; top: 12px; right: 20px; min-height: 44px; background: none; border: 0; font-size: 1rem; color: var(--text); cursor: pointer; }
.home-page .mobile-drawer { width: min(340px, 100%); overflow-y: auto; height: 100dvh; }
.home-page .masthead { padding-block: 32px 28px; }
.home-page .masthead .section-eyebrow { margin: 0 0 16px; color: var(--accent); }
.home-page .masthead-content { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 48px; padding-top: 20px; border-top: 3px solid var(--accent); }
.home-page .masthead h1 { font-family: var(--font-editorial); font-size: clamp(2.25rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -.04em; margin: 0; max-width: 18ch; }
.home-page .masthead-content > p { max-width: 38ch; line-height: 1.6; padding-bottom: 3px; }
.home-page .archive-tools { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.home-page .archive-tools .search-wrap { padding: 0; border: 0; }
.home-page .archive-tools .search-wrap::before { top: 50%; }
.home-page .archive-filters { padding-top: 16px; }
.home-page .topic-buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.home-page :where(.topic-button, .topic-expand, .active-topic) { min-height: 44px; max-width: 100%; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: .9375rem; line-height: 1.4; cursor: pointer; border: 1px solid transparent; background: var(--bg-alt); color: var(--text); }
.home-page .topic-button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.home-page .topic-button:hover { border-color: var(--text-muted); }
.home-page .topic-expand { background: transparent; color: var(--text-muted); }
.home-page .topic-expand span { margin-left: 6px; }
.home-page .extra-topics { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.home-page .filter-summary { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.home-page .active-topic { color: var(--accent); background: var(--accent-light); }
.home-page .filter-summary #clearFilters { border: 0; background: transparent; padding-inline: 0; color: var(--text-muted); font-size: .875rem; }
.home-page .card-eyebrow { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.home-page .card-eyebrow .card-kicker { margin: 0; }
.home-page .publication-date { color: var(--text-muted); font-size: .875rem; white-space: nowrap; }
.home-page .featured-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.home-page .author-credit { color: var(--text-muted); font-size: .875rem; }
.home-page .editorial-note { max-width: 1320px; margin: 24px auto 0; font-size: .875rem; line-height: 1.6; color: var(--text-muted); }
.home-page .card-meta:empty { display: none; }
.home-page :where(#clearFilters, #loadMore, #searchRetry) { min-height: 44px; font: inherit; border: 1px solid var(--border); border-radius: 4px; padding: 10px 18px; background: var(--bg); color: var(--text); cursor: pointer; }
.home-page #loadMore { background: var(--accent); color: var(--bg); border-color: var(--accent); min-width: 220px; }
.home-page #loadMore:disabled { opacity: .65; cursor: wait; }
.home-page .featured-img { min-height: 0; height: auto; aspect-ratio: 16 / 10; max-height: 360px; width: 100%; }
.home-page .featured > a { color: inherit; text-decoration: none; }
.home-page .featured-title { font-size: clamp(1.65rem, 2.4vw, 2.3rem); }
.home-page .featured-link { margin-top: 12px; }
.home-page .archive-continuation { margin-top: 32px; text-align: center; }
.home-page #scrollHint { font-size: .875rem; color: var(--text-muted); margin-top: 12px; }
.home-page .pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.home-page .pagination :where(a, [aria-current]) { display: inline-flex; min-width: 44px; min-height: 44px; padding: 8px 12px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 4px; font-size: .875rem; }
.home-page .pagination [aria-current] { background: var(--bg-alt); font-weight: 700; }
.home-page .archive-status { color: var(--text-muted); font-size: .9375rem; margin-bottom: 20px; }
.home-page .archive-status:empty { display: none; }
.home-page .article-card { content-visibility: auto; contain-intrinsic-size: auto 530px; }
.home-page .card-meta { color: var(--text-muted); }
.home-page .card-deck:empty { display: none; }
.home-page .archive-intro h1 { font-size: 2.5rem; margin-bottom: 12px; }
.home-page .pagination a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1100px) {
  .home-page .featured-card { gap: 28px; }
  .home-page #articleGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .home-page .main-nav { display: none; }
  .home-page .hamburger { display: block; min-height: 44px; }
}
@media (max-width: 768px) {
  .home-page .header-inner { padding: 12px 20px; min-height: 68px; gap: 12px; }
  .home-page .logo-img { width: min(224px, 58vw); height: 32px; }
  .home-page .hamburger { min-width: 44px; flex-shrink: 0; }
  .home-page .masthead { padding: 26px 20px; }
  .home-page .masthead-content { grid-template-columns: 1fr; gap: 14px; padding-top: 16px; }
  .home-page .masthead h1 { font-size: clamp(2rem, 7.5vw, 3rem); max-width: 21ch; }
  .home-page .masthead .section-eyebrow { font-size: .875rem; margin-bottom: 12px; }
  .home-page .archive-tools { padding-inline: 20px; }
  .home-page .topic-buttons { gap: 6px; }
  .home-page .masthead-top { font-size: .8125rem; }
  .home-page .masthead p { font-size: 1rem; }
  .home-page .stats-ticker { padding: 12px 20px; }
  .home-page .ticker-items { justify-content: flex-start; }
  .home-page .featured, .home-page .search-bar, .home-page .category-pills, .home-page .article-grid-section { padding-inline: 20px; }
  .home-page .featured { margin-top: 26px; }
  .home-page .featured-card { grid-template-columns: 1fr; gap: 20px; }
  .home-page .featured-img { min-height: 0; max-height: 360px; aspect-ratio: 16 / 9; }
  .home-page .featured-content { padding: 0; }
  .home-page .featured-content { order: -1; }
  .home-page .featured-title { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .home-page .search-bar { margin-top: 32px; }
  .home-page .category-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
  .home-page .pill { flex-shrink: 0; }
  .home-page .category-pills::-webkit-scrollbar { display: block; height: 5px; }
  .home-page .site-footer { padding-inline: 20px; }
  .home-page .footer-inner { align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .home-page .masthead h1 { font-size: clamp(2rem, 8vw, 2.65rem); }
  .home-page #articleGrid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-page .grid-header { flex-wrap: wrap; gap: 8px; }
  .home-page .card-body h3 { font-size: 1.45rem; }
  .home-page .card-img-wrap { aspect-ratio: 16 / 9; }
  .home-page .featured-deck { margin-bottom: 16px; }
  .home-page .featured-img { max-height: 210px; }
  .home-page .featured-link { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page, .home-page *, .home-page *::before, .home-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .home-page .article-card:hover .card-img-wrap img { transform: none; }
}
