body.section-theme-editorial {
    --editorial-ink: #1c1917;
    --editorial-paper: #fffdf8;
    --editorial-cream: #f4efe5;
    --editorial-red: #9f1239;
    --editorial-gold: #b7791f;
    color: var(--editorial-ink);
    background: linear-gradient(180deg, #f8f3e9 0, #fffdf8 520px, #f5f2eb 100%);
}

.section-theme-editorial .horizon-header {
    background: #151412;
    box-shadow: none;
}

.section-theme-editorial .horizon-brand__mark {
    color: #fff;
    background: var(--editorial-red);
    box-shadow: none;
}

.section-theme-editorial .horizon-nav-shell {
    border-color: rgba(255,255,255,.16);
    background: #151412;
}

.section-theme-editorial .horizon-nav a.is-active::after {
    background: #f4d8a4;
}

.editorial-page {
    width: min(var(--horizon-content-max, 1600px), calc(100% - var(--horizon-content-gutter, clamp(32px, 5vw, 72px))));
}

.section-identity {
    position: relative;
    overflow: hidden;
    margin-block-end: 30px;
    border-radius: 28px;
}

.editorial-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
    padding: clamp(34px, 7vw, 82px);
    border: 1px solid #d9cdb9;
    color: var(--editorial-ink);
    background:
        linear-gradient(90deg, rgba(255,253,248,.98), rgba(255,253,248,.74)),
        repeating-linear-gradient(90deg, transparent 0 39px, rgba(68,56,45,.05) 40px);
    box-shadow: 0 24px 60px rgba(72, 52, 35, .12);
}

.section-identity__eyebrow {
    margin-block-end: 12px;
    color: var(--editorial-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.editorial-identity h1 {
    max-width: 780px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 600;
    line-height: .94;
    letter-spacing: -.055em;
}

.editorial-identity p {
    max-width: 640px;
    margin: 22px 0 0;
    color: #57534e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 2vw, 22px);
}

.editorial-identity__issue {
    align-self: start;
    padding-block-start: 4px;
    border-block-start: 3px solid var(--editorial-red);
    color: #57534e;
    font: 800 12px/1.3 ui-sans-serif, system-ui, sans-serif;
    letter-spacing: .14em;
    white-space: nowrap;
}

.section-theme-editorial .section-menu,
.section-theme-editorial .horizon-section-heading {
    display: none;
}

.section-theme-editorial .horizon-news-search,
.section-theme-editorial .listing-filter {
    border: 1px solid #d8cdbd;
    background: rgba(255,253,248,.88);
    box-shadow: none;
}

.section-theme-editorial .category-filter,
.section-theme-editorial .tag-filter {
    border-block-end: 1px solid #d8cdbd;
    padding-block-end: 18px;
}

.section-theme-editorial .category-filter__item,
.section-theme-editorial .tag-filter__item {
    border-color: #d8cdbd;
    color: #3f3a34;
    background: transparent;
}

.section-theme-editorial .category-filter__item--active,
.section-theme-editorial .tag-filter__item--active {
    border-color: var(--editorial-red);
    color: #fff;
    background: var(--editorial-red);
}

.section-theme-editorial .editorial-grid,
.section-theme-editorial .news-feed {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.section-theme-editorial .news-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 0 22px;
    border: 0;
    border-block-end: 1px solid #d8cdbd;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.section-theme-editorial .news-card--lead,
.section-theme-editorial .news-card:first-child {
    grid-column: span 8;
    grid-row: span 2;
}

/* Shared compact news grid is used on the home page and every public News listing. */
.section-theme-editorial .news-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 320px));
    justify-content: start;
    align-items: stretch;
    gap: 24px;
}

.section-theme-editorial .news-card-grid .news-card,
.section-theme-editorial .news-card-grid .news-card:first-child,
.section-theme-editorial .news-card-grid .news-card--lead {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 320px;
}

.section-theme-editorial .news-card__cover-link {
    margin: 0 0 18px;
    border-radius: 18px;
    background: #ded7ca;
}

.section-theme-editorial .news-card__cover {
    height: 260px;
    filter: saturate(.9) contrast(1.02);
}

.section-theme-editorial .news-card--lead .news-card__cover,
.section-theme-editorial .news-card:first-child .news-card__cover {
    height: clamp(320px, 44vw, 560px);
}

.section-theme-editorial .news-card__title {
    margin: 0 0 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2.7vw, 38px);
    line-height: 1.04;
}

.section-theme-editorial .news-card:not(.news-card--lead) .news-card__title {
    font-size: clamp(21px, 2vw, 29px);
}

.section-theme-editorial .news-card__title a {
    color: var(--editorial-ink);
}

.section-theme-editorial .news-post {
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(28px, 6vw, 76px);
    border: 1px solid #ded5c6;
    border-radius: 4px;
    background: var(--editorial-paper);
    box-shadow: 0 26px 70px rgba(64,47,30,.12);
}

.section-theme-editorial .news-post h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 600;
}

.section-theme-editorial .news-body {
    color: #292524;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.82;
}

@media (max-width: 900px) {
    .section-theme-editorial .news-card,
    .section-theme-editorial .news-card--lead,
    .section-theme-editorial .news-card:first-child { grid-column: span 6; }
    .editorial-identity { grid-template-columns: 1fr; }
    .editorial-identity__issue { justify-self: start; }
}

@media (max-width: 380px) {
    .section-theme-editorial .news-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-theme-editorial .news-card-grid .news-card,
    .section-theme-editorial .news-card-grid .news-card:first-child,
    .section-theme-editorial .news-card-grid .news-card--lead {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .editorial-page { width: min(100% - 24px, var(--horizon-content-max, 1600px)); }
    .editorial-identity { padding: 34px 24px; border-radius: 20px; }
    .editorial-identity h1 { font-size: 43px; }
    .section-theme-editorial .news-card,
    .section-theme-editorial .news-card--lead,
    .section-theme-editorial .news-card:first-child { grid-column: 1 / -1; }
    .section-theme-editorial .news-card__cover,
    .section-theme-editorial .news-card--lead .news-card__cover,
    .section-theme-editorial .news-card:first-child .news-card__cover { height: 240px; }
}

/* Compact section identity keeps the news feed above the fold. */
.section-theme-editorial .section-identity--compact {
    align-items: center;
    margin-block-end: 20px;
    padding: 20px 26px;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(72, 52, 35, .09);
}

.section-theme-editorial .section-identity--compact .section-identity__eyebrow {
    margin-block-end: 4px;
}

.section-theme-editorial .section-identity--compact h1 {
    max-width: none;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.section-theme-editorial .section-identity--compact p {
    max-width: 760px;
    margin-block-start: 6px;
    font-size: clamp(14px, 1.6vw, 17px);
}

.section-theme-editorial .editorial-identity__issue {
    align-self: center;
    padding: 8px 11px;
    border-block-start: 0;
    border: 1px solid #d8cdbd;
    border-radius: 999px;
    background: rgba(255, 253, 248, .8);
}

@media (max-width: 620px) {
    .section-theme-editorial .section-identity--compact {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 17px 18px;
        border-radius: 15px;
    }

    .section-theme-editorial .section-identity--compact h1 {
        font-size: 31px;
    }
}

/* Form field names use editorial ink rather than muted metadata. */
.section-theme-editorial label,
.section-theme-editorial legend,
.section-theme-editorial .form-label {
    color: #292524;
}
