:root {
    --ink: #15191f;
    --ink-2: #2b323b;
    --muted: #66717d;
    --line: #d9e1e7;
    --paper: #ffffff;
    --soft: #f3f6f8;
    --soft-2: #edf3f3;
    --brand: #0f6b70;
    --brand-dark: #0a464a;
    --accent: #d99a22;
    --red: #b43b34;
    --max: 1180px;
    --shadow: 0 18px 50px rgba(18, 31, 43, .12);
    --font-main: 'Lato', Arial, Helvetica, sans-serif;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/assets/fonts/Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #f8fafb 0, #fff 360px),
        var(--paper);
    font-family: var(--font-main);
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; object-fit: cover; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 100;
    transform: translateY(-140%);
    background: var(--ink);
    color: #fff;
    padding: 12px 16px;
    font-weight: 900;
}
.skip-link:focus {
    transform: translateY(0);
}

.topbar {
    background: var(--ink);
    color: #e7eef2;
    font-size: 13px;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.site-head {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(217, 225, 231, .86);
    backdrop-filter: blur(12px);
}
.site-head__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 20px 0 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
}
.brand__mark {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15, 107, 112, .28);
}
.brand__logo {
    width: clamp(150px, 18vw, 230px);
    max-height: 96px;
    object-fit: contain;
}
.brand strong {
    display: block;
    font-family: var(--font-main);
    font-size: clamp(28px, 3vw, 42px);
    line-height: .95;
}
.brand small {
    display: block;
    color: var(--muted);
    margin-top: 5px;
    font-size: 13px;
}
.search {
    display: flex;
    gap: 8px;
    width: min(430px, 100%);
}
.search input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    background: #fff;
    padding: 12px 13px;
    font-size: 15px;
}
.search button,
.button-link {
    border: 0;
    background: var(--brand);
    color: #fff;
    padding: 12px 16px;
    font-weight: 800;
    cursor: pointer;
}
.search button:hover,
.button-link:hover { background: var(--brand-dark); }
.nav {
    border-top: 1px solid rgba(217, 225, 231, .9);
}
.nav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    row-gap: 0;
}
.nav a {
    position: relative;
    padding: 12px 0;
    color: #303842;
    font-weight: 800;
    font-size: 14px;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: transparent;
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after { background: var(--accent); }

.home-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 345px;
    gap: 30px;
    padding: 34px 0 28px;
}
.lead-card {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #17202a;
    box-shadow: var(--shadow);
}
.lead-card img {
    width: 100%;
    height: 560px;
    transform: scale(1.01);
}
.lead-card a::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.03) 16%, rgba(0,0,0,.84) 100%),
        linear-gradient(90deg, rgba(0,0,0,.52), rgba(0,0,0,0) 58%);
}
.lead-card--pulse {
    animation: leadPulse .28s ease;
}
@keyframes leadPulse {
    from { filter: brightness(1.08); }
    to { filter: brightness(1); }
}
.lead-card__content {
    position: absolute;
    left: clamp(22px, 4vw, 42px);
    right: clamp(22px, 4vw, 42px);
    bottom: 30px;
    z-index: 1;
    color: #fff;
}
.lead-card .kicker {
    color: #ffcf73;
}
.lead-card h1 {
    margin: 0;
    margin-top: 10px;
    max-width: 870px;
    font-family: var(--font-main);
    font-size: clamp(30px, 4.4vw, 58px);
    line-height: 1.04;
}
.lead-card p {
    margin: 12px 0 0;
    max-width: 780px;
    color: #e9eef1;
    font-size: 18px;
}
.kicker {
    display: inline-block;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.latest-panel {
    border-top: 4px solid var(--brand);
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 31, 43, .08);
    padding: 18px;
}
.latest-panel h2 {
    margin: 0 0 12px;
    font-family: var(--font-main);
    font-size: 25px;
}
.latest-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2px;
}
.latest-panel__head h2 {
    margin-bottom: 12px;
}
.latest-panel__head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.latest-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.latest-item time {
    color: var(--accent);
    font-weight: 900;
    font-size: 13px;
}
.latest-item span {
    font-weight: 800;
    line-height: 1.28;
}
.latest-item:hover span { color: var(--brand); }
.latest-item[aria-current="true"] span {
    color: var(--brand);
}
.latest-item[aria-current="true"] {
    background: linear-gradient(90deg, rgba(15, 107, 112, .09), transparent);
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}
.latest-panel--sticky {
    position: sticky;
    top: 136px;
    align-self: start;
}

