/* =========================================================
   VOZ DEL REINO — CLEAN LIGHT HERO
   Isolated classes to prevent conflicts with old radio CSS.
   ========================================================= */

.vdr-hero {
    padding: 22px 18px 28px;
    background:
        radial-gradient(
            circle at 0 48%,
            rgba(249, 115, 22, 0.11),
            transparent 17%
        ),
        radial-gradient(
            circle at 100% 75%,
            rgba(37, 99, 235, 0.12),
            transparent 21%
        ),
        linear-gradient(
            135deg,
            #fffaf6 0%,
            #f7faff 52%,
            #edf4ff 100%
        );
}

.vdr-hero-shell {
    display: grid;
    width: min(100%, 1540px);
    grid-template-columns: 350px minmax(0, 1fr);
    align-items: stretch;
    gap: 22px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(15, 54, 110, 0.09);
    border-radius: 27px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 20px 55px rgba(15, 54, 110, 0.09);
}

/* Left program card */

.vdr-program-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce5f1;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 15px 36px rgba(15, 54, 110, 0.10);
}

.vdr-status-label {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-bottom: 1px solid #dce5f1;
    background: #edf4ff;
    color: #123c8c;
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vdr-status-label::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
}

.vdr-program-photo {
    height: 205px;
    overflow: hidden;
    border-bottom: 4px solid #f97316;
    background: #e7edf5;
}

.vdr-program-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.vdr-program-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
}

.vdr-program-info strong {
    margin-bottom: 8px;
    color: #071735;
    font-size: 1.18rem;
    font-weight: 950;
}

.vdr-program-info span {
    margin-bottom: 9px;
    color: #f97316;
    font-size: 0.96rem;
    font-weight: 900;
}

.vdr-program-info p {
    margin: 0;
    color: #526178;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.5;
}

/* Right player card */

.vdr-player-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d5e0ee;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 93% 10%,
            rgba(37, 99, 235, 0.11),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f9ff 58%,
            #edf4ff 100%
        );
    box-shadow: 0 15px 36px rgba(15, 54, 110, 0.10);
}

.vdr-player-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        #f59e0b 0%,
        #ffd56a 55%,
        #123c8c 100%
    );
}

.vdr-player-header {
    display: flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    margin: 23px 27px 0;
    padding: 10px 14px;
    border: 1px solid #d8e2ef;
    border-radius: 999px;
    background: #edf4ff;
    color: #123c8c;
    font-size: 0.8rem;
    font-weight: 950;
    letter-spacing: 0.02em;
}

.vdr-live-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
}

.vdr-player-main {
    display: grid;
    min-width: 0;
    grid-template-columns: 155px minmax(0, 1fr) 155px;
    align-items: center;
    gap: 26px;
    padding: 18px 28px 20px;
}

.vdr-now-art {
    width: 155px;
    height: 155px;
    overflow: hidden;
    border: 1px solid #d8e2ef;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 54, 110, 0.12);
}

.vdr-now-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vdr-now-info {
    min-width: 0;
}

