/*
 * ENERGY 106 — PRESENTERS V3
 * Editorial radio crew design.
 *
 * Independent of the old .vibe-presenter-card
 * layout and scoped to Energy 106.
 */

.energy-crew,
.energy-crew * {
    box-sizing: border-box;
}

.energy-crew {
    --crew-pink: #ed1584;
    --crew-yellow: #ecdd0e;
    --crew-bg: #230637;
    --crew-dark: #190425;
    --crew-line: #522761;
    --crew-muted: #c8b0d4;

    width: 100%;
    min-width: 0;
}

/* MAIN HEADING */

.energy-crew__heading {
    display: flex;
    align-items: center;
    gap: 19px;
    margin: 0 0 24px;
    padding: 0;
}

/* E106-MATCH-EVENTS-HEADING-V3 */
.energy-crew__heading-bar {
    width: 5px;
    height: 34px;
    flex: 0 0 6px;
    background: var(--crew-pink);
    min-height: 34px;
    max-height: 34px;
    align-self: center;
    flex-shrink: 0;
}

/* E106-PRESENTER-HEADING-STANDARD-V2: match shared Vibe inner-page H1 typography. */
.energy-crew__heading h1 {
    margin: 0;
    color: #fff;
    font-family:
        var(--vibe-font-heading, "Rubik", sans-serif);
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.8px;
    text-transform: uppercase;
}

/* FEATURE PANEL */

.energy-crew-feature {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .9fr);
    min-height: 300px;
    overflow: hidden;
    border: 1px solid var(--crew-line);
    border-radius: var(--vibe-card-radius, 4px);
    background: var(--crew-dark);
}

.energy-crew-feature__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 20px 26px;
    background:
        linear-gradient(
            125deg,
            #20052f 0%,
            #2d093f 100%
        );
}

.energy-crew-feature__copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 116px;
    height: 5px;
    background: var(--crew-pink);
}

.energy-crew-feature__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--crew-yellow);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 950;
    letter-spacing: .11em;
}

.energy-crew-feature__dot {
    display: block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--crew-yellow);
}

.energy-crew-feature__headline > span {
    display: block;
    margin-bottom: 5px;
    color: var(--crew-pink);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .055em;
}

.energy-crew-feature__headline h2 {
    margin: 0;
    color: #fff;
    font-family:
        var(--vibe-font-heading, "Rubik", sans-serif);
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -1.1px;
    overflow-wrap: break-word;
}

.energy-crew-feature__show {
    margin-top: 10px;
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 850;
}

.energy-crew-feature__time {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 8px;
    color: var(--crew-muted);
    font-size: 12px;
    line-height: 1.5;
}

.energy-crew-feature__time svg,
.energy-crew-card__time svg {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 1px;
    fill: none;
    stroke: var(--crew-pink);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.energy-crew-feature__footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
}

.energy-crew-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid var(--crew-pink);
    border-radius: 4px;
    background: var(--crew-pink);
    color: #fff;
    font-family:
        var(--vibe-font-heading, "Rubik", sans-serif);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
    text-decoration: none;
    transition: background .2s ease;
}

.energy-crew-button:hover,
.energy-crew-button:focus-visible {
    border-color: #d71379;
    background: #d71379;
    color: #fff;
}

.energy-crew-button svg,
.energy-crew-card__button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: #230637;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* FEATURED PRESENTER — MESSAGE STUDIO BUTTON */

.energy-crew-feature__message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid var(--crew-pink, #ed1584);
    border-radius: var(--vibe-card-radius, 4px);
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .01em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color .18s ease,
        border-color .18s ease;
}

.energy-crew-feature__message svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--crew-pink, #ed1584);
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.energy-crew-feature__message:hover,
.energy-crew-feature__message:focus-visible {
    border-color: var(--crew-pink, #ed1584);
    background: var(--crew-pink, #ed1584);
    color: #fff;
}

.energy-crew-feature__message:hover svg,
.energy-crew-feature__message:focus-visible svg {
    stroke: #230637;
}




/* FEATURE PHOTOGRAPH */

.energy-crew-feature__visual {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #3c1055 0%,
            #210531 65%,
            #160321 100%
        );
}

.energy-crew-feature__visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -50% auto -50% 66%;
    width: 32%;
    background: #ed1584;
    transform: skewX(-19deg);
    opacity: .8;
}

