:root {
    --paper: #f3f4f6;
    --paper-deep: #e7e9ed;
    --card: #ffffff;
    --ink: #17191c;
    --muted: #646970;
    --clay: #d71920;
    --clay-dark: #a90f16;
    --ochre: #ffca28;
    --line: #d9dde2;
    --dark: #111317;
    --white: #ffffff;
    --serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius: 5px;
    --shadow: 0 5px 18px rgba(17, 19, 23, 0.08);
}

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

html {
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
}

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

button,
input {
    color: inherit;
    font: inherit;
}

button {
    cursor: pointer;
}

.shell {
    margin-inline: auto;
    width: min(100% - 30px, 1120px);
}

.skip-link {
    background: var(--dark);
    color: var(--white);
    left: 12px;
    padding: 10px 14px;
    position: fixed;
    top: -80px;
    z-index: 100;
}

.skip-link:focus {
    top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--ochre);
    outline-offset: 3px;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.edition-line {
    background: var(--clay);
    color: var(--white);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.edition-inner {
    align-items: center;
    display: flex;
    height: 30px;
    justify-content: space-between;
}

.edition-inner a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}

.masthead {
    align-items: center;
    display: flex;
    height: 76px;
    justify-content: space-between;
    position: relative;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    min-width: 0;
}

.brand-sun {
    background: var(--ochre);
    border: 5px solid var(--clay);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--paper);
    flex: 0 0 auto;
    height: 28px;
    width: 28px;
}