.vdr-now-label {
    display: block;
    margin-bottom: 10px;
    color: #f97316;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vdr-now-info strong {
    display: block;
    overflow: hidden;
    margin-bottom: 8px;
    color: #071735;
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    font-weight: 950;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vdr-now-info p {
    margin: 0;
    color: #43536b;
    font-size: 1.03rem;
    font-weight: 800;
}

.vdr-station-logo {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.vdr-station-logo img {
    display: block;
    width: 100%;
    max-width: 145px;
    height: auto;
    object-fit: contain;
}

.vdr-audio-wrap {
    margin: 0 28px;
    padding: 15px 0;
    border-top: 1px solid rgba(18, 60, 140, 0.10);
}

.vdr-audio-player {
    display: block;
    width: 100%;
    min-height: 48px;
}

.vdr-player-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: auto;
    padding: 12px 28px 28px;
}

.vdr-request-button,
.vdr-greeting-button {
    display: inline-flex;
    min-width: 220px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 21px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.vdr-request-button {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #071735;
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.22);
}

.vdr-greeting-button {
    background: linear-gradient(135deg, #123c8c, #2563eb);
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.20);
}

.vdr-request-button:hover,
.vdr-greeting-button:hover {
    transform: translateY(-2px);
}

.vdr-button-icon {
    display: inline-flex;
}

.vdr-button-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Tablet */

@media (max-width: 1100px) {
    .vdr-hero-shell {
        grid-template-columns: 280px minmax(0, 1fr) 280px;
        gap: 18px;
        padding: 18px;
    }

    .vdr-player-main {
        grid-template-columns: 125px minmax(0, 1fr) 110px;
        gap: 18px;
        padding-inline: 22px;
    }

    .vdr-now-art {
        width: 125px;
        height: 125px;
    }

    .vdr-station-logo img {
        max-width: 105px;
    }

    .vdr-request-button,
    .vdr-greeting-button {
        min-width: 0;
        flex: 1 1 200px;
    }
}

/* Mobile */

@media (max-width: 780px) {
    .vdr-hero {
        padding: 12px 10px 22px;
    }

    .vdr-hero-shell {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 17px;
        padding: 13px;
        border-radius: 22px;
    }

    .vdr-player-card {
        order: 1;
    }

    .vdr-program-card {
        order: 2;
    }

    .vdr-player-header {
        margin: 20px 18px 0;
    }

    .vdr-player-main {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
        padding: 16px 18px;
    }

    .vdr-now-art {
        width: 92px;
        height: 92px;
        border-radius: 13px;
    }

    .vdr-now-info strong {
        font-size: 1.25rem;
    }

    .vdr-station-logo {
        display: none;
    }

    .vdr-audio-wrap {
        margin: 0 18px;
    }

    .vdr-player-actions {
        display: grid;
        grid-template-columns: 1fr;
        padding: 12px 18px 20px;
    }

    .vdr-request-button,
    .vdr-greeting-button {
        width: 100%;
        min-width: 0;
    }

    .vdr-program-photo {
        height: 190px;
    }
}

/* Make the right-side Voz del Reino logo larger */
.vdr-player-main {
    grid-template-columns: 155px minmax(0, 1fr) 230px;
}

.vdr-station-logo img {
    width: 100%;
    max-width: 220px;
}

@media (max-width: 1100px) {
    .vdr-player-main {
        grid-template-columns: 125px minmax(0, 1fr) 150px;
    }

    .vdr-station-logo img {
        max-width: 145px;
    }
}

/* Slightly larger right-side station logo */
.vdr-player-main {
    grid-template-columns: 155px minmax(0, 1fr) 265px;
}

.vdr-station-logo img {
    max-width: 255px;
}

@media (max-width: 1100px) {
    .vdr-player-main {
        grid-template-columns: 125px minmax(0, 1fr) 175px;
    }

    .vdr-station-logo img {
        max-width: 170px;
    }
}

/* Dark two-color background for the Voz del Reino hero */
.vdr-hero {
    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(249, 115, 22, 0.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #06142f 0%,
            #123c8c 100%
        ) !important;
}

.vdr-hero-shell {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28) !important;
}

/* Match Voz del Reino hero background to the website footer */
.vdr-hero {
    background:
        radial-gradient(
            circle at top right,
            rgba(49, 86, 180, .75),
            transparent 34%
        ),
        radial-gradient(
            circle at left center,
            rgba(13, 44, 112, .75),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #071126 0%,
            #0b255f 48%,
            #1d4ed8 100%
        ) !important;
}

.vdr-hero-shell {
    border-color: rgba(255, 255, 255, .14) !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28) !important;
}

/* Remove the colored accent line from the top of the live player card */
.vdr-player-card::before {
    display: none !important;
    content: none !important;
}


/* VOZ DEL REINO Advertisement Card */

