.hml-latest-tracks-page {
    width: 100%;
}

.hml-latest-track-gallery {
    display: grid;
    gap: 12px;
}

.hml-latest-track-gallery header h2 {
    margin: 0;
    color: #f1dfad;
    font-size: 18px;
    line-height: 1.1;
}

.hml-latest-track-grid {
    display: grid;
    grid-template-columns: repeat(5, 20mm);
    gap: 8px;
    justify-content: center;
    max-width: calc(100mm + 32px);
    margin: 0 auto;
}

.hml-latest-track-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: #101010;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.hml-latest-track-thumb img,
.hml-latest-track-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    place-items: center;
    object-fit: cover;
    object-position: center;
}

.hml-latest-track-fallback {
    color: #d8c07d;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(145deg, #171717, #252525);
}

.hml-stage {
    min-height: calc(100vh - 72px);
    padding: clamp(24px, 4vh, 46px) clamp(26px, 7vw, 112px) 118px;
    align-content: start;
    align-items: start;
}

/* RELEASES keeps the active-cover background continuous beneath the shared
   header, while the release grid retains its original position and scale. */
.is-template-releases2 .topbar {
    z-index: 20;
    background: transparent;
    backdrop-filter: none;
}

.is-template-releases2 .hml-stage {
    overflow: visible;
}

.is-template-releases2 .hml-stage::before,
.is-template-releases2 .hml-stage::after,
.is-template-releases2 .hml-stage .album-backdrop {
    top: -220px;
}

.hml-releases-scene {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(16px, 2.2vh, 24px);
    width: min(900px, 100%);
    margin: 0 auto;
}

.hml-releases-head {
    display: grid;
    gap: 0;
    justify-items: start;
    color: #c8aa6a;
    text-transform: uppercase;
}

.hml-releases-head h1 {
    margin: 0;
    color: #c8aa6a;
    font-size: clamp(16px, 1.55vw, 23px);
    line-height: 0.95;
    letter-spacing: 0;
}

.hml-releases-grid {
    min-width: 0;
}

.hml-releases-grid .hmt-track-gallery {
    width: 100%;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: clamp(14px, 1.6vw, 22px);
}

.hml-releases-grid .hmt-track-cover {
    border-radius: 6px;
}

.hml-releases-grid .hmt-track-card {
    gap: 4px;
}

.hml-releases-grid .hmt-track-title {
    font-size: 12px;
}

.hml-releases-grid .hmt-track-meta time {
    font-size: 11px;
}

@media (max-width: 980px) {
    .hml-stage {
        padding: 28px clamp(18px, 5vw, 34px) 128px;
    }

    .hml-releases-scene {
        width: min(720px, 100%);
    }

    .hml-releases-grid .hmt-track-gallery {
        grid-template-columns: repeat(3, minmax(92px, 1fr));
        gap: clamp(12px, 3vw, 18px);
    }
}

@media (max-width: 620px) {
    .hml-stage {
        padding: 22px 12px 128px;
    }

    .hml-releases-head {
        padding-left: 4px;
    }

    .hml-releases-grid .hmt-track-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}