.energy-crew-feature__graphic {
    position: absolute;
    z-index: -1;
    right: 10px;
    bottom: 2%;
    color: rgba(255,255,255,.075);
    font-family:
        var(--vibe-font-heading, "Rubik", sans-serif);
    font-size: clamp(110px, 17vw, 260px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.09em;
    pointer-events: none;
}

.energy-crew-feature__visual > img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 300px;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.energy-crew-feature__no-photo {
    margin: auto;
    color: #fff;
    font-size: 28px;
    font-weight: 950;
}

.energy-crew-feature__live {
    position: absolute;
    z-index: 3;
    top: 17px;
    right: 17px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 4px;
    background: var(--crew-pink);
    color: #fff;
    font-size: 11px;
    font-weight: 950;
}

.energy-crew-feature__live > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #230637;
}

/* SECONDARY SECTION HEADING */

.energy-crew__section-heading {
    display: flex;
    align-items: center;
    margin: 34px 0 18px;
}

.energy-crew__section-heading > div {
    min-width: 0;
}

.energy-crew__section-heading span {
    display: block;
    margin-bottom: 8px;
    color: var(--crew-pink);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .1em;
}

.energy-crew__section-heading h2 {
    margin: 0;
    color: #fff;
    font-family:
        var(--vibe-font-heading, "Rubik", sans-serif);
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.1;
    font-weight: 950;
}

/* HORIZONTAL PRESENTER CARDS */

.energy-crew-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    align-items: stretch;
}

.energy-crew-card {
    display: grid;
    grid-template-columns:
        minmax(0, .8fr)
        minmax(0, 1.2fr);
    min-width: 0;
    min-height: 278px;
    overflow: hidden;
    border: 1px solid var(--crew-line);
    border-radius: var(--vibe-card-radius, 4px);
    background: var(--crew-bg);
}

.energy-crew-card:hover {
    border-color: var(--crew-pink);
}

.energy-crew-card__visual {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    border-right: 1px solid var(--crew-line);
    background:
        linear-gradient(145deg, #370b4f, #1a0429);
}

.energy-crew-card__visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -50%;
    bottom: -50%;
    right: 12%;
    width: 23%;
    background: #c90c72;
    transform: skewX(-22deg);
}

.energy-crew-card__graphic {
    position: absolute;
    z-index: -1;
    bottom: 12px;
    left: 8px;
    color: rgba(255,255,255,.08);
    font-size: 87px;
    font-weight: 950;
    line-height: 1;
}

.energy-crew-card__photo-link {
    display: contents;
}

.energy-crew-card__visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 278px;
    object-fit: contain;
    object-position: center bottom;
}

.energy-crew-card__fallback {
    margin: auto;
    color: #fff;
    font-weight: 950;
}

.energy-crew-card__live {
    position: absolute;
    z-index: 3;
    top: 11px;
    left: 11px;
    padding: 7px 10px;
    border-radius: 4px;
    background: var(--crew-pink);
    color: #fff;
    font-size: 11px;
    font-weight: 950;
}

/* CARD EDITORIAL COPY */

.energy-crew-card__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 24px 21px 21px;
}

.energy-crew-card__kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--crew-pink);
    font-size: 10px;
    line-height: 1.3;
    font-weight: 950;
    letter-spacing: .08em;
}

.energy-crew-card__info h3 {
    margin: 0;
    color: #fff;
    font-family:
        var(--vibe-font-heading, "Rubik", sans-serif);
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.08;
    font-weight: 950;
    overflow-wrap: break-word;
}

.energy-crew-card__info h3 a {
    color: #fff;
    text-decoration: none;
}

.energy-crew-card__info h3 a:hover {
    color: var(--crew-pink);
}

.energy-crew-card__show {
    margin: 9px 0 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

.energy-crew-card__time {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px;
    color: var(--crew-muted);
    font-size: 12px;
    line-height: 1.5;
}

.energy-crew-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    min-height: 42px;
    margin-top: auto;
    padding: 11px 14px;
    border: 1px solid var(--crew-pink);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-family:
        var(--vibe-font-heading, "Rubik", sans-serif);
    font-size: 11px;
    font-weight: 950;
    text-decoration: none;
    transition: background .18s ease;
}