.vdr-ad-card {
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:20px;
    background:linear-gradient(135deg,#f97316,#ea580c);
    color:#fff;
    box-shadow:0 15px 36px rgba(0,0,0,.18);
}

.vdr-ad-content {
    padding:25px;
}

.vdr-ad-content strong {
    display:block;
    margin-bottom:12px;
    font-size:1.25rem;
}

.vdr-ad-content p {
    line-height:1.6;
    margin-bottom:18px;
}

.vdr-ad-content a {
    color:#fff;
    font-weight:900;
    text-decoration:none;
}



.vdr-hero-sidebar {
    display:flex;
    flex-direction:column;
    gap:22px;
}


.vdr-ad-card {
    flex:1;
}




/* Fix Hero Advertisement Card */

.vdr-hero-sidebar {
    display:flex;
    flex-direction:column;
    gap:22px;
    min-width:0;
}


.vdr-ad-card {

    display:flex;
    flex-direction:column;

    overflow:hidden;

    min-height:260px;

    border-radius:20px;

    border:1px solid #dce5f1;

    background:#ffffff;

    color:#0b1b3a;

    box-shadow:0 15px 36px rgba(15,54,110,.10);

}


.vdr-ad-card .vdr-status-label {

    background:#edf4ff;

    color:#123c8c;

    border-bottom:1px solid #dce5f1;

}


.vdr-ad-content {

    display:flex;

    flex:1;

    flex-direction:column;

    justify-content:center;

    padding:25px;

}


.vdr-ad-content strong {

    color:#0b1b3a;

    margin-bottom:12px;

}


.vdr-ad-content p {

    color:#52627a;

}


.vdr-ad-content a {

    margin-top:auto;

    color:#f97316;

    font-weight:900;

}



/* Final three column radio hero */

.vdr-hero-shell {
    grid-template-columns: 350px minmax(0,1fr) 330px;
}

.vdr-hero-sidebar {
    display:contents;
}


/* Final radio hero three columns */
.vdr-hero-shell {
    grid-template-columns: 350px minmax(0,1fr) 330px;
}



/* FORCE FINAL HERO 3 COLUMN LAYOUT */

.vdr-hero-shell {
    display:grid !important;
    grid-template-columns: 350px minmax(0,1fr) 330px !important;
    gap:22px !important;
    align-items:stretch;
}


.vdr-program-card {
    grid-column:1;
}


.vdr-player-card {
    grid-column:2;
    grid-row:1;
}


.vdr-ad-card {
    grid-column:3;
    grid-row:1;
}




/* VOZ DEL REINO fallback program banner */
.vdr-program-photo #radioOnAirImage[
    src*="voz-del-reino-clear-logo"
] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 30px 32px !important;
    object-fit: contain !important;
    object-position: center !important;
    box-sizing: border-box !important;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(249, 115, 22, 0.20),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(37, 99, 235, 0.18),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #edf4ff 52%,
            #dfeaff 100%
        ) !important;
    filter: drop-shadow(0 10px 18px rgba(7, 23, 53, 0.12));
}

/* Keep the fallback banner from being cropped by older rules */
.vdr-program-card
.vdr-program-photo
img[src*="voz-del-reino-clear-logo"] {
    max-width: none !important;
    min-width: 0 !important;
    transform: none !important;
}

/* Slightly richer fallback information area */
.vdr-program-card:has(
    #radioOnAirImage[src*="voz-del-reino-clear-logo"]
) .vdr-program-info {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7faff 100%
        ) !important;
}

.vdr-program-card:has(
    #radioOnAirImage[src*="voz-del-reino-clear-logo"]
) .vdr-program-info strong {
    color: #071735 !important;
    letter-spacing: 0.01em !important;
}

@media (max-width: 780px) {
    .vdr-program-photo #radioOnAirImage[
        src*="voz-del-reino-clear-logo"
    ] {
        padding: 24px 28px !important;
    }
}


/* Regular fallback status text */
.vdr-program-card:has(
    #radioOnAirImage[src*="voz-del-reino-clear-logo"]
) #radioOnAirStatus {
    font-weight: 400 !important;
}


/* Free church and ministry event promotion */
.vdr-ad-card {
    position: relative !important;
}

.vdr-free-event-promo {
    position: absolute !important;
    top: 68px !important;
    left: 20px !important;
    z-index: 5 !important;
    display: flex !important;
    width: min(195px, calc(100% - 40px)) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 11px 13px 12px !important;
    border: 1px solid rgba(249, 115, 22, 0.70) !important;
    border-left: 4px solid #f97316 !important;
    border-radius: 13px !important;
    background: rgba(3, 15, 39, 0.88) !important;
    color: #ffffff !important;
    text-align: left !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.34),
        0 0 20px rgba(249, 115, 22, 0.20) !important;
    backdrop-filter: blur(7px) !important;
    cursor: pointer !important;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease !important;
}

.vdr-free-event-promo:hover {
    transform: translateY(-2px) !important;
    border-color: #fb923c !important;
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.40),
        0 0 26px rgba(249, 115, 22, 0.34) !important;
}

