/* =========================================================
   VOZ DEL REINO — MEDIA FEATURED SECTION
   ========================================================= */

.vdr-media-featured-section {
    padding: 74px 0 84px;
    background: #e9edf2;
}

.vdr-media-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 26px;
    border: 1px solid #7c838d;
    background: #b7bcc3;
}

.vdr-media-tab {
    display: inline-flex;
    min-height: 82px;
    align-items: center;
    gap: 13px;
    padding: 18px 24px;
    border: 0;
    border-right: 1px solid #7c838d;
    background: transparent;
    color: #616873;
    font: inherit;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 950;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.vdr-media-tab:last-child {
    border-right: 0;
}

.vdr-media-tab.is-active {
    background: #eef1f4;
    color: #252b33;
}

.vdr-media-tab-icon {
    display: inline-flex;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
}

.vdr-media-tab-icon svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vdr-media-panel {
    display: none;
}

.vdr-media-panel.is-active {
    display: block;
}

.vdr-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    max-width: 980px;
    padding: 0 18px;
}

.vdr-media-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(12, 25, 45, 0.18);
    background: #24282e;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.vdr-media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.23);
}

.vdr-media-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.35 / 1;
    background:
        linear-gradient(
            135deg,
            #123c8c,
            #071735
        );
}

.vdr-media-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vdr-media-card:hover .vdr-media-card-image img {
    transform: scale(1.04);
}

.vdr-media-card-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 9px;
    background: rgba(7, 17, 38, 0.88);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vdr-media-card-content {
    flex: 1;
    padding: 18px 17px 17px;
    background:
        linear-gradient(
            180deg,
            #292d33 0%,
            #22262c 100%
        );
}

.vdr-media-card-content h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.3;
}

.vdr-media-card-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    line-height: 1.45;
}

.vdr-media-empty,
.vdr-media-verse-panel {
    max-width: 900px;
    padding: 42px;
    border: 1px solid rgba(15, 54, 110, 0.12);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 54, 110, 0.08);
}

.vdr-media-empty h3 {
    margin: 0 0 10px;
    color: #071735;
    font-size: 1.7rem;
}

.vdr-media-empty p {
    max-width: 680px;
    margin: 0 0 18px;
    color: #59687f;
    line-height: 1.65;
}

.vdr-media-empty a {
    color: #123c8c;
    font-weight: 900;
}

.vdr-media-verse-label {
    display: block;
    margin-bottom: 14px;
    color: #f97316;
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vdr-media-verse-panel blockquote {
    max-width: 780px;
    margin: 0 0 14px;
    color: #071735;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.4;
}

.vdr-media-verse-panel strong {
    color: #123c8c;
}

@media (max-width: 900px) {
    .vdr-media-tabs {
        grid-template-columns: 1fr;
    }

    .vdr-media-tab {
        min-height: 64px;
        border-right: 0;
        border-bottom: 1px solid #7c838d;
    }

    .vdr-media-tab:last-child {
        border-bottom: 0;
    }

    .vdr-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }
}

@media (max-width: 600px) {
    .vdr-media-featured-section {
        padding: 52px 0 60px;
    }

    .vdr-media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .vdr-media-tab {
        font-size: 0.95rem;
    }

    .vdr-media-card-image {
        aspect-ratio: 16 / 9;
    }
}

/* =========================================================
   VOZ DEL REINO — FEATURE TABS LIKE REFERENCE
   ========================================================= */

.vdr-media-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    margin: 0 0 28px !important;
    overflow: hidden !important;
    border: 1px solid #cfd4da !important;
    border-radius: 3px !important;
    background: #eceff2 !important;
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

.vdr-media-tab {
    position: relative !important;
    display: flex !important;
    min-height: 86px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    padding: 18px 34px !important;
    border: 0 !important;
    border-right: 1px solid #d4d8dd !important;
    border-radius: 0 !important;
    background: #eceff2 !important;
    color: #777d85 !important;
    font: inherit !important;
    font-size: clamp(1rem, 1.7vw, 1.35rem) !important;
    font-weight: 950 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition:
        background 0.2s ease,
        color 0.2s ease !important;
}

.vdr-media-tab:last-child {
    border-right: 0 !important;
}

.vdr-media-tab:hover {
    background: #f5f6f8 !important;
    color: #4f5660 !important;
}

.vdr-media-tab.is-active {
    background: #ffffff !important;
    color: #071735 !important;
}

.vdr-media-tab.is-active::after {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 4px !important;
    content: "" !important;
    background: #123c8c !important;
}

