/* =========================================================
   LyricsGroove — Latest Releases
   COMPLETE SECTION STYLES
   ========================================================= */

.lg-latest-release-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 92px 0 100px;
    color: #ffffff;
    background:
        radial-gradient(circle at 4% 8%, rgba(145, 24, 170, .42) 0, rgba(145, 24, 170, 0) 30%),
        radial-gradient(circle at 98% 8%, rgba(72, 37, 180, .38) 0, rgba(72, 37, 180, 0) 28%),
        radial-gradient(circle at 0% 100%, rgba(125, 0, 100, .32) 0, rgba(125, 0, 100, 0) 25%),
        linear-gradient(135deg, #09183d 0%, #102b62 55%, #214d95 100%);
}

.lg-latest-release-section *,
.lg-latest-release-section *::before,
.lg-latest-release-section *::after {
    box-sizing: border-box;
}

.lg-latest-container {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================
   Decorative background
   ========================= */

.lg-latest-bg-shape {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    opacity: .18;
}

.lg-shape-1 {
    width: 420px;
    height: 420px;
    left: -180px;
    top: -120px;
    background: #ff1493;
}

.lg-shape-2 {
    width: 520px;
    height: 520px;
    right: -220px;
    bottom: -180px;
    background: #623bff;
}

/* =========================
   Main heading
   ========================= */

.lg-latest-main-header {
    margin: 0 0 54px;
    text-align: center;
}

.lg-latest-main-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 3.2vw, 48px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.02em;
}

.lg-latest-main-description {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
}

.lg-latest-main-line {
    display: block;
    width: 50px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd447, #fff0a3, #ffd447);
    box-shadow: 0 0 14px rgba(255, 212, 71, .28);
}

/* =========================
   Two-column layout
   IMPORTANT:
   minmax(0, ...) prevents the
   old 40% + 60% + gap overflow.
   ========================= */

.lg-latest-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    column-gap: 56px;
    align-items: stretch;
    width: 100%;
}

/* =========================
   Columns
   ========================= */

.lg-release-column,
.lg-track-column {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.lg-release-column {
    padding-right: 0;
}

.lg-track-column {
    position: relative;
    padding-left: 0;
}

.lg-track-column::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(255, 212, 71, .72),
        rgba(255, 255, 255, .22) 45%,
        rgba(255, 212, 71, .55)
    );
}

/*==========================
Column Titles
==========================*/

.lg-column-title{

    display:flex;

    align-items:center;

    gap:14px;

    margin:0 0 30px;

}


/* ==========================
   ICON
========================== */

.lg-column-title .lg-column-icon{

    width:36px;

    height:36px;

    flex:0 0 36px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#ffd84d;

    margin:0;

}

.lg-column-title .lg-column-icon svg{

    display:block;

    width:34px;

    height:34px;

    color:#ffd84d;

}


/* ==========================
   TEXT WRAPPER
========================== */

.lg-column-heading-text{

    display:flex;

    flex-direction:column;

    justify-content:center;

    min-width:0;

}


/* ==========================
   HEADING
========================== */

.lg-column-title .lg-column-heading-text h3{

    margin:0;

    padding:0;

    color:#fff;

    font-size:26px;

    line-height:1.12;

    font-weight:800;

}


/* ==========================
   DESCRIPTION
========================== */

.lg-column-title .lg-column-heading-text .lg-column-subtitle{

    display:block;

    margin:5px 0 0;

    padding:0;

    color:#ffd84d;

    font-size:15px;

    line-height:1.2;

    font-weight:700;

}


/* ==========================
   KEEP RIGHT COLUMN SAME
========================== */

.lg-track-column .lg-column-title{

    margin-bottom:30px;

}

/* =========================
   Albums
   ========================= */

.lg-release-list {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 14px;
    flex: 1 1 auto;
    min-height: 0;
}

/* =========================================================
   EMPTY ALBUM LIST
   Do NOT stretch to fill the column
========================================================= */

.lg-release-list.lg-release-list-empty {

    display: block;

    flex: 0 0 auto;

    height: auto;

    min-height: 0;

    gap: 0;

}


/* Empty card itself */

.lg-release-list.lg-release-list-empty .lg-empty-albums {

    width: 100%;

    min-height: 300px;

}


/* Button immediately follows empty card */

.lg-release-list.lg-release-list-empty
+ .lg-albums-more-link {

    margin-top: 14px;

}

.lg-album-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
}