.section-block { padding: 30px 0; }
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 20px;
}
.section-title h1,
.section-title h2 {
    margin: 0 0 10px;
    font-family: var(--font-main);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.04;
}
.section-title a,
.section-title span {
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 11px;
}
.card-grid {
    display: grid;
    gap: 24px;
}
.card-grid--four { grid-template-columns: repeat(4, 1fr); }
.card-grid--three { grid-template-columns: repeat(3, 1fr); }
.news-card {
    border-bottom: 1px solid var(--line);
    padding-bottom: 17px;
}
.news-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--soft);
    margin-bottom: 13px;
    transition: transform .2s ease;
}
.news-card a:hover img { transform: translateY(-2px); }
.news-card h3 {
    margin: 7px 0 8px;
    font-family: var(--font-main);
    font-size: 23px;
    line-height: 1.12;
}
.news-card p,
.story-row p,
.side-note p {
    margin: 0;
    color: var(--muted);
}
.layout-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 34px;
    align-items: start;
}
.story-list { display: grid; gap: 18px; }
.story-row a {
    display: grid;
    grid-template-columns: 235px 1fr;
    gap: 19px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}
.story-row__body {
    min-width: 0;
}
.story-row img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--soft);
}
.story-row h3 {
    margin: 5px 0 7px;
    font-family: var(--font-main);
    font-size: 27px;
    line-height: 1.12;
}
.story-row a:hover h3,
.news-card a:hover h3 { color: var(--brand); }
.side-note {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    padding: 24px;
    box-shadow: 0 12px 30px rgba(18, 31, 43, .08);
}
.side-rail {
    display: grid;
    gap: 18px;
}
.side-note--local {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 107, 112, .12), rgba(217, 154, 34, .16)),
        #fff;
}
.side-note--local::before {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    background: var(--brand);
    margin-bottom: 18px;
}
.side-note h2 {
    margin: 0 0 8px;
    font-family: var(--font-main);
    font-size: 30px;
    line-height: 1.05;
}
.side-note .button-link {
    display: inline-block;
    margin-top: 18px;
}

