:root {
    --ink: #191510;
    --muted: #6e6254;
    --paper: #f7f1e7;
    --paper-2: #fffaf1;
    --rule: #2e241b;
    --hairline: rgba(25, 21, 16, 0.18);
    --accent: #8c1f13;
    --accent-dark: #60150d;
    --shadow: rgba(54, 39, 24, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(140, 31, 19, 0.06), transparent 28rem),
        linear-gradient(180deg, #e9dfcf, #d8c9b3);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}

.top-strip {
    background: var(--ink);
    color: #f7efe2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.strip-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
}

.paper {
    background: var(--paper);
    margin-top: 1.2rem;
    margin-bottom: 2rem;
    padding: 1.1rem 1.2rem 1.4rem;
    border: 1px solid rgba(25, 21, 16, 0.32);
    box-shadow: 0 18px 45px var(--shadow);
}

.masthead {
    text-align: center;
    padding: 0.6rem 0 0.8rem;
    border-top: 4px double var(--rule);
    border-bottom: 4px double var(--rule);
}

.brand {
    display: block;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.masthead p {
    margin: 0.35rem 0 0;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    font-size: 0.8rem;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 0.5rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--rule);
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.nav a {
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
}

.nav a.active,
.nav a:hover {
    color: #fff7ec;
    background: var(--accent);
}

.utility-bar {
    display: grid;
    grid-template-columns: 1fr minmax(230px, 320px);
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hairline);
    font-family: Arial, Helvetica, sans-serif;
}

.utility-bar strong {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
}

.utility-bar span {
    color: var(--muted);
    font-size: 0.92rem;
}

.search-label span {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.search-label input {
    width: 100%;
    border: 1px solid var(--hairline);
    background: var(--paper-2);
    padding: 0.65rem 0.75rem;
    font: 0.95rem Arial, Helvetica, sans-serif;
    color: var(--ink);
}

.front-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
    gap: 1.1rem;
    padding: 1rem 0;
    border-bottom: 2px solid var(--rule);
}

.article-card {
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
}

.article-card .thumb {
    display: block;
    overflow: hidden;
    background: #d6c8b2;
    border: 1px solid var(--hairline);
    margin-bottom: 0.7rem;
}

.article-card .thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.02);
}

.kicker {
    margin: 0 0 0.35rem;
    color: var(--accent-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-card h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.summary {
    margin: 0.45rem 0 0;
    color: #3c342b;
    font-size: 0.98rem;
}

.readmore {
    display: inline-block;
    margin-top: 0.55rem;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.front-lead {
    border-bottom: 0;
    margin-bottom: 0;
}

.front-lead h3 {
    font-size: clamp(2.1rem, 4.2vw, 4.25rem);
    line-height: 0.95;
}

.front-lead .summary {
    font-size: 1.08rem;
    columns: 2;
    column-gap: 1.4rem;
}

.side-rail {
    border-left: 1px solid var(--rule);
    padding-left: 1rem;
}

.side-rail h2,
.section-title-row h2,
.section-heading h1 {
    margin: 0 0 0.75rem;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.compact {
    display: block;
}

.compact .summary,
.compact .readmore,
.compact .thumb {
    display: none;
}

.compact h3 {
    font-size: 1rem;
}

.section-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1rem;
}

.news-section {
    border-right: 1px solid var(--hairline);
    padding-right: 1rem;
    min-width: 0;
}

.news-section:nth-child(3n) {
    border-right: 0;
    padding-right: 0;
}

.section-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 2px solid var(--rule);
    margin-bottom: 0.75rem;
}

.section-title-row h2 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.section-title-row > a {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.small {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0.7rem;
}

.small:not(.has-image) {
    display: block;
}

.small .thumb {
    margin: 0;
}

.small .thumb img {
    aspect-ratio: 1;
}

.small h3 {
    font-size: 1rem;
}

.small .summary {
    font-size: 0.88rem;
}

.small .readmore {
    display: none;
}

.section-page {
    padding-top: 1.1rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 1rem;
}

.section-heading h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.article-grid .lead {
    grid-column: span 2;
    grid-row: span 2;
    border: 1px solid var(--rule);
    background: var(--paper-2);
    padding: 0.9rem;
}

.article-grid .lead h3 {
    font-size: clamp(1.9rem, 3.4vw, 3.4rem);
    line-height: 0.98;
}

.notice,
.empty {
    padding: 1rem;
    background: var(--paper-2);
    border: 1px dashed var(--hairline);
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
}

.footer {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 4px double var(--rule);
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.86rem;
}

.footer p {
    margin: 0.35rem 0;
}

[hidden] {
    display: none !important;
}

@media (max-width: 920px) {
    .front-grid,
    .utility-bar {
        grid-template-columns: 1fr;
    }

    .side-rail {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid var(--rule);
        padding-top: 1rem;
    }

    .section-list,
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-section,
    .news-section:nth-child(3n) {
        border-right: 0;
        padding-right: 0;
    }

    .article-grid .lead {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 18px, 1180px);
    }

    .paper {
        padding: 0.8rem;
        margin-top: 0.6rem;
    }

    .strip-inner {
        flex-direction: column;
        gap: 0.15rem;
        text-align: center;
    }

    .masthead p {
        letter-spacing: 0.08em;
    }

    .front-lead .summary {
        columns: 1;
    }

    .section-list,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-grid .lead {
        grid-column: span 1;
    }

    .small {
        grid-template-columns: 80px 1fr;
    }
}