.brand-name {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 6.7vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-drawer {
    position: relative;
}

.search-drawer summary {
    align-items: center;
    border: 1px solid var(--ink);
    display: flex;
    font-size: 0.74rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.08em;
    list-style: none;
    min-height: 44px;
    padding: 0 13px;
    text-transform: uppercase;
}

.search-drawer summary::-webkit-details-marker {
    display: none;
}

.search-drawer[open] summary {
    background: var(--ink);
    color: var(--white);
}

.header-search {
    background: var(--card);
    border: 1px solid var(--ink);
    box-shadow: var(--shadow);
    padding: 16px;
    position: absolute;
    right: 0;
    top: calc(100% + 9px);
    width: min(330px, calc(100vw - 30px));
    z-index: 20;
}

.header-search label,
.search-panel label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.search-controls {
    display: flex;
}

.search-controls input {
    appearance: none;
    background: var(--white);
    border: 1px solid var(--ink);
    border-radius: 0;
    min-height: 46px;
    min-width: 0;
    padding: 9px 11px;
    width: 100%;
}

.search-controls button {
    background: var(--clay);
    border: 1px solid var(--clay);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
    min-height: 46px;
    padding: 0 14px;
    text-transform: uppercase;
}

.topic-nav {
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.topic-track {
    align-items: center;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.topic-track::-webkit-scrollbar {
    display: none;
}

.topic-track a {
    flex: 0 0 auto;
    font-family: var(--serif);
    font-size: 0.93rem;
    font-weight: 700;
    padding: 11px 0 10px;
    position: relative;
}

.topic-track a:first-child {
    color: var(--clay);
}

.topic-track a:hover::after {
    background: var(--clay);
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
}

.page-home,
.listing-page,
.search-page,
.article-layout {
    padding-bottom: 68px;
    padding-top: 28px;
}

.lead-story {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.lead-link,
.lead-media,
.lead-copy {
    display: block;
}

.lead-media {
    aspect-ratio: 16 / 10;
    background: var(--paper-deep);
    overflow: hidden;
}

.lead-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.lead-link:hover .lead-media img {
    transform: scale(1.025);
}

.lead-copy {
    padding: 22px 19px 20px;
    position: relative;
}

.lead-number {
    color: var(--paper-deep);
    font-family: var(--serif);
    font-size: 4.7rem;
    font-weight: 700;
    line-height: 0.75;
    position: absolute;
    right: 10px;
    top: 23px;
}

.rubric {
    color: var(--clay);
    display: inline-block;
    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.105em;
    line-height: 1.3;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.lead-copy h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 9.2vw, 4.3rem);
    letter-spacing: -0.052em;
    line-height: 0.99;
    margin: 12px 0 15px;
    max-width: 900px;
    position: relative;
    text-wrap: balance;
    z-index: 1;
}

.lead-excerpt {
    color: var(--muted);
    display: -webkit-box;
    font-family: var(--serif);
    font-size: 1.04rem;
    line-height: 1.42;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.lead-meta {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.76rem;
    gap: 12px;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
}

.read-more {
    color: var(--clay-dark);
    font-weight: 850;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.content-section {
    border-top: 2px solid var(--ink);
    margin-top: 54px;
    padding-top: 16px;
}

.section-title {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
}

.section-index {
    align-items: center;
    background: var(--clay);
    color: var(--white);
    display: flex;
    flex: 0 0 36px;
    font-family: var(--serif);
    font-size: 0.86rem;
    height: 36px;
    justify-content: center;
}

.section-title p,
.listing-header > p {
    color: var(--clay);
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.section-title h2 {
    font-family: var(--serif);
    font-size: clamp(1.65rem, 7vw, 2.4rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin: 0;
}

.editorial-grid {
    display: grid;
    gap: 28px;
}

.editorial-card {
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
}

.editorial-card > a {
    display: block;
}

.card-media {
    aspect-ratio: 16 / 10;
    background: var(--paper-deep);
    display: block;
    margin-bottom: 16px;
    overflow: hidden;
}

.card-media img {
    height: 100%;
    object-fit: cover;
    transition: filter 220ms ease, transform 220ms ease;
}

.editorial-card a:hover .card-media img {
    filter: saturate(1.08);
    transform: scale(1.02);
}

.card-copy {
    display: block;
}

.card-title {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 6.3vw, 1.92rem);
    font-weight: 700;
    letter-spacing: -0.038em;
    line-height: 1.1;
    margin-top: 8px;
    text-wrap: balance;
}

.editorial-card a:hover .card-title,
.brief-card a:hover .brief-title {
    color: var(--clay-dark);
}

.card-excerpt {
    color: var(--muted);
    display: -webkit-box;
    font-family: var(--serif);
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: 9px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-date {
    color: var(--muted);
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    margin-top: 12px;
}

.brief-list {
    border-top: 1px solid var(--line);
}

.brief-card {
    border-bottom: 1px solid var(--line);
}

.brief-card a {
    align-items: stretch;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 112px;
    min-height: 132px;
    padding: 14px 0;
}

.brief-copy {
    align-self: center;
    display: block;
    min-width: 0;
}

.brief-title {
    display: -webkit-box;
    font-family: var(--serif);
    font-size: 1.11rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin-top: 6px;
    overflow: hidden;
    transition: color 160ms ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.brief-media {
    align-self: stretch;
    background: var(--paper-deep);
    display: block;
    min-height: 102px;
    overflow: hidden;
}

.brief-media img {
    height: 100%;
    object-fit: cover;
}

.image-fallback {
    background:
        linear-gradient(135deg, transparent 46%, rgba(180, 76, 50, 0.24) 47%, rgba(180, 76, 50, 0.24) 53%, transparent 54%),
        linear-gradient(45deg, var(--paper-deep), #e7c895);
    display: block;
    height: 100%;
    width: 100%;
}

.listing-page,
.search-page {
    min-height: 62vh;
}

.listing-header {
    margin: 18px 0 34px;
    max-width: 800px;
}

.listing-header h1 {
    font-family: var(--serif);
    font-size: clamp(2.65rem, 12vw, 5.7rem);
    letter-spacing: -0.065em;
    line-height: 0.92;
    margin: 7px 0 17px;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.title-stroke {
    background: var(--clay);
    display: block;
    height: 6px;
    width: 76px;
}

.listing-grid {
    display: grid;
    gap: 28px;
}

.search-panel {
    background: var(--paper-deep);
    border-left: 6px solid var(--clay);
    margin-bottom: 24px;
    padding: 20px 17px;
}

.search-panel .search-controls {
    max-width: 740px;
}

.result-count {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--serif);
    margin: 0 0 26px;
    padding: 0 0 12px;
}

.pagination {
    align-items: center;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    font-size: 0.74rem;
    gap: 8px;
    grid-template-columns: 1fr auto 1fr;
    margin-top: 38px;
    padding: 18px 0;
}

.pagination a {
    color: var(--clay-dark);
    font-weight: 800;
}

.pagination a:last-child,
.pagination .is-disabled:last-child {
    text-align: right;
}

.pagination strong {
    font-family: var(--serif);
    font-size: 0.72rem;
    text-align: center;
}

.pagination .is-disabled {
    color: #ab9c91;
}

.empty-state {
    background: var(--card);
    border: 1px solid var(--line);
    margin: 26px 0;
    padding: 40px 22px;
    text-align: center;
}

.empty-state > span {
    color: var(--clay);
    font-family: var(--serif);
    font-size: 3rem;
    line-height: 1;
}

.empty-state h2 {
    font-family: var(--serif);
    font-size: 2rem;
    letter-spacing: -0.04em;
    margin: 5px 0;
}

.empty-state p {
    color: var(--muted);
    margin: 0 auto 20px;
    max-width: 480px;
}

.button-link {
    background: var(--clay);
    color: var(--white);
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 850;
    justify-content: center;
    letter-spacing: 0.06em;
    min-height: 46px;
    padding: 13px 18px;
    text-transform: uppercase;
}

.article-layout {
    max-width: 940px;
}

.article-page {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.article-header {
    padding: 27px 19px 23px;
}

.article-rubric {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.article-rubric time {
    color: var(--muted);
    font-size: 0.72rem;
}

.article-header h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 10.5vw, 5rem);
    letter-spacing: -0.062em;
    line-height: 0.96;
    margin: 15px 0;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.article-lead {
    border-left: 5px solid var(--ochre);
    color: #594a42;
    font-family: var(--serif);
    font-size: clamp(1.1rem, 4.8vw, 1.45rem);
    line-height: 1.42;
    margin: 21px 0 0;
    padding-left: 14px;
}

.article-figure {
    margin: 0;
}

.article-figure img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.article-body {
    color: #392e29;
    font-family: var(--serif);
    font-size: clamp(1.06rem, 4.55vw, 1.2rem);
    line-height: 1.72;
    margin-inline: auto;
    max-width: 720px;
    padding: 26px 19px 40px;
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body > *:last-child {
    margin-bottom: 0;
}

.article-body h2,
.article-body h3 {
    color: var(--ink);
    font-family: var(--serif);
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin: 1.7em 0 0.6em;
}

.article-body h2 {
    font-size: 1.75em;
}

.article-body h3 {
    font-size: 1.35em;
}

.article-body a {
    color: var(--clay-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body blockquote {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    color: var(--clay-dark);
    font-size: 1.25em;
    font-style: italic;
    margin: 1.6em 0;
    padding: 1em 0;
}

.article-body img {
    height: auto;
    margin: 1.5em 0;
}

.article-body ul,
.article-body ol {
    padding-left: 1.25em;
}

.related-panel {
    border-top: 2px solid var(--ink);
    margin-top: 48px;
    padding-top: 16px;
}

.compact-heading {
    margin-bottom: 14px;
}

.error-page {
    min-height: 64vh;
    padding-bottom: 80px;
    padding-top: 60px;
}

.error-number {
    color: var(--paper-deep);
    display: block;
    font-family: var(--serif);
    font-size: clamp(6rem, 34vw, 15rem);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 0.7;
}

.error-page h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 10vw, 4.7rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
    margin: 12px 0 18px;
    max-width: 780px;
    text-wrap: balance;
}

.error-page > p:not(.rubric) {
    color: var(--muted);
    font-family: var(--serif);
    font-size: 1.1rem;
    max-width: 600px;
}

.error-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
}

.plain-link {
    color: var(--clay-dark);
    font-size: 0.84rem;
    font-weight: 800;
}

.site-footer {
    background: var(--dark);
    color: #efe2d3;
}

.footer-main {
    display: grid;
    gap: 34px;
    padding-bottom: 40px;
    padding-top: 42px;
}

.footer-brand .brand-sun {
    box-shadow: inset 0 0 0 3px var(--dark);
}

.footer-about p {
    color: #bdaca0;
    font-family: var(--serif);
    margin: 18px 0 0;
    max-width: 430px;
}

.footer-topics {
    display: grid;
    gap: 9px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-topics strong {
    color: var(--ochre);
    font-size: 0.68rem;
    grid-column: 1 / -1;
    letter-spacing: 0.11em;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.footer-topics a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--serif);
    padding-bottom: 6px;
}

.footer-topics a:hover {
    color: var(--ochre);
}

.footer-legal {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #a9988c;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.7rem;
    gap: 12px;
    justify-content: space-between;
    padding-bottom: 22px;
    padding-top: 18px;
}

.footer-legal a {
    color: #efe2d3;
}

@media (min-width: 680px) {
    .shell {
        width: min(100% - 48px, 1120px);
    }

    .masthead {
        height: 92px;
    }

    .brand-name {
        font-size: 2.25rem;
    }

    .search-drawer summary {
        padding-inline: 20px;
    }

    .page-home,
    .listing-page,
    .search-page,
    .article-layout {
        padding-top: 42px;
    }

    .lead-copy,
    .article-header {
        padding: 34px 34px 30px;
    }

    .lead-number {
        font-size: 7rem;
        right: 22px;
        top: 35px;
    }

    .editorial-grid,
    .listing-grid {
        gap: 34px 26px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .more-grid .editorial-card:nth-child(3n) {
        grid-column: 1 / -1;
    }

    .more-grid .editorial-card:nth-child(3n) > a {
        align-items: center;
        display: grid;
        gap: 28px;
        grid-template-columns: 1.1fr 1fr;
    }

    .more-grid .editorial-card:nth-child(3n) .card-media {
        margin-bottom: 0;
    }

    .brief-card a {
        gap: 24px;
        grid-template-columns: minmax(0, 1fr) 190px;
        min-height: 158px;
        padding-block: 18px;
    }

    .brief-title {
        font-size: 1.45rem;
    }

    .brief-media {
        min-height: 122px;
    }

    .search-panel {
        padding: 26px;
    }

    .article-body {
        padding: 40px 34px 58px;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    }
}

@media (min-width: 960px) {
    .lead-link {
        display: grid;
        grid-template-columns: minmax(0, 1.28fr) minmax(350px, 0.72fr);
        min-height: 520px;
    }

    .lead-media {
        aspect-ratio: auto;
        min-height: 520px;
    }

    .lead-copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 52px 42px 34px;
    }

    .lead-copy h1 {
        font-size: clamp(2.75rem, 4.2vw, 4.2rem);
    }

    .lead-excerpt {
        font-size: 1.1rem;
    }

    .lead-meta {
        margin-top: auto;
    }

    .content-section {
        margin-top: 70px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .editorial-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .editorial-grid .editorial-card:first-child:nth-last-child(2),
    .editorial-grid .editorial-card:first-child:nth-last-child(2) ~ .editorial-card {
        grid-column: auto;
    }

    .card-title {
        font-size: 1.65rem;
    }

    .latest-section .brief-list {
        display: grid;
        gap: 0 34px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brief-card a {
        gap: 18px;
        grid-template-columns: minmax(0, 1fr) 145px;
    }

    .brief-title {
        font-size: 1.27rem;
    }

    .more-grid .editorial-card:nth-child(3n),
    .more-grid .editorial-card:nth-child(3n) > a {
        display: block;
        grid-column: auto;
    }

    .more-grid .editorial-card:nth-child(3n) .card-media {
        margin-bottom: 16px;
    }

    .listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .article-header {
        padding: 54px 60px 42px;
    }

    .article-figure img {
        max-height: 610px;
    }

    .article-body {
        padding-bottom: 76px;
        padding-top: 52px;
    }

    .related-panel .brief-list {
        display: grid;
        gap: 0 32px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* News portal visual system. Kept inside the theme so the engine remains design-agnostic. */
.site-header {
    background: var(--white);
    border-bottom-color: var(--line);
}

.edition-line {
    background: var(--dark);
    font-size: 0.66rem;
    letter-spacing: 0.09em;
}

.edition-inner {
    height: 28px;
}

.edition-inner a {
    border-bottom-color: rgba(255, 255, 255, 0.72);
}

.masthead {
    height: 68px;
}

.brand {
    gap: 11px;
}

.brand-sun {
    background: var(--clay);
    border: 0;
    border-radius: 1px;
    box-shadow: none;
    height: 34px;
    width: 8px;
}

.brand-name {
    font-family: var(--sans);
    font-size: clamp(1.32rem, 6.2vw, 2.05rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.search-drawer summary {
    background: #f7f8f9;
    border-color: var(--line);
    border-radius: 3px;
    font-size: 0.7rem;
    min-height: 42px;
}

.search-drawer[open] summary {
    background: var(--dark);
}

.header-search {
    background: var(--white);
    border-color: var(--line);
    border-radius: var(--radius);
}

.topic-nav {
    border-top-color: var(--line);
}

.topic-track {
    gap: 22px;
}

.topic-track a {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    padding-block: 12px 11px;
    text-transform: uppercase;
}

.topic-track a:first-child {
    color: var(--clay);
}

.page-home,
.listing-page,
.search-page,
.article-layout {
    padding-bottom: 52px;
    padding-top: 18px;
}

.lead-story {
    background: var(--white);
    border-color: var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.lead-link,
.card-link,
.brief-link {
    -webkit-tap-highlight-color: rgba(215, 25, 32, 0.16);
}

.lead-link {
    transition: background-color 150ms ease;
}

.lead-link:focus-visible {
    outline: 4px solid var(--ochre);
    outline-offset: -4px;
}

.lead-link:active .lead-copy {
    background: #fff5f5;
}

.lead-media {
    aspect-ratio: 16 / 9;
    background: var(--paper-deep);
}

.lead-copy {
    padding: 18px 16px 17px;
}

.lead-number,
.section-index {
    display: none;
}

.rubric {
    color: var(--clay);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.085em;
}

.lead-copy h1 {
    font-family: var(--sans);
    font-size: clamp(1.8rem, 8.2vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.06;
    margin: 9px 0 11px;
    text-wrap: pretty;
}

.lead-excerpt {
    color: #555a61;
    font-family: var(--sans);
    font-size: 0.96rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.lead-meta {
    border-top-color: var(--line);
    font-size: 0.7rem;
    margin-top: 15px;
    padding-top: 13px;
}

.read-more {
    align-items: center;
    background: var(--clay);
    border-radius: 3px;
    color: var(--white);
    display: inline-flex;
    font-size: 0.69rem;
    justify-content: center;
    letter-spacing: 0.035em;
    min-height: 38px;
    padding: 0 13px;
}

.content-section,
.related-panel {
    border-top: 4px solid var(--clay);
    margin-top: 36px;
    padding-top: 12px;
}

.section-title {
    display: block;
    margin-bottom: 16px;
}

.section-title p,
.listing-header > p {
    color: var(--clay);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    margin-bottom: 2px;
}

.section-title h2 {
    font-family: var(--sans);
    font-size: clamp(1.45rem, 6.5vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.editorial-grid,
.listing-grid {
    gap: 12px;
}

.editorial-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 2px 9px rgba(17, 19, 23, 0.045);
    overflow: hidden;
    padding: 0;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.editorial-card > .card-link {
    display: grid;
    grid-template-areas: "copy media";
    grid-template-columns: minmax(0, 1fr) 124px;
    height: 100%;
    min-height: 154px;
}

.card-media {
    aspect-ratio: auto;
    background: var(--paper-deep);
    border-left: 1px solid var(--line);
    grid-area: media;
    margin: 0;
    min-height: 100%;
}

.card-copy {
    display: flex;
    flex-direction: column;
    grid-area: copy;
    min-width: 0;
    padding: 14px 12px 13px 14px;
}

.card-title {
    font-family: var(--sans);
    font-size: 1.04rem;
    font-weight: 850;
    letter-spacing: -0.022em;
    line-height: 1.18;
    margin-top: 5px;
    text-wrap: pretty;
}

.card-excerpt {
    display: none;
    font-family: var(--sans);
}

.card-date {
    font-size: 0.66rem;
    margin-top: 7px;
}

.card-action {
    align-items: center;
    color: var(--clay);
    display: flex;
    font-size: 0.66rem;
    font-weight: 900;
    gap: 6px;
    letter-spacing: 0.035em;
    margin-top: auto;
    padding-top: 10px;
    text-transform: uppercase;
}

.card-action span {
    font-size: 1rem;
    line-height: 0;
}

.editorial-card:focus-within,
.brief-card:focus-within {
    box-shadow: 0 0 0 3px var(--ochre), 0 7px 20px rgba(17, 19, 23, 0.12);
}

.card-link:focus-visible,
.brief-link:focus-visible {
    outline: none;
}

.card-link:active,
.brief-link:active {
    background: #fff2f2;
}

.brief-list {
    border: 0;
    display: grid;
    gap: 10px;
}

.brief-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 2px 9px rgba(17, 19, 23, 0.045);
    overflow: hidden;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.brief-card .brief-link {
    gap: 0;
    grid-template-columns: minmax(0, 1fr) 112px;
    min-height: 126px;
    padding: 0;
    position: relative;
}

.brief-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 13px 12px 38px 14px;
}

.brief-title {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-top: 5px;
}

.brief-media {
    border-left: 1px solid var(--line);
    min-height: 124px;
}

.brief-action {
    align-items: center;
    background: var(--clay);
    border-radius: 50%;
    bottom: 11px;
    color: var(--white);
    display: flex;
    font-size: 0.88rem;
    height: 24px;
    justify-content: center;
    left: 14px;
    line-height: 1;
    position: absolute;
    width: 24px;
}

.image-fallback {
    background:
        linear-gradient(145deg, transparent 0 66%, rgba(215, 25, 32, 0.82) 66% 71%, transparent 71%),
        linear-gradient(135deg, #e6e9ed, #cfd4da);
}

.listing-header {
    margin: 10px 0 25px;
}

.listing-header h1 {
    font-family: var(--sans);
    font-size: clamp(2.2rem, 10vw, 4.9rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.title-stroke {
    height: 5px;
}

.search-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--clay);
    border-radius: var(--radius);
}

.article-page {
    background: var(--white);
    border-color: var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.article-header {
    padding: 23px 17px 20px;
}

.article-header h1 {
    font-family: var(--sans);
    font-size: clamp(2rem, 9.2vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin: 12px 0;
    text-wrap: pretty;
}

.article-lead {
    border-left-color: var(--clay);
    color: #4e5359;
    font-family: var(--sans);
    font-size: clamp(1.02rem, 4.4vw, 1.35rem);
    line-height: 1.48;
    margin-top: 17px;
}

.article-body {
    color: #30343a;
    font-family: var(--sans);
    font-size: clamp(1.03rem, 4.35vw, 1.16rem);
    line-height: 1.72;
    padding: 25px 18px 38px;
}

.article-body h2,
.article-body h3 {
    font-family: var(--sans);
    font-weight: 900;
}

.related-panel {
    margin-top: 38px;
}

.site-footer {
    background: var(--dark);
    color: #f0f1f2;
}

.footer-brand .brand-sun {
    box-shadow: none;
}

.footer-about p,
.footer-topics a {
    font-family: var(--sans);
}

@media (hover: hover) {
    .lead-link:hover .lead-copy {
        background: #fffafa;
    }

    .editorial-card:hover,
    .brief-card:hover {
        box-shadow: 0 8px 24px rgba(17, 19, 23, 0.13);
        transform: translateY(-2px);
    }

    .card-link:hover .card-title,
    .brief-link:hover .brief-title {
        color: var(--clay-dark);
    }
}

@media (min-width: 680px) {
    .masthead {
        height: 82px;
    }

    .page-home,
    .listing-page,
    .search-page,
    .article-layout {
        padding-top: 30px;
    }

    .lead-copy,
    .article-header {
        padding: 29px 28px 27px;
    }

    .editorial-grid,
    .listing-grid {
        gap: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editorial-card > .card-link {
        display: block;
    }

    .card-media {
        aspect-ratio: 16 / 9;
        border-bottom: 1px solid var(--line);
        border-left: 0;
        min-height: 0;
    }

    .card-copy {
        min-height: 220px;
        padding: 17px;
    }

    .card-title {
        font-size: 1.28rem;
    }

    .card-excerpt {
        display: -webkit-box;
        font-size: 0.91rem;
        margin-top: 9px;
    }

    .brief-card .brief-link {
        grid-template-columns: minmax(0, 1fr) 180px;
        min-height: 148px;
    }

    .brief-copy {
        padding: 18px 18px 48px;
    }

    .brief-title {
        font-size: 1.28rem;
    }

    .brief-action {
        bottom: 15px;
        height: 28px;
        left: 18px;
        width: 28px;
    }

    .article-body {
        padding: 39px 34px 56px;
    }
}

@media (min-width: 960px) {
    .lead-link {
        display: grid;
        grid-template-columns: minmax(0, 1.32fr) minmax(340px, 0.68fr);
        min-height: 500px;
    }

    .lead-media {
        aspect-ratio: auto;
        min-height: 500px;
    }

    .lead-copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 42px 36px 30px;
    }

    .lead-copy h1 {
        font-size: clamp(2.55rem, 4vw, 3.75rem);
    }

    .lead-meta {
        margin-top: auto;
    }

    .content-section {
        margin-top: 52px;
    }

    .editorial-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card-copy {
        min-height: 238px;
    }

    .card-title {
        font-size: 1.35rem;
    }

    .latest-section .brief-list,
    .related-panel .brief-list {
        display: grid;
        gap: 14px 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .article-header {
        padding: 48px 54px 39px;
    }

    .article-body {
        padding-bottom: 70px;
        padding-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

.feed-loader {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    min-height: 132px;
    padding: 30px 0 12px;
    text-align: center;
}

.feed-status {
    color: var(--muted);
    font-size: 0.78rem;
}

.feed-more {
    background: var(--ink);
    border: 0;
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    min-height: 46px;
    padding: 0 22px;
    text-transform: uppercase;
}

.feed-loader.is-loading .feed-more {
    opacity: 0.55;
}

.feed-loader.is-loading::before {
    animation: feed-spin 700ms linear infinite;
    border: 3px solid var(--line);
    border-radius: 50%;
    border-top-color: var(--clay);
    content: "";
    height: 28px;
    width: 28px;
}

@keyframes feed-spin {
    to { transform: rotate(360deg); }
}

@media print {
    .site-header,
    .site-footer,
    .related-panel {
        display: none;
    }

    body,
    .article-page {
        background: #fff;
        box-shadow: none;
    }

    .article-layout {
        width: 100%;
    }
}
