:root {
    --ink: #141210;
    --ink-soft: #3c3732;
    --muted: #7a736c;
    --paper: #f3efe6;
    --paper-deep: #e8e2d6;
    --surface: #fffdf8;
    --rule: #d8d0c3;
    --rule-strong: #1a1714;
    --accent: #9e1b1b;
    --accent-dark: #7a1414;
    --gold: #b89a5b;
    --primary: #9e1b1b;
    --shadow: 0 18px 40px rgba(28, 22, 16, .08);
    --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.press-body {
    margin: 0;
    background:
        radial-gradient(1200px 420px at 50% -80px, rgba(184, 154, 91, .08), transparent 60%),
        var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.02rem;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.press-body main {
    flex: 1 0 auto;
}

a { color: var(--ink); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

.press-skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: .6rem 1rem;
    z-index: 1000;
}
.press-skip:focus { left: 1rem; top: 1rem; }

/* ——— Header ——— */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--rule);
}

.header-top {
    background: var(--ink);
    color: #f4efe6;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 36px;
    padding-top: .35rem;
    padding-bottom: .35rem;
}
.header-top time,
.header-top .header-tagline { color: rgba(244, 239, 230, .78); }
.header-top a {
    color: rgba(244, 239, 230, .88);
    text-decoration: none;
}
.header-top a:hover { color: #fff; }
.header-admin {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
}

.masthead {
    padding: 1.35rem 0 1.1rem;
    text-align: center;
    border-bottom: 1px solid var(--rule);
}
.wordmark {
    display: inline-block;
    font-family: var(--font-serif);
    font-weight: 650;
    font-size: clamp(2.15rem, 6vw, 3.35rem);
    letter-spacing: .02em;
    line-height: .95;
    color: var(--ink) !important;
    text-decoration: none;
}
.wordmark:hover { color: var(--ink) !important; }
.wordmark span {
    font-weight: 500;
    font-style: italic;
    color: var(--accent);
}
.masthead-rule {
    width: 72px;
    height: 2px;
    background: var(--gold);
    margin: .7rem auto 0;
}

.cat-bar {
    border-top: 1px solid var(--rule);
    background: var(--surface);
}
.cat-bar-inner {
    display: flex;
    gap: .15rem 1rem;
    overflow-x: auto;
    padding: .45rem 0 .55rem;
    -webkit-overflow-scrolling: touch;
}
.cat-link {
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    padding: .15rem 0;
    border-bottom: 2px solid transparent;
}
.cat-link:hover,
.cat-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.site-nav {
    padding: .35rem 0;
}
.site-nav .navbar { padding: .25rem 0; }
.site-nav .nav-link {
    color: var(--ink) !important;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .55rem .7rem !important;
    border-radius: 0;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--accent) !important;
    background: transparent;
}
.site-nav .dropdown-menu {
    border: 1px solid var(--rule);
    border-radius: 0;
    box-shadow: var(--shadow);
    padding: .4rem 0;
    background: var(--surface);
}
.site-nav .dropdown-item {
    font-size: .92rem;
    padding: .4rem 1rem;
}
.site-nav .dropdown-item:hover {
    background: var(--paper);
    color: var(--accent);
}
.site-nav .navbar-toggler {
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: .35rem .5rem;
}
.site-nav .navbar-toggler:focus { box-shadow: none; }
.site-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(20,18,16,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.nav-search {
    max-width: 240px;
}
.nav-search .form-control {
    border: 1px solid var(--rule);
    border-radius: 0;
    background: #fff;
    font-size: .9rem;
    box-shadow: none;
}
.nav-search .form-control:focus {
    border-color: var(--ink);
    box-shadow: none;
}
.nav-search .btn-search {
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 0;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 600;
}
.nav-search .btn-search:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

@media (max-width: 991.98px) {
    .header-top-inner { font-size: .7rem; }
    .header-tagline { display: none; }
    .nav-search { max-width: none; width: 100%; margin-top: .75rem; }
    .site-nav .navbar-collapse { padding-bottom: .75rem; }
}

/* ——— Shared type ——— */
.kicker {
    display: inline-block;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}
.headline,
.press-title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--ink);
}
.dek {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.55;
}
.meta-line {
    color: var(--muted);
    font-size: .82rem;
    letter-spacing: .02em;
}
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.15rem;
    padding-bottom: .45rem;
    border-bottom: 2px solid var(--rule-strong);
}
.section-head h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 650;
    margin: 0;
}

