/* ENERGY 106 INNER PAGE STYLES */

/* SOURCE: css/themes/vibe/energy-mobile-header.css */
/*
 * ENERGY 106 — SHARED VIBE MOBILE HEADER
 * Used by homepage and inner public pages.
 * Desktop styles are not affected.
 */

@media screen and (max-width: 700px) {
/* -------------------------------------------
       MOBILE HEADER
       ------------------------------------------- */

    body.vibe-site .vibe-header {
        background: #21082e;
    }

    body.vibe-site .vibe-header__top {
        background: #21082e !important;
        border-bottom: 2px solid var(--e106-pink, #ed1584);
    }

    body.vibe-site .vibe-header__top-inner {
        width: calc(100% - 24px) !important;
        min-height: 66px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center;
        gap: 8px !important;
        margin-inline: auto;
    }

    body.vibe-site .vibe-logo {
        width: fit-content;
        max-width: min(56vw, 210px) !important;
        min-width: 0;
    }

    body.vibe-site .vibe-logo__image {
        display: block;
        width: auto !important;
        max-width: 100% !important;
        max-height: 43px !important;
        object-fit: contain;
    }

    body.vibe-site .vibe-header__actions {
        grid-column: 2 !important;
        display: flex;
        align-items: center;
        gap: 9px !important;
    }

    body.vibe-site .vibe-header__studio-action {
        display: none !important;
    }

    /* Circular mobile listening button */

    body.vibe-site .vibe-header__actions
    .vibe-listen-live--top {
        order: 1;
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
        flex: 0 0 39px;
        width: 39px !important;
        min-width: 39px;
        height: 39px;
        min-height: 39px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: var(--e106-pink, #ed1584) !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }

    body.vibe-site .vibe-header__actions
    .vibe-listen-live--top > span:last-child {
        display: none !important;
    }

    body.vibe-site .vibe-header__actions
    .vibe-listen-live--top .vibe-listen-live__icon,
    body.vibe-site .vibe-header__actions
    .vibe-listen-live--top .vibe-listen-live__icon svg {
        width: 32px;
        height: 32px;
}

    /* Existing navigation toggle, restyled */

    body.vibe-site .vibe-header__actions
    .vibe-menu-toggle {
        order: 2;
        display: grid !important;
        place-items: center;
        flex: 0 0 42px;
        width: 42px !important;
        height: 43px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 4px;
        background: transparent !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }

    body.vibe-site .vibe-menu-toggle svg {
        width: 27px;
        height: 27px;
        stroke-width: 2.4;
    }

    body.vibe-site .vibe-navigation {
        top: 66px !important;
        right: 0;
        left: 0;
        z-index: 80;
        max-height: 75vh;
        overflow-y: auto;
        background: #21082e !important;
        border-bottom: 1px solid var(--e106-purple, #763493);
    }

    body.vibe-site .vibe-navigation__item {
        border-bottom-color: #472056;
    }

    body.vibe-site .vibe-navigation__link,
    body.vibe-site .vibe-navigation__dropdown a {
        color: #ffffff !important;
    }

    body.vibe-site .vibe-navigation__dropdown {
        background: #2d103d !important;
    }
}

@media screen and (max-width: 359px) {
    body.vibe-site .vibe-header__actions {
        gap: 4px !important;
    }
}


/* SOURCE: css/themes/vibe/energy-mobile-home.css */
/*
 * ENERGY 106 — VIBE MOBILE HOMEPAGE
 * Phase 1: Header, On Air and Now Playing
 *
 * Loaded by Energy 106's homepage only.
 * Desktop rules are intentionally excluded.
 */


/* ENERGY OUT OUT MOBILE V1 — desktop safeguard */
body.vibe-site .vibe-homepage
.energy-outout .energy-outout__date {
    display: none;
}
@media screen and (max-width: 700px) {

    /* -------------------------------------------
       ON AIR HERO
       ------------------------------------------- */

    body.vibe-site .vibe-header__broadcast {
        width: 100% !important;
        margin-inline: 0 !important;

        background-color: #21082e !important;
        background-position: center top !important;
        background-size: auto 255px !important;
        background-repeat: no-repeat !important;
        overflow: hidden;
    }

    body.vibe-site .vibe-header__broadcast::before {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        height: 255px;
        background:
            linear-gradient(
                90deg,
                rgba(19, 4, 31, .69) 0%,
                rgba(19, 4, 31, .38) 49%,
                rgba(19, 4, 31, .06) 100%
            ) !important;
    }

    body.vibe-site .vibe-header__broadcast-inner {
        position: relative;
        width: calc(100% - 16px) !important;
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: 255px auto !important;
        align-items: stretch;
        gap: 0 !important;
        padding: 0 0 14px !important;
        margin-inline: auto;
    }

    body.vibe-site .vibe-on-air {
        position: relative;
        grid-column: 1;
        grid-row: 1;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-self: stretch;
        min-width: 0;
        min-height: 0 !important;
        padding: 15px 10px 18px !important;
        border: 0 !important;
        background: transparent;
        text-align: left;
    }

    body.vibe-site .vibe-on-air >
    .vibe-header__eyebrow:not([hidden]) {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        width: auto;
        margin: 0 0 10px !important;
        padding: 6px 10px;
        border-radius: 4px;
        background: #ffe100;
        color: #21082e !important;
        font-size: 11px !important;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0;
    }

    body.vibe-site .vibe-on-air__show {
        width: 100%;
        max-width: none !important;
        margin: 0 !important;
        color: #ffffff !important;
        font-size: clamp(26px, 7.5vw, 36px) !important;
        font-weight: 900;
        line-height: .98 !important;
        letter-spacing: -.025em;
        text-wrap: balance;
        text-shadow: 0 2px 9px rgba(15, 3, 24, .65);
    }

    body.vibe-site .vibe-on-air__presenter {
        max-width: 94%;
        margin: 7px 0 0 !important;
        color: #ffffff !important;
        font-size: clamp(15px, 4.2vw, 18px) !important;
        font-weight: 800;
        line-height: 1.12 !important;
        text-transform: none !important;
        text-shadow: 0 2px 7px rgba(15, 3, 24, .65);
    }

    body.vibe-site .vibe-on-air__time {
        margin-top: 9px !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 750;
        text-shadow: 0 2px 7px rgba(15, 3, 24, .65);
    }

    body.vibe-site .vibe-on-air__time svg {
        display: none;
    }

    body.vibe-site .vibe-on-air__sponsor {
        margin-top: 7px;
    }

    body.vibe-site .vibe-header__presenter {
        position: absolute !important;
        top: 0 !important;
        right: -10px !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 2;
        display: block;
        width: 58% !important;
        height: 255px !important;
        min-width: 0;
        overflow: hidden;
        pointer-events: none;
    }

    body.vibe-site .vibe-header__presenter::before,
    body.vibe-site .vibe-header__presenter::after {
        display: none !important;
    }

    body.vibe-site .vibe-header__presenter img {
        position: absolute;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        display: block;
        width: auto !important;
        max-width: none !important;
        height: 245px !important;
        object-fit: contain;
        object-position: right bottom;
        transform: none !important;
    }

    /* -------------------------------------------
       NOW PLAYING CARD
       Reuses the original live DOM / voting hooks.
       ------------------------------------------- */

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing {
        position: relative;
        z-index: 5;
        grid-column: 1;
        grid-row: 2;
        align-self: stretch;
        display: grid !important;
        grid-template-columns:
            76px minmax(0, 1fr) 40px 40px;
        grid-template-rows: auto minmax(76px, auto) 43px;
        column-gap: 8px;
        row-gap: 11px;
        min-width: 0;
        width: 100%;
        margin: 0 !important;
        padding: 13px !important;
        border: 1px solid #633276;
        border-radius: 6px;
        background: rgba(30, 8, 45, .98);
        box-shadow: none !important;
        transform: none !important;
        text-align: left;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing > .vibe-header__eyebrow {
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 0 !important;
        color: var(--e106-pink, #ed1584) !important;
        font-size: 13px !important;
        font-weight: 900;
        line-height: 1.1;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__copy {
        grid-column: 2 / -1;
        grid-row: 2;
        align-self: center;
        min-width: 0;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__artist {
        display: -webkit-box !important;
        max-width: none;
        overflow: hidden;
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 900;
        line-height: 1.15 !important;
        letter-spacing: 0;
        text-transform: none !important;
        white-space: normal !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__title {
        display: -webkit-box !important;
        max-width: none;
        overflow: hidden;
        margin-top: 6px;
        color: #cbb2d9 !important;
        font-size: 12px !important;
        font-weight: 550;
        line-height: 1.3 !important;
        text-transform: none !important;
        white-space: normal !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    /* Flatten the visual layout of the existing
       action group; DOM and JS stay unchanged. */

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__actions {
        display: contents !important;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__artwork {
        grid-column: 1;
        grid-row: 2;
        width: 76px !important;
        height: 76px !important;
        flex: none;
        margin: 0 !important;
        border: 1px solid #774586 !important;
        border-radius: 4px !important;
        background: #321441;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__artwork img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__artwork img[hidden] {
        display: none !important;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing .vibe-listen-live--broadcast {
        grid-column: 1 / 3;
        grid-row: 3;
        align-self: stretch;
        justify-self: stretch;
        order: initial;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        min-width: 0;
        min-height: 43px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        gap: 7px;
        border: 1px solid var(--e106-pink, #ed1584) !important;
        border-radius: 4px !important;
        background: var(--e106-pink, #ed1584) !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 900;
        text-decoration: none;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing .vibe-song-vote {
        display: grid !important;
        place-items: center;
        width: 40px !important;
        min-width: 40px;
        height: 40px !important;
        min-height: 40px;
        margin: 0 !important;
        padding: 8px !important;
        border: 1px solid #895b99 !important;
        border-radius: 50% !important;
        background: rgba(20, 5, 32, .8) !important;
        color: #ffffff !important;
        box-shadow: none !important;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-song-vote[data-vibe-vote-dir="up"] {
        grid-column: 3;
        grid-row: 3;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-song-vote[data-vibe-vote-dir="down"] {
        grid-column: 4;
        grid-row: 3;
    }

    /* The homepage Recently Played section follows
       immediately below this card. */

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__recent {
        display: none !important;
    }

    /* ------------------------------------------
       MOBILE RECENTLY PLAYED
       Compact adaptation of desktop cards
       ------------------------------------------ */

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot {
        min-width: 0;
        padding: 0 !important;
        background: transparent !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent {
        min-width: 0;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    /* Section header */

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
        min-height: 38px !important;
        border: 0 !important;
        background: transparent !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__header h2 {
        min-width: 0;
        margin: 0 !important;
        font-size: clamp(17px, 4.7vw, 21px) !important;
        line-height: 1.15 !important;
        white-space: nowrap;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__header a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        gap: 6px;
        width: auto !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0 11px !important;
        border: 1px solid var(--e106-pink, #ed1584) !important;
        border-radius: 4px !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 900;
        text-decoration: none;
        white-space: nowrap;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__header a span {
        color: var(--e106-pink, #ed1584) !important;
        font-size: 18px !important;
    }

    /* Four compact rows */

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__list {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        min-width: 0;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__track,
    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__track:last-child {
        position: relative;
        display: grid !important;
        grid-template-columns:68px minmax(0, 1fr) 76px !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 5px !important;
        min-width: 0 !important;
        width: 100% !important;
        min-height: 84px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 7px !important;
        border: 1px solid #51225d !important;
        border-radius: 5px !important;
        background: var(--e106-card, #250638) !important;
        box-shadow: none !important;
        overflow: hidden;
    }

    /* Artwork: same rounded-square shape as desktop */

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__artwork {
        position: static !important;
        display: grid !important;
        place-items: center;
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
        width: 68px !important;
        min-width: 68px !important;
        height: 68px !important;
        min-height: 68px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        border: 0 !important;
        border-radius: 5px !important;
        background: #250b30;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__artwork img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        border-radius: 5px !important;
    }

    /* Track title and artist */

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__copy {
        display: contents !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__copy strong {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        display: -webkit-box !important;
        min-width: 0;
        width: 100%;
        overflow: hidden !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 850 !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow-wrap: anywhere;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__copy span {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        display: block !important;
        min-width: 0;
        width: 100%;
        overflow: hidden !important;
        margin: 0 !important;
        color: #c5abd0 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* Time and existing vote buttons */

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__time {
        position: static !important;
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: end;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        color: var(--e106-pink, #ed1584) !important;
        font-size: 12px !important;
        font-weight: 850 !important;
        line-height: 1.15 !important;
        text-align: right;
        white-space: nowrap;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__votes {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        grid-column: 3;
        grid-row: 2;
        align-self: center;
        justify-self: end;
        gap: 4px !important;
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__vote {
        display: inline-flex !important;
        place-items: center;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 49px !important;
        height: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 3px !important;
        border: 0 !important;
        border-radius: 4px !important;
        background: transparent !important;
        color: #fff !important;
        box-shadow: none !important;
    
        align-items: center !important;

        justify-content: center !important;

        gap: 3px !important;

        overflow: visible !important;
}

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__vote svg {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
    
        flex: 0 0 20px !important;
}

    body.vibe-site .vibe-homepage
    .vibe-home-recent-slot .vibe-sidebar-recent__vote.is-selected {
        color: var(--e106-pink, #ed1584) !important;
    }

    /* Narrow phones */

    @media (max-width: 359px) {
        body.vibe-site .vibe-homepage
        .vibe-home-recent-slot .vibe-sidebar-recent__track {
            grid-template-columns:60px minmax(0, 1fr) 104px !important;
            column-gap: 7px !important;
            padding: 8px !important;
        }

        body.vibe-site .vibe-homepage
        .vibe-home-recent-slot .vibe-sidebar-recent__artwork {
            width: 60px !important;
            min-width: 60px !important;
            height: 60px !important;
            min-height: 60px !important;
        }

        body.vibe-site .vibe-homepage
        .vibe-home-recent-slot .vibe-sidebar-recent__copy strong {
            font-size: 13px !important;
        }

        body.vibe-site .vibe-homepage
        .vibe-home-recent-slot .vibe-sidebar-recent__header h2 {
            font-size: 16px !important;
        }

        body.vibe-site .vibe-homepage
        .vibe-home-recent-slot .vibe-sidebar-recent__vote {
            flex-basis: auto !important;
            min-width: 46px !important;
            width: auto !important;
        }
    }



    /* ENERGY MOBILE SCHEDULE 2X2 V1
       Three dynamic programmes + Listen Again.
       Energy 106 homepage, mobile only. */

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy,
    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__inner {
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Heading and schedule link */

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 7px !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__header > div {
        min-width: 0;
        padding-left: 13px !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__header h2 {
        margin: 0 !important;
        white-space: nowrap;
    }

    
    /* ENERGY 106 — TODAY'S SHOWS MOBILE TITLE */

    body.vibe-site .vibe-homepage
    .vibe-today-schedule--energy
    #vibe-today-schedule-title
    .energy-schedule-heading--desktop {
        display: none !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-today-schedule--energy
    #vibe-today-schedule-title
    .energy-schedule-heading--mobile {
        display: inline !important;
    }

    /* END ENERGY 106 — TODAY'S SHOWS MOBILE TITLE */

/* ENERGY 106 — MOBILE FULL SCHEDULE LABEL */
    body.vibe-site .vibe-homepage
    .vibe-today-schedule--energy
    .vibe-today-schedule__view-all
    .energy-schedule-label--desktop {
        display: none !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-today-schedule--energy
    .vibe-today-schedule__view-all
    .energy-schedule-label--mobile {
        display: inline !important;
    }
    /* END ENERGY 106 — MOBILE FULL SCHEDULE LABEL */


    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__view-all {
        flex: 0 0 auto !important;
        width: auto !important;
        min-height: 33px !important;
        padding: 0 8px !important;
        gap: 5px !important;
        white-space: nowrap;
    }

    /* Four equal grid positions */

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__rail {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: auto auto !important;
        grid-auto-flow: row !important;
        gap: 10px !important;
        align-items: stretch !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    /* Hide fourth programme on mobile only.
       Desktop keeps the original four programmes. */

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy
    .vibe-today-schedule__rail > a.vibe-today-schedule__item:nth-of-type(n+4) {
        display: none !important;
    }

    /* Matching programme and promo card dimensions */

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__item,
    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__promo {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: clamp(174px, 49vw, 210px) !important;
        min-height: 0 !important;
        flex: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Full-bleed programme artwork */

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__artwork {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: none !important;
        aspect-ratio: auto !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__artwork img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__item::after {
        background: linear-gradient(
            to bottom,
            transparent 20%,
            rgba(17, 3, 28, .18) 42%,
            rgba(17, 3, 28, .94) 100%
        ) !important;
    }

    /* Programme information over artwork */

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__copy {
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        gap: 3px !important;
        width: 100% !important;
        height: 100% !important;
        padding: 38px 10px 12px !important;
        background: transparent !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__copy strong {
        font-size: clamp(16px, 4.1vw, 21px) !important;
        line-height: 1.04 !important;
        -webkit-line-clamp: 2;
        overflow-wrap: anywhere;
        text-shadow: 0 2px 7px rgba(0, 0, 0, .7);
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__presenter {
        max-width: 100% !important;
        font-size: 12px !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        text-shadow: 0 2px 6px rgba(0, 0, 0, .7);
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__time {
        margin: 5px 0 0 !important;
        color: #eea1db !important;
        font-size: 11px !important;
        font-weight: 850 !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, .7);
    }

    /* Listen Again promotional tile */

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__promo {
        display: flex !important;
        align-items: flex-end !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__promo-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
        height: 100% !important;
        padding: 13px !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__promo-content strong {
        font-size: clamp(16px, 4vw, 21px) !important;
        line-height: 1.05 !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__promo-content > span {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__promo-button {
        width: 100% !important;
        min-height: 39px !important;
        margin-top: 6px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
        white-space: nowrap;
    }

    /* Very narrow phones */

    @media (max-width: 359px) {
        body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__header {
            flex-wrap: wrap !important;
        }

        body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__copy {
            padding: 34px 8px 9px !important;
        }

        body.vibe-site .vibe-homepage .vibe-today-schedule--energy .vibe-today-schedule__time {
            font-size: 10px !important;
        }
    }


    /* ENERGY OUT OUT MOBILE V1 */

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-events__header {
        align-items: center;
        gap: 9px;
        margin-bottom: 12px;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-events__header h2 {
        white-space: nowrap;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-today-schedule__view-all {
        min-width: 0;
        min-height: 38px;
        padding: 0 10px;
        font-size: clamp(10px, 2.6vw, 13px);
        white-space: nowrap;
        flex-shrink: 0;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-events__grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 10px !important;
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-padding-inline-start: 0;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-events__grid::-webkit-scrollbar {
        display: none;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-events__grid > .vibe-event {
        flex: 0 0 76% !important;
        width: 76% !important;
        min-width: 76% !important;
        max-width: 76% !important;
        height: auto;
        align-self: stretch;
        scroll-snap-align: start;
        overflow: hidden;
    }


    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__image {
        aspect-ratio: 1.72 / 1 !important;
        border-radius: 0;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__date,
    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__badge {
        display: none !important;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__content {
        padding: 12px 13px 0 !important;
        gap: 0;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__content h3 {
        margin: 0 0 4px;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 900;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__meta {
        display: grid;
        gap: 5px;
        margin-top: 2px;
        padding: 0;
        font-size: 12px;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .energy-outout__date {
        display: flex;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__meta-item {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__meta-item svg {
        flex: 0 0 17px;
        width: 17px;
        height: 17px;
        color: #f11288;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__cta {
        display: flex !important;
        width: calc(100% - 26px) !important;
        min-height: 43px;
        margin: 11px 13px 13px !important;
        padding: 0 12px;
        align-items: center;
        justify-content: center;
        position: relative;
        background: #f11288;
        border-radius: 5px;
        font-size: 15px;
        gap: 8px;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__cta-arrow {
        display: none !important;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .energy-outout__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 13px;
        margin: 14px 0 4px;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .energy-outout__dot {
        appearance: none;
        width: 11px;
        height: 11px;
        padding: 0;
        border: 1px solid rgba(10,0,20,.9);
        border-radius: 50%;
        background: #9e73c4;
        cursor: pointer;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .energy-outout__dot.is-active {
        width: 13px;
        height: 13px;
        background: #f11288;
    }

    body.vibe-site .vibe-homepage
    .energy-outout .energy-outout__dot:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
    }

    /* END ENERGY OUT OUT MOBILE V1 */

    /* ENERGY 106 — ENERGY BUZZ MOBILE V1 */

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__heading > span {
        display: none !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__header {
        align-items: center;
        gap: 9px;
        margin-bottom: 11px;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__header .vibe-today-schedule__view-all {
        flex-shrink: 0;
        min-width: 0;
        padding-inline: 10px;
        font-size: clamp(10px, 2.6vw, 13px);
        white-space: nowrap;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__columns {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        min-width: 0;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__editorial {
        width: 100%;
        min-width: 0;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: stretch;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card {
        position: relative;
        display: block !important;
        width: 100%;
        height: clamp(96px, 25vw, 112px) !important;
        min-width: 0;
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background: #2c0d3e;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card__link {
        position: relative;
        display: grid !important;
        grid-template-columns: 37% minmax(0, 1fr) 20px !important;
        align-items: center;
        column-gap: 10px;
        box-sizing: border-box;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 7px 0 0 !important;
        border: 0 !important;
        overflow: hidden;
        color: #fff;
        text-decoration: none;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card__image,
    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card__image-placeholder {
        position: relative !important;
        inset: auto !important;
        grid-column: 1;
        grid-row: 1;
        align-self: stretch;
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        height: 100% !important;
        max-width: none;
        aspect-ratio: auto !important;
        padding: 0;
        border-radius: 5px 0 0 5px;
        object-fit: cover;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card__image-placeholder {
        display: grid;
        place-items: center;
        font-size: 11px;
        font-weight: 900;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card__content {
        position: static !important;
        inset: auto !important;
        z-index: auto;
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        display: block !important;
        box-sizing: border-box;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 5px 0 !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card__title {
        display: -webkit-box !important;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        color: #fff;
        font-size: clamp(14px, 3.8vw, 16px) !important;
        font-weight: 850;
        line-height: 1.16;
        letter-spacing: -.015em;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card__summary {
        display: -webkit-box !important;
        overflow: hidden;
        margin-top: 5px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        color: #d8c5e0;
        font-size: clamp(11px, 3.2vw, 13px) !important;
        font-weight: 450;
        line-height: 1.28;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-card__link::after {
        content: "" !important;
        position: relative !important;
        inset: auto !important;
        grid-column: 3;
        grid-row: 1;
        justify-self: center;
        align-self: center;
        box-sizing: border-box;
        display: block !important;
        width: 9px;
        height: 9px;
        margin: 0;
        padding: 0;
        border: 0;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        border-radius: 0;
        background: none !important;
        box-shadow: none !important;
        opacity: .95;
        transform: rotate(45deg) !important;
        pointer-events: none;
    }

    
    /* ENERGY BUZZ ADVERT MOBILE SIZING */

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__advert {
        display: flex;
        flex-direction: column;
        align-self: start;
        width: 100%;
        max-width: 420px;
        height: auto !important;
        min-height: 0;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__advert > a,
    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__ad-image,
    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__advert-placeholder {
        flex: 0 0 auto !important;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        aspect-ratio: auto !important;
        min-height: 0;
        box-sizing: border-box;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__advert img {
        display: block;
        width: 100%;
        height: auto !important;
        object-fit: contain;
    }


    /* Preserve placeholder ratio */
    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz .vibe-news-blogs__advert-placeholder {
        aspect-ratio: 6 / 5 !important;
    }

/* END ENERGY 106 — ENERGY BUZZ MOBILE V1 */

    /* ENERGY 106 — JUST ADDED MOBILE V1 */

    body.vibe-site .vibe-homepage
    .vibe-listen-again--compact
    .energy-la-title--desktop {
        display: none !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-listen-again--compact
    .energy-la-title--mobile {
        display: inline !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-listen-again--compact .vibe-la-mini__header {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin-bottom: 12px;
    }

    body.vibe-site .vibe-homepage
    .vibe-listen-again--compact .vibe-la-mini__heading {
        flex: 0 1 auto;
        min-width: 0;
    }

    body.vibe-site .vibe-homepage
    .vibe-listen-again--compact
    #vibe-listen-again-heading {
        margin: 0;
        white-space: nowrap;
    }

    body.vibe-site .vibe-homepage
    .vibe-listen-again--compact
    .vibe-la-mini__header
    .vibe-today-schedule__view-all {
        flex: 0 0 auto;
        min-width: 0;
        padding-inline: 9px !important;
        white-space: nowrap;
    }

    /* END ENERGY 106 — JUST ADDED MOBILE V1 */

    /* ENERGY 106 — MOBILE ACCENT ALIGNMENT V1 */

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__heading::before,

    body.vibe-site .vibe-homepage
    .vibe-listen-again--compact
    .vibe-la-mini__heading::before,

    body.vibe-site .vibe-homepage
    .energy-home-chart
    .energy-home-chart__heading::before {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* END ENERGY 106 — MOBILE ACCENT ALIGNMENT V1 */




    /* ENERGY 106 — MOBILE PROMO CARDS V1 */

    /* Spacing between the two promotional cards */
    body.vibe-site .vibe-homepage
    .vibe-energy-promo-pair {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-energy-promo-pair__app-slot {
        display: block !important;
        min-width: 0 !important;
    }

    /* APP DOWNLOAD: cleaner mobile banner */
    body.vibe-site .vibe-homepage
    .vibe-energy-app-promo {
        min-height: 0 !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-energy-app-promo__copy {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        padding: 19px 18px 18px !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-energy-app-promo__copy h2 {
        max-width: 100%;
        font-size: clamp(21px, 5.8vw, 25px) !important;
        line-height: 1.02 !important;
        margin-bottom: 9px !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-energy-app-promo__copy p {
        max-width: 36ch;
        margin-bottom: 15px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Hide the decorative mock phone on mobile only */
    body.vibe-site .vibe-homepage
    .vibe-energy-app-promo__phone {
        display: none !important;
    }

    /* Keep download badges balanced and clickable */
    body.vibe-site .vibe-homepage
    .vibe-energy-app-promo__stores {
        display: flex !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
        gap: 9px !important;
        width: 100%;
    }

    body.vibe-site .vibe-homepage
    .vibe-energy-app-promo__store {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        justify-content: center !important;
        padding: 7px 5px !important;
    }

    /* ENERGY INSIDERS: more compact mobile card */
    body.vibe-site .vibe-homepage
    .vibe-energy-insiders {
        min-height: 174px !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-energy-insiders__content {
        min-height: 174px !important;
        padding: 15px 18px !important;
        gap: 7px !important;
    }

    /* Retain the original photograph */
    body.vibe-site .vibe-homepage
    .vibe-energy-insiders__photo {
        object-position: 65% center !important;
    }

    /* Dark behind text, clearer photography to the right */
    body.vibe-site .vibe-homepage
    .vibe-energy-insiders::before {
        background: linear-gradient(
            90deg,
            rgba(22, 3, 38, .96) 0%,
            rgba(22, 3, 38, .84) 48%,
            rgba(22, 3, 38, .38) 100%
        ) !important;
    }

    /* END ENERGY 106 — MOBILE PROMO CARDS V1 */



    /* ENERGY APP FOOTER BADGES MOBILE V2 */

    body.vibe-site .vibe-homepage .vibe-energy-app-promo__stores {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
    }

    body.vibe-site .vibe-homepage .vibe-energy-app-promo__store {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        min-height: 39px !important;
        padding: 5px 9px !important;
        border: 1px solid rgba(231, 211, 238, .65) !important;
        border-radius: 6px !important;
        background: rgba(0, 0, 0, .19) !important;
        color: #fff !important;
        text-decoration: none !important;
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
    }

    body.vibe-site .vibe-homepage .vibe-energy-app-promo__store img {
        width: 21px !important;
        height: 21px !important;
        object-fit: contain !important;
        filter: brightness(0) invert(1) !important;
    }

    body.vibe-site .vibe-homepage .vibe-energy-app-promo__store span {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    body.vibe-site .vibe-homepage .vibe-energy-app-promo__store small {
        font-size: 8px !important;
        line-height: 1.1 !important;
        color: #e3d4ec !important;
    }

    body.vibe-site .vibe-homepage .vibe-energy-app-promo__store strong {
        font-size: 13px !important;
        line-height: 1.1 !important;
        font-weight: 750 !important;
        white-space: nowrap !important;
    }

    body.vibe-site .vibe-homepage .vibe-energy-app-promo__store:hover,
    body.vibe-site .vibe-homepage .vibe-energy-app-promo__store:focus-visible {
        border-color: #ff149f !important;
        background: rgba(255, 20, 159, .08) !important;
    }

    /* END ENERGY APP FOOTER BADGES MOBILE V2 */

}

@media screen and (max-width: 359px) {

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing {
        grid-template-columns:
            66px minmax(0, 1fr) 38px 38px;
        column-gap: 6px;
        padding: 10px !important;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__artwork {
        width: 66px !important;
        height: 66px !important;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing .vibe-song-vote {
        width: 38px !important;
        min-width: 38px;
        height: 38px !important;
        min-height: 38px;
    }

    body.vibe-site .vibe-header__broadcast
    .vibe-now-playing__artist {
        font-size: 14px !important;
    }

}

/* =========================================================
   ENERGY 106 MOBILE — PHASE 1 POLISH
   Header play icon bigger
   Now Playing Listen Live icon + label bigger
   ========================================================= */

@media (max-width: 700px) {



    /* Now Playing CTA — make icon and text bigger */
    .vibe-header__broadcast .vibe-now-playing .vibe-listen-live--broadcast {
        min-height: 58px;
        padding: 0 22px;
        gap: 10px;
    }

    .vibe-header__broadcast .vibe-now-playing .vibe-listen-live--broadcast .vibe-listen-live__icon {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
    }

    .vibe-header__broadcast .vibe-now-playing .vibe-listen-live--broadcast .vibe-listen-live__icon svg {
        width: 22px;
        height: 22px;
        display: block;
    }

    .vibe-header__broadcast .vibe-now-playing .vibe-listen-live--broadcast .vibe-listen-live__label {
        font-size: 17px;
        line-height: 1;
        letter-spacing: 0;
    }
}


/* ENERGY 106 — MOBILE EVENT DATE BADGES V1 */
@media screen and (max-width: 700px) {

    body.vibe-site .vibe-homepage
    .energy-outout .vibe-event__image {
        position: relative !important;
    }

    body.vibe-site .vibe-homepage
    .energy-outout
    .vibe-event__image > .vibe-event__date {
        display: flex !important;
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 20 !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
/* END ENERGY 106 — MOBILE EVENT DATE BADGES V1 */


/* ENERGY 106 — MEET MOBILE COMPACT V1 */

@media screen and (max-width: 700px) {

    body.vibe-site .vibe-homepage
    .energy-meet-banner {
        display: grid !important;
        grid-template-columns:
            140px minmax(0, 1fr) !important;
        grid-template-areas:
            "faces copy"
            "faces link" !important;
        align-items: center !important;
        column-gap: 12px !important;
        row-gap: 10px !important;
        padding: 16px !important;
    }

    /* Four overlapping presenter portraits */
    body.vibe-site .vibe-homepage
    .energy-meet-banner__faces {
        grid-area: faces !important;
        display: flex !important;
        align-items: center !important;
        align-self: center !important;
        width: 140px !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    body.vibe-site .vibe-homepage
    .energy-meet-banner__faces img {
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    body.vibe-site .vibe-homepage
    .energy-meet-banner__faces img + img {
        margin-left: -13px !important;
    }

    /* Heading and description */
    body.vibe-site .vibe-homepage
    .energy-meet-banner__copy {
        grid-area: copy !important;
        min-width: 0 !important;
        align-self: end !important;
    }

    body.vibe-site .vibe-homepage
    .energy-meet-title--desktop {
        display: none !important;
    }

    body.vibe-site .vibe-homepage
    .energy-meet-title--mobile {
        display: inline !important;
    }

    /* Use the central Vibe heading settings */
    body.vibe-site .vibe-homepage
    .energy-meet-banner__copy h2 {
        margin: 0 0 5px !important;
        font-family:
            var(--vibe-home-heading-font,
                var(--vibe-font-heading, "Rubik", sans-serif))
            !important;
        font-size:
            var(--vibe-home-heading-size, 19px)
            !important;
        font-weight:
            var(--vibe-home-heading-weight, 900)
            !important;
        line-height:
            var(--vibe-home-heading-line-height, 1.1)
            !important;
        letter-spacing:
            var(--vibe-home-heading-spacing, 0)
            !important;
        text-transform:
            var(--vibe-home-heading-transform, uppercase)
            !important;
    }

    body.vibe-site .vibe-homepage
    .energy-meet-banner__copy p {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Reuse the existing outlined CTA design */
    body.vibe-site .vibe-homepage
    .energy-meet-banner
    a.energy-meet-banner__link {
        grid-area: link !important;
        justify-self: stretch !important;
        align-self: start !important;
        display: inline-flex !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 40px !important;
        height: auto !important;
        padding-inline: 9px !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }
}

/* Narrow phone fallback */
@media screen and (max-width: 359px) {

    body.vibe-site .vibe-homepage
    .energy-meet-banner {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "faces"
            "copy"
            "link" !important;
    }

    body.vibe-site .vibe-homepage
    .energy-meet-banner
    a.energy-meet-banner__link {
        width: auto !important;
        justify-self: start !important;
    }
}

/* END ENERGY 106 — MEET MOBILE COMPACT V1 */


/* ENERGY 106 — FOOTER GRID DIVIDERS CLEAN V3 */
@media screen and (max-width: 700px) {

    /* One controlled 2x2 grid.
       Existing fonts, icons and cell padding remain. */
    body.vibe-site .vibe-footer--v2
    .vibe-footer-v2__listening-grid {
        position: relative !important;
        display: grid !important;
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows:
            repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    /* Remove independent per-cell dividers.
       They were responsible for unequal line positions. */
    body.vibe-site .vibe-footer--v2
    .vibe-footer-v2__listening-grid
    > .vibe-footer-v2__listen-item {
        align-self: stretch !important;
        margin: 0 !important;
        border: 0 !important;
        padding: 12px 8px !important;
        gap: 8px !important;
    }

    body.vibe-site .vibe-footer--v2
    .vibe-footer-v2__listening-grid
    > .vibe-footer-v2__listen-item::before,
    body.vibe-site .vibe-footer--v2
    .vibe-footer-v2__listening-grid
    > .vibe-footer-v2__listen-item::after {
        content: none !important;
        display: none !important;
    }

    /* Two pink vertical segments drawn from ONE
       coordinate system, so their positions match.
       20px centre opening and 14px bottom opening. */
    body.vibe-site .vibe-footer--v2
    .vibe-footer-v2__listening-grid::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 3px !important;
        height: auto !important;
        transform: translateX(-50%) !important;
        background: linear-gradient(
            to bottom,
            #f80898 0,
            #f80898 calc(50% - 11px),
            transparent calc(50% - 11px),
            transparent calc(50% + 11px),
            #f80898 calc(50% + 11px),
            #f80898 calc(100% - 14px),
            transparent calc(100% - 14px)
        ) !important;
        pointer-events: none !important;
        z-index: 2 !important;
    }

    /* One horizontal rule for both columns.
       Both halves have exactly the same vertical position.
       Small opening at the pink centre divider. */
    body.vibe-site .vibe-footer--v2
    .vibe-footer-v2__listening-grid::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        left: 12px !important;
        right: 12px !important;
        top: 50% !important;
        width: auto !important;
        height: 1px !important;
        transform: translateY(-50%) !important;
        background: linear-gradient(
            to right,
            rgba(210, 156, 231, .26)
                0 calc(50% - 11px),
            transparent
                calc(50% - 11px)
                calc(50% + 11px),
            rgba(210, 156, 231, .26)
                calc(50% + 11px) 100%
        ) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }
}
/* END ENERGY 106 — FOOTER GRID DIVIDERS CLEAN V3 */


/* ENERGY 106 — COMPACT MOBILE ADVERT V1 */
@media screen and (max-width: 700px) {

    /* Keep the advertisement label in its original position */
    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__advert {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__advert-label {
        align-self: flex-start !important;
    }

    /* Centre the creative with a 320px maximum width */
    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__advert > a,

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__ad-image,

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__advert-placeholder {
        display: block;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 0 0 auto !important;
    }

    /* Natural image ratio — never crop paid artwork */
    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__advert > a,

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__ad-image {
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: 0 !important;
    }

    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__advert img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    /* Keep the empty advertising placeholder usable */
    body.vibe-site .vibe-homepage
    .vibe-news-blogs--energy-buzz
    .vibe-news-blogs__advert-placeholder {
        display: flex !important;
        flex-direction: column !important;
        aspect-ratio: 6 / 5 !important;
        height: auto !important;
        min-height: 0 !important;
    }
}
/* END ENERGY 106 — COMPACT MOBILE ADVERT V1 */


/* ENERGY 106 INNER PAGE UPPERCASE V1 */

/*
 * Standard Vibe inner-page headings.
 * Preserve existing desktop/mobile font sizes.
 * Loaded only for Energy 106.
 */

body.vibe-site.vibe-site--inner
.vibe-inner-section-heading h1,

body.vibe-site.vibe-site--inner
.vibe-section-header h1,

body.vibe-site.vibe-site--inner
.vibe-podcasts__header h1,

body.vibe-site.vibe-site--inner
.vibe-control-chart-page__masthead h1,

body.vibe-site.vibe-site--inner
.vibe-club-join__header h1,

body.vibe-site.vibe-site--inner
.vibe-member-dashboard__header h1,

body.vibe-site.vibe-site--inner
.vibe-member-page__header h1 {
    text-transform: uppercase !important;
}

/* END ENERGY PAGE UPPERCASE V1 */


/* SOURCE: css/themes/vibe/energy106-design-system-v1.css */
/*
 * RL-E106-PUBLIC-DESIGN-SYSTEM-V1
 *
 * Energy 106 — single public brand palette.
 *
 * Loaded only for station ID 1 / energy-106
 * through the guarded Vibe templates.
 *
 * Do not add layout hacks or page-specific positioning here.
 */

body.vibe-site {

    /* Approved brand palette */

    --e106-pink: #ed1584;
    --e106-purple: #763493;
    --e106-yellow: #ecdd0e;

    /* Surfaces */

    --e106-deep: #170621;
    --e106-card: #250638;
    --e106-card-raised: #35104c;

    /* Borders */

    --e106-border: #523866;
    --e106-radius: 5px;

    /* Typography */

    --e106-white: #ffffff;
    --e106-muted: #c8b0d4;

    /*
     * Map approved colours to existing Vibe variables.
     * These affect Energy 106 only.
     */

    --vibe-primary: var(--e106-pink);
    --vibe-bg-card: var(--e106-card);
    --vibe-bg-card-raised: var(--e106-card-raised);
    --vibe-bg-sidebar: var(--e106-deep);
    --vibe-text-primary: var(--e106-white);
    --vibe-card-radius: var(--e106-radius);

    /*
     * Existing Energy 106 card and connection systems.
     */

    --e106-home-card-border: var(--e106-border);
    --e106-home-card-radius: var(--e106-radius);

    --connection-border: var(--e106-border);
    --connection-radius: var(--e106-radius);
}

/*
 * Shared homepage card colours.
 * Dimensions, positioning and interactions unchanged.
 */

body.vibe-site .vibe-homepage
.vibe-today-schedule--energy
.vibe-today-schedule__item,

body.vibe-site .vibe-homepage
.vibe-today-schedule--energy
.vibe-today-schedule__promo {

    border-color: var(--e106-border) !important;
    border-radius: var(--e106-radius) !important;
}

body.vibe-site .vibe-homepage
.energy-home-tiles__card {

    border-color: var(--e106-border) !important;
    border-radius: var(--e106-radius) !important;
}

/*
 * Energy Connection and advertising.
 * Only border presentation is standardised.
 */

body.vibe-site .e106-crew-ad-layout
.e106-crew-ad-layout__art,

body.vibe-site .e106-crew-ad-layout
.ecv3.ecv3--reference {

    border-color: var(--e106-border) !important;
    border-radius: var(--e106-radius) !important;
}

/*
 * Inner-page common typography.
 */

body.vibe-site.vibe-site--inner
.vibe-page-hero h1 {

    color: var(--e106-white);
}

/*
 * RL-E106-NEWS-HOMEPAGE-PALETTE-V4
 *
 * News page uses the approved Energy 106
 * homepage card colours and border system.
 *
 * No layout, image or typography changes.
 */

/*
 * RL-E106-NEWS-SHARED-TOKENS-V5
 *
 * Link legacy News colours to the approved homepage.
 * Restricted to Energy 106's News component.
 */

body.vibe-site.vibe-site--inner .energy-news-v2 {
    --buzz-bg: var(--e106-card);
    --buzz-border: var(--e106-border);
    --buzz-pink: var(--e106-pink);
}



/* Category navigation */

body.vibe-site.vibe-site--inner
.rl-redline-news__categories {
    background: var(--e106-card) !important;
    border-color: var(--e106-border) !important;
    border-radius: var(--e106-radius) !important;
}

/* Featured story, supporting stories and news grid */

body.vibe-site.vibe-site--inner
.rl-redline-news__featured,

body.vibe-site.vibe-site--inner
.rl-redline-news__lead-link,

body.vibe-site.vibe-site--inner
.rl-redline-news__side,

body.vibe-site.vibe-site--inner
.rl-redline-news__side-story,

body.vibe-site.vibe-site--inner
.rl-redline-news__card,

body.vibe-site.vibe-site--inner
.rl-redline-news__empty {
    background: var(--e106-card) !important;
}

/* Outer card borders */

body.vibe-site.vibe-site--inner
.rl-redline-news__featured,

body.vibe-site.vibe-site--inner
.rl-redline-news__side-story,

body.vibe-site.vibe-site--inner
.rl-redline-news__card {
    border-color: var(--e106-border) !important;
    border-radius: var(--e106-radius) !important;
}

/* Active category retains the Energy pink */

body.vibe-site.vibe-site--inner
.rl-redline-news__categories a.is-active {
    background: var(--e106-pink) !important;
    color: var(--e106-white) !important;
}

/*
 * Common focus indication.
 * Preserve the approved yellow accessibility accent.
 */

body.vibe-site
.e106-crew-ad-layout__link:focus-visible {

    outline-color: var(--e106-yellow);
}

/* RL-E106-PRELAUNCH-COLOUR-V3 */

body.vibe-site.vibe-site--inner
.vibe-custom-page--energy-complaints a[href],
body.vibe-site.vibe-site--inner
.vibe-custom-page--energy-complaints a[href] span,
body.vibe-site.vibe-site--inner
.vibe-custom-page--energy-complaints a[href] font {
    color: var(--e106-pink) !important;
    text-decoration-color: currentColor;
}

body.vibe-site.vibe-site--inner
.vibe-custom-page--energy-complaints a[href]:hover,
body.vibe-site.vibe-site--inner
.vibe-custom-page--energy-complaints a[href]:hover span,
body.vibe-site.vibe-site--inner
.vibe-custom-page--energy-complaints a[href]:hover font {
    color: var(--e106-white) !important;
}

body.vibe-site.vibe-site--inner
.vibe-custom-page--energy-complaints a[href]:focus-visible {
    outline: 2px solid var(--e106-yellow);
    outline-offset: 3px;
}


/*
 * RL-E106-RELATED-NEWS-COLOURS-V6
 *
 * More From Energy Buzz:
 * use the approved shared Energy 106 card colours.
 *
 * Existing dimensions, imagery and responsive layout
 * are deliberately left unchanged.
 */

body.vibe-site.vibe-site--inner
.vibe-news-article__more
.vibe-news-article__more-card {
    background: var(--e106-card) !important;
    border-color: var(--e106-border) !important;
    border-radius: var(--e106-radius) !important;
}


/*
 * RL-E106-INTERNAL-WEATHER-RESTYLE-V1
 *
 * Existing Vibe Weather module.
 * Energy 106 internal-page sidebar only.
 * Presentation changes only.
 */

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather {
    --vibe-primary: var(--e106-pink, #ed1584);
    --vibe-muted: var(--e106-muted, #c8b0d4);

    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--e106-border, #523866) !important;
    border-radius: var(--e106-radius, 5px) !important;
    background: var(--e106-card, #250638) !important;
    color: #fff;
    box-shadow: none !important;
}

/* Remove legacy full-width pink strip. */

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather::before {
    display: none !important;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-content-block__body {
    padding: 17px 18px 18px !important;
}

/* Weather / Belfast masthead */

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__masthead {
    gap: 10px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--e106-border, #523866);
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__brand {
    gap: 9px;
    color: var(--e106-pink, #ed1584);
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__brand strong {
    color: #fff !important;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .045em;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__brand svg {
    width: 23px;
    height: 21px;
    flex-basis: 23px;
    color: var(--e106-pink, #ed1584);
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__masthead-location {
    gap: 5px;
    color: var(--e106-muted, #c8b0d4);
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__masthead-location span {
    color: var(--e106-muted, #c8b0d4);
    font-size: 10px;
    font-weight: 850;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__masthead-location svg {
    color: var(--e106-pink, #ed1584);
}

/* Current temperature */

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__hero {
    gap: 12px;
    padding: 19px 0 18px;
    border-bottom: 1px solid var(--e106-border, #523866);
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__today {
    gap: 7px;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__today span {
    color: var(--e106-muted, #c8b0d4) !important;
    font-size: 14px !important;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__today strong {
    color: #fff !important;
    font-size: 37px !important;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.035em;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__condition {
    margin-top: 5px;
    color: var(--e106-muted, #c8b0d4) !important;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
}

/* Forecast action */

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__forecast-link {
    gap: 7px;
    color: var(--e106-yellow, #ecdd0e) !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__forecast-link svg {
    width: 16px;
    height: 16px;
    color: var(--e106-yellow, #ecdd0e);
}

/* Five-day forecast */

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__forecast {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding-top: 16px;
    padding-bottom: 2px;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__day {
    min-width: 0;
    padding: 0 4px;
    text-align: center;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__day + .vibe-sidebar-weather__day {
    border-left: 1px solid var(--e106-border, #523866);
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__day-name {
    color: #fff !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .025em;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__day-icon {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    margin: 9px auto;
    color: var(--e106-pink, #ed1584);
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__day-icon svg {
    width: 27px;
    height: 27px;
    max-width: 100%;
    max-height: 100%;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__day-high {
    color: #fff !important;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 950;
}

body.vibe-site.vibe-site--inner
.vibe-page-sidebar
.vibe-sidebar-content-block--weather
.vibe-sidebar-weather__day-low {
    margin-top: 4px;
    color: var(--e106-muted, #c8b0d4) !important;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

/* Responsive sidebar widths */

@media (max-width: 767px) {
    body.vibe-site.vibe-site--inner
    .vibe-page-sidebar
    .vibe-sidebar-content-block--weather
    .vibe-sidebar-content-block__body {
        padding: 16px !important;
    }

    body.vibe-site.vibe-site--inner
    .vibe-page-sidebar
    .vibe-sidebar-content-block--weather
    .vibe-sidebar-weather__today span {
        font-size: 13px !important;
    }

    body.vibe-site.vibe-site--inner
    .vibe-page-sidebar
    .vibe-sidebar-content-block--weather
    .vibe-sidebar-weather__today strong {
        font-size: 33px !important;
    }

    body.vibe-site.vibe-site--inner
    .vibe-page-sidebar
    .vibe-sidebar-content-block--weather
    .vibe-sidebar-weather__forecast {
        grid-template-columns: repeat(5, minmax(48px, 1fr));
        overflow-x: auto;
    }
}


/* RL-E106-WHATSAPP-CLEAN-V3 START */

/* Native RadioLaunch WhatsApp block — Energy 106 */

.vibe-site .vibe-sidebar-content-block--whatsapp-studio {
    display: block;
    width: 100%;
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    container-type: inline-size;
}

.vibe-site .e106-wa3-card,
.vibe-site .e106-wa3-card * {
    box-sizing: border-box;
}

.vibe-site .e106-wa3-card {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    align-items: center;
    gap: 18px;

    width: 100%;
    min-width: 0;
    min-height: 250px;
    padding: 24px 27px;

    border: 1px solid var(--e106-border, #523866);
    border-radius: 9px;
    background: var(--e106-deep, #170621);
    box-shadow: none;
    overflow: hidden;
}

.vibe-site .e106-wa3-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.vibe-site .e106-wa3-art svg {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    overflow: visible;
}

.vibe-site .e106-wa3-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 13px;
    width: 100%;
    min-width: 0;
}

.vibe-site .e106-wa3-heading {
    display: flex;
    flex-direction: column;
    gap: 0;

    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;

    font-family: inherit;
    font-size: clamp(25px, 7cqw, 58px);
    font-weight: 900;
    line-height: .93;
    letter-spacing: -.055em;
    text-transform: uppercase;
    text-align: left;
}

.vibe-site .e106-wa3-heading-white {
    display: block;
    color: #ffffff;
}

.vibe-site .e106-wa3-heading-pink {
    display: block;
    color: var(--e106-pink, #ed1584);
}

.vibe-site .e106-wa3-number-line {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.vibe-site .e106-wa3-whatsapp {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.vibe-site .e106-wa3-number {
    display: block;
    min-width: 0;
    color: var(--e106-yellow, #ecdd0e);

    font-family: inherit;
    font-size: clamp(16px, 4.4cqw, 35px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.vibe-site a.e106-wa3-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    width: min(100%, 285px);
    min-width: 0;
    min-height: 49px;
    padding: 11px 18px;

    border: 1px solid var(--e106-pink, #ed1584);
    border-radius: 6px;

    background: var(--e106-pink, #ed1584);
    color: #ffffff !important;

    font-family: inherit;
    font-size: clamp(13px, 2.6cqw, 19px);
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    text-decoration: none !important;

    transition: filter .15s ease;
}

.vibe-site a.e106-wa3-button span {
    display: block;
    color: inherit;
}

.vibe-site a.e106-wa3-button svg {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.vibe-site a.e106-wa3-button:hover {
    background: var(--e106-pink, #ed1584);
    color: #ffffff !important;
    filter: brightness(.88);
    transform: none !important;
}

.vibe-site a.e106-wa3-button:focus-visible {
    outline: 2px solid var(--e106-yellow, #ecdd0e);
    outline-offset: 3px;
}

/* Scale the same artwork for narrower sidebars. */

@container (max-width: 590px) {

    .vibe-site .e106-wa3-card {
        gap: 10px;
        min-height: 175px;
        padding: 15px;
    }

    .vibe-site .e106-wa3-content {
        gap: 9px;
    }

    .vibe-site .e106-wa3-heading {
        font-size: clamp(20px, 7cqw, 41px);
    }

    .vibe-site .e106-wa3-number-line {
        gap: 7px;
    }

    .vibe-site .e106-wa3-whatsapp {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }

    .vibe-site .e106-wa3-number {
        font-size: clamp(14px, 4.3cqw, 25px);
    }

    .vibe-site a.e106-wa3-button {
        min-height: 38px;
        padding: 8px 11px;
        font-size: clamp(12px, 2.8cqw, 15px);
    }

    .vibe-site a.e106-wa3-button svg {
        flex-basis: 16px;
        width: 16px;
        height: 16px;
    }
}

@container (max-width: 390px) {

    .vibe-site .e106-wa3-card {
        grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
        gap: 8px;
        min-height: 150px;
        padding: 12px;
    }

    .vibe-site .e106-wa3-content {
        gap: 8px;
    }

    .vibe-site .e106-wa3-heading {
        font-size: clamp(18px, 7cqw, 27px);
    }

    .vibe-site .e106-wa3-number {
        font-size: clamp(12px, 4.3cqw, 17px);
    }

    .vibe-site .e106-wa3-whatsapp {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
    }

    .vibe-site a.e106-wa3-button {
        min-height: 34px;
        gap: 6px;
        padding: 7px 9px;
        font-size: 11px;
    }

    .vibe-site a.e106-wa3-button svg {
        flex-basis: 13px;
        width: 13px;
        height: 13px;
    }
}

/* RL-E106-WHATSAPP-CLEAN-V3 END */

/* RL-E106-WHATSAPP-CLICK-FIX-V1 START */

/* Keep decorative artwork behind interactive content. */

.vibe-site .e106-wa3-card {
    position: relative;
    isolation: isolate;
}

.vibe-site .e106-wa3-art {
    position: relative;
    z-index: 1;
    pointer-events: none !important;
}

.vibe-site .e106-wa3-art svg {
    pointer-events: none !important;
}

.vibe-site .e106-wa3-content {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

/* Ensure the actual WhatsApp link receives clicks. */

.vibe-site
.vibe-sidebar-content-block--whatsapp-studio
.e106-wa3-content
a.e106-wa3-button {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation;
}

/* Decorative elements must not intercept clicks. */

.vibe-site .e106-wa3-button svg,
.vibe-site .e106-wa3-button span,
.vibe-site .e106-wa3-button::before,
.vibe-site .e106-wa3-button::after {
    pointer-events: none !important;
}

/* RL-E106-WHATSAPP-CLICK-FIX-V1 END */


/* RL-E106-WHATSAPP-NUMBER-LINK-V1 START */

.vibe-site .e106-wa3-number-line a.e106-wa3-number-link {
    display: inline-flex !important;
    align-items: center;
    position: relative;
    z-index: 10;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--e106-yellow, #ecdd0e) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.vibe-site .e106-wa3-number-link .e106-wa3-number {
    color: var(--e106-yellow, #ecdd0e) !important;
}

.vibe-site .e106-wa3-number-link:hover .e106-wa3-number {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.vibe-site .e106-wa3-number-link:focus-visible {
    outline: 2px solid var(--e106-yellow, #ecdd0e);
    outline-offset: 4px;
    border-radius: 2px;
}

/* RL-E106-WHATSAPP-NUMBER-LINK-V1 END */

/* RL-E106-WHATSAPP-NUMBER-HOVER-V2 START */
.vibe-site .e106-wa3-number-line a.e106-wa3-number-link:hover,
.vibe-site .e106-wa3-number-line a.e106-wa3-number-link:hover .e106-wa3-number,
.vibe-site .e106-wa3-number-line a.e106-wa3-number-link:active,
.vibe-site .e106-wa3-number-line a.e106-wa3-number-link:active .e106-wa3-number {
    color: var(--e106-pink, #ed1584) !important;
    text-decoration: none !important;
}

.vibe-site .e106-wa3-number-line a.e106-wa3-number-link:hover *,
.vibe-site .e106-wa3-number-line a.e106-wa3-number-link:active * {
    text-decoration: none !important;
}

.vibe-site .e106-wa3-number-line a.e106-wa3-number-link .e106-wa3-number {
    transition: color .18s ease;
}
/* RL-E106-WHATSAPP-NUMBER-HOVER-V2 END */



/* RL-E106-OUTOUT-EVENT-V1 START */

.vibe-site .vibe-sidebar-content-block--out-out {
    display:block;
    width:100%;
    margin:0;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
    container-type:inline-size;
}

.vibe-site .e106-outout-card,
.vibe-site .e106-outout-card * {
    box-sizing:border-box;
}

.vibe-site .e106-outout-card {
    position:relative;
    isolation:isolate;
    display:flex;
    align-items:center;
    width:100%;
    min-width:0;
    min-height:185px;
    aspect-ratio:2.45 / 1;
    padding:clamp(14px,3.8cqw,28px);
    border:1px solid var(--e106-border,#523866);
    border-radius:8px;
    background:var(--e106-deep,#170621);
    overflow:hidden;
    color:#fff;
}

.vibe-site .e106-outout-art {
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:
        radial-gradient(ellipse at 91% 15%,
            rgba(185,50,255,.55),transparent 44%),
        linear-gradient(115deg,
            #170621 8%,#250638 60%,#441169 100%);
}

.vibe-site .e106-outout-art img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:right center;
    opacity:.85;
}

.vibe-site .e106-outout-art::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,
        rgba(23,6,33,.97) 0%,
        rgba(23,6,33,.94) 34%,
        rgba(23,6,33,.45) 76%,
        rgba(23,6,33,.08) 100%);
}

.vibe-site .e106-outout-beams {
    position:absolute;
    inset:-25% -15%;
    z-index:1;
    pointer-events:none;
    opacity:.85;
    background:linear-gradient(125deg,
       transparent 53%,
       rgba(133,20,215,.75) 53%,
       rgba(133,20,215,.75) 62%,
       transparent 62%,
       transparent 88%,
       rgba(133,20,215,.65) 88%,
       rgba(133,20,215,.65) 94%,
       transparent 94%);
}

.vibe-site .e106-outout-content {
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:clamp(6px,1.3cqw,13px);
    width:100%;
    min-width:0;
}

.vibe-site .e106-outout-kicker {
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:.22em;
    font-size:clamp(23px,6.8cqw,58px);
    font-weight:900;
    line-height:.9;
    letter-spacing:-.045em;
    text-transform:uppercase;
}

.vibe-site .e106-outout-kicker span:first-child {
    color:#fff;
}

.vibe-site .e106-outout-kicker span:nth-child(2) {
    color:var(--e106-pink,#ed1584);
}

.vibe-site .e106-outout-name {
    margin:0 !important;
    padding:0 !important;
    max-width:100%;
    color:var(--e106-yellow,#ecdd0e) !important;
    font-size:clamp(35px,10cqw,84px);
    font-weight:950;
    line-height:.96;
    letter-spacing:-.055em;
    text-transform:uppercase;
    overflow-wrap:anywhere;
}

.vibe-site .e106-outout-meta {
    display:flex;
    flex-wrap:wrap;
    gap:.45em;
    align-items:center;
    margin:0 !important;
    color:#fff !important;
    font-size:clamp(10px,2.65cqw,21px);
    font-weight:800;
    letter-spacing:.11em;
    line-height:1.3;
    text-transform:uppercase;
}

.vibe-site .e106-outout-dot {
    color:#fff;
}

.vibe-site a.e106-outout-button {
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    width:min(100%,230px);
    min-height:43px;
    padding:9px 15px;
    border:0;
    border-radius:6px;
    background:var(--e106-pink,#ed1584);
    color:#fff !important;
    font-size:clamp(12px,3cqw,20px);
    font-weight:800;
    line-height:1.2;
    text-decoration:none !important;
    cursor:pointer;
    transition:filter .15s ease;
}

.vibe-site a.e106-outout-button:hover {
    color:#fff !important;
    text-decoration:none !important;
    filter:brightness(.88);
    transform:none !important;
}

.vibe-site a.e106-outout-button:focus-visible {
    outline:2px solid var(--e106-yellow,#ecdd0e);
    outline-offset:3px;
}

.vibe-site a.e106-outout-button svg {
    display:block;
    flex:0 0 19px;
    width:19px;
    height:19px;
}

@container (max-width:410px) {
    .vibe-site .e106-outout-card {
        min-height:165px;
        padding:14px;
    }
    .vibe-site .e106-outout-content {
        gap:8px;
    }
    .vibe-site .e106-outout-kicker {
        font-size:clamp(21px,6.5cqw,32px);
    }
    .vibe-site .e106-outout-name {
        font-size:clamp(32px,9.2cqw,44px);
    }
    .vibe-site .e106-outout-meta {
        font-size:clamp(9px,2.4cqw,12px);
    }
    .vibe-site a.e106-outout-button {
        min-height:36px;
        width:min(100%,170px);
        font-size:12px;
    }
}

/* RL-E106-OUTOUT-EVENT-V1 END */


/* RL-E106-OUTOUT-DESIGN-V2 START */

/*
 * Energy 106 OUT OUT
 * Preserve existing button height, border and colours.
 */

.vibe-site .vibe-sidebar-content-block--out-out
a.e106-outout-button {
    width: min(100%, 210px) !important;
    text-transform: uppercase !important;
}

@container (max-width: 410px) {
    .vibe-site .vibe-sidebar-content-block--out-out
    a.e106-outout-button {
        width: min(100%, 165px) !important;
    }
}

/* RL-E106-OUTOUT-DESIGN-V2 END */


/* RL-E106-OUTOUT-FIXED-HEIGHT-V3 START */

/*
 * Lock the card to its existing width-based ratio.
 * A wrapping title must not increase card height.
 */

.vibe-site .vibe-sidebar-content-block--out-out
.e106-outout-card {
    height: max(185px, 40.81633cqw) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
}

/*
 * Keep event titles within two lines.
 */

.vibe-site .vibe-sidebar-content-block--out-out
.e106-outout-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-width: 100%;
}

/*
 * Automatically reduce the font for long names.
 */

.vibe-site .vibe-sidebar-content-block--out-out
.e106-outout-name--long {
    font-size: clamp(24px, 5.8cqw, 46px) !important;
    line-height: .96 !important;
}

.vibe-site .vibe-sidebar-content-block--out-out
.e106-outout-name--very-long {
    font-size: clamp(19px, 4.75cqw, 38px) !important;
    line-height: .96 !important;
}

/*
 * Allow tighter spacing only when titles are long.
 */

.vibe-site .e106-outout-card:has(
    .e106-outout-name--long,
    .e106-outout-name--very-long
) .e106-outout-content {
    gap: clamp(4px, 1cqw, 9px);
}

/*
 * Preserve responsive fixed-height behaviour.
 */

@container (max-width:410px) {
    .vibe-site .vibe-sidebar-content-block--out-out
    .e106-outout-card {
        height: max(165px, 40.81633cqw) !important;
    }

    .vibe-site .vibe-sidebar-content-block--out-out
    .e106-outout-name--long {
        font-size: clamp(17px, 5.4cqw, 23px) !important;
    }

    .vibe-site .vibe-sidebar-content-block--out-out
    .e106-outout-name--very-long {
        font-size: clamp(15px, 4.65cqw, 20px) !important;
    }
}

/* RL-E106-OUTOUT-FIXED-HEIGHT-V3 END */


/* RL-E106-OUTOUT-ANCHORED-V5 START */

/*
 * Keep the existing V3 card height.
 * Only change internal positioning.
 */

.vibe-site
.vibe-sidebar-content-block--out-out
.e106-outout-card {
    align-items: stretch !important;
}

/*
 * Four permanent layout rows:
 * 1 OUT OUT
 * 2 Event title
 * 3 Date / venue
 * 4 Ticket button
 */

.vibe-site
.vibe-sidebar-content-block--out-out
.e106-outout-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
        max-content
        minmax(0, 1fr)
        max-content
        max-content !important;
    align-content: stretch !important;
    align-items: start !important;
    justify-items: start !important;
    align-self: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding-top: clamp(0px, 1cqw, 8px) !important;
    gap: clamp(5px, 1cqw, 10px) !important;
}

/*
 * Heading never changes position.
 */

.vibe-site
.vibe-sidebar-content-block--out-out
.e106-outout-kicker {
    grid-row: 1;
    align-self: start !important;
    margin: 0 !important;
}

/*
 * The event title has its own reserved row.
 * Its content cannot push other rows around.
 */

.vibe-site
.vibe-sidebar-content-block--out-out
.e106-outout-name {
    grid-row: 2;
    display: block !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    line-height: .96 !important;
    text-wrap: normal !important;
    margin: 0 !important;
}

/*
 * Date and venue stay on one fixed row.
 * Very long venue names truncate rather
 * than making the card taller.
 */

.vibe-site
.vibe-sidebar-content-block--out-out
.e106-outout-meta {
    grid-row: 3;
    align-self: center !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    margin: 0 !important;
}

.vibe-site
.vibe-sidebar-content-block--out-out
.e106-outout-meta span:last-child {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*
 * Button remains in the same position
 * and retains existing dimensions.
 */

.vibe-site
.vibe-sidebar-content-block--out-out
a.e106-outout-button {
    grid-row: 4;
    align-self: end !important;
    justify-self: start !important;
    margin: 0 !important;
}

/* RL-E106-OUTOUT-ANCHORED-V5 END */

/* E106 DESKTOP RESPONSIVENESS V5 START */
/*
 * Energy 106 homepage only.
 * Prevent the recent-track content column from
 * demanding its full intrinsic text width.
 * Mobile rules and other stations are not changed.
 */
@media screen and (min-width: 981px) and (max-width: 1440px) {
  body.vibe-site .vibe-homepage
  .vibe-home-recent-slot
  .vibe-sidebar-recent__track {
    grid-template-columns:
      64px minmax(0, 1fr) max-content !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
/* E106 DESKTOP RESPONSIVENESS V5 END */

/* E106 DESKTOP FOOTER OVERFLOW V11B START */
/*
 * ENERGY 106 ONLY
 *
 * V10 established that an unwanted horizontal
 * translate on the footer app/social sections
 * caused document overflow at desktop widths.
 *
 * Preserve the existing footer grid, links,
 * spacing, colours and typography.
 *
 * Mobile is excluded.
 */
@media screen and (min-width: 1181px) and (max-width: 1365px) {
  html body.vibe-site
  .vibe-footer--v2
  .vibe-footer-v2__connect
  > .vibe-footer-v2__app-section,

  html body.vibe-site
  .vibe-footer--v2
  .vibe-footer-v2__connect
  > .vibe-footer-v2__social-section {
    translate: none !important;
  }
}
/* E106 DESKTOP FOOTER OVERFLOW V11B END */

/* E106-MAIN-NAV-UPPERCASE-V119 */
body.vibe-site nav.vibe-navigation a {
    text-transform: uppercase !important;
}

/* E106-CMS-TEXT-LINKS-V126
   Plain hyperlinks in CMS-created page content.
   Replaces the Public File-only V124 rule.
*/
body.vibe-site .vibe-custom-page__content a[href]:not([class]):is(:link, :visited),
body.vibe-site .vibe-custom-page__content a[href]:not([class]) :is(span, font) {
    color: var(--e106-pink, #ed1584) !important;
    text-decoration: none !important;
}

body.vibe-site .vibe-custom-page__content a[href]:not([class]):is(:hover, :focus-visible),
body.vibe-site .vibe-custom-page__content a[href]:not([class]):is(:hover, :focus-visible) :is(span, font) {
    color: #ffffff !important;
    text-decoration: none !important;
}


/* RL-E106-SIDEBAR-COLOURS-V1
   WhatsApp card background only.
   Original artwork, borders and dimensions preserved.
*/
body.vibe-site
.vibe-sidebar-content-block--whatsapp-studio
.e106-wa3-card {
    background: #1D062D !important;
}


/* SOURCE: css/themes/vibe/e106-weather-card-v2.css */
/*
 * RL-E106-WEATHER-CARD-V2
 *
 * Energy 106 Weather card rebuild.
 *
 * Uses original RadioLaunch weather forecast data.
 * Uses existing weather-icon Blade partial.
 * Scoped to Energy 106 via template and layout guards.
 *
 * This is the complete V2 presentation stylesheet,
 * not an override appended to legacy vibe.css.
 */

/* Base card */

.vibe-site--inner .vibe-page-sidebar .e106wx {
    --wx-pink: var(--e106-pink, #ed1584);
    --wx-yellow: var(--e106-yellow, #ecdd0e);
    --wx-card: var(--e106-card, #250638);
    --wx-border: var(--e106-border, #523866);
    --wx-muted: var(--e106-muted, #c8b0d4);

    box-sizing: border-box;
    container-type: inline-size;
    container-name: e106weather;

    width: 100%;
    min-width: 0;
    overflow: hidden;

    margin: 0 0 18px;
    padding: 0;

    background: var(--wx-card) !important;
    border: 1px solid var(--wx-border) !important;
    border-radius: var(--e106-radius, 5px) !important;

    box-shadow: none !important;
    color: #fff;
}

.e106wx,
.e106wx * {
    box-sizing: border-box;
}

.e106wx a {
    text-decoration: none;
}

/* Header */

.e106wx__masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;

    min-width: 0;
    gap: 14px;

    padding: 19px 21px;

    background: var(--e106-card-raised, #35104c);
    border-bottom: 1px solid var(--wx-border);
}

.e106wx__brand {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
}

.e106wx__brand svg {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: var(--wx-pink);
}

.e106wx__brand strong {
    color: var(--wx-pink) !important;
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .035em;
    white-space: nowrap;
}

.e106wx__location {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 7px;
}

.e106wx__location svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: var(--wx-pink);
}

.e106wx__location span {
    overflow: hidden;
    color: #fff !important;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Current weather: approved three-part layout */

.e106wx__main {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, .88fr)
        minmax(0, 1.12fr);

    align-items: center;
    min-width: 0;
    padding: 27px 21px;
}

.e106wx__temperature-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding-right: 15px;
}

.e106wx__city {
    display: block;
    color: var(--wx-muted) !important;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.e106wx__temperature {
    display: block;
    margin-top: 7px;

    color: #fff !important;
    font-size: clamp(47px, 6vw, 90px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: -.055em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.e106wx__yellow-rule {
    display: block;
    width: 61px;
    height: 4px;
    margin-top: 12px;
    border-radius: 3px;
    background: var(--wx-yellow);
}

/* Large central weather icon */

.e106wx__symbol {
    display: grid;
    place-items: center;

    min-width: 0;
    min-height: 122px;

    padding: 12px;

    border-left: 1px solid var(--wx-border);
    border-right: 1px solid var(--wx-border);

    color: var(--wx-pink);
}

.e106wx__symbol svg {
    display: block;
    width: min(100%, 118px);
    height: auto;
    max-height: 118px;

    stroke: currentColor;
    stroke-width: 1.6;
}

/* Yellow sun and pink cloud for clear/partly cloudy */

.e106wx__symbol--sunny svg path:first-of-type {
    stroke: var(--wx-yellow);
}

.e106wx__symbol--sunny svg circle {
    stroke: var(--wx-yellow);
}

/* Condition and forecast link */

.e106wx__details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;

    min-width: 0;
    gap: 16px;

    padding-left: 18px;
    text-align: right;
}

.e106wx__condition {
    color: #fff !important;
    font-size: clamp(19px, 2.4vw, 31px);
    line-height: 1.15;
    font-weight: 950;
    overflow-wrap: break-word;
}

.e106wx__forecast-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;

    color: var(--wx-muted) !important;

    font-size: 14px;
    line-height: 1.25;
    font-weight: 850;
}

.e106wx__forecast-link svg {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    color: var(--wx-yellow);
}

.e106wx__forecast-link:hover {
    color: #fff !important;
}

.e106wx__forecast-link:focus-visible {
    outline: 2px solid var(--wx-yellow);
    outline-offset: 5px;
}

/* Five-day forecast */

.e106wx__forecast {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 0;
    min-width: 0;

    margin: 0 21px;
    padding: 21px 0 22px;

    border-top: 1px solid var(--wx-border);
}

.e106wx__day {
    display: flex;
    align-items: center;
    flex-direction: column;

    min-width: 0;
    padding: 0 9px;

    text-align: center;
}

.e106wx__day + .e106wx__day {
    border-left: 1px solid var(--wx-border);
}

.e106wx__day-name {
    display: block;
    color: #fff !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.e106wx__day-icon {
    display: grid;
    place-items: center;

    width: 53px;
    height: 53px;
    margin: 12px auto 13px;

    color: var(--wx-pink);
}

.e106wx__day-icon svg {
    display: block;
    width: 49px;
    height: 49px;
    max-width: 100%;
    max-height: 100%;
    stroke-width: 1.7;
}

.e106wx__day-icon--sunny svg path:first-of-type,
.e106wx__day-icon--sunny svg circle {
    stroke: var(--wx-yellow);
}

.e106wx__day-high {
    display: block;
    color: #fff !important;

    font-size: 24px;
    line-height: 1.1;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.e106wx__day-low {
    display: block;
    margin-top: 5px;

    color: var(--wx-muted) !important;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/*
 * Narrow sidebar adaptation.
 *
 * The approved wide design has 3 main columns.
 * At standard sidebar widths we use 2 columns,
 * with condition + forecast beneath them.
 */

/*
 * RL-E106-WEATHER-THREE-COLUMN-V3
 *
 * Preserve the approved three-column weather presentation
 * inside the public sidebar, including at narrow widths.
 *
 * Left: location / temperature
 * Centre: live weather icon
 * Right: condition / forecast link
 *
 * Uses existing live forecast and shared brand tokens.
 */

@container e106weather (max-width: 560px) {

    .e106wx__masthead {
        gap: 9px;
        padding: 16px 17px;
    }

    .e106wx__brand {
        gap: 8px;
    }

    .e106wx__brand svg {
        flex: 0 0 23px;
        width: 23px;
        height: 23px;
    }

    .e106wx__brand strong {
        font-size: 18px;
        letter-spacing: .025em;
    }

    .e106wx__location {
        gap: 5px;
    }

    .e106wx__location svg {
        flex: 0 0 15px;
        width: 15px;
        height: 15px;
    }

    .e106wx__location span {
        font-size: 10px;
    }

    /*
     * Key fix: three columns, NOT two rows.
     */

    .e106wx__main {
        display: grid;
        grid-template-columns:
            minmax(0, 1.03fr)
            minmax(0, .83fr)
            minmax(0, 1.26fr);
        align-items: center;
        gap: 0;
        min-width: 0;
        padding: 21px 16px 20px;
    }

    /* Left — current temperature */

    .e106wx__temperature-block {
        min-width: 0;
        padding-right: 7px;
        align-items: flex-start;
        justify-content: center;
    }

    .e106wx__city {
        font-size: 11px;
        line-height: 1.15;
    }

    .e106wx__temperature {
        margin-top: 8px;
        font-size: clamp(43px, 13cqw, 62px);
        line-height: .96;
        letter-spacing: -.055em;
        white-space: nowrap;
    }

    .e106wx__yellow-rule {
        width: 48px;
        height: 4px;
        margin-top: 11px;
    }

    /* Centre — prominent live weather icon */

    .e106wx__symbol {
        display: grid;
        place-items: center;
        min-width: 0;
        min-height: 99px;
        padding: 6px;

        border-left: 1px solid var(--wx-border);
        border-right: 1px solid var(--wx-border);
    }

    .e106wx__symbol svg {
        display: block;
        width: min(100%, 79px);
        height: auto;
        max-height: 80px;
    }

    /* Right — condition and forecast link */

    .e106wx__details {
        grid-column: auto;

        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;

        min-width: 0;
        gap: 12px;
        margin: 0;
        padding: 0 0 0 10px;

        border: 0;
        text-align: right;
    }

    .e106wx__condition {
        font-size: clamp(15px, 4.3cqw, 20px);
        line-height: 1.15;
        font-weight: 950;
        overflow-wrap: anywhere;
    }

    .e106wx__forecast-link {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;

        gap: 5px;
        font-size: clamp(10px, 2.7cqw, 12px);
        line-height: 1.2;
        white-space: normal;
        text-align: right;
    }

    .e106wx__forecast-link svg {
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
    }

    /* Bottom — five evenly spaced forecast days */

    .e106wx__forecast {
        display: grid;
        grid-template-columns:
            repeat(5, minmax(48px, 1fr));

        gap: 0;
        min-width: 0;
        margin: 0 16px;
        padding: 17px 0 19px;

        overflow-x: auto;
        scrollbar-width: thin;
    }

    .e106wx__day {
        min-width: 0;
        padding: 0 4px;
    }

    .e106wx__day-name {
        font-size: 10px;
        line-height: 1.2;
    }

    .e106wx__day-icon {
        display: grid;
        place-items: center;

        width: 32px;
        height: 32px;
        margin: 10px auto;
    }

    .e106wx__day-icon svg {
        width: 30px;
        height: 30px;
    }

    .e106wx__day-high {
        font-size: 18px;
        line-height: 1.1;
    }

    .e106wx__day-low {
        margin-top: 5px;
        font-size: 12px;
    }
}

/*
 * Smallest sidebar sizes:
 * retain the same structure with smaller elements.
 */

@container e106weather (max-width: 345px) {

    .e106wx__masthead {
        padding: 14px 12px;
    }

    .e106wx__brand strong {
        font-size: 15px;
    }

    .e106wx__location span {
        font-size: 9px;
    }

    .e106wx__main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, .75fr)
            minmax(0, 1.15fr);

        padding: 17px 11px;
    }

    .e106wx__temperature {
        font-size: clamp(40px, 13cqw, 47px);
    }

    .e106wx__symbol {
        min-height: 77px;
        padding: 4px;
    }

    .e106wx__symbol svg {
        width: min(100%, 62px);
        max-height: 62px;
    }

    .e106wx__details {
        gap: 8px;
        padding-left: 7px;
    }

    .e106wx__condition {
        font-size: 14px;
    }

    .e106wx__forecast-link {
        font-size: 10px;
    }

    .e106wx__forecast {
        margin: 0 11px;
    }
}