.energy-crew-card__button svg {
    stroke: var(--crew-pink);
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}

.energy-crew-card__button:hover,
.energy-crew-card__button:focus-visible {
    background: var(--crew-pink);
    color: #fff;
}

.energy-crew-card__button:hover svg,
.energy-crew-card__button:focus-visible svg {
    stroke: #230637;
}

/* ACCESSIBILITY */

.energy-crew a:focus-visible {
    outline: 2px solid var(--crew-yellow);
    outline-offset: 3px;
}

/* EMPTY STATE */

.energy-crew__empty {
    padding: 35px;
    border: 1px solid var(--crew-line);
    border-radius: var(--vibe-card-radius, 4px);
    background: var(--crew-bg);
    color: var(--crew-muted);
}

/* SMALLER DESKTOP */

/* TABLET */

/* MOBILE */

/* ENERGY CREW V5 — ALIGNED 3-UP CARDS START */

/* Three equal-width, equal-height cards per row. */

.energy-crew-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: stretch;
    gap: 14px;
}

.energy-crew-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 205px auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    align-self: stretch;
}

/* Exactly the same photo-panel height. */

.energy-crew-card__visual {
    height: 205px;
    min-height: 205px;
    max-height: 205px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--crew-line);
}

.energy-crew-card__visual img {
    display: block;
    width: 100%;
    height: 205px;
    max-height: 205px;
    object-fit: contain;
    object-position: center bottom;
}

.energy-crew-card__graphic {
    bottom: 8px;
    left: 10px;
    font-size: 68px;
}

/*
 * Reserve consistent space for the text,
 * even when one presenter has a longer name
 * or more than one broadcast slot.
 */

.energy-crew-card__info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 16px 17px 16px;
}

.energy-crew-card__kicker {
    display: block;
    min-height: 14px;
    margin: 0 0 7px;
    font-size: 10px;
    line-height: 1.4;
}

/* Reserve room for two lines of names. */

.energy-crew-card__info h3 {
    display: block;
    min-height: 0;
    margin: 0;
    font-size: clamp(19px, 1.55vw, 22px);
    line-height: 1.12;
    overflow-wrap: break-word;
}

/* All show titles start at the same position. */