/* ——— Media ——— */
.media-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(160deg, #2a2420 0%, #141210 70%);
    color: #d8c7a3;
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: .08em;
}
.story-img {
    width: 100%;
    object-fit: cover;
    display: block;
    background: #ddd6c8;
}

/* ——— Homepage ——— */
.home-page { padding: 1.75rem 0 3rem; }

.home-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
    gap: 2rem 2.25rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--rule);
}
.hero-story { text-decoration: none; color: inherit; display: block; }
.hero-story:hover { color: inherit; }
.hero-story .story-img,
.hero-story .media-ph {
    aspect-ratio: 16 / 10;
    margin-bottom: 1rem;
}
.hero-story h1,
.hero-story h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 .7rem;
}
.hero-story:hover h1,
.hero-story:hover h2 { color: var(--accent); }
.hero-stack {
    display: flex;
    flex-direction: column;
}
.stack-item {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: .9rem;
    padding: 0 0 1.15rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
}
.stack-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
.stack-item:hover { color: inherit; }
.stack-item .story-img,
.stack-item .media-ph {
    width: 118px;
    height: 86px;
    aspect-ratio: auto;
}
.stack-item h2 {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 .3rem;
}
.stack-item:hover h2 { color: var(--accent); }

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
}
.story-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1.15rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
}
.story-row:first-child { padding-top: 0; }
.story-row:hover { color: inherit; }
.story-row .story-img,
.story-row .media-ph {
    width: 210px;
    height: 140px;
}
.story-row h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.22;
    margin: 0 0 .4rem;
}
.story-row:hover h3 { color: var(--accent); }
.story-row .dek { font-size: .98rem; margin-bottom: .4rem; }

.home-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--rule);
    background: var(--surface);
}

.press-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
.press-pagination .page-link {
    border: 0;
    border-radius: 0;
    color: var(--ink);
    background: transparent;
    font-weight: 600;
    min-width: 2.2rem;
    text-align: center;
}
.press-pagination .page-item.active .page-link {
    background: var(--ink);
    color: #fff;
}
.press-pagination .page-link:hover { color: var(--accent); background: var(--paper-deep); }

/* Ads */
.ad-unit {
    margin: 1.15rem 0;
    padding: .7rem .75rem .85rem;
    background: var(--surface);
    border: 1px dashed var(--rule);
    text-align: center;
}
.ad-unit .ad-label {
    display: block;
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .45rem;
}
.ad-unit .ad-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ad-unit.ad-rail .ad-inner { min-height: 250px; }
.ad-unit.ad-empty {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-unit.ad-empty a {
    color: var(--muted);
    font-size: .82rem;
    text-decoration: none;
}
.ad-unit.ad-empty a:hover { color: var(--accent); }

/* Sidebar */
.rail {
    position: sticky;
    top: 1rem;
}
.rail-box {
    background: var(--surface);
    border: 1px solid var(--rule);
    padding: 1.15rem 1.15rem 1.05rem;
    margin-bottom: 1.15rem;
}
.rail-box h2 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin: 0 0 .85rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid var(--rule);
}
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-list li {
    padding: .65rem 0;
    border-bottom: 1px solid var(--rule);
}
.rail-list li:last-child { border-bottom: 0; }
.rail-list a {
    text-decoration: none;
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    display: block;
}
.rail-list a:hover { color: var(--accent); }
.rail-audio audio { width: 100%; }
.rail-note {
    font-size: .82rem;
    color: var(--muted);
    margin: 0 0 .65rem;
}
.partner-strip {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: #16141f;
    color: #fff;
    padding: 1rem 1.15rem;
    margin: 0 0 1.75rem;
}
.partner-strip:hover { color: #fff; }
.partner-strip img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex: 0 0 auto;
}
.partner-strip strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; }
.partner-strip span { font-size: .86rem; opacity: .82; }

.search-banner {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
}
.search-banner h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin: 0;
}

@media (max-width: 991.98px) {
    .home-lead,
    .home-layout { grid-template-columns: 1fr; }
    .rail { position: static; }
}
@media (max-width: 700px) {
    .story-row { grid-template-columns: 1fr; gap: .7rem; }
    .story-row .story-img,
    .story-row .media-ph {
        width: 100%;
        height: 200px;
    }
    .stack-item { grid-template-columns: 92px 1fr; }
    .stack-item .story-img,
    .stack-item .media-ph { width: 92px; height: 70px; }
}