.vdr-free-event-kicker {
    display: inline-flex !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    color: #071735 !important;
    font-size: 0.58rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.07em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.vdr-free-event-promo strong {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    line-height: 1.12 !important;
    text-transform: uppercase !important;
}

.vdr-free-event-promo small {
    color: #dbeafe !important;
    font-size: 0.66rem !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
}

@media (max-width: 780px) {
    .vdr-free-event-promo {
        top: 68px !important;
        left: 18px !important;
        width: min(205px, calc(100% - 36px)) !important;
    }
}

/* Prevent next program image flash while loading */
.vdr-program-loading .vdr-program-photo {
    visibility: hidden;
}

.vdr-program-ready .vdr-program-photo {
    visibility: visible;
}


/* Fix program image visibility */
.vdr-program-loading .vdr-program-photo {
    visibility: visible !important;
}



/* =========================================================
   VOZ DEL REINO — NEXT PROGRAM CARD EDGE STYLE
   Match ANUNCIOS layout
   ========================================================= */

.vdr-program-card {
    overflow: hidden !important;
}

.vdr-program-photo {
    width: 100% !important;
    height: 205px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #e7edf5 !important;
}

.vdr-program-photo img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

.vdr-program-info {
    padding: 24px 26px !important;
}

@media (max-width:780px) {

    .vdr-program-photo {
        height: 190px !important;
    }

    .vdr-program-info {
        padding: 22px !important;
    }

}




/* Override logo fallback - make next program banner edge-to-edge */

.vdr-program-photo #radioOnAirImage[src*="voz-del-reino-clear-logo"] {
    display: block !important;
    width: 100% !important;
    height: 205px !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    background: transparent !important;
    filter: none !important;
}


@media (max-width:780px) {

    .vdr-program-photo #radioOnAirImage[src*="voz-del-reino-clear-logo"] {
        height: 190px !important;
        padding: 0 !important;
    }

}




/* FINAL FIX — Next Program Logo Banner */

.vdr-program-photo {
    height: 205px !important;
    padding: 0 !important;
    margin: 0 !important;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #edf4ff 55%,
            #dfeaff 100%
        ) !important;
    overflow: hidden !important;
}

.vdr-program-photo #radioOnAirImage[src*="voz-del-reino-clear-logo"] {
    width: 100% !important;
    height: 100% !important;
    padding: 18px 25px !important;
    box-sizing: border-box !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
    transform: none !important;
}


@media (max-width:780px) {

    .vdr-program-photo {
        height: 190px !important;
    }

    .vdr-program-photo #radioOnAirImage[src*="voz-del-reino-clear-logo"] {
        padding: 15px 20px !important;
    }

}



/* =========================================================
   NEXT PROGRAM CARD - MATCH ADS EDGE STYLE
   ========================================================= */

.vdr-program-card {
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
}

.vdr-program-card .vdr-status-label {
    margin: 0 !important;
    border-radius: 0 !important;
}

.vdr-program-photo {
    margin: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

.vdr-program-info {
    margin: 0 !important;
    border-radius: 0 !important;
}



/* VOZ DEL REINO app style player */
.vdr-player-main {
    grid-template-columns: 155px minmax(0, 1fr);
}

.vdr-station-logo {
    display: none;
}

.vdr-now-art {
    border-radius: 28px;
}

.vdr-now-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff1df;
    color: #f97316;
}

@media (max-width: 780px) {
    .vdr-player-main {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .vdr-now-art {
        width: 90px;
        height: 90px;
        border-radius: 22px;
    }
}


/* ==========================================
   VOZ DEL REINO APP PLAYER STYLE
========================================== */

.vdr-player-card {
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(15, 54, 110, .18);
}

.vdr-player-main {
    grid-template-columns: 140px minmax(0,1fr);
    gap: 24px;
    padding: 22px 28px;
}

.vdr-station-logo {
    display: none;
}

.vdr-now-art {
    width: 140px;
    height: 140px;
    border-radius: 28px;
}

.vdr-now-label {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff0dc;
    color: #f97316;
}

.vdr-now-info strong {
    font-size: clamp(1.35rem,2.5vw,2rem);
}

.vdr-audio-wrap {
    margin: 0 28px;
}

.vdr-player-actions {
    padding: 15px 28px 30px;
}


@media(max-width:780px){

.vdr-player-card {
    border-radius:26px;
}

.vdr-player-main {
    grid-template-columns: 95px minmax(0,1fr);
    gap:15px;
    padding:20px;
}

.vdr-now-art {
    width:95px;
    height:95px;
    border-radius:22px;
}

.vdr-now-info strong {
    font-size:1.2rem;
}

}

