/* ==========================================================
   Section: Recent Releases
   ========================================================== */

.recent-releases {
    background: var(--bg-cream);
    padding: var(--section-pad) 24px;
}

.recent-releases__container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.recent-releases__grid {
    display: grid;
    gap: clamp(40px, 6vw, 80px);
    margin-top: 44px;
    width: 100%;
}

.recent-releases__grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recent-releases__grid--count-1 {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}

.recent-releases__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recent-releases__cover {
    width: clamp(220px, 24vw, 340px);
    height: auto;
    transition: transform 0.35s ease;
}

.recent-releases__cover-link:hover .recent-releases__cover {
    transform: translateY(-6px);
}

.recent-releases__title {
    margin-top: 26px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}

.recent-releases__title a {
    color: var(--text-primary);
}
.recent-releases__title a:hover {
    color: var(--brand);
}

.recent-releases__subtitle {
    margin-top: 8px;
    font-style: italic;
    color: var(--text-secondary);
}

.recent-releases__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

@media (max-width: 760px) {
    .recent-releases__grid--count-2 {
        grid-template-columns: 1fr;
    }
}

/* Quiet path into the detail page beneath the buy buttons */
.recent-releases__more {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: var(--border-medium);
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.recent-releases__more:hover {
    color: var(--brand);
    text-decoration-color: var(--border-brand);
}
