.downloads-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
}

.downloads-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.downloads-warning {
    border: 1px solid var(--primary-accent);
    background: rgba(255, 255, 255, .04);
    color: var(--ink);
    padding: 12px 14px;
    font-size: .84rem;
    line-height: 1.5;
}

.downloads-group-heading {
    margin: 0;
    border-top: 1px solid #202020;
    border-bottom: 1px solid #202020;
    padding: 9px 14px;
    color: var(--moremuted);
    font-size: .62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.downloads-group-heading + .archive-list .archive-row:first-child {
    border-top: 0;
}

.archive-row-stat img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

.downloads-hero-image {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .36);
}

.downloads-hero-image-link {
    display: inline-block;
    line-height: 0;
    justify-self: start;
    text-decoration: none;
}

.downloads-hero-image-link:hover .downloads-hero-image,
.downloads-hero-image-link:focus-visible .downloads-hero-image {
    filter: brightness(1.08);
}

.downloads-hero-image-link:hover,
.downloads-hero-image-link:focus-visible {
    text-decoration: none;
}

@media (min-width: 760px) {
    .downloads-detail-page .section-hero {
        grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
    }

    .downloads-detail-page .section-hero-copy {
        min-width: 0;
    }

    .downloads-detail-page .section-hero-copy .eyebrow {
        grid-column: 1;
        grid-row: 1;
    }

    .downloads-detail-page .section-hero h1 {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        min-width: 0;
    }

    .downloads-detail-page .section-hero-copy > p {
        grid-column: 1;
        grid-row: 3;
    }

    .downloads-hero-image-link {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
        justify-self: end;
    }

    .downloads-hero-image {
        width: 240px;
        height: 240px;
    }
}

/* ============================================================
   DOWNLOAD DETAIL — two-column layout (matches music song/album pages)
   ============================================================ */

.downloads-detail-panel {
    display: flow-root;
}

.downloads-detail-sidebar {
    border-bottom: 1px solid var(--line);
    background: #0d0d0d;
}

.downloads-detail-sidebar-block {
    border-top: 1px solid var(--line);
}

.downloads-detail-sidebar-block:first-child {
    border-top: 0;
}

.downloads-sidebar-header,
.downloads-section-header {
    border-bottom: 1px solid var(--line);
    padding: 14px;
}

.downloads-sidebar-header h2,
.downloads-section-header h2 {
    margin: 0;
    color: #fff;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: clamp(1.25rem, 6vw, 1.7rem);
    font-weight: 900;
    line-height: .98;
    text-transform: uppercase;
}

.downloads-section-header h2 {
    font-size: clamp(1.5rem, 7vw, 2.45rem);
}

.downloads-detail-list div:first-child {
    border-top: 1px solid #202020;
}

.downloads-detail-list dd {
    font-size: .88rem;
    line-height: 1.45;
}

.downloads-detail-body {
    padding: 14px;
    white-space: normal;
}

.downloads-detail-body p {
    margin: 0;
    line-height: 1.6;
}

@media (min-width: 720px) {
    .downloads-detail-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, min(320px, 36%));
        align-items: start;
    }

    .downloads-detail-sidebar {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: auto;
        margin: 0;
        border-left: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .downloads-detail-main-section {
        grid-column: 1;
    }

    .downloads-detail-sidebar .downloads-actions {
        justify-content: center;
    }
}
