/*
 * News channel — daily briefing archive and article pages.
 * Uses the site palette from site.css; --news-accent marks the channel.
 */

.news-header .kicker,
.news-item-city,
.news-article-header .kicker {
    color: #8a2b3e;
}

/* ---------- Archive ---------- */

.news-stream {
    padding: 0 0 90px;
}

.news-day {
    display: grid;
    grid-template-columns: 150px minmax(0, 820px);
    gap: 40px;
    padding: 38px 0;
    border-bottom: 1px solid var(--line);
}

.news-day-label time {
    display: block;
    position: sticky;
    top: 100px;
}

.news-day-label strong {
    display: block;
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.02em;
}

.news-day-label span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.news-day-items {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.news-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.news-item h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.news-item h2 a:hover {
    color: #8a2b3e;
}

.news-item-zh {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.news-item-dek {
    max-width: 70ch;
    margin: 12px 0 0;
    color: #3c4744;
}

.news-item-foot {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.news-item-foot a {
    color: var(--ink);
    font-weight: 800;
}

.news-item-foot a:hover {
    color: #8a2b3e;
}

.news-item-lead h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.05;
}

.news-item-lead .news-item-dek {
    font-size: 18px;
    line-height: 1.5;
}

/* ---------- Pagination ---------- */

.news-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    padding-top: 22px;
    border-top: 2px solid var(--ink);
    color: var(--muted);
    font-size: 12px;
}

.news-page-link {
    color: var(--ink);
    font-weight: 800;
}

.news-page-link:hover {
    color: #8a2b3e;
}

/* ---------- Article ---------- */

.news-article {
    padding: 48px 0 80px;
}

.news-article-header {
    padding-bottom: 34px;
}

.news-article-header h1 {
    margin: 14px 0 0;
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.news-article-zh {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.news-article-header .dek {
    max-width: 64ch;
    margin: 20px 0 0;
    color: #3c4744;
    font-size: 19px;
}

.news-article-header .byline {
    margin-top: 22px;
}

.news-body {
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.news-map-note {
    margin: 30px 0 0;
    padding: 14px 18px;
    border-left: 3px solid #8a2b3e;
    background: #e7e6e0;
    color: #3c4744;
    font-size: 13px;
    line-height: 1.5;
}

.news-sources {
    margin-top: 46px;
    padding-top: 26px;
    border-top: 2px solid var(--ink);
}

.news-sources h2 {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.news-sources ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-sources li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.news-sources li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--muted);
}

.news-sources a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news-sources a:hover {
    color: #8a2b3e;
}

.news-sources > p {
    max-width: 70ch;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.news-article-nav {
    margin-top: 40px;
}

.news-article-nav a {
    font-size: 13px;
    font-weight: 800;
}

.news-article-nav a:hover {
    color: #8a2b3e;
}

/* ---------- Small screens ---------- */

@media (max-width: 760px) {
    .news-day {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 28px 0;
    }

    .news-day-label time {
        position: static;
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .news-day-label strong {
        font-size: 24px;
    }

    .news-day-label span {
        margin-top: 0;
    }

    .news-item-lead h2 {
        font-size: 26px;
    }

    .news-article {
        padding-top: 32px;
    }
}

/* ---------- Homepage briefing strip ---------- */

.home-briefings {
    padding: 56px 0 8px;
}

.briefing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.briefing-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px 28px;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    transition: background .18s ease;
}

.briefing-card:hover {
    background: var(--white);
}

.briefing-card time {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.briefing-card strong {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.24;
    letter-spacing: -.01em;
}

.briefing-card span {
    margin-top: auto;
    color: #8a2b3e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ---------- Homepage hero: full-bleed photo behind the headline ---------- */

.home-intro {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(430px, 44vw, 580px);
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.home-intro-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 52%;
}

/* Left wash keeps the black headline readable while still letting the drawing
   show through; the right half stays almost clear so the photo reads. */
.home-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(96deg,
        rgba(244, 243, 239, .90) 0%,
        rgba(244, 243, 239, .86) 38%,
        rgba(244, 243, 239, .52) 58%,
        rgba(244, 243, 239, .10) 74%,
        rgba(244, 243, 239, 0) 100%);
}

.home-intro .intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: clamp(62px, 8vw, 96px) 0 clamp(56px, 7vw, 78px);
}

.home-intro .intro-copy h1 {
    max-width: 820px;
}

/* ---------- Topic index, now a strip under the hero ---------- */

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

.index-strip .shell {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.index-strip a {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 24px 20px 28px;
    border-left: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
}

.index-strip a:first-child {
    padding-left: 0;
    border-left: 0;
}

.index-strip span {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
}

.index-strip strong {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
}

.index-strip small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.index-strip a:hover strong {
    color: var(--red);
}

@media (max-width: 980px) {
    .index-strip .shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .index-strip a {
        padding: 18px 16px 22px;
        border-top: 1px solid var(--line);
    }

    .index-strip a:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .index-strip a:first-child {
        border-top: 0;
    }
}

@media (max-width: 760px) {
    .home-intro {
        min-height: 400px;
    }

    .home-intro-bg {
        object-position: 64% 50%;
    }

    /* On a narrow screen the sideways wash would blot out most of the photo,
       so the fade runs top-to-bottom instead. */
    .home-intro::before {
        background: linear-gradient(180deg,
            rgba(244, 243, 239, .30) 0%,
            rgba(244, 243, 239, .88) 40%,
            rgba(244, 243, 239, .97) 62%,
            var(--paper) 100%);
    }

    .index-strip .shell {
        grid-template-columns: 1fr;
    }

    .index-strip a {
        border-left: 0;
    }
}
