﻿/* Featured car editorial */

.feature-story {
    margin: 24px auto 48px;
    color: #edf2fb;
    overflow-wrap: anywhere;
}

.feature-story-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

    .feature-story-navigation a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        color: #b5caff;
        text-decoration: none;
    }

    .feature-story-navigation > span {
        color: #91a4c0;
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

/* Opening spread */

.feature-story-header {
    max-width: 1100px;
    margin: 0 auto 32px;
}

.feature-story-edition {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #425674;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

    .feature-story-edition > span {
        color: #a7bdff;
        font-weight: 700;
    }

    .feature-story-edition time {
        color: #a9b6c9;
    }

.feature-story-title {
    margin: 0 0 30px;
    font-size: clamp(3rem, 8vw, 7rem);
}

.feature-story-identity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

    .feature-story-identity h2 {
        margin-bottom: 8px;
        font-size: clamp(1.6rem, 3vw, 2.3rem);
        font-weight: 800;
        letter-spacing: -0.03em;
    }

    .feature-story-identity p {
        margin: 0;
        color: #b9c9df;
    }

    .feature-story-identity > img {
        flex-shrink: 0;
        width: 100px;
        height: 75px;
        object-fit: contain;
    }

.feature-story-standfirst {
    max-width: 65ch;
    margin-bottom: 22px;
    color: #d6e0ef;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.65;
    white-space: pre-line;
}

.feature-story-byline {
    margin: 0;
    color: #a9b6c9;
    font-size: 0.9rem;
}

    .feature-story-byline a {
        color: #fff;
        font-weight: 600;
        text-underline-offset: 4px;
    }

.feature-story-cover {
    margin: 0 0 48px;
    overflow: hidden;
    border: 1px solid #354964;
    border-radius: 20px;
    background: #101927;
}

    .feature-story-cover img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

/* Article text and photography */

.feature-story-spread {
    display: grid;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

    .feature-story-spread.has-photo {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }

.feature-story-prose {
    width: 100%;
    max-width: 65ch;
    margin: 0 auto;
    color: #d2dbea;
    font-size: 1.1rem;
    line-height: 1.9;
}

    .feature-story-prose p {
        margin-bottom: 24px;
        white-space: pre-line;
    }

        .feature-story-prose p:last-child {
            margin-bottom: 0;
        }

.feature-story-spread .feature-story-prose > p:first-child::first-letter {
    float: left;
    margin: 7px 10px 0 0;
    color: #a7bdff;
    font-family: Georgia, serif;
    font-size: 4.4rem;
    line-height: 0.8;
}

.feature-story-detail-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #101927;
}

    .feature-story-detail-photo img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }

.feature-story-pullquote {
    max-width: 950px;
    margin: 48px auto;
    padding: 28px 0;
    border-top: 2px solid #527aff;
    border-bottom: 1px solid #354964;
}

    .feature-story-pullquote p {
        margin: 0;
        color: #c3d4ff;
        font-family: Georgia, serif;
        font-size: clamp(1.6rem, 3.5vw, 2.7rem);
        font-style: italic;
        line-height: 1.4;
        text-align: center;
    }

.feature-story-closing {
    margin: 40px auto;
}

.feature-story-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 44px 0;
}

    .feature-story-photo-grid figure {
        margin: 0;
        overflow: hidden;
        border-radius: 16px;
        background: #101927;
    }

    .feature-story-photo-grid img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .feature-story-photo-grid > figure:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

        .feature-story-photo-grid > figure:last-child:nth-child(odd) img {
            aspect-ratio: 16 / 9;
        }

/* Specification panel */

.feature-story-facts {
    margin-top: 44px;
    padding: 28px;
    border: 1px solid #435b7e;
    border-radius: 20px;
    background: #172232;
}

    .feature-story-facts h2 {
        margin-bottom: 24px;
        font-size: 1.4rem;
        font-weight: 750;
    }

.feature-story-facts-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
}

    .feature-story-facts-grid > div {
        padding-left: 12px;
        border-left: 1px solid #435878;
    }

    .feature-story-facts-grid dt {
        margin-bottom: 8px;
        color: #a7bdff;
        font-size: 0.7rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .feature-story-facts-grid dd {
        margin: 0;
        font-weight: 600;
    }

/* Closing invitation */

.feature-story-ending {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid #30415a;
    border-radius: 20px;
    background: #101927;
}

    .feature-story-ending h2 {
        margin-bottom: 10px;
        font-size: 1.6rem;
        font-weight: 750;
    }

    .feature-story-ending p {
        margin: 0;
        color: #a9b6c9;
    }

    .feature-story-ending .home-cover-cta {
        flex-shrink: 0;
    }

.feature-story a:hover {
    color: #b5caff;
}

.feature-story .home-cover-cta:hover {
    color: #fff;
}

.feature-story a:focus-visible {
    outline: 2px solid #a7bdff;
    outline-offset: 4px;
}

/* Smaller screens */

@media (max-width: 900px) {
    .feature-story-spread.has-photo {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-story-detail-photo img {
        aspect-ratio: 4 / 3;
    }

    .feature-story-facts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .feature-story-navigation {
        margin-bottom: 24px;
    }

        .feature-story-navigation > span {
            max-width: 120px;
            text-align: right;
            font-size: 0.6rem;
        }

    .feature-story-title {
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }

    .feature-story-identity {
        gap: 14px;
    }

        .feature-story-identity > img {
            width: 75px;
            height: 60px;
        }

    .feature-story-cover {
        margin-bottom: 30px;
        border-radius: 14px;
    }

        .feature-story-cover img {
            aspect-ratio: 4 / 3;
        }

    .feature-story-prose {
        font-size: 1rem;
        line-height: 1.85;
    }

    .feature-story-pullquote {
        margin: 32px auto;
        padding: 24px 8px;
    }

    .feature-story-photo-grid {
        gap: 12px;
        margin: 30px 0;
    }

    .feature-story-facts {
        padding: 20px;
    }

    .feature-story-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .feature-story-ending {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }
}

/* Editorial introduction */

.feature-story-header {
    margin-bottom: 24px;
}

.feature-story-identity {
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-left: 3px solid #789cff;
    border-radius: 0 14px 14px 0;
    background: linear-gradient( 90deg, rgb(82 122 255 / 12%), rgb(82 122 255 / 2%) );
}

.feature-story-meet {
    display: block;
    margin-bottom: 5px;
    color: #a7bdff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.feature-story-identity h2 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.feature-story-identity p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.feature-story-standfirst {
    margin: 0;
    color: #edf2fb;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -0.015em;
}

.feature-story-byline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 0;
}

.feature-story-owner-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid #6487e6;
    border-radius: 50%;
    background: #2946ab;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.feature-story-owner-label {
    display: block;
    margin-bottom: 3px;
    color: #96a9c5;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
}

.feature-story-byline a,
.feature-story-byline strong {
    font-size: 0.95rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .feature-story-identity {
        padding: 14px;
    }

        .feature-story-identity > img {
            width: 65px;
            height: 55px;
        }
}

.feature-story-owner-avatar {
    overflow: hidden;
}

    .feature-story-owner-avatar img {
        display: block;
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        border-radius: inherit;
        object-fit: cover;
    }

/* Specification icons */

.feature-story-facts-grid dt {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-fact-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}