:root {
    --story-bg: rgb(228, 218, 206);
    --story-text: #000;
}

.story {
    background: var(--story-bg);
    padding: 5vw 4vw;
    border-bottom: 3px solid rgb(40, 40, 42);
}

.story__layout {
    display: grid;
    grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 1fr);
    gap: 4vw;
    align-items: center;
}

.story__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    object-fit: cover;
}

.story__content h3 {
    font-family: 'Agato', serif;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    font-style: normal;
    text-align: center;
    color: var(--story-text);
    margin: 0 0 2rem;
    line-height: 1.4;
}

.story__gallery {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.story__gallery img {
    width: clamp(160px, 24vw, 260px);
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

.story__content p {
    font-family: 'Minion', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    color: var(--story-text);
    text-align: center;
    margin: 16px 0;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
}

.story__content p .hero__accent {
    font-family: 'Agato', serif;
    color: var(--hero-accent);
    text-transform: none;
    font-style: italic;
}

.story__content p:first-of-type {
    margin-bottom: 64px;
}

.story__content p:last-of-type {
    margin-top: 64px;
}

@media (max-width: 900px) {
    .story {
        padding: 10vw 6vw;
    }

    .story__layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .story__gallery img {
        width: clamp(140px, 40vw, 220px);
    }

    .story__hero-image {
        order: -1;
    }
}