/* ——— Article ——— */
.article-page { padding: 1.5rem 0 3.5rem; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-crumb {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 1.1rem;
}
.article-crumb a { text-decoration: none; color: var(--muted); }
.article-crumb a:hover { color: var(--accent); }
.article-wrap .kicker { margin-bottom: .55rem; }
.article-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 0 0 1rem;
}
.article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.1rem;
    color: var(--muted);
    font-size: .9rem;
    padding: .85rem 0 1.25rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin-bottom: 1.35rem;
}
.article-byline strong { color: var(--ink); font-weight: 650; }
.article-hero {
    margin: 0 0 1.6rem;
}
.article-hero img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}
.article-body {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #2a261f;
}
.article-body .section,
.article-body .content { padding: 0; margin: 0; background: none; border: 0; text-align: left; }
.article-body p { margin: 0 0 1.15rem; }
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
    font-family: var(--font-serif);
    color: var(--ink);
    margin: 1.8rem 0 .7rem;
    line-height: 1.25;
}
.article-body img {
    max-width: 100%;
    height: auto;
    margin: 1.2rem 0;
    display: block;
}
.article-body blockquote {
    border-left: 3px solid var(--accent);
    margin: 1.4rem 0;
    padding: .15rem 0 .15rem 1.15rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--ink-soft);
    background: none;
    border-radius: 0;
}
.article-body a { color: var(--accent); }
.article-body ul,
.article-body ol { margin: 0 0 1.15rem; padding-left: 1.25rem; }
.article-source,
.article-note {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: .88rem;
}
.article-source a { color: var(--accent); }

.related {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--rule-strong);
}
.related h2 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    margin: 0 0 1.1rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}
.related-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
.related-card .story-img,
.related-card .media-ph {
    height: 130px;
    margin-bottom: .6rem;
}
.related-card h3 {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.28;
    margin: 0;
}
.related-card:hover h3 { color: var(--accent); }

@media (max-width: 900px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* ——— Policy / login / tools ——— */
.policy-page,
.login-wrap { max-width: 760px; margin: 0 auto; padding: 1.5rem 0 3rem; }
.policy-page h1,
.login-wrap h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1.2rem;
}
.policy-page h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin: 1.8rem 0 .7rem;
}
.policy-page p,
.policy-page li { line-height: 1.75; color: var(--ink-soft); }
.policy-contact {
    margin-top: 2rem;
    padding: 1.25rem 1.3rem;
    background: var(--surface);
    border: 1px solid var(--rule);
}
.login-card-press {
    background: var(--surface);
    border: 1px solid var(--rule);
    padding: 2rem 1.6rem;
}
.login-card-press .btn-login {
    background: var(--ink);
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 650;
    padding: .7rem 1rem;
}
.login-card-press .btn-login:hover { background: var(--accent); }

.page-tool h1,
.page-tool .text-primary { color: var(--ink) !important; }
.page-tool .card {
    background: var(--surface);
    border: 1px solid var(--rule) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.page-tool .btn-primary {
    background: var(--ink) !important;
    border-color: var(--ink) !important;
    border-radius: 0;
}
.page-tool .btn-primary:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}
.page-tool .btn-outline-primary {
    border-color: var(--ink) !important;
    color: var(--ink) !important;
    border-radius: 0;
}
.page-tool .btn-outline-primary:hover {
    background: var(--ink) !important;
    color: #fff !important;
}

/* Admin tables stay readable */
.table { background: var(--surface); }
body.press-body .card {
    background: var(--surface);
    border-color: var(--rule);
}
body.press-body .form-control:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 .15rem rgba(20, 18, 16, .08);
}
body.press-body main.container.my-4 {
    padding-top: 1.6rem;
    padding-bottom: 2.6rem;
}

/* ——— Footer ——— */
.site-footer {
    background: #141210;
    color: #ece6da;
    margin-top: auto;
    padding: 2.4rem 0 1.3rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    margin: 0 0 .5rem;
    color: #fff;
}
.footer-brand span { color: #e2b6b6; font-style: italic; }
.site-footer p { color: rgba(236, 230, 218, .72); font-size: .92rem; }
.site-footer h3 {
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(236, 230, 218, .55);
    margin: 0 0 .7rem;
}
.site-footer a {
    color: #ece6da;
    text-decoration: none;
}
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 .4rem; }
.footer-bottom {
    padding-top: 1rem;
    font-size: .8rem;
    color: rgba(236, 230, 218, .5);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (max-width: 767.98px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