.lg-album-link {
    width: 100%;
    height: 100%;
    min-height: 174px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    border: 1px solid rgba(255, 20, 147, .78);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    color: inherit;
    text-decoration: none;
    background: linear-gradient(
        135deg,
        rgba(15, 24, 67, .98),
        rgba(17, 22, 58, .98)
    );
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.lg-album-link:hover {
    transform: translateY(-3px);
    border-color: #ff2ea6;
    box-shadow: 0 18px 40px rgba(255, 0, 170, .20);
}

.lg-album-cover {
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
}

.lg-album-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.lg-album-link:hover .lg-album-cover img {
    transform: scale(1.05);
}

.lg-album-cover-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #ffd447;
    background: linear-gradient(135deg, #192b62, #15143d);
}

.lg-album-cover-placeholder svg {
    width: 58px;
    height: 58px;
}

.lg-album-content {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lg-album-title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.015em;
}

.lg-album-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin: 0 0 10px;
    padding: 5px 11px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
    background: linear-gradient(135deg, #ff1493, #7d2cff);
}

.lg-album-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.lg-album-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffd447;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    white-space: nowrap;
}

.lg-album-meta-item svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.lg-album-meta-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 212, 71, .45);
}

.lg-album-arrow {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #8d32ff, #ff1493);
    transition: transform .3s ease, box-shadow .3s ease;
}

.lg-album-arrow svg {
    width: 20px;
    height: 20px;
}

.lg-album-link:hover .lg-album-arrow {
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(255, 20, 147, .28);
}

/* =========================
   Empty album state
   ========================= */

.lg-empty-albums {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px;
    border: 1px solid rgba(255, 20, 147, .58);
    border-radius: 20px;
    text-align: center;
    background: rgba(8, 17, 53, .45);
}

.lg-empty-albums-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #ffd447;
    border-radius: 50%;
    background: rgba(255, 212, 71, .08);
}

.lg-empty-albums-icon svg {
    width: 34px;
    height: 34px;
}

.lg-empty-albums h4 {
    margin: 18px 0 6px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.lg-empty-albums p {
    max-width: 320px;
    margin: 0;
    color: #ffd447;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================
   Albums button
   ========================= */

.lg-albums-more-link {
    flex: 0 0 auto;
    margin-top: 14px;
}

.lg-albums-more-link a {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    background: linear-gradient(90deg, #6226ff, #ff0f88);
    box-shadow: 0 10px 24px rgba(255, 15, 136, .16);
    transition: transform .3s ease, box-shadow .3s ease;
}

.lg-albums-more-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 15, 136, .26);
}

.lg-albums-more-link svg {
    width: 18px;
    height: 18px;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1100px) {

    .lg-latest-container {
        width: min(920px, calc(100% - 40px));
    }

    .lg-latest-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 48px;
    }

    .lg-track-column::before {
        display: none;
    }

    .lg-release-list {
        grid-template-rows: none;
    }

    .lg-album-card {
        min-height: 0;
    }

    .lg-album-link {
        min-height: 170px;
    }

}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {

    .lg-latest-release-section {
        padding: 70px 0 76px;
    }

    .lg-latest-container {
        width: min(100% - 28px, 560px);
    }

    .lg-latest-main-header {
        margin-bottom: 40px;
    }

    .lg-latest-main-title {
        font-size: 34px;
    }

    .lg-latest-main-description {
        font-size: 15px;
    }

    .lg-column-title h3 {
        font-size: 20px;
    }

    .lg-album-link {
        min-height: 0;
        padding: 14px;
        gap: 14px;
    }

    .lg-album-cover {
        width: 116px;
        height: 116px;
        flex-basis: 116px;
        border-radius: 14px;
    }

    .lg-album-title {
        font-size: 18px;
    }

    .lg-album-meta-item {
        font-size: 11px;
    }

    .lg-album-arrow {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

}

@media (max-width: 480px) {

    .lg-album-link {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: 13px;
        row-gap: 10px;
    }

    .lg-album-cover {
        width: 96px;
        height: 96px;
        flex: none;
        grid-row: 1 / span 2;
    }

    .lg-album-content {
        grid-column: 2;
    }

    .lg-album-arrow {
        position: absolute;
        right: 12px;
        bottom: 12px;
    }

    .lg-album-content {
        padding-right: 42px;
    }

}






/* =========================================================
   LATEST RELEASES — LEFT COLUMN HEADING
   Icon vertically centered between title + description
   ========================================================= */

.lg-latest-releases-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}

.lg-latest-releases-heading .lg-heading-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    line-height: 1;
    color: #ffd84d;
    margin-top: 2px;
}

.lg-latest-releases-heading .lg-heading-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.lg-latest-releases-heading h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
}

.lg-latest-releases-heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffd84d;
}










/* =========================================================
   LATEST RELEASES — HEADING SVG ICON
   ========================================================= */

.lg-latest-releases-heading .lg-heading-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    align-self: center;

    margin: 0;
    padding: 0;

    color: #ffd84d;
}

