/* Goldfinch Post: newspaper header and front page */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header bar: always navy, light text, in both themes */
.nh { background: #1f3354; color: #ffffff; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.nh-bar { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 10px 16px; min-height: 68px; }
.nh-icon { background: none; border: 0; color: #ffffff; padding: 8px; display: inline-flex; cursor: pointer; border-radius: 4px; }
.nh-icon:hover { background: #ffffff1f; }
.nh-logo img { height: 46px; width: auto; }
.nh-nav { display: none; gap: 18px; white-space: nowrap; font-family: var(--font-ui); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nh-nav a, .nh-drawer a { color: #ffffff; text-decoration: none; }
.nh-nav a:hover { color: #e2b007; }
.nh-nav a:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e2b007; margin: 0 7px 2px 0; }
.nh-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nh-btn { display: none; font-family: var(--font-ui); font-size: 15px; font-weight: 700; padding: 9px 16px; border-radius: 4px; text-decoration: none; white-space: nowrap; }
.nh-btn.ghost { color: #ffffff; border: 1px solid #ffffff99; }
.nh-btn.ghost:hover { background: #ffffff1f; }
.nh-btn.gold { background: #e2b007; color: #1a1f2b; }
.nh-btn.gold:hover { background: #f0c22a; }
.nh :focus-visible { box-shadow: 0 0 0 2px #1f3354, 0 0 0 4px #e2b007; }
.nh-drawer { display: grid; gap: 4px; padding: 8px 16px 16px; border-top: 1px solid #ffffff2e; font-family: var(--font-ui); font-size: 17px; font-weight: 600; }
.nh-drawer a { padding: 10px 0; border-bottom: 1px solid #ffffff1a; }
@media (min-width: 640px) { .nh-btn.gold { display: inline-block; } }
@media (min-width: 900px) and (max-width: 1239px), (min-width: 1440px) { .nh-btn.ghost { display: inline-block; } }
@media (min-width: 1240px) { .nh-nav { display: flex; } }
.site-footer .wrap { max-width: 1280px; }

/* Front page grid */
.news .wrap { max-width: 1280px; }
.news .kicker { margin-bottom: 6px; }
.news a { text-decoration: none; color: inherit; }
.news a:hover .h-xl, .news a:hover .h-l, .news a:hover .h-m, .news a:hover .h-s { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.h-xl { font-family: var(--font-head); font-size: 30px; line-height: 36px; font-weight: 700; margin: 0; color: var(--ink); }
.h-l { font-family: var(--font-head); font-size: 26px; line-height: 34px; font-weight: 400; margin: 0 0 10px; color: var(--ink); }
.h-m { font-family: var(--font-head); font-size: 21px; line-height: 28px; font-weight: 400; margin: 0; color: var(--ink); }
.h-s { font-family: var(--font-head); font-size: 20px; line-height: 27px; font-weight: 400; margin: 0; color: var(--ink); }
@media (min-width: 1000px) { .h-xl { font-size: 36px; line-height: 42px; } .h-l { font-size: 30px; line-height: 38px; } }
.tint { background: var(--tint-a); }
.tint2 { background: var(--tint-b); }
.summary { font-size: 17px; line-height: 27px; margin: 0; }

/* Image placeholders */
.ph { position: relative; width: 100%; max-width: 100%; border-radius: 2px; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px); }
.ph span { position: absolute; left: 10px; bottom: 8px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 2px 6px; border-radius: 2px; }

/* Latest ticker */
.ticker { padding-block: 18px 22px; border-bottom: 2px solid var(--ink); }
.ticker-h { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink); }
.ticker-h .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.ticker-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 24px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.ticker-list li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t-time { font-family: var(--font-ui); font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.t-time::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.t-time::after { content: ""; flex: 1; border-top: 1px dotted var(--line-strong); }
.ticker-list a { font-family: var(--font-ui); font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.ticker-list a:hover { text-decoration: underline; }

/* Top stories: text lead | photo lead | side column */
.top { display: grid; gap: 20px; padding-block: 28px; border-bottom: 2px solid var(--ink); grid-template-columns: 1fr; }
.col-left, .col-right { display: grid; gap: 20px; align-content: start; }
.lead-text { padding: 18px 18px 24px; display: block; }
.lead-text .related { margin: 18px 0 0; padding: 0; list-style: none; font-family: var(--font-ui); font-size: 17px; }
.lead-text .related li { padding-left: 16px; position: relative; margin-bottom: 6px; }
.lead-text .related li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--accent); }
.small-text { padding: 16px 18px; display: block; }
.col-main { display: flex; flex-direction: column; }
.main-cap { padding: 18px 22px 22px; text-align: center; flex: 1; }
.side-story { display: grid; gap: 8px; }
.side-story .ph { margin-bottom: 4px; }
.quiz-teaser { border-top: 1px solid var(--line); padding-top: 16px; }
@media (min-width: 760px) {
  .top { grid-template-columns: 1fr 1fr; }
  .col-main { grid-column: 1 / -1; order: -1; }
}
@media (min-width: 1100px) {
  .top { grid-template-columns: 1fr 2fr 1fr; }
  .col-main { grid-column: auto; order: 0; }
  .col-left { grid-template-rows: 1fr auto; }
}

/* Row 2: three photo stories + sidebar */
.row2 { display: grid; gap: 28px; padding-block: 28px; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
.cards3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.story { display: grid; gap: 8px; align-content: start; }
.story .ph { margin-bottom: 6px; }
@media (min-width: 640px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .row2 { grid-template-columns: 3fr 1fr; } }
.side-h { font-family: var(--font-ui); font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 10px; margin: 0 0 12px; }
.tools { list-style: none; padding: 0; margin: 0 0 8px; }
.tools li { border-bottom: 1px solid var(--line); }
.tools a { display: block; padding: 10px 0; font-family: var(--font-ui); font-size: 17px; font-weight: 600; color: var(--brand); }
.tools a:hover { text-decoration: underline; }
.side-ad { margin: 20px 0 0; }

/* Row 3: most read + newsletter */
.row3 { display: grid; gap: 28px; padding-block: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .row3 { grid-template-columns: 1fr 1fr; } }
.most-read ol { margin: 0; padding: 0; list-style: none; counter-reset: mr; }
.most-read li { counter-increment: mr; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.most-read li::before { content: counter(mr); font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--accent-ink); }
.most-read a { font-family: var(--font-head); font-size: 19px; line-height: 26px; color: var(--ink); }
.most-read a:hover { text-decoration: underline; }
.newsletter { padding: 22px; }
.newsletter p { font-size: 17px; line-height: 27px; margin: 10px 0 16px; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form input { flex: 1 1 220px; min-height: 52px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--bg-raised); color: var(--ink); font: 17px var(--font-ui); }
.nl-form p { flex-basis: 100%; margin: 0; }
