/*
 * Fi1m — Features
 * ===============
 * The long pieces (/features, /features/<slug>). Loaded after mag.css, and on the article page after static.css,
 * whose .prose sets the reading measure. The head is the film page's title treatment turned the right way up: a red
 * kicker slab, the title in the display face, a standfirst, then the art at full container width and the copy at
 * 68ch beneath it. Cards on the index and under the article are the shared .article-card.
 */

/* ------------------------------------------------------------------ Article head */
.feature-head {
    padding: 44px 0 28px;
}

.feature-kicker {
    margin-bottom: 18px;
    line-height: 1;
}

.feature-kicker span {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff;
    padding: 7px 12px 6px;
}

.feature-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    max-width: 18ch;
    margin-bottom: 20px;
    text-wrap: balance;
}

.feature-standfirst {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--text-color-muted);
    max-width: 58ch;
    margin-bottom: 18px;
}

.feature-meta {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
}

/* ------------------------------------------------------------------ Art */
.feature-art {
    margin: 0 auto 40px;
}

.feature-art img {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    background: var(--card-background);
}

/* ------------------------------------------------------------------ Body */
.feature-body .prose {
    margin: 0 auto;
    font-size: 1.1rem;
}

.feature-body .prose h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 2.4em;
    padding-top: 14px;
    border-top: 3px solid var(--ink);
}

.feature-body .prose h2 em {
    font-style: normal;
}

.feature-body .prose a {
    color: var(--heading-color);
    font-weight: 500;
    border-bottom: 2px solid var(--primary);
}

.feature-body .prose a:hover {
    color: var(--primary);
}

.feature-note {
    margin-top: 3em;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-color-muted);
}

.feature-body .prose .feature-note a {
    font-weight: 400;
    border-bottom-width: 1px;
}

/* ------------------------------------------------------------------ Index and "more" grids */
.feature-index-title {
    margin-top: 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.feature-grid .article-title {
    font-size: 1.5rem;
}

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

@media (max-width: 640px) {
    .feature-head {
        padding: 28px 0 20px;
    }

    .feature-title {
        font-size: 2.2rem;
    }

    .feature-standfirst {
        font-size: 1.05rem;
    }

    .feature-art img {
        aspect-ratio: 16 / 9;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