.energy-crew-card__show {
    display: block;
    min-height: 0;
    margin: 7px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

/* Multiple broadcast slots get separate lines. */

.energy-crew-card__time {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 0;
    margin: 10px 0 14px;
    font-size: 11.5px;
    line-height: 1.45;
}

.energy-crew-card__time svg {
    flex: 0 0 17px;
    margin-top: 1px;
}

.energy-crew-card__time-lines {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.energy-crew-card__time-lines > span {
    display: block;
    line-height: 1.45;
    overflow-wrap: break-word;
}

/* Every profile button anchors to the card bottom. */

.energy-crew-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 43px;
    margin: auto 0 0;
    padding: 10px 13px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.25;
}

.energy-crew-card__button svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

/* Tablet: two cards per row. */

/* At tighter widths, preserve equal photo panels. */

/* Mobile: one card per row. */

/* ENERGY CREW V5 — ALIGNED 3-UP CARDS END */


/* FEATURED PRESENTER — CMS SHOW DESCRIPTION */

.energy-crew-feature__description {
    display: -webkit-box;
    width: 100%;
    max-width: 58ch;
    margin: 12px 0 0;
    overflow: hidden;
    color: #c8b0d4;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* ===================================================
   ENERGY CREW — RESPONSIVE REBUILD V6
   Single consolidated responsive design.
   Container queries use the real content width.
   =================================================== */

/* TABLET / NARROW CONTENT AREA */

@media (max-width: 1050px) {
    .energy-crew-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .energy-crew-feature__copy {
        padding: 23px;
    }

    .energy-crew-feature__headline h2 {
        font-size: clamp(30px, 4vw, 43px);
    }

    .energy-crew-card__info {
        padding: 17px;
    }
}

/* PHONE / NARROW TABLET */

@media (max-width: 700px) {
    .energy-crew__heading {
        gap: 12px;
        margin-bottom: 16px;
    }

    .energy-crew__heading-bar {
        width: 5px;
        height: 34px;
        flex-basis: 5px;
    min-height: 34px;
    max-height: 34px;
    align-self: center;
    flex-shrink: 0;
}

    .energy-crew__heading h1 {
        font-size: 27px;
        line-height: 1;
        overflow-wrap: break-word;
    }

    /* Featured presenter: image first, copy below */

    .energy-crew-feature {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .energy-crew-feature__visual {
        order: -1;
        min-height: 225px;
        max-height: 225px;
        border-bottom: 1px solid var(--crew-line);
    }

    .energy-crew-feature__visual > img {
        width: 100%;
        height: 225px;
        max-height: 225px;
        object-fit: contain;
        object-position: center bottom;
    }

    .energy-crew-feature__copy {
        min-width: 0;
        padding: 22px 19px;
    }

    .energy-crew-feature__eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .energy-crew-feature__headline h2 {
        font-size: clamp(30px, 7vw, 43px);
        line-height: 1.04;
    }

    .energy-crew-feature__show {
        margin-top: 10px;
        font-size: 16px;
    }

    .energy-crew-feature__time {
        margin-top: 9px;
        font-size: 12px;
    }

    .energy-crew-feature__description {
        max-width: 100%;
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.5;
    }

    .energy-crew-feature__footer {
        width: 100%;
        margin-top: 0;
        padding-top: 18px;
        gap: 10px;
    }

    .energy-crew-button,
    .energy-crew-feature__message {
        display: inline-flex;
        width: 100%;
        min-width: 0;
        min-height: 45px;
        margin: 0;
        justify-content: center;
        padding: 11px 13px;
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Other presenters: compact single column */

    .energy-crew__section-heading {
        margin: 24px 0 14px;
    }

    .energy-crew__section-heading h2 {
        font-size: 26px;
    }

    .energy-crew-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .energy-crew-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 210px auto;
        min-height: 0;
        height: 100%;
    }

    .energy-crew-card__visual {
        height: 210px;
        min-height: 210px;
        max-height: 210px;
        border-right: 0;
        border-bottom: 1px solid var(--crew-line);
    }

    .energy-crew-card__visual img {
        display: block;
        width: 100%;
        height: 210px;
        max-height: 210px;
        object-fit: contain;
        object-position: center bottom;
    }

    .energy-crew-card__info {
        min-height: 0;
        height: auto;
        padding: 17px 18px 18px;
    }

    .energy-crew-card__info h3 {
        min-height: 0;
        font-size: 23px;
        line-height: 1.12;
    }

    .energy-crew-card__show {
        min-height: 0;
        margin-top: 8px;
        font-size: 13px;
    }

    .energy-crew-card__time {
        min-height: 0;
        margin: 10px 0 14px;
        font-size: 12px;
    }

    .energy-crew-card__time-lines {
        min-width: 0;
    }

    .energy-crew-card__button {
        width: 100%;
        min-height: 45px;
        margin-top: auto;
        padding: 11px 14px;
    }
}

/* SMALL PHONES */

@media (max-width: 440px) {
    .energy-crew__heading h1 {
        font-size: 27px;
    }

    .energy-crew-feature__visual {
        min-height: 205px;
        max-height: 205px;
    }

    .energy-crew-feature__visual > img {
        height: 205px;
        max-height: 205px;
    }

    .energy-crew-feature__copy {
        padding: 19px 16px;
    }

    .energy-crew-feature__headline h2 {
        font-size: clamp(29px, 8vw, 37px);
    }

    .energy-crew-feature__footer {
        gap: 9px;
    }

    .energy-crew-card {
        grid-template-rows: 185px auto;
    }

    .energy-crew-card__visual {
        height: 185px;
        min-height: 185px;
        max-height: 185px;
    }

    .energy-crew-card__visual img {
        height: 185px;
        max-height: 185px;
    }

    .energy-crew-card__info {
        padding: 16px;
    }

    .energy-crew-card__info h3 {
        font-size: 22px;
    }
}