.article-layout { padding: 38px 0 58px; }
.article-head { max-width: 900px; }
.article-head h1 {
    margin: 12px 0 16px;
    font-family: var(--font-main);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.01;
}
.article-head p {
    color: var(--muted);
    font-size: 21px;
    margin: 0 0 16px;
}
.byline {
    display: flex;
    gap: 14px;
    color: var(--muted);
    font-size: 14px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
}
.article-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 36px;
    margin-top: 26px;
}
.article-image {
    width: 100%;
    max-height: 570px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.article-body {
    max-width: 790px;
    font-size: 19px;
    line-height: 1.78;
}
.article-body h2,
.article-body h3,
.article-body h4 {
    line-height: 1.15;
    margin: 1.35em 0 .45em;
}
.article-body blockquote {
    margin: 28px 0;
    padding: 8px 0 8px 22px;
    border-left: 4px solid var(--accent);
    color: var(--ink-2);
    font-size: 22px;
    font-weight: 700;
}
.article-body img {
    height: auto;
    margin: 22px 0;
}
.article-body a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ad-slot {
    width: min(var(--max), calc(100% - 32px));
    margin: 18px auto;
    border: 1px dashed #c8d3da;
    background: #fbfcfd;
    color: var(--muted);
    padding: 14px;
    text-align: center;
}
.ad-slot img {
    width: auto;
    max-height: 180px;
    margin: 0 auto;
    object-fit: contain;
}
.ad-slot--sidebar {
    width: 100%;
    margin: 0;
}
.ad-slot--article {
    width: 100%;
    margin: 0 0 24px;
}
.page-list,
.empty-page { padding: 38px 0 60px; }
.search--page { margin-bottom: 24px; }
.empty-state {
    background: var(--soft);
    border-left: 4px solid var(--accent);
    padding: 22px;
    color: var(--muted);
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.pagination a,
.pagination span {
    min-width: 42px;
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    padding: 0 12px;
}
.pagination a:hover,
.pagination span[aria-current="page"] {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.pagination__control {
    min-width: 104px;
}
.pagination__control--disabled {
    color: var(--muted);
    background: var(--soft);
}

.footer {
    margin-top: 44px;
    border-top: 1px solid var(--line);
    background: var(--ink);
    color: #f4f7f9;
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
}
.footer p {
    margin: 6px 0 0;
    color: #cbd4db;
}
.footer__links {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer a:hover { color: #ffcf73; }
.footer-prock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    color: #fff;
}
.footer-prock img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}
.footer-prock span {
    max-width: 88px;
    font-size: 13px;
    line-height: 1.05;
}

@media (max-width: 940px) {
    .site-head__inner,
    .footer__inner {
        align-items: stretch;
        flex-direction: column;
    }
    .search { width: 100%; }
    .home-shell,
    .layout-two,
    .article-main { grid-template-columns: 1fr; }
    .card-grid--four,
    .card-grid--three { grid-template-columns: repeat(2, 1fr); }
    .latest-panel--sticky { position: static; }
}

@media (max-width: 640px) {
    .wrap { width: min(100% - 24px, var(--max)); }
    .topbar__inner { flex-direction: column; gap: 2px; }
    .brand { min-width: 0; }
    .brand__logo {
        width: 150px;
        max-height: 82px;
    }
    .brand strong { font-size: 29px; }
    .nav__inner {
        gap: 8px;
        padding: 10px 0;
    }
    .nav a {
        flex: 1 1 calc(50% - 8px);
        min-width: 138px;
        background: var(--soft);
        padding: 10px 12px;
        text-align: center;
    }
    .nav a::after {
        display: none;
    }
    .home-shell { padding-top: 20px; }
    .lead-card,
    .lead-card img {
        min-height: 455px;
        height: 455px;
    }
    .lead-card h1 {
        font-size: 30px;
    }
    .lead-card p { font-size: 16px; }
    .card-grid--four,
    .card-grid--three { grid-template-columns: 1fr; }
    .story-row a { grid-template-columns: 126px minmax(0, 1fr); }
    .story-row h3 { font-size: 19px; }
    .article-head h1 { font-size: 38px; }
    .article-body { font-size: 18px; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.access-widget {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    font-family: var(--font-main);
}
.access-toggle {
    width: 58px;
    height: 58px;
    border: 0;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
    cursor: pointer;
    font-size: 28px;
    font-weight: 900;
}
.access-toggle:hover,
.access-toggle:focus-visible {
    background: var(--brand-dark);
    outline: 3px solid rgba(217, 154, 34, .45);
}
.access-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(310px, calc(100vw - 32px));
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.access-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--ink);
    color: #fff;
}
.access-panel__head button {
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    color: #fff;
    width: 34px;
    height: 34px;
    cursor: pointer;
}
.access-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
}
.access-actions button {
    min-height: 48px;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}
.access-actions button:disabled {
    cursor: not-allowed;
    opacity: .55;
}
.access-actions button[aria-pressed="true"] {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.access-actions button[data-access-reset] {
    grid-column: 1 / -1;
    background: #fff;
}
.reader-guide {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    height: 36px;
    background: rgba(217, 154, 34, .22);
    border-top: 2px solid rgba(217, 154, 34, .8);
    border-bottom: 2px solid rgba(217, 154, 34, .8);
    pointer-events: none;
    z-index: 79;
}

.access-dark {
    color-scheme: dark;
}
.access-dark body {
    background: #0f1318;
    color: #edf2f5;
}
.access-dark .site-head,
.access-dark .latest-panel,
.access-dark .news-card,
.access-dark .access-panel {
    background: #171d24;
    color: #edf2f5;
    border-color: #303b46;
}
.access-dark .topbar,
.access-dark .footer,
.access-dark .access-panel__head {
    background: #07090c;
}
.access-dark .brand small,
.access-dark .news-card p,
.access-dark .story-row p,
.access-dark .side-note p,
.access-dark .article-head p,
.access-dark .byline,
.access-dark .section-title a,
.access-dark .section-title span {
    color: #b9c4cc;
}
.access-dark .nav,
.access-dark .section-title,
.access-dark .latest-item,
.access-dark .story-row a,
.access-dark .news-card,
.access-dark .byline {
    border-color: #303b46;
}
.access-dark .nav a,
.access-dark .access-actions button {
    color: #edf2f5;
}
.access-dark .search input,
.access-dark .search--page input {
    background: #10161c;
    color: #edf2f5;
    border-color: #303b46;
}
.access-dark .side-note,
.access-dark .empty-state,
.access-dark .pagination a,
.access-dark .pagination span {
    background: #171d24;
}

.access-contrast body {
    background: #000;
    color: #fff;
}
.access-contrast a,
.access-contrast .kicker,
.access-contrast .latest-item time {
    color: #ffdc55;
}
.access-contrast .site-head,
.access-contrast .topbar,
.access-contrast .footer,
.access-contrast .latest-panel,
.access-contrast .side-note,
.access-contrast .access-panel {
    background: #000;
    color: #fff;
    border-color: #fff;
}
.access-contrast img {
    filter: contrast(1.1);
}
.access-contrast button,
.access-contrast .button-link,
.access-contrast .search button {
    background: #ffdc55;
    color: #000;
}

.access-largeText body {
    font-size: 18px;
}
.access-largeText .article-body {
    font-size: 22px;
}
.access-largeText .news-card h3,
.access-largeText .story-row h3 {
    font-size: 1.65rem;
}
.access-readable body,
.access-readable .brand strong,
.access-readable .lead-card h1,
.access-readable .section-title h1,
.access-readable .section-title h2,
.access-readable .news-card h3,
.access-readable .story-row h3,
.access-readable .article-head h1,
.access-readable .latest-panel h2 {
    font-family: var(--font-main);
}
.access-underline a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.access-focus *:focus,
.access-focus *:focus-visible {
    outline: 4px solid #ffdc55 !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 7px rgba(15, 107, 112, .35) !important;
}
.access-spacing body {
    letter-spacing: .04em;
    word-spacing: .08em;
    line-height: 1.8;
}
.access-spacing .article-body {
    line-height: 2;
}
.access-readerGuide .reader-guide {
    display: block;
}
.access-grayscale body {
    filter: grayscale(1);
}
.access-reduceMotion *,
.access-reduceMotion *::before,
.access-reduceMotion *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
}
