:root {
    color-scheme: light;
    --ink: #17212b;
    --ink-soft: #25333d;
    --paper: #ffffff;
    --canvas: #f2f5f6;
    --muted: #52616b;
    --line: #d8e0e4;
    --red: #bd3028;
    --red-dark: #97251f;
    --green: #17635d;
    --gold: #f1c15a;
    --serif: 'Newsreader', Georgia, serif;
    --sans: 'Source Sans 3', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #087c9c;
    outline-offset: 3px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
    position: absolute;
    z-index: 20;
    top: 8px;
    left: 8px;
    padding: 10px 16px;
    color: white;
    background: var(--ink);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.topline { color: #fff; background: var(--ink); font-size: 14px; }
.topline-inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.topline-note { color: #c9d2d7; }
.topline a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.masthead { display: flex; min-height: 98px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #fff;
    background: var(--red);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}
.brand-wordmark { display: flex; align-items: baseline; gap: 5px; font-size: 27px; letter-spacing: 0; line-height: 1; }
.brand-wordmark strong { font-weight: 700; }
.brand-wordmark span { color: var(--red); font-weight: 600; }
.brand-tagline { padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.site-search { display: flex; width: min(360px, 100%); min-width: 0; border: 1px solid var(--line); }
.site-search input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 0; color: var(--ink); background: #fff; font: 16px var(--sans); }
.site-search button { flex: 0 0 auto; min-width: 64px; padding: 8px 14px; border: 0; color: #fff; background: var(--red); font: 700 16px var(--sans); cursor: pointer; }
.site-search button:hover { background: var(--red-dark); }
.masthead-contact { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.contact-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.primary-nav { color: #fff; background: var(--red); }
.nav-scroll { display: flex; min-height: 50px; align-items: stretch; gap: 0; overflow-x: auto; scrollbar-width: thin; }
.nav-scroll a { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 0 17px; color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; }
.nav-scroll a:hover, .nav-scroll a:focus-visible { color: var(--ink); background: var(--gold); }
.nav-scroll a[aria-current="page"] { color: var(--ink); background: var(--gold); }
.nav-scroll .nav-home { padding-left: 0; }

.page-shell { padding-bottom: 80px; }
.page-intro { padding-top: 48px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.eyebrow { margin-bottom: 8px; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: 1.1px; }
.page-intro h1 { margin-bottom: 6px; font-size: 46px; line-height: 1.05; }
.intro-copy { margin-bottom: 0; color: var(--muted); font-size: 19px; }
.lead-story {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
    margin-top: 30px;
    background: var(--canvas);
}
.lead-image { aspect-ratio: 16 / 10; min-height: 370px; overflow: hidden; background: #d4dde1; }
.lead-image > img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; transition: transform .35s ease; }
.lead-image:hover > img:not([hidden]) { transform: scale(1.025); }
.lead-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px 42px; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-bottom: 14px; color: var(--muted); font-size: 15px; }
.category-label { color: var(--green); font-weight: 700; }
.feature-rank { padding: 3px 8px; color: #fff; background: var(--red); font-size: 13px; font-weight: 700; }
.view-count { color: var(--muted); font-size: 14px; font-weight: 600; }
.lead-copy h2 { max-width: 100%; margin-bottom: 20px; font-size: 42px; line-height: 1.12; overflow-wrap: anywhere; }
.lead-copy h2 a:hover, .story-card h3 a:hover, .brief-item h3 a:hover { color: var(--red); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--red-dark); font-size: 16px; font-weight: 700; }
.text-link span { font-size: 21px; line-height: 1; }
.story-section, .brief-section { padding-top: 62px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.section-heading .eyebrow { margin-bottom: 2px; }
.section-heading h2 { margin-bottom: 0; font-size: 31px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.story-card { min-width: 0; border-bottom: 1px solid var(--line); }
.load-more-wrap { padding-top: 28px; text-align: center; }
.load-more-wrap button.button-link { min-height: 48px; border: 0; font: 700 16px var(--sans); cursor: pointer; }
.load-more-wrap button:disabled { opacity: .7; cursor: wait; }
.load-more-status { min-height: 24px; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.story-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--canvas); }
.story-image > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.story-image:hover > img:not([hidden]) { transform: scale(1.025); }
.image-fallback { position: relative; isolation: isolate; }
.image-fallback > img[hidden] { display: none !important; }
.image-placeholder {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
    padding: 22px;
    color: #fff;
    background: linear-gradient(132deg, #12343a 0%, #17212b 56%, #702d2a 100%);
    text-align: center;
}
.image-placeholder::before {
    position: absolute;
    z-index: -1;
    inset: -50%;
    background: repeating-linear-gradient(135deg, transparent 0 17px, rgb(255 255 255 / 5%) 18px 19px, transparent 20px 38px);
    content: '';
    animation: placeholder-drift 32s linear infinite;
}
.image-placeholder::after {
    position: absolute;
    inset: 12px;
    border: 1px solid rgb(255 255 255 / 20%);
    content: '';
    pointer-events: none;
}
.image-fallback.is-placeholder .image-placeholder { display: flex; }
.placeholder-kicker, .placeholder-caption { position: relative; z-index: 1; }
.placeholder-kicker { color: #f1c15a; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; }
.placeholder-caption { color: #e4eaec; font-size: 15px; font-weight: 600; }
.image-placeholder > img {
    width: min(220px, 72%);
    height: auto;
    max-height: 74px;
    object-fit: contain;
    box-shadow: 0 8px 26px rgb(0 0 0 / 24%);
}
.sidebar-image { width: 92px; height: 72px; overflow: hidden; background: var(--canvas); }
.sidebar-image > img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-image .image-placeholder { gap: 4px; padding: 8px; }
.sidebar-image .placeholder-kicker { font-size: 9px; letter-spacing: .5px; }
.sidebar-image .placeholder-caption { font-size: 8px; }
.sidebar-image .image-placeholder::after { inset: 4px; }
.sidebar-image .image-placeholder > img { width: 76%; max-height: 22px; box-shadow: none; }
@keyframes placeholder-drift { to { transform: translate3d(38px, 38px, 0); } }
.story-card-copy { padding: 16px 0 20px; }
.story-card .story-meta { margin-bottom: 7px; font-size: 14px; }
.story-card h3 { margin-bottom: 8px; font-size: 25px; line-height: 1.2; overflow-wrap: anywhere; }
.story-location { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.brief-list { border-top: 1px solid var(--line); }
.brief-item { display: grid; grid-template-columns: 52px 1fr 30px; align-items: center; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.brief-number { color: var(--red); font-family: var(--serif); font-size: 25px; font-weight: 600; }
.brief-item .story-meta { margin-bottom: 4px; }
.brief-item h3 { margin-bottom: 0; font-size: 22px; line-height: 1.25; }
.brief-arrow { color: var(--red); font-size: 25px; text-align: center; }
.empty-state { display: flex; align-items: center; gap: 26px; margin-top: 32px; padding: 36px; border: 1px solid var(--line); background: var(--canvas); }
.empty-mark { display: grid; flex: 0 0 64px; height: 64px; place-items: center; color: #fff; background: var(--red); font-family: var(--serif); font-size: 38px; }
.empty-state h2 { margin-bottom: 5px; font-size: 31px; }
.empty-state p:not(.eyebrow) { margin-bottom: 16px; color: var(--muted); }
.button-link { display: inline-block; padding: 10px 18px; color: #fff; background: var(--ink); font-weight: 700; }
.button-link:hover { color: #fff; background: var(--red); }

.search-page { width: min(900px, calc(100% - 48px)); min-height: 55vh; margin: 0 auto; padding: 48px 0 76px; }
.search-heading { padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.search-heading h1 { margin-bottom: 6px; font-size: 42px; line-height: 1.12; overflow-wrap: anywhere; }
.search-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.search-results { margin: 0; padding: 0; list-style: none; }
.search-result { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-result .story-meta { margin-bottom: 6px; }
.search-result h2 { margin-bottom: 0; font-size: 27px; line-height: 1.2; overflow-wrap: anywhere; }
.search-empty { padding: 28px 0; }
.search-empty h2 { margin-bottom: 6px; font-size: 27px; }
.search-empty p { color: var(--muted); }

.site-footer { color: #edf2f4; background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-top: 44px; padding-bottom: 42px; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { color: var(--ink); background: var(--gold); }
.brand-footer .brand-wordmark span { color: #f17a6f; }
.footer-brand-block p { max-width: 280px; margin: 16px 0 0; color: #c9d2d7; }
.footer-column { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h2 { margin-bottom: 6px; color: #fff; font-family: var(--sans); font-size: 17px; font-weight: 700; }
.footer-column a { max-width: 100%; color: #d4dde1; font-size: 16px; overflow-wrap: anywhere; }
.footer-column a:hover, .social-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #39454d; }
.footer-bottom-inner { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom small { color: #c9d2d7; font-size: 14px; }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; }
.social-links a { color: #d4dde1; font-size: 14px; font-weight: 600; }

/* Article page */
.article-shell { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0 76px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 15px; }
.breadcrumbs a { color: var(--red-dark); font-weight: 600; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 54px; }
.article-main { min-width: 0; }
.article-header { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 820px; margin-bottom: 18px; font-size: 48px; line-height: 1.08; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 16px; }
.publisher-name { color: var(--ink); font-weight: 700; }
.article-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.text-size-controls, .share-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tools button {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: #fff;
    font: 600 16px var(--sans);
    cursor: pointer;
}
.article-tools button:hover { border-color: var(--red); color: var(--red-dark); }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.article-hero { width: 100%; aspect-ratio: 16 / 10; margin: 24px 0 30px; background: var(--canvas); }
.article-hero > img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.article-content { color: #26333b; font-size: 20px; line-height: 1.8; overflow-wrap: anywhere; }
.article-content p { margin: 0 0 1.25em; color: inherit; font-size: inherit; line-height: inherit; }
.article-content h2 { margin: 1.5em 0 .55em; font-size: 32px; line-height: 1.2; }
.article-content h3 { margin: 1.4em 0 .5em; font-size: 26px; }
.article-content img { height: auto; margin: 24px auto; }
.article-content a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-sidebar { position: sticky; top: 20px; border-top: 4px solid var(--red); }
.article-sidebar h2 { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 20px; }
.sidebar-story { display: grid; grid-template-columns: 92px 1fr; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sidebar-story img { width: 92px; height: 72px; object-fit: cover; background: var(--canvas); }
.sidebar-story p { margin-bottom: 4px; color: var(--green); font-size: 13px; font-weight: 700; }
.sidebar-story h3 { margin-bottom: 0; font-size: 18px; line-height: 1.2; }
.article-related { margin-top: 54px; padding-top: 20px; border-top: 2px solid var(--ink); }
.article-related h2 { font-size: 29px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.related-card { padding: 17px; border: 1px solid var(--line); background: var(--canvas); }
.related-card p { margin-bottom: 7px; color: var(--green); font-size: 14px; font-weight: 700; }
.related-card h3 { margin-bottom: 0; font-size: 21px; line-height: 1.2; }

/* Contact and not-found pages */
.contact-page, .not-found-page { width: min(1000px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 88px; }
.contact-page h1, .not-found-page h1 { margin-bottom: 10px; font-size: 48px; line-height: 1.1; }
.contact-lede { max-width: 680px; margin-bottom: 34px; color: var(--muted); font-size: 20px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.contact-item { min-width: 0; padding: 24px 20px 24px 0; }
.contact-item + .contact-item { padding-left: 20px; border-left: 1px solid var(--line); }
.contact-item h2 { margin-bottom: 8px; font-family: var(--sans); font-size: 17px; font-weight: 700; }
.contact-item p { margin-bottom: 0; color: var(--muted); font-size: 17px; overflow-wrap: anywhere; }
.contact-item a { color: var(--red-dark); font-weight: 600; }
.contact-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 24px; background: var(--canvas); }
.contact-note p { margin-bottom: 0; }
.error-code { display: inline-block; margin-bottom: 8px; color: var(--red); font-family: var(--serif); font-size: 88px; font-weight: 700; line-height: 1; }
.not-found-page p { max-width: 580px; color: var(--muted); font-size: 20px; }

@media (max-width: 900px) {
    .lead-story { grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr); }
    .lead-copy { padding: 28px; }
    .lead-copy h2 { font-size: 35px; }
    .article-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; }
    .article-header h1 { font-size: 41px; }
}

@media (max-width: 700px) {
    body { font-size: 17px; }
    .wrap, .article-shell, .contact-page, .not-found-page, .search-page { width: min(100% - 32px, 560px); }
    .topline-inner { min-height: 36px; }
    .topline-note, .masthead-contact { display: none; }
    .masthead { min-height: 78px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .brand-mark { width: 44px; height: 44px; font-size: 30px; }
    .brand-wordmark { font-size: 24px; }
    .brand-tagline { display: none; }
    .site-search { order: 3; flex: 1 0 100%; width: 100%; }
    .nav-scroll { width: 100%; min-height: 48px; }
    .nav-scroll a { padding-inline: 14px; font-size: 16px; }
    .nav-scroll .nav-home { padding-left: 0; }
    .nav-scroll { scrollbar-color: #f1c15a var(--red); scrollbar-width: thin; }
    .page-shell { padding-bottom: 60px; }
    .page-intro { padding-top: 32px; padding-bottom: 22px; }
    .page-intro h1 { font-size: 38px; }
    .intro-copy { font-size: 18px; }
    .lead-story { display: flex; flex-direction: column; margin-top: 20px; }
    .lead-image, .lead-image > img { min-height: 0; }
    .lead-image { aspect-ratio: 16 / 10; }
    .lead-image > img { aspect-ratio: 16 / 10; }
    .lead-copy { padding: 21px 20px 24px; }
    .lead-copy h2 { margin-bottom: 15px; font-size: 33px; }
    .story-section, .brief-section { padding-top: 42px; }
    .section-heading { align-items: flex-end; gap: 12px; }
    .section-heading h2 { font-size: 27px; }
    .section-heading > .text-link { max-width: 135px; font-size: 14px; line-height: 1.25; }
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
    .story-card h3 { font-size: 21px; }
    .story-card-copy { padding: 12px 0 16px; }
    .brief-item { grid-template-columns: 38px 1fr 24px; gap: 12px; padding: 17px 0; }
    .brief-item h3 { font-size: 19px; }
    .empty-state { align-items: flex-start; gap: 16px; padding: 22px 18px; }
    .empty-mark { flex-basis: 44px; height: 44px; font-size: 28px; }
    .empty-state h2 { font-size: 26px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 34px; padding-bottom: 32px; }
    .footer-brand-block { grid-column: 1 / -1; }
    .footer-bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 14px; padding-bottom: 14px; }
    .social-links { gap: 16px; }
    .article-shell { padding-top: 23px; }
    .article-layout { display: block; }
    .article-header h1 { margin-bottom: 14px; font-size: 38px; }
    .article-tools { align-items: flex-start; }
    .article-tools button { min-height: 46px; }
    .article-hero { margin: 18px 0 23px; }
    .article-content { font-size: 19px; line-height: 1.75; }
    .article-content h2 { font-size: 29px; }
    .article-sidebar { position: static; margin-top: 44px; }
    .article-related { margin-top: 38px; }
    .contact-page, .not-found-page { padding-top: 40px; padding-bottom: 64px; }
    .search-page { padding-top: 36px; padding-bottom: 60px; }
    .search-heading h1 { font-size: 36px; }
    .contact-page h1, .not-found-page h1 { font-size: 40px; }
    .contact-lede { font-size: 19px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-item, .contact-item + .contact-item { padding: 18px 0; border-left: 0; }
    .contact-item + .contact-item { border-top: 1px solid var(--line); }
}

@media (max-width: 430px) {
    .wrap, .article-shell, .contact-page, .not-found-page, .search-page { width: calc(100% - 28px); }
    .topline-inner { font-size: 13px; }
    .story-grid { grid-template-columns: 1fr; gap: 14px; }
    .story-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 13px; padding-bottom: 14px; }
    .story-image { aspect-ratio: 1; }
    .story-image > img { height: 100%; min-height: 100px; aspect-ratio: 1; }
    .story-card-copy { padding: 0; }
    .story-card .story-meta { gap: 4px 8px; margin-bottom: 4px; font-size: 13px; }
    .story-card h3 { font-size: 19px; }
    .story-location { font-size: 14px; }
    .lead-copy h2 { font-size: 29px; }
    .related-grid { grid-template-columns: 1fr; }
    .contact-note { padding: 18px; }
    .error-code { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
