/* ============================================================
   COMPOSER AVERY 5.0.2 — discography.css
   Breakpoint: mobile <= 1024px (iPad Pro and below), desktop >= 1025px
   ============================================================ */

.discography {
    position: relative;
    min-height: 100vh;
    background: rgba(22, 20, 18, 1.0);
    padding-top: 90px; /* clears fixed .site-nav */
    overflow: hidden;
}

/* ---- Watermark: fixed, font-size scales at breakpoint only ---- */
.discog-watermark {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 150px;
    letter-spacing: -6px;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    padding: 0px;
    margin: 0px;
    background: linear-gradient(to bottom, rgba(38,38,38,0.7) 0%, rgba(38,38,38,0.0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.discog-layout {
    position: relative;
    z-index: 1;
}

/* ---- Shared section header styles ---- */
.section-header h1,
.section-header h2 {
    font-family: var(--font-primary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.section-header h1 {font-size: 28px; color: #ffffff;}
.section-header h2 {font-size: 24px; color: rgba(220, 220, 220, 1.0);}


.section-subheader {
    font-family: var(--font-primary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    color: rgba(160,160,160,1.0);
}

/* ============================================================
   NEW RELEASES
   ============================================================ */

.new-releases {
    padding: 40px 10px 30px;
    text-align: center;
}

.new-releases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 400px;
    margin: 24px auto 0;
}

.new-releases-grid.single {
    grid-template-columns: 1fr;
    max-width: 200px;
}

.release-card {
    display: block;
    background: rgba(27,25,22,1.0);
    border: 1px solid rgba(38,38,38,1.0);
    border-radius: 6px;
    overflow: hidden;
    padding: 14px;
    cursor: pointer;
}

.release-card-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.release-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-card-info {
    text-align: center;
}

.release-card-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.release-card-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    color: rgba(200,200,200,1.0);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-card-format {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 12px;
    color: rgba(140,140,140,1.0);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ============================================================
   PREVIOUS RELEASES
   ============================================================ */

.previous-releases {
    padding: 20px 20px 0;
}

.prev-header {
    text-align: center;
    margin-bottom: 16px;
}

.discog-filter {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 35px;
}

.discog-filter select {
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--font-primary);
    font-size: 16px;
    color: #222;
    background: #ffffff;
    border: none;
    border-radius: 4px 0 0 4px;
    padding: 6px 16px;
    width: 220px;
    cursor: pointer;
}

/* fake dropdown arrow box, matches design's dark square */
.discog-filter {
    position: relative;
}
.discog-filter::after {
    content: '';
    position: absolute;
    right: calc(50% - 118px);
    top: 0;
    bottom: 0;
    width: 44px;
    background: rgba(60,58,55,1.0);
    border-radius: 0 4px 4px 0;
    pointer-events: none;
}
.discog-filter::before {
    content: '▾';
    position: absolute;
    right: calc(50% - 132px);
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.previous-releases-list {
    max-height: calc(100vh - 420px);
    min-height: 220px;
    overflow-y: auto;
    padding-bottom: 90px; /* clears anchored footer */
    -webkit-overflow-scrolling: touch;
}

.release-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(27,25,22,1.0);
    border: 1px solid rgba(38,38,38,1.0);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.release-row-cover {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
}
.release-row-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-row-info {
    min-width: 0;
}

.release-row-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 0px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-row-meta {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    color: rgba(180,180,180,1.0);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}
.release-row-family {
    color: rgba(190,190,190,1.0);
}
.release-row-format {
    color: rgba(130,130,130,1.0);
    margin-left: 4px;
    font-weight: 200;
}

.release-row-empty {
    text-align: center;
    color: rgba(150,150,150,1.0);
    font-family: var(--font-primary);
    padding: 30px 0;
}

.release-row.is-filtered-out {
    display: none;
}

/* ============================================================
   DESKTOP  (min-width: 1025px — anything larger than iPad Pro)
   ============================================================ */
@media screen and (min-width: 1025px) {

    .discog-watermark {
        font-size: 220px;
        top: 65px;
    }

    .discog-layout {
        display: flex;
        align-items: flex-start;
        gap: 60px;
        max-width: 1400px;
        margin: 0 auto;
        padding: 60px 60px 0;
    }

    .new-releases {
        flex: 0 0 auto;
        padding: 0;
        text-align: left;
        min-width: 50%;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 34px;
    }

    .new-releases-grid,
    .new-releases-grid.single {
        grid-template-columns: repeat(2, 300px);
        max-width: none;
        margin: 30px 0 0;
        gap: 20px;
    }
    .new-releases-grid.single {
        grid-template-columns: 220px;
    }

    .release-card {
        padding: 18px;
    }

    .previous-releases {
        flex: 1 1 auto;
        padding: 0;
        min-width: 0;
    }

    .prev-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
        margin-bottom: 30px;
    }

    .discog-filter {
        margin-top: 0;
    }
    .discog-filter::after {
        right: 0;
    }
    .discog-filter::before {
        right: 14px;
    }
    .discog-filter select {
        width: 200px;
    }

    /* no scroll cap, no list limit on desktop */
    .previous-releases-list {
        max-height: none;
        overflow-y: visible;
        padding-bottom: 60px;
    }

}
