:root {
  color-scheme: light;
  --paper: #f9f8f2;
  --mint: #eff4e9;
  --ink: #162c27;
  --teal: #153d38;
  --muted: #485e55;
  --accent: #8b3623;
  --peach: #ffae88;
  --line: #a9b5a8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #905228; outline-offset: 4px; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(calc(100% - 64px), 1200px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); z-index: 10; padding: 10px 16px; background: var(--paper); }
.skip:focus { transform: translateY(0); }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; white-space: nowrap; font: bold clamp(1.22rem, 3vw, 1.72rem)/1 var(--serif); letter-spacing: -.04em; }
.brand img { flex: 0 0 auto; }
.edition { background: var(--mint); }
.edition-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.front-title { padding: 31px 0 25px; }
.front-title h1, .section-title h1, .page-wrap h1 { font: bold clamp(2.65rem, 7vw, 6rem)/.97 var(--serif); letter-spacing: -.071em; }
.front-title p, .section-title p { margin-top: 12px; max-width: 42rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.front-grid { display: grid; grid-template-columns: minmax(0, 2.03fr) minmax(0, 1fr); gap: 22px; }
.lead, .card { border: 1px solid var(--line); background: white; min-width: 0; }
.lead > img, .card > img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; background: var(--mint); }
.lead .card-copy { padding: clamp(18px, 3vw, 32px); }
.kicker { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.lead h2 { margin-top: 4px; font: bold clamp(1.95rem, 3.9vw, 3.55rem)/1.01 var(--serif); letter-spacing: -.05em; }
.lead a, .card a, .rail a { text-decoration: none; }
.lead a:hover, .card a:hover, .rail a:hover { text-decoration: underline; }
.card-copy p { margin-top: 8px; color: var(--muted); }
.front-rail { padding: clamp(16px, 2vw, 27px); background: var(--mint); border-top: 4px solid var(--teal); }
.front-rail > h2 { padding-bottom: 10px; font: bold clamp(1.35rem, 2.4vw, 1.95rem)/1.14 var(--serif); letter-spacing: -.045em; }
.rail { padding-block: 15px; border-top: 1px solid var(--line); }
.rail:last-child { padding-bottom: 0; }
.card h3, .rail h3 { margin-top: 5px; font: bold clamp(1.42rem, 2.18vw, 1.95rem)/1.08 var(--serif); letter-spacing: -.04em; }
.rail p, .card p { font-size: .94rem; }
.home-section { margin-block: 48px; scroll-margin-top: 16px; }
.section-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; border-top: 2px solid var(--teal); padding-block: 11px 15px; }
.section-bar h2 { font: bold clamp(1.75rem, 4vw, 2.65rem)/1 var(--serif); letter-spacing: -.055em; }
.section-bar a { font-weight: 750; font-size: .89rem; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.guide-section .grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.guide-section .card { border-top: 4px solid var(--teal); }
.card .card-copy { padding: 15px 17px 19px; }
.section-title, .page-wrap { padding-block: 55px 20px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.topics a { display: inline-flex; min-height: 40px; align-items: center; padding: 5px 12px; background: var(--mint); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.article-title { max-width: 850px; margin: 0 auto; padding: 48px 0 22px; }
.article-title h1 { font: bold clamp(2.45rem, 6vw, 5.15rem)/1 var(--serif); letter-spacing: -.063em; }
.crumb { margin-bottom: 12px; color: var(--accent); font-weight: 800; font-size: .79rem; text-transform: uppercase; letter-spacing: .055em; }
.crumb a { display: inline-block; padding-block: 7px; }
.deck { margin-top: 14px; color: var(--muted); font-size: clamp(1.1rem, 2.4vw, 1.42rem); }
.byline { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.byline a { font-weight: 700; }
.article-photo { max-width: 850px; margin: 0 auto 30px; }
.article-photo img { width: 100%; }
.article-photo figcaption { padding-top: 8px; color: var(--muted); font-size: .81rem; }
.article-text, .policy-text { max-width: 43rem; }
.article-text { margin-inline: auto; }
.story-body, .policy-text { font: 1.18rem/1.67 var(--serif); }
.story-body h2, .policy-text h2, .sources h2 { margin: 27px 0 6px; font: bold 1.65rem/1.15 var(--serif); letter-spacing: -.025em; scroll-margin-top: 16px; }
.story-body p, .policy-text p { margin: 0 0 17px; }
.contents, .sources { padding: 14px 19px; background: var(--mint); border-left: 4px solid var(--teal); }
.contents { margin-bottom: 26px; }
.contents p { font-weight: 800; }
.contents ul, .sources ul { margin: 8px 0 0; padding-left: 21px; }
.contents li, .sources li { padding-block: 3px; }
.sources { margin-top: 29px; }
.sources h2 { margin-top: 0; }
.page-wrap { min-height: 52vh; padding-bottom: 58px; }
.page-wrap h1 { margin-bottom: 18px; }
.policy-text { margin-top: 21px; }
.policy-text li { margin-bottom: 5px; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 17px; color: white; background: var(--teal); border: 1px solid var(--teal); font: 750 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.button:hover { background: #286257; color: white; }
.search-form { max-width: 680px; }
.search-form label { display: block; margin-bottom: 8px; font-weight: 750; }
.query-row { display: flex; gap: 8px; }
.query-row input { flex: 1; min-width: 0; border: 1px solid var(--muted); padding: 8px 11px; font: inherit; }
#search-status { margin-top: 15px; }
#search-results { max-width: 750px; padding-inline-start: 22px; }
#search-results li { margin-block: 12px; padding: 10px 0 13px 4px; border-bottom: 1px solid var(--line); }
#search-results h2 { margin-bottom: 5px; font: bold 1.36rem/1.16 var(--serif); }
.footer { background: var(--teal); color: #f6f7ef; }
.foot-inner { display: grid; grid-template-columns: 1fr 2fr; min-height: 145px; gap: 20px; align-items: start; padding-block: 33px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 3px 15px; }
.footer nav a, .footer button { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.footer button { appearance: none; border: 0; background: transparent; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.footer a:hover, .footer button:hover { color: var(--peach); }
.footer :focus-visible { outline-color: var(--peach); }
.footer p { margin: 4px 0 0; font-size: .85rem; }
@media (max-width: 950px) {
  .guide-section .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .foot-inner { grid-template-columns: 1fr; gap: 9px; }
}
@media (max-width: 740px) {
  .wrap { width: min(calc(100% - 36px),1200px); }
  .front-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .front-title { padding-block: 28px 20px; }
  .article-title { padding-top: 25px; }
}
@media (max-width: 450px) {
  .grid, .guide-section .grid { grid-template-columns: 1fr; }
  .front-rail { padding-inline: 15px; }
  .home-section { margin-block: 35px; }
  .brand { white-space: normal; }
}

.search-help { max-width: 42rem; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.search-help h2 { margin-bottom: 8px; font: bold 1.6rem/1.2 var(--serif); }
.search-help ul { margin-bottom: 0; padding-left: 23px; }
.search-help li + li { margin-top: 6px; }

.site-header, .site-header nav, .site-header h2, time, .footer {
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 3%;
  color: #111;
  background: #fff;
  border-bottom: 3px solid #111;
}

.skip:focus { z-index: 30; }
.site-header a { text-decoration: none; }
.site-header a:hover { color: inherit; text-decoration: underline; }
.site-header :focus-visible { outline-color: #111; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wordmark { font-size: 22px; font-weight: 900; letter-spacing: -1px; white-space: nowrap; }
.mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 14px solid #111;
}

.site-header > .primary-navigation {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-left: auto;
  font: 700 12px / 1.35 Arial, Helvetica, sans-serif;
}

.primary-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid transparent;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-menu summary::-webkit-details-marker { display: none; }
.primary-menu > summary::after { content: "+"; margin-left: 8px; font-size: 18px; }
.primary-menu[open] > summary { color: #fff; background: #111; }
.primary-menu[open] > summary::after { content: "−"; }

.primary-menu-panel {
  position: absolute;
  z-index: 20;
  inset: 100% 0 auto;
  max-height: calc(100dvh - 71px);
  overflow-y: auto;
  padding: 22px max(3%, calc(50% - 648px)) 28px;
  background: #fff;
  border-bottom: 3px solid #111;
  box-shadow: 0 12px 20px #0002;
}

.primary-menu-heading, .best-of-menu-heading { margin-bottom: 16px; font-size: 17px; font-weight: 800; }
.best-of-menu-heading span { margin-left: 6px; font-weight: 400; }
.news-menu-groups { max-width: 900px; }
.news-menu-groups h2 { margin-bottom: 10px; font-size: 20px; }
.news-menu-groups ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-menu-groups a, .best-of-menu-group li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
}

.best-of-menu-layout { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 32px; }
.best-of-family-rail { display: flex; flex-direction: column; padding-right: 20px; border-right: 1px solid #bbb; }
.best-of-family-rail a { display: flex; align-items: center; min-height: 44px; padding: 7px 10px; font-size: 14px; }
.best-of-family-rail a[data-active] { color: #fff; background: #111; }
.best-of-menu-group { display: none; }
.best-of-menu-group[data-active] { display: block; columns: 3; column-gap: 32px; }
.best-of-menu-group > summary { break-inside: avoid; margin-bottom: 10px; font-size: 20px; font-weight: 800; list-style: none; }
.best-of-menu-group > p { break-inside: avoid; margin-bottom: 8px; }
.best-of-menu-group > p a { font-size: 13px; text-decoration: underline; }
.best-of-menu-group ul { margin: 0; padding: 0; list-style: none; }
.best-of-menu-group li { break-inside: avoid; }
.best-of-menu-group li a { padding: 5px 0; }

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  width: 220px;
  min-width: 0;
  min-height: 44px;
  margin-left: 16px;
}

.header-search input, .header-search a {
  height: 44px;
  border: 2px solid #111;
  border-radius: 0;
  color: #111;
  background: #fff;
}

.header-search input { width: 100%; min-width: 0; padding: 0 10px; border-right: 0; font: 14px / 1 Arial, Helvetica, sans-serif; }
.header-search a { display: grid; place-items: center; }
.header-search a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.header-search :focus-visible { outline-offset: 2px; }

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 10px; padding: 10px 18px; }
  .wordmark { font-size: 21px; }
  .site-header > .primary-navigation {
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
  }
  .primary-menu { min-width: 0; }
  .primary-menu > summary { width: 100%; padding: 4px 6px; font-size: 13px; text-align: center; white-space: normal; }
  .header-search { order: 4; width: 100%; margin: 8px 0 0; }
  .primary-menu-panel { max-height: calc(100dvh - 185px); padding: 16px 18px 22px; border-top: 2px solid #111; }
  .news-menu-groups ul { display: block; }
  .best-of-menu-layout { display: block; }
  .best-of-family-rail { display: none; }
  .best-of-menu-group, .best-of-menu-group[data-active] { display: block; columns: 1; border-top: 1px solid #aaa; }
  .best-of-menu-group > summary { display: flex; align-items: center; min-height: 44px; margin: 0; cursor: pointer; font-size: 18px; }
  .best-of-menu-group > summary::after { content: "+"; margin-left: auto; }
  .best-of-menu-group[open] > summary::after { content: "−"; }
  .best-of-menu-group > p, .best-of-menu-group ul { padding-left: 14px; }
  .best-of-menu-heading a, .best-of-menu-group > p a { display: inline-flex; align-items: center; min-height: 44px; }
}

.fact-sources {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: .82rem / 1.5 var(--sans);
}

.home-section[id], .story-body h2[id], .policy-text [id] { scroll-margin-top: 155px; }
@media (max-width: 760px) {
  .home-section[id], .story-body h2[id], .policy-text [id] { scroll-margin-top: 195px; }
}
