.song-vine-collections-index {
    --sv-collections-edge: max(1.25rem, 5vw);
    --sv-collections-space: clamp(3.5rem, 8vw, 7rem);
    --sv-collections-border: rgba(48, 43, 36, 0.14);
    --sv-collections-cream: #f7f2ea;
    --sv-collections-paper: #fffdf8;
    --sv-collections-green: #354d42;

    padding-bottom: var(--sv-collections-space);
    background: var(--sv-collections-paper);
}

.song-vine-collections-index__header {
    padding:
        var(--sv-collections-space)
        var(--sv-collections-edge);
    background: var(--sv-collections-cream);
}

.song-vine-collections-index__header h1 {
    max-width: 12ch;
    margin: 0 0 1.25rem;
    font-size: clamp(2.7rem, 7vw, 5.8rem);
    line-height: 0.98;
}

.song-vine-collections-index__header > p:last-child {
    max-width: 42rem;
    margin-bottom: 0;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.song-vine-collections-index__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.song-vine-collections-index__grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: clamp(1.5rem, 4vw, 3rem);
    padding:
        var(--sv-collections-space)
        var(--sv-collections-edge)
        0;
}

.song-vine-collections-index__card {
    min-width: 0;
}

.song-vine-collections-index__card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.song-vine-collections-index__image {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin-bottom: 1.5rem;
    background: var(--sv-collections-cream);
}

.song-vine-collections-index__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.song-vine-collections-index__card a:hover img,
.song-vine-collections-index__card a:focus-visible img {
    transform: scale(1.025);
}

.song-vine-collections-index__card h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.08;
}

.song-vine-collections-index__description {
    max-width: 38rem;
    color: rgba(48, 43, 36, 0.82);
}

.song-vine-collections-index__description > :first-child {
    margin-top: 0;
}

.song-vine-collections-index__description > :last-child {
    margin-bottom: 0;
}

.song-vine-collections-index__link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

@media (max-width: 900px) {
    .song-vine-collections-index__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 600px) {
    .song-vine-collections-index__grid {
        grid-template-columns: 1fr;
    }

    .song-vine-collections-index__image {
        aspect-ratio: 5 / 6;
    }
}