.vdr-media-tab-icon {
    display: inline-flex !important;
    width: 35px !important;
    height: 35px !important;
    flex: 0 0 35px !important;
    align-items: center !important;
    justify-content: center !important;
    color: currentColor !important;
}

.vdr-media-tab-icon svg {
    display: block !important;
    width: 31px !important;
    height: 31px !important;
    fill: currentColor !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* Keep the Bible icon outlined */
.vdr-media-tab[data-vdr-media-tab="verse"] .vdr-media-tab-icon svg {
    fill: none !important;
    stroke-width: 1.9 !important;
}

/* Keep inactive tabs gray */
.vdr-media-tab:not(.is-active) .vdr-media-tab-icon,
.vdr-media-tab:not(.is-active) > span:last-child {
    color: #858a91 !important;
}

/* Active bookmark icon and text dark blue */
.vdr-media-tab.is-active .vdr-media-tab-icon,
.vdr-media-tab.is-active > span:last-child {
    color: #071735 !important;
}

@media (max-width: 900px) {
    .vdr-media-tabs {
        grid-template-columns: 1fr !important;
    }

    .vdr-media-tab {
        min-height: 66px !important;
        padding: 15px 20px !important;
        border-right: 0 !important;
        border-bottom: 1px solid #d4d8dd !important;
        font-size: 1rem !important;
    }

    .vdr-media-tab:last-child {
        border-bottom: 0 !important;
    }

    .vdr-media-tab.is-active::after {
        top: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 4px !important;
        height: auto !important;
    }

    .vdr-media-tab-icon {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px !important;
    }

    .vdr-media-tab-icon svg {
        width: 27px !important;
        height: 27px !important;
    }
}

/* =========================================================
   Featured Cards - Premium Alignment + CTA Buttons
   ========================================================= */

.vdr-featured-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch !important;
}

.vdr-featured-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    height: 100% !important;
    border-radius: 14px !important;
    background: #101923 !important;
}

.vdr-featured-card-image {
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}

.vdr-featured-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


.vdr-featured-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 30px !important;
}


.vdr-featured-card-content h3 {
    min-height: 70px !important;
    margin: 0 0 16px !important;
    color: #ffffff !important;
    font-size: 1.8rem !important;
    line-height: 1.1 !important;
}


.vdr-featured-card-content p {
    min-height: 100px !important;
    margin: 0 !important;
    color: rgba(255,255,255,.82) !important;
    line-height: 1.7 !important;
}


.vdr-featured-card-divider {
    width: 100% !important;
    height: 1px !important;
    margin: 20px 0 !important;
    background: rgba(255,255,255,.18) !important;
}


.vdr-featured-card-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: fit-content !important;
    min-width: 190px !important;
    margin-top: auto !important;
    padding: 12px 18px !important;
    border-radius: 6px !important;
    border: 1px solid currentColor !important;
    background: transparent !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}


.vdr-featured-card.events .vdr-featured-card-button {
    color:#1d8cff !important;
}

.vdr-featured-card.stories .vdr-featured-card-button {
    color:#ff5b4d !important;
}

.vdr-featured-card.verse .vdr-featured-card-button {
    color:#fbbf24 !important;
}


.vdr-featured-card-button span:last-child {
    font-size:1.5rem !important;
}


@media(max-width:900px){

    .vdr-featured-grid {
        grid-template-columns:1fr !important;
    }

    .vdr-featured-card-content h3 {
        min-height:auto !important;
    }

    .vdr-featured-card-content p {
        min-height:auto !important;
    }

}



/* =========================================================
   VOZ DEL REINO Featured Media Cards Improvements
   ========================================================= */


.vdr-media-grid {
    align-items: stretch !important;
}


.vdr-media-card {
    height: 100% !important;
    min-height: 520px !important;
    display: flex !important;
    flex-direction: column !important;
}


.vdr-media-card-image {
    flex-shrink: 0 !important;
    aspect-ratio: 16 / 9 !important;
}


.vdr-media-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 28px 30px 26px !important;
}


.vdr-media-card-content h3 {
    min-height: 62px !important;
    margin: 0 0 18px !important;
    font-size: 1.45rem !important;
    line-height: 1.2 !important;
}


.vdr-media-card-content p {
    min-height: 95px !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
}


.vdr-media-card-content::after {
    content: "→";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 22px;
    font-size: 1.3rem;
    font-weight: 900;
}


/* Individual CTA colors */