/* SVG itself */
.lg-latest-releases-heading .lg-heading-icon svg {
    display: block;

    width: 24px;
    height: 24px;

    min-width: 22px;
    min-height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;

    vertical-align: middle;
}

/* If the SVG uses fill instead of stroke */
.lg-latest-releases-heading .lg-heading-icon svg path,
.lg-latest-releases-heading .lg-heading-icon svg circle,
.lg-latest-releases-heading .lg-heading-icon svg line,
.lg-latest-releases-heading .lg-heading-icon svg polyline {
    vector-effect: non-scaling-stroke;
}




/* ==================================================
   ALBUM META — SMALL FONT INCREASE ONLY
================================================== */

.lg-release-column .lg-album-meta-item{
    font-size:15px !important;
    line-height:1.3 !important;
}

.lg-release-column .lg-album-meta-item > span{
    font-size:15px !important;
    line-height:1.3 !important;
}






/* ==================================================
   VIEW ALL ALBUMS — HOVER
================================================== */

.lg-release-column .lg-more-link a:hover{
    background:#000 !important;
    color:#fff !important;
}

.lg-release-column .lg-more-link a:hover svg{
    color:#fff !important;
    fill:#fff !important;
    stroke:#fff !important;
}



/* ==================================================
   VIEW ALL ALBUMS — FORCE BLACK HOVER
================================================== */

.lg-release-column .lg-more-link a,
.lg-release-column .lg-more-link a:visited{
    color:#fff !important;
}

.lg-release-column .lg-more-link a:hover,
.lg-release-column .lg-more-link a:focus,
.lg-release-column .lg-more-link a:active{
    background:#000 !important;
    color:#fff !important;
    text-decoration:none !important;
}

.lg-release-column .lg-more-link a:hover svg,
.lg-release-column .lg-more-link a:focus svg,
.lg-release-column .lg-more-link a:active svg{
    color:#fff !important;
    fill:#fff !important;
    stroke:#fff !important;
}




/* =========================================================
   VIEW ALL ALBUMS — BLACK HOVER
========================================================= */

.lg-release-column .lg-albums-more-link > a:hover,
.lg-release-column .lg-albums-more-link > a:focus,
.lg-release-column .lg-albums-more-link > a:active{

    background:#000000 !important;

    color:#ffffff !important;

    -webkit-text-fill-color:#ffffff !important;

    text-decoration:none !important;

    box-shadow:
        0 12px 30px rgba(0,0,0,.35) !important;

}

.lg-release-column .lg-albums-more-link > a:hover span,
.lg-release-column .lg-albums-more-link > a:focus span,
.lg-release-column .lg-albums-more-link > a:active span{

    color:#ffffff !important;

    -webkit-text-fill-color:#ffffff !important;

}

.lg-release-column .lg-albums-more-link > a:hover svg,
.lg-release-column .lg-albums-more-link > a:focus svg,
.lg-release-column .lg-albums-more-link > a:active svg{

    color:#ffffff !important;

    stroke:#ffffff !important;

}









/* =========================================================
   LATEST RELEASES — FINAL COLUMN / DIVIDER FIX
   ========================================================= */

/*
 * Desktop:
 *
 * 1. Keep both columns stretched so the middle divider
 *    reaches the full content height.
 *
 * 2. Do NOT stretch the album list itself.
 *
 * 3. The View All Albums button must remain directly
 *    below the actual album cards.
 */

@media (min-width: 1101px) {

    /* ---------------------------------------------
       TWO-COLUMN WRAPPER
       --------------------------------------------- */

    .lg-latest-grid {
        align-items: stretch !important;
    }


    /* ---------------------------------------------
       BOTH COLUMNS
       --------------------------------------------- */

    .lg-release-column,
    .lg-track-column {
        align-self: stretch !important;
        min-height: 0 !important;
        height: auto !important;
    }


    /* ---------------------------------------------
       ALBUM LIST
       
       IMPORTANT:
       Remove the old flex:1 behavior and the
       4 equal-height grid rows.
       --------------------------------------------- */

    .lg-release-list {
        display: flex !important;
        flex-direction: column !important;

        gap: 14px !important;

        flex: 0 0 auto !important;

        height: auto !important;
        min-height: 0 !important;

        grid-template-rows: none !important;
    }


    /* ---------------------------------------------
       ALBUM CARDS
       --------------------------------------------- */

    .lg-release-list .lg-album-card {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
    }


    .lg-release-list .lg-album-link {
        height: auto !important;
    }


    /* ---------------------------------------------
       VIEW ALL ALBUMS
       
       It now follows the real album list instead
       of being pushed to the bottom of the grid.
       --------------------------------------------- */

    .lg-albums-more-link {
        flex: 0 0 auto !important;

        height: auto !important;
        min-height: 0 !important;

        margin-top: 14px !important;
    }


    /* ---------------------------------------------
       MIDDLE GOLD DIVIDER
       
       Because the grid is stretched, this pseudo
       element now spans the complete content height.
       --------------------------------------------- */

    .lg-track-column {
        position: relative !important;
    }


    .lg-track-column::before {
        content: "" !important;

        display: block !important;

        position: absolute !important;

        left: -28px !important;
        top: 0 !important;
        bottom: 0 !important;

        width: 1px !important;

        background:
            linear-gradient(
                to bottom,
                rgba(255, 212, 71, .80),
                rgba(255, 255, 255, .24) 45%,
                rgba(255, 212, 71, .60)
            ) !important;

        opacity: 1 !important;

        visibility: visible !important;

        pointer-events: none !important;

        z-index: 10 !important;
    }

}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 1100px) {

    .lg-latest-grid {
        align-items: start !important;
    }

    .lg-track-column::before {
        display: none !important;
    }

}










