/*========================================================= 
   ALBUM SINGLE PAGE
========================================================= */

.album-single-page {
    width: 100%;
    padding: 30px 0 64px;
    background: #f5f5f6;
}


/* =========================================================
   PAGE LAYOUT
========================================================= */

.album-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 320px;
    gap: 24px;
    align-items: start;
    justify-content: center;
    max-width: 1104px;
    margin-left: auto;
    margin-right: auto;
}

.album-single-main {
    min-width: 0;
}


/* =========================================================
   CONNECTED ALBUM CONTENT
========================================================= */

/*
|--------------------------------------------------------------------------
| The Hero, Details, Description and Tracklist are visually connected.
|--------------------------------------------------------------------------
|
| We do NOT give every section its own card anymore.
|
| Only the outside of the complete content area has a border.
|--------------------------------------------------------------------------
*/


/* =========================================================
   ALBUM HERO
========================================================= */

.album-hero {
    position: relative;

    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);

    gap: 22px;

    align-items: center;

    padding: 22px 24px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1e3e8;
    border-bottom: 0;

    border-radius: 14px 14px 0 0;
}


/*
|--------------------------------------------------------------------------
| Decorative Background
|--------------------------------------------------------------------------
*/

.album-hero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -100px;
    bottom: -135px;

    border: 48px solid rgba(113, 0, 226, 0.025);

    border-radius: 50%;

    pointer-events: none;
}


.album-hero-cover-wrap,
.album-hero-content {
    position: relative;
    z-index: 2;
}


/* =========================================================
   ALBUM COVER
========================================================= */

.album-hero-cover {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 10px;

    background: #ececee;
}


.album-hero-cover img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   ALBUM TYPE BADGE
========================================================= */