.vdr-media-card:nth-child(1) .vdr-media-card-content::after {
    content: "VER EVENTOS  →";
    color:#2d8cff;
}


.vdr-media-card:nth-child(2) .vdr-media-card-content::after {
    content: "LEER HISTORIAS  →";
    color:#ff7a21;
}






@media(max-width:900px){

    .vdr-media-card {
        min-height:auto !important;
    }

    .vdr-media-card-content h3,
    .vdr-media-card-content p {
        min-height:auto !important;
    }

}


/* FIX FEATURE CARDS ALIGNMENT */

.vdr-media-card-image {
    aspect-ratio: 1.35 / 1 !important;
    height: auto !important;
}

.vdr-media-card-image img {
    object-fit: contain !important;
    background: #071735 !important;
}


.vdr-media-card {
    min-height: 0 !important;
}


.vdr-media-card-content {
    display: flex !important;
    flex-direction: column !important;
    min-height: 310px !important;
    padding: 26px 30px 24px !important;
}


.vdr-media-card-content h3 {
    height: 65px !important;
    min-height:65px !important;
    display:flex !important;
    align-items:flex-start !important;
    margin-bottom:18px !important;
}


.vdr-media-card-content p {
    height:75px !important;
    min-height:75px !important;
}


.vdr-media-card-content::after {
    margin-top:auto !important;
    padding-top:25px !important;
}


/* keep all banners visible */
.vdr-media-card-image {
    background:#071735 !important;
}


@media(max-width:900px){

.vdr-media-card-content,
.vdr-media-card-content h3,
.vdr-media-card-content p {
    height:auto !important;
    min-height:auto !important;
}

}



/* =====================================================
   FINAL VOZ DEL REINO FEATURE CARDS
   ===================================================== */


.vdr-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    max-width: 1180px !important;
}


.vdr-media-card {
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
    min-height:0 !important;
}


/* Banner */
.vdr-media-card-image {
    height:260px !important;
    aspect-ratio:auto !important;
    background:#071735 !important;
}


.vdr-media-card-image img {
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
}



/* Content */

.vdr-media-card-content {

    display:flex !important;
    flex-direction:column !important;

    flex:1 !important;

    min-height:270px !important;

    padding:28px 28px 26px !important;

}


.vdr-media-card-content h3 {

    height:auto !important;
    min-height:58px !important;

    display:flex !important;
    align-items:flex-start !important;

    margin:0 0 16px !important;

    font-size:1.45rem !important;
    line-height:1.2 !important;

}


.vdr-media-card-content p {

    height:auto !important;
    min-height:75px !important;

    margin:0 !important;

    font-size:1rem !important;
    line-height:1.55 !important;

}



/* CTA */

.vdr-media-card-content::after {

    margin-top:auto !important;

    padding-top:25px !important;

    font-size:1rem !important;

    letter-spacing:.02em !important;

}



/* Mobile */

@media(max-width:900px){

    .vdr-media-grid {
        grid-template-columns:1fr !important;
    }


    .vdr-media-card-image {
        height:auto !important;
        aspect-ratio:1.35 / 1 !important;
    }


}



/* FINAL BANNER SIZE ADJUSTMENT */

.vdr-media-card-image {
    height: 300px !important;
    aspect-ratio: auto !important;
    background: #071735 !important;
}

.vdr-media-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}


@media(max-width:900px){

    .vdr-media-card-image {
        height:auto !important;
        aspect-ratio:1.35 / 1 !important;
    }

}



/* =====================================================
   VOZ DEL REINO CONTENT MODAL
   ===================================================== */


.vdr-content-modal {
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}


.vdr-content-modal.is-open {
    display:flex;
}


.vdr-content-modal-overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.72);
}


.vdr-content-modal-card {

    position:relative;

    width:min(720px,92%);

    max-height:85vh;

    overflow:auto;

    padding:36px;

    border-radius:20px;

    background:#ffffff;

    color:#071735;

    box-shadow:0 25px 80px rgba(0,0,0,.35);

}


.vdr-content-modal-close {

    position:absolute;

    top:14px;
    right:18px;

    border:0;
    background:none;

    font-size:32px;

    cursor:pointer;

}


.vdr-content-modal-label {

    color:#f97316;

    font-size:.75rem;

    font-weight:900;

    letter-spacing:.12em;

    text-transform:uppercase;

}


.vdr-content-modal-card h2 {

    margin:10px 0 25px;

    font-size:2rem;

}


.vdr-modal-event {

    padding:18px;

    margin-bottom:14px;

    border-radius:14px;

    background:#f8fafc;

}