/* =========================================================
   LATEST RELEASES
   FINAL ALIGNMENT FIX
   - Keep columns independent in height
   - Keep middle divider visible
   - Keep View All Albums directly below albums
========================================================= */

/* Main two-column area */
.lg-latest-releases-grid {
    align-items: start !important;
}


/* ---------------------------------------------------------
   LEFT / RIGHT COLUMNS
   Do NOT stretch the shorter column to the height
   of the opposite column.
--------------------------------------------------------- */

.lg-latest-releases-grid > * {
    align-self: start !important;
}


/* ---------------------------------------------------------
   LEFT COLUMN
--------------------------------------------------------- */

.lg-latest-releases-left {
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
}


/* Album list must determine its own height */
.lg-latest-albums {
    height: auto !important;
    min-height: 0 !important;
}


/* ---------------------------------------------------------
   VIEW ALL ALBUMS
   Always sit immediately after the actual album content.
--------------------------------------------------------- */

.lg-latest-releases-left .lg-view-all-albums,
.lg-latest-releases-left .lg-discover-more,
.lg-latest-releases-left a[href*="all-albums"] {
    margin-top: 14px !important;
}


/* Prevent flex/grid from pushing the button down */
.lg-latest-releases-left {
    display: block !important;
}


/* ---------------------------------------------------------
   MIDDLE DIVIDER
--------------------------------------------------------- */

/*
 * The divider belongs to the two-column wrapper,
 * not to the height of the album list.
 */
.lg-latest-releases-grid {
    position: relative !important;
}


/*
 * Desktop divider
 */
@media (min-width: 769px) {

    .lg-latest-releases-grid::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        background: rgba(255, 210, 60, 0.75);
        transform: translateX(-50%);
        pointer-events: none;
        z-index: 2;
    }

}


/* ---------------------------------------------------------
   IMPORTANT:
   Remove any old divider that is attached to a column.
--------------------------------------------------------- */

@media (min-width: 769px) {

    .lg-latest-releases-left::after,
    .lg-latest-releases-right::before,
    .lg-latest-releases-right::after {
        display: none !important;
        content: none !important;
    }

}


/* ---------------------------------------------------------
   EMPTY / SHORT ALBUM STATE
--------------------------------------------------------- */

.lg-latest-releases-left .lg-empty-state {
    height: auto !important;
    min-height: 0 !important;
}


/* ---------------------------------------------------------
   MOBILE / TABLET
   No center divider when columns stack.
--------------------------------------------------------- */

@media (max-width: 768px) {

    .lg-latest-releases-grid::before {
        display: none !important;
    }

}










/* =========================================================
   FINAL — MIDDLE DIVIDER
   ========================================================= */

@media (min-width: 993px) {

    /* The two columns must stretch together */
    .lg-latest-grid {
        align-items: stretch !important;
    }

    /* Both columns participate in the full grid height */
    .lg-release-column,
    .lg-track-column {
        align-self: stretch !important;
        min-height: 0 !important;
    }

    /* Right column becomes the divider anchor */
    .lg-track-column {
        position: relative !important;
    }

    /* FORCE the gold divider */
    .lg-track-column::before {
        content: "" !important;

        position: absolute !important;

        top: 0 !important;
        bottom: 0 !important;

        left: -28px !important;

        width: 1px !important;

        display: block !important;

        background: #ffd447 !important;

        opacity: 1 !important;
        visibility: visible !important;

        z-index: 999 !important;

        pointer-events: none !important;
    }

}


/* =========================================================
   TABLET / MOBILE — NO DIVIDER
   ========================================================= */

@media (max-width: 992px) {

    .lg-track-column::before {
        display: none !important;
        content: none !important;
    }

}