.album-hero-type {
    position: absolute;

    top: 12px;
    left: 12px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 0 10px;

    border-radius: 5px;

    background: var(--primary);

    color: #ffffff;

    font-size: 9px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   ALBUM HERO CONTENT
========================================================= */

.album-hero-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.album-hero h1 {
    max-width: 720px;

    margin: 0;

    color: #16171b;

    font-size: clamp(
        26px,
        2.6vw,
        34px
    );

    font-weight: 900;

    line-height: 1.08;

    letter-spacing: -1.3px;
}


/* =========================================================
   ARTIST
========================================================= */

.album-hero-artist {
    display: inline-block;

    margin-top: 10px;

    color: #4d4f55;

    font-size: 14px;
    font-weight: 750;

    line-height: 1.3;

    text-decoration: none;
}


.album-hero-artist:hover {
    color: var(--primary);
}


/* =========================================================
   META
========================================================= */

.album-hero-meta {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 0;

    margin-top: 14px;

    color: #777a81;

    font-size: 11px;
    font-weight: 650;

    line-height: 1.4;
}


.album-hero-meta span {
    display: inline-flex;
    align-items: center;
}


.album-hero-meta span + span::before {
    content: "•";

    margin: 0 8px;

    color: #b5b7bb;
}


/* =========================================================
   HERO EXCERPT
========================================================= */

.album-hero-excerpt {
    max-width: 650px;

    margin: 14px 0 0;

    color: #666970;

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.album-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 20px;
}


.album-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 41px;

    padding: 0 16px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 800;

    line-height: 1;

    text-decoration: none !important;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


.album-button:hover {
    transform: translateY(-1px);
}


.album-button-primary {
    border: 1px solid var(--primary);

    background: var(--primary);

    color: #ffffff !important;
}


.album-button-primary:hover {
    opacity: 0.92;
}


.album-button-secondary {
    border: 1px solid #dedfe3;

    background: #ffffff;

    color: #28292d !important;
}


.album-button-secondary:hover {
    border-color: #c7c8ce;

    background: #fafafa;
}


/* =========================================================
   CONNECTED PANELS
========================================================= */

.album-panel {
    /*
    |--------------------------------------------------------------------------
    | IMPORTANT
    |--------------------------------------------------------------------------
    |
    | No margins.
    | No individual card borders.
    | No individual border radius.
    |
    | This is what makes all sections appear connected.
    |--------------------------------------------------------------------------
    */

    margin: 0;

    padding: 22px 24px;

    background: #ffffff;

    border: 0;

    border-left: 1px solid #e1e3e8;
    border-right: 1px solid #e1e3e8;

    border-radius: 0;

    box-shadow: none;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.album-section-heading {
    margin-bottom: 16px;
}


.album-section-heading > span,
.album-section-heading > div > span {
    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.album-section-heading h2 {
    margin: 0;

    color: #191a1e;

    font-size: 18px;
    font-weight: 850;

    line-height: 1.2;

    letter-spacing: -0.6px;
}


.album-section-heading-row {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}


.album-track-count {
    flex: 0 0 auto;

    color: #96989f;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 1px;
}


/* =========================================================
   ALBUM INFORMATION
========================================================= */

.album-info-panel {
    padding-top: 26px;
    padding-bottom: 24px;
}


/* =========================================================
   ALBUM FACTS
========================================================= */

.album-facts {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    margin: 0;

    border: 0;
}


.album-facts > div {
    display: grid;

    grid-template-columns:
        120px
        minmax(0, 1fr);

    gap: 16px;

    align-items: start;

    padding: 12px 0;

    border: 0;
}


.album-facts > div:nth-child(odd) {
    padding-right: 24px;
}


.album-facts > div:nth-child(even) {
    padding-left: 24px;
}


/*
|--------------------------------------------------------------------------
| No divider lines between the album information rows.
|--------------------------------------------------------------------------
*/

.album-facts dt {
    color: #777a80;

    font-size: 12.5px;
    font-weight: 650;

    line-height: 1.5;
}


.album-facts dd {
    min-width: 0;

    margin: 0;

    color: #25262a;

    font-size: 13.5px;
    font-weight: 650;

    line-height: 1.5;
}


.album-facts dd a {
    color: var(--primary);

    font-weight: 750;

    text-decoration: none;
}


.album-facts dd a:hover {
    text-decoration: underline;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.album-description-panel {
    padding-top: 20px;
    padding-bottom: 24px;
}


/*
|--------------------------------------------------------------------------
| No line between Details and Description
|--------------------------------------------------------------------------
*/

.album-info-panel + .album-description-panel {
    border-top: 0;
}


.album-description-content {
    max-width: 680px;

    color: #292a2e;

    font-size: 14px;

    line-height: 1.72;
}


.album-description-content > :first-child {
    margin-top: 0;
}


.album-description-content > :last-child {
    margin-bottom: 0;
}


.album-description-content p {
    margin: 0 0 16px;
}


.album-description-content h2,
.album-description-content h3,
.album-description-content h4 {
    margin: 24px 0 10px;

    color: #202126;

    font-weight: 850;

    line-height: 1.3;
}


.album-description-content h2 {
    font-size: 18px;
}


.album-description-content h3 {
    font-size: 16px;
}


.album-description-content h4 {
    font-size: 15px;
}


.album-description-content ul,
.album-description-content ol {
    margin: 16px 0 20px 22px;
}


.album-description-content li + li {
    margin-top: 7px;
}


.album-description-content a {
    color: var(--primary);

    font-weight: 650;

    text-decoration: underline;

    text-underline-offset: 2px;
}


.album-description-content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 22px 0;

    border-radius: 9px;
}


.album-description-content blockquote {
    margin: 22px 0;

    padding: 15px 18px;

    border-left: 3px solid var(--primary);

    background: #f8f5fd;

    color: #55575d;
}


/* =========================================================
   TRACKLIST PANEL
========================================================= */

.album-tracklist-panel {
    /*
    |--------------------------------------------------------------------------
    | Last part of connected Album card.
    |--------------------------------------------------------------------------
    */

    padding-top: 22px;
    padding-bottom: 20px;

    border-bottom: 1px solid #e1e3e8;

    border-radius: 0 0 14px 14px;
}


/*
|--------------------------------------------------------------------------
| No divider between Description and Tracklist
|--------------------------------------------------------------------------
*/

.album-description-panel + .album-tracklist-panel,
.album-info-panel + .album-tracklist-panel {
    border-top: 0;
}


/* =========================================================
   TRACKLIST
========================================================= */

.album-tracklist {
    margin: 0;

    border: 0;
}


/* =========================================================
   TRACK ROW
========================================================= */

.album-track-row {
    display: grid;

    grid-template-columns:
        44px
        minmax(0, 1fr)
        55px
        32px;

    gap: 12px;

    align-items: center;

    min-height: 54px;

    padding: 5px 0;

    border: 0;

    color: inherit;

    text-decoration: none;

    transition:
        background 0.18s ease,
        padding 0.18s ease,
        margin 0.18s ease;
}


/*
|--------------------------------------------------------------------------
| Track Hover
|--------------------------------------------------------------------------
*/

.album-track-row:hover {
    margin-left: -12px;
    margin-right: -12px;

    padding-left: 12px;
    padding-right: 12px;

    border-radius: 8px;

    background: #f8f5fd;
}


/* =========================================================
   TRACK NUMBER
========================================================= */

.album-track-number {
    color: #aaaab2;

    font-size: 11px;
    font-weight: 850;

    letter-spacing: 0.4px;
}


/* =========================================================
   TRACK MAIN CONTENT
========================================================= */

.album-track-main {
    min-width: 0;
}


.album-track-main strong {
    display: block;

    overflow: hidden;

    color: #202126;

    font-size: 12.5px;
    font-weight: 750;

    line-height: 1.4;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.album-track-main small {
    display: block;

    overflow: hidden;

    margin-top: 3px;

    color: #85888f;

    font-size: 11px;
    font-weight: 500;

    line-height: 1.4;

    white-space: nowrap;

    text-overflow: ellipsis;
}


/* =========================================================
   TRACK DURATION
========================================================= */

.album-track-duration {
    color: #90939a;

    font-size: 11px;
    font-weight: 650;

    text-align: right;
}


/* =========================================================
   TRACK ARROW
========================================================= */

.album-track-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: #f1f1f4;

    color: var(--primary);

    font-size: 14px;
    font-weight: 850;

    transition:
        background 0.18s ease,
        color 0.18s ease;
}


.album-track-row:hover
.album-track-arrow {
    background: var(--primary);

    color: #ffffff;
}


/* =========================================================
   EMPTY TRACKLIST
========================================================= */

.album-empty-tracklist {
    padding: 24px 10px;

    border: 0;

    background: transparent;

    text-align: center;
}


.album-empty-tracklist strong {
    display: block;

    color: #292a2e;

    font-size: 14px;
    font-weight: 800;
}


.album-empty-tracklist p {
    margin: 7px 0 0;

    color: #85888f;

    font-size: 12px;

    line-height: 1.55;
}


/* =========================================================
   MORE RELEASES
========================================================= */

.album-more-section {
    margin-top: 26px;
}


/*
|--------------------------------------------------------------------------
| More Releases is intentionally separate.
|--------------------------------------------------------------------------
|
| The Music single page also keeps related content separate
| from the main connected post content.
|--------------------------------------------------------------------------
*/

.album-more-section .album-section-heading {
    margin-bottom: 18px;
}


.album-more-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 22px 14px;
}


/* =========================================================
   SIDEBAR
========================================================= */

.album-single-layout
> .archive-sidebar {
    position: sticky;

    top: 94px;
}


/* =========================================================
   TABLET
========================================================= */

@media (
    max-width: 1100px
) {

    .album-single-layout {
        grid-template-columns:
            minmax(0, 700px)
            280px;

        gap: 22px;
        max-width: 1002px;
    }


    .album-hero {
        grid-template-columns:
            180px
            minmax(0, 1fr);

        gap: 20px;

        padding: 20px;
    }


    .album-facts {
        grid-template-columns: 1fr;
    }


    .album-facts > div:nth-child(odd),
    .album-facts > div:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
    }
}


/* =========================================================
   SIDEBAR MOVES BELOW
========================================================= */

@media (
    max-width: 850px
) {

    .album-single-page {
        padding-top: 28px;
    }


    .album-single-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .album-single-layout
    > .archive-sidebar {
        position: static;
    }


    .album-hero {
        grid-template-columns:
            230px
            minmax(0, 1fr);
    }


    .album-more-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width: 650px
) {

    .album-single-page {
        padding: 20px 0 50px;
    }


    /*
    |--------------------------------------------------------------------------
    | HERO
    |--------------------------------------------------------------------------
    */

    .album-hero {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 18px;

        border-radius: 11px 11px 0 0;
    }


    .album-hero-cover-wrap {
        display: flex;

        justify-content: center;
    }


    .album-hero-cover {
        width: min(
            100%,
            360px
        );

        border-radius: 9px;
    }


    .album-hero h1 {
        font-size: 27px;

        line-height: 1.1;

        letter-spacing: -1px;
    }


    .album-hero-artist {
        font-size: 16px;
    }


    .album-hero-excerpt {
        font-size: 13px;

        line-height: 1.7;
    }


    /*
    |--------------------------------------------------------------------------
    | CONNECTED SECTIONS
    |--------------------------------------------------------------------------
    */

    .album-panel {
        margin: 0;

        padding: 20px 17px;

        border-radius: 0;
    }


    .album-tracklist-panel {
        border-radius: 0 0 11px 11px;
    }


    /*
    |--------------------------------------------------------------------------
    | HEADINGS
    |--------------------------------------------------------------------------
    */

    .album-section-heading {
        margin-bottom: 17px;
    }


    .album-section-heading h2 {
        font-size: 20px;
    }


    /*
    |--------------------------------------------------------------------------
    | FACTS
    |--------------------------------------------------------------------------
    */

    .album-facts > div {
        grid-template-columns:
            100px
            minmax(0, 1fr);

        gap: 12px;

        padding: 9px 0;
    }


    .album-facts dt {
        font-size: 12px;
    }


    .album-facts dd {
        font-size: 13px;
    }


    /*
    |--------------------------------------------------------------------------
    | DESCRIPTION
    |--------------------------------------------------------------------------
    */

    .album-description-content {
        max-width: none;

        font-size: 14px;

        line-height: 1.7;
    }


    /*
    |--------------------------------------------------------------------------
    | TRACKLIST
    |--------------------------------------------------------------------------
    */

    .album-track-row {
        grid-template-columns:
            36px
            minmax(0, 1fr)
            30px;

        gap: 9px;

        min-height: 59px;
    }


    .album-track-duration {
        display: none;
    }


    .album-track-main strong {
        font-size: 13px;
    }


    .album-track-main small {
        font-size: 10px;
    }


    /*
    |--------------------------------------------------------------------------
    | MORE RELEASES
    |--------------------------------------------------------------------------
    */

    .album-more-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 22px 14px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (
    max-width: 420px
) {

    .album-hero h1 {
        font-size: 25px;
    }


    .album-button {
        flex: 1 1 auto;
    }


    .album-section-heading-row {
        align-items: flex-start;
    }


    .album-track-count {
        padding-top: 3px;
    }


    .album-facts > div {
        grid-template-columns:
            88px
            minmax(0, 1fr);
    }
}
/* =========================================================
   ALBUM ZIP DOWNLOAD
========================================================= */

.album-zip-download-panel {
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid #e1e3e8;
    border-radius: 14px;
    background: #ffffff;
}

.album-zip-download-layout {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.album-zip-download-cover {
    width: 96px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 9px;
    background: #ececee;
}

.album-zip-download-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-zip-download-content {
    min-width: 0;
}

.album-zip-download-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.album-zip-download-content h2 {
    margin: 0;
    color: #191a1e;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.album-zip-download-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 9px;
    color: #777a81;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
}

.album-zip-download-meta span {
    display: inline-flex;
    align-items: center;
}

.album-zip-download-meta span + span::before {
    content: "•";
    margin: 0 8px;
    color: #b5b7bb;
}

.album-zip-download-filename {
    margin: 8px 0 0;
    overflow: hidden;
    color: #96989f;
    font-size: 10.5px;
    font-weight: 550;
    line-height: 1.45;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.album-zip-download-button {
    margin-top: 14px;
}


/* =========================================================
   ALBUM ZIP DOWNLOAD - MOBILE
========================================================= */

@media (max-width: 650px) {

    .album-zip-download-panel {
        margin-top: 18px;
        padding: 18px;
        border-radius: 11px;
    }

    .album-zip-download-layout {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .album-zip-download-cover {
        width: 82px;
        border-radius: 8px;
    }

    .album-zip-download-content h2 {
        font-size: 17px;
        line-height: 1.3;
    }

    .album-zip-download-meta {
        margin-top: 7px;
        font-size: 10px;
    }

    .album-zip-download-filename {
        font-size: 10px;
    }

    .album-zip-download-button {
        min-height: 39px;
        margin-top: 12px;
        padding: 0 14px;
        font-size: 11px;
    }
}


@media (max-width: 420px) {

    .album-zip-download-layout {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 12px;
    }

    .album-zip-download-cover {
        width: 70px;
    }

    .album-zip-download-content h2 {
        font-size: 16px;
    }

    .album-zip-download-button {
        width: 100%;
    }
}

/* =========================================================
   CONNECT TRACKLIST + ZIP DOWNLOAD
========================================================= */

/*
|--------------------------------------------------------------------------
| Remove card separation between Tracklist and ZIP
|--------------------------------------------------------------------------
*/

.album-tracklist {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.album-zip-download-panel {
    margin-top: 0 !important;

    border-top: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}


/*
|--------------------------------------------------------------------------
| Center ZIP Download Content
|--------------------------------------------------------------------------
*/

.album-zip-download-content {
    text-align: center;
}

.album-zip-download-meta {
    justify-content: center;
}


/*
|--------------------------------------------------------------------------
| Center Download Button
|--------------------------------------------------------------------------
*/

.album-zip-download-button {
    display: flex !important;
    width: fit-content;
    margin: 14px auto 0 !important;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 650px) {

    .album-zip-download-button {
        width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


@media (max-width: 420px) {

    .album-zip-download-button {
        width: 100% !important;
        max-width: 320px;
    }
}

/* =========================================================
   CONNECTED ALBUM CONTENT
========================================================= */

.album-connected-content {
    margin-top: 24px;

    background: #ffffff;

    border: 1px solid #e1e3e8;
    border-radius: 16px;

    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| Remove Individual Card Appearance
|--------------------------------------------------------------------------
*/

.album-connected-content > .album-panel {
    margin: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/*
|--------------------------------------------------------------------------
| No Lines Between Sections
|--------------------------------------------------------------------------
*/

.album-connected-content .album-info-panel,
.album-connected-content .album-description-panel,
.album-connected-content .album-tracklist-panel,
.album-connected-content .album-zip-download-panel {
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
}


/*
|--------------------------------------------------------------------------
| Keep Natural Space Between Content
|--------------------------------------------------------------------------
*/

.album-connected-content > .album-panel + .album-panel {
    margin-top: 0 !important;
}


/*
|--------------------------------------------------------------------------
| ZIP Download
|--------------------------------------------------------------------------
*/

.album-connected-content .album-zip-download-content {
    text-align: center;
}

.album-connected-content .album-zip-download-meta {
    justify-content: center;
}

.album-connected-content .album-zip-download-button {
    display: flex !important;

    width: fit-content !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .album-connected-content {
        margin-top: 18px;
        border-radius: 12px;
    }
}


@media (max-width: 420px) {

    .album-connected-content .album-zip-download-button {
        width: 100% !important;
        max-width: 320px;
    }
}
/* =========================================================
   LAST UPDATED
========================================================= */

.album-last-updated {
    padding: 14px 24px 18px;

    text-align: right;

    color: #8a8f98;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.album-last-updated time {
    color: #5f646c;
    font-weight: 600;
}


/* Mobile */

@media (max-width: 700px) {

    .album-last-updated {
        padding: 15px 18px 18px;

        font-size: 12px;
        text-align: right;
    }
}