.vdr-modal-event strong {

    display:block;

    margin-bottom:8px;

}


.vdr-modal-story {

    padding:20px;

    background:#f8fafc;

    border-radius:14px;

    line-height:1.7;

}


.vdr-modal-verse {

    padding:25px;

    border-radius:16px;

    background:#071735;

    color:white;

    font-size:1.2rem;

    line-height:1.7;

}


@media(max-width:600px){

.vdr-content-modal-card{
    padding:25px;
}

}



/* Remove CTA arrow from Verse of the Day card */
.vdr-media-card:nth-child(3) .vdr-media-card-content::after {
    content: none !important;
    display: none !important;
}

/* =====================================================
   VOZ DEL REINO - VERSE OF THE DAY CARD
   ===================================================== */

.vdr-card-verse-preview {
    margin-top: 28px;
    flex: 1;

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

    text-align:center;
}


.vdr-card-verse-preview blockquote {

    position:relative;

    margin:0 auto 22px;

    max-width:280px;

    font-size:1.15rem;

    line-height:1.65;

    font-weight:700;

    color:#ffffff;

}


.vdr-card-verse-preview blockquote::before {

    content:"“";

    display:inline-block;

    color:#fbbf24;

    font-size:3rem;

    line-height:0;

    vertical-align:-18px;

    margin-right:4px;

}


.vdr-card-verse-preview blockquote::after {

    content:"”";

    color:#fbbf24;

    font-size:3rem;

    line-height:0;

    vertical-align:-18px;

    margin-left:4px;

}


.vdr-card-verse-preview strong {

    display:block;

    color:#fbbf24;

    font-size:.95rem;

    font-weight:900;

    letter-spacing:.03em;

}


.vdr-card-verse-preview strong span {

    display:block;

    margin-top:6px;

    color:#cbd5e1;

    font-size:.75rem;

    font-weight:700;

}


@media(max-width:600px){

    .vdr-card-verse-preview blockquote {

        font-size:1.05rem;

        max-width:250px;

    }

}


/* TV Verse of the Day styling */
.tv-feature-section .vdr-card-verse-preview {
    margin-top: 28px;
    flex: 1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.tv-feature-section .vdr-card-verse-preview blockquote {
    position:relative;
    margin:0 auto 22px;
    max-width:280px;
    font-size:1.15rem;
    line-height:1.65;
    font-weight:700;
    color:#ffffff;
}

.tv-feature-section .vdr-card-verse-preview blockquote::before {
    content:"“";
    display:inline-block;
    color:#fbbf24;
    font-size:3rem;
    line-height:0;
    vertical-align:-18px;
    margin-right:4px;
}

.tv-feature-section .vdr-card-verse-preview blockquote::after {
    content:"”";
    color:#fbbf24;
    font-size:3rem;
    line-height:0;
    vertical-align:-18px;
    margin-left:4px;
}

.tv-feature-section .vdr-card-verse-preview strong {
    display:block;
    color:#fbbf24;
    font-size:.95rem;
    font-weight:900;
    letter-spacing:.03em;
}

.tv-feature-section .vdr-card-verse-preview strong span {
    display:block;
    margin-top:6px;
    color:#cbd5e1;
    font-size:.75rem;
    font-weight:700;
}



/* Historias de Gozo Modal Upgrade */

.vdr-modal-story {
    text-align:center;
    padding:35px 25px;
}


.vdr-story-icon {
    width:70px;
    height:70px;
    margin:0 auto 22px;

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

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #f97316,
        #fbbf24
    );

    color:white;
    font-size:32px;
}


.vdr-modal-story h3 {
    font-size:1.8rem;
    margin-bottom:18px;
    color:#0f1f3d;
}


.vdr-modal-story p {
    max-width:520px;
    margin:0 auto 25px;

    font-size:1.05rem;
    line-height:1.8;

    color:#334155;
}


.vdr-story-highlight {

    margin:25px auto;

    padding:22px;

    max-width:480px;

    border-radius:18px;

    background:#f8fafc;

    border-left:5px solid #fbbf24;

}


.vdr-story-highlight strong {

    font-size:1.1rem;

    color:#0f1f3d;

    line-height:1.6;

}


.vdr-modal-story .btn.primary {

    margin-top:10px;

    padding:14px 28px;

    border-radius:999px;

    font-weight:800;

}


@media(max-width:600px){

    .vdr-modal-story {
        padding:25px 15px;
    }

    .vdr-modal-story h3 {
        font-size:1.5rem;
    }

}

