﻿@charset "UTF-8";

/* =====================================================================
   Aliento / Creative theme custom CSS (bootstrap core REMOVED)
   IMPORTANT:
   1) Keep Bootstrap loaded separately (bootstrap.min.css)
   2) Load THIS file after Bootstrap
   ===================================================================== */

:root {
    --bs-header-gradient: linear-gradient(135deg, #0A2E4E 0%, #0B4D7A 55%, #0E6BA8 100%);
    --bs-link-color: #0074ff;
    --bs-link-hover-color: #c34e2e;
}

/* -----------------------------------*/
/* ---------->>> HEADER <<<-----------*/
/* -----------------------------------*/

.switcher-bar {
    background: #333;
    border-bottom: 1px solid #444;
    max-height: 60px;
    position: relative;
    z-index: 22;
}

.logo {
    /* border-right: 1px solid #444; */
}

    .logo a {
        display: block;
        max-height: 60px;
    }

        .logo a img {
            display: block;
            height: auto;
            max-height: 100%;
            max-width: 100%;
            width: auto;
        }

    .logo.textual a {
        font-size: 14px;
        font-weight: 700;
        line-height: 50px;
        padding: 0 10px;
        text-decoration: none;
        text-transform: uppercase;
    }



/* --------------------------------------*/
/* ---------->>> DARK SKIN <<<-----------*/
/* --------------------------------------*/

body.dark,
.dark .switcher-bar {
    background: #1B1B1B;
}

.dark .switcher-bar,
.dark .logo,
.dark .header-btn a {
    border-color: #000;
}

.logo.textual img {
    height: 60px;
    width: auto;
    margin-top: 15px;
}

/* =====================================================================
   StartBootstrap Creative theme styles (no bootstrap core)
   ===================================================================== */

body {
    width: 100%;
    height: 100%;
}

.page-section {
    padding: 8rem 0;
}

.page-subheader {
    padding: 3.5rem 0;
}


.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.btn-xl {
    padding: 1.25rem 2.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 10rem;
}

hr.divider {
    height: 0.2rem;
    max-width: 3.25rem;
    margin: 1.5rem auto;
    background-color: #0074ff;
    opacity: 1;
}

hr.divider-light {
    background-color: #fff;
}

#mainNav {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fff;
    transition: background-color 0.2s ease;
}

    #mainNav .navbar-brand {
        font-weight: 700;
        color: #212529;
    }

    #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        display: inline-flex;
        align-items: baseline;
        gap: 0.25rem;
    }

        #mainNav .navbar-nav .nav-item .nav-link .call-number {
            font-size: 2rem;
            font-family: inherit;
            font-weight: inherit;
            line-height: 0;
            white-space: nowrap;
        }
/*numero por debajo*/
.mobile-call {
    /* display: block ;
    background-color: transparent;
    padding: 2rem 0;
    text-align: center;
       */
    position: absolute;
    top: 110px; /* ajusta según donde quieras colocarlo */
    left: 0px;
    width: 100%;
    background-color: transparent;
    text-align: center;
    padding: 2rem 0;
    z-index: 1000; /* asegúrate de que esté por encima de otros elementos */
}

.mobile-call-link {
    font-size: 3rem;
    font-weight: 700;
    color: #c34e2e;
    -webkit-text-stroke: 0.2px #f4623a; /*grosor y color del borde de la letra */
    text-decoration: none;
}

    .mobile-call-link:active,
    .mobile-call-link:visited {
        color: #007bff; /* azul Bootstrap */
    }

@media (max-width: 991.98px) {
    .mobile-call {
        position: absolute;
        top: 80px; /* ajusta según donde quieras colocarlo */
        left: 0px;
        width: 100%;
        background-color: transparent;
        text-align: center;
        padding: 2rem 0;
        z-index: 1000; /* asegúrate de que esté por encima de otros elementos */
    }

    .mobile-call-link {
        font-size: 2.5rem !important;
    }
}



/*******************/

#mainNav .navbar-nav .nav-item .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
    color: #0074ff;
}

#mainNav .navbar-nav .nav-item .nav-link.active {
    color: #0074ff !important;
}

@media (min-width: 991.98px) {
    #mainNav {
        box-shadow: none;
        background-color: transparent;
    }

        #mainNav .navbar-brand {
            color: rgba(255, 255, 255, 0.7);
        }

            #mainNav .navbar-brand:hover {
                color: #fff;
            }

        #mainNav .navbar-nav .nav-item .nav-link {
            color: rgba(255, 255, 255, 0.7);
            padding: 0 1rem;
        }

            #mainNav .navbar-nav .nav-item .nav-link:hover {
                color: #fff;
            }

        #mainNav .navbar-nav .nav-item:last-child .nav-link {
            padding-right: 0;
        }

        #mainNav.navbar-shrink {
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
            background-color: #fff;
        }

            #mainNav.navbar-shrink .navbar-brand {
                color: #212529;
            }

                #mainNav.navbar-shrink .navbar-brand:hover {
                    color: #0074ff;
                }

            #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
                color: #212529;
            }

                #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
                    color: #0074ff;
                }
}

header.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    background: url("../assets/img/best-yet-to-come.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

header.general {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    background: #212529;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

header.masthead h1, header.masthead .h1 {
    font-size: 2.25rem;
}

header.disclaimer {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    /*  background: linear-gradient(to bottom, rgb(66, 72, 92, 0.10) 0%, rgb(66, 72, 92, 0.80) 100%), url("../assets/img/reading-letter.jpg");*/
    background: url("../assets/img/reading-letter.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

    header.disclaimer h1, header.disclaimer .h1 {
        font-size: 2.25rem;
    }

@media (min-width: 992px) {
    header.masthead {
        height: 100vh;
        min-height: 40rem;
        padding-top: 4.5rem;
        padding-bottom: 0;
    }

        header.masthead p {
            font-size: 1.15rem;
        }

        header.masthead h1, header.masthead .h1 {
            font-size: 3rem;
        }
}

@media (min-width: 1200px) {
    header.masthead h1, header.masthead .h1 {
        font-size: 3.5rem;
    }
}

#portfolio .container-fluid, #portfolio .container-sm, #portfolio .container-md, #portfolio .container-lg, #portfolio .container-xl, #portfolio .container-xxl {
    max-width: 1920px;
}

    #portfolio .container-fluid .portfolio-box, #portfolio .container-sm .portfolio-box, #portfolio .container-md .portfolio-box, #portfolio .container-lg .portfolio-box, #portfolio .container-xl .portfolio-box, #portfolio .container-xxl .portfolio-box {
        position: relative;
        display: block;
    }

        #portfolio .container-fluid .portfolio-box .portfolio-box-caption, #portfolio .container-sm .portfolio-box .portfolio-box-caption, #portfolio .container-md .portfolio-box .portfolio-box-caption, #portfolio .container-lg .portfolio-box .portfolio-box-caption, #portfolio .container-xl .portfolio-box .portfolio-box-caption, #portfolio .container-xxl .portfolio-box .portfolio-box-caption {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            width: 100%;
            height: 100%;
            position: absolute;
            bottom: 0;
            text-align: center;
            opacity: 0;
            color: #fff;
            background: rgba(244, 98, 58, 0.9);
            transition: opacity 0.25s ease;
            text-align: center;
        }

            #portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-sm .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-md .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-lg .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-xl .portfolio-box .portfolio-box-caption .project-category, #portfolio .container-xxl .portfolio-box .portfolio-box-caption .project-category {
                font-size: 0.85rem;
                font-weight: 600;
                text-transform: uppercase;
            }

            #portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-sm .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-md .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-lg .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-xl .portfolio-box .portfolio-box-caption .project-name, #portfolio .container-xxl .portfolio-box .portfolio-box-caption .project-name {
                font-size: 1.2rem;
            }

        #portfolio .container-fluid .portfolio-box:hover .portfolio-box-caption, #portfolio .container-sm .portfolio-box:hover .portfolio-box-caption, #portfolio .container-md .portfolio-box:hover .portfolio-box-caption, #portfolio .container-lg .portfolio-box:hover .portfolio-box-caption, #portfolio .container-xl .portfolio-box:hover .portfolio-box-caption, #portfolio .container-xxl .portfolio-box:hover .portfolio-box-caption {
            opacity: 1;
        }


.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

    .form-row .col {
        padding-right: 5px;
        padding-left: 5px;
    }

#LError {
    display: none;
    font-size: 0.8em;
}

    #LError.visible {
        display: block;
    }

input.invalido {
    border-color: red;
}

.btn-square {
    width: 100px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 0.5rem;
}
/* Section spacing improvement */
#accreditations {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Logo styling */
.accreditation-logo {
    max-height: 90px; /* Mantiene tamaño uniforme */
    object-fit: contain;
    opacity: 0.95;
    transition: all 0.25s ease-in-out;
    filter: grayscale(20%); /* Tono elegante */
}

    /* Hover effect */
    .accreditation-logo:hover {
        transform: scale(1.05);
        opacity: 1;
        filter: grayscale(0%);
    }

/* Container alignment */
#accreditations .text-muted {
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .accreditation-logo {
        max-height: 70px;
        margin-bottom: 0.5rem;
    }
}

/* MAPA*************************************************************************************************************** */

.map-wrapper {
    background: #ffffff10; /* efecto vidrio sutil */
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    max-width: 760px;
    margin: 0 auto 30px auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

#location {
    padding-top: 40px !important;
    padding-bottom: 40px !important; /* elimina el hueco gigante */
}

iframe.map-frame {
    width: 100%;
    height: 480px;
    border: 0;
    border-radius: 10px;
}


/* --- LOCATION SECTION --- *********************************************************************/
#location {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.location-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.location-description {
    font-size: 1.05rem;
    color: #dcdcdc;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Tarjeta que envuelve el mapa */
.map-wrapper {
    background: rgba(255, 255, 255, 0.08);
    padding: 22px;
    border-radius: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Mapa */
iframe.map-frame {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 12px;
}


.masthead-video {
    position: relative;
    height: 100vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

    .masthead-video .masthead-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

.masthead {
    position: relative;
    height: 100vh;
    min-height: 40rem;
    overflow: hidden;
    background-color: #000; /* o el color que quieras */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* llena el header completo */
    z-index: 0;
    filter: brightness(70%); /* oscurece un poco para que el texto se lea */
}



/* Texto y contenido del masthead por encima del video */
.masthead .container,
.masthead h1,
.masthead p,
.masthead a {
    position: relative;
    z-index: 2;
}

.hero-video {
    animation: fadeVideo 1.8s ease-in-out forwards;
}

@keyframes fadeVideo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



.hero-phone-large {
    position: absolute;
    top: 120px; /* ajusta si lo quieres más arriba/abajo */
    width: 100%;
    text-align: center;
    z-index: 50;
}

    .hero-phone-large a {
        font-size: 3rem;
        font-weight: 700;
        color: #ffffff; /* blanco sólido */
        text-shadow: 0 0 10px rgba(0,0,0,0.85);
        /* =====================================================================
   Extra overrides you added
   ===================================================================== */
        /* sombra fuerte */
        letter-spacing: 1px;
        text-decoration: none;
    }

@media (max-width: 768px) {
    .hero-phone-large a {
        font-size: 2rem;
    }
}

/* Month view compact appointments: agrandar texto */
.dxscApt .dxsc-compact-month-apt .dxsc-apt-content-layer span {
    font-size: 1.25em !important; /* prueba 1.2 / 1.3 / 1.4 */
    line-height: 1.15 !important;
}

/* Cards centradas y con ancho cómodo en móvil */
.program-card {
    width: 100%;
    max-width: 420px; /* ajusta si quieres más grande/pequeño */
}
/* Asegura que el brand no aplaste el logo */
.navbar-brand {
    display: flex;
    align-items: center;
    padding-top: var(--bs-navbar-brand-padding-y);
    padding-bottom: var(--bs-navbar-brand-padding-y);
    margin-right: var(--bs-navbar-brand-margin-end);
    line-height: 1; /* importante */
}

    /* Logo sin deformación ni desaparición */
    .navbar-brand .brand-logo {
        height: 44px; /* ajusta 40-52px */
        width: auto; /* CLAVE */
        max-width: 220px; /* opcional */
        display: block;
        object-fit: contain;
    }
/* Mantener el menú alineado cuando todavía NO colapsa (992–1199px) */
@media (max-width: 1199.98px) and (min-width: 992px) {

    .navbar-nav {
        align-items: center; /* centra verticalmente los items */
    }

        .navbar-nav .nav-item {
            display: flex;
            align-items: center; /* cada item queda alineado */
        }

        .navbar-nav .nav-link {
            display: flex;
            align-items: center;
            white-space: nowrap; /* evita que “Call Us” se vaya a 2 líneas */
            padding: .5rem .45rem; /* reduce un poco el padding para que quepa */
            line-height: 1.1;
            font-size: .95rem; /* opcional: un poco más chico en ese rango */
        }
}
/* =========================================================
   Center cards when only 1 fits in a row (global utility)
   ========================================================= */
.center-col {
    display: flex;
    justify-content: center;
}

.card-max-420 {
    width: 100%;
    max-width: 420px; /* ajusta a tu gusto */
}
/* Panel Ask Hours: centrar SIEMPRE (sobre todo en móviles) */
.ask-hours-panel .center-col {
    display: flex;
    justify-content: center;
}

.ask-hours-panel .card-max-420 {
    width: 100%;
    max-width: 420px;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important; /* por si algún CSS global flota cards */
}

/* En pantallas pequeñas, asegurar que el col sea flex sí o sí */
@media (max-width: 991.98px) {
    .ask-hours-panel .ask-hours-col {
        display: flex !important;
        justify-content: center !important;
    }
}

/* Full width solo en <1200px */
.btn-full-until-xl {
    width: 100% !important;
}

/* En >=1200px, vuelve a auto */
@media (min-width: 1200px) {
    .btn-full-until-xl {
        width: auto !important;
    }
}
/* Botón en estado loading */
.btn-loading {
    pointer-events: none;
    opacity: .85;
}

.brand-title {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .brand-title {
        font-size: .95rem;
    }
}

.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ajusta el 90px según la altura real de tu navbar */
#about, #services, #contact, #location {
    scroll-margin-top: 90px;
}
/* MOBILE: usar todo el ancho real */
@media (max-width: 576px) {
    .program-card {
        width: 100%;
        margin: 0;
        border-radius: 16px;
    }

    /* imagen menos alta para no “inflar” */
    .program-card-img {
        height: 140px;
    }

    /* padding más compacto */
    .program-card .card-body {
        padding: 16px !important;
        text-align: center; /* tú quieres centrado en móvil */
    }

    .program-footer {
        padding: 12px !important;
    }
}

@media (max-width:576px) {
    body {
        padding-bottom: 110px;
    }
}

@media (max-width: 576px) {
    .card-max-420 {
        max-width: none !important;
        width: 100% !important;
    }

    .center-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* fondo tipo dashboard */
.page-soft-bg {
    background: #f5f7fb; /* similar a AT&T */
}

/* card estilo "billing center" */
.card-soft {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06); /* sombra suave */
}

    .card-soft .card-header-soft {
        background: transparent;
        border-bottom: 1px solid rgba(0,0,0,.06);
        padding: 14px 18px;
        font-weight: 600;
        color: #0f172a;
    }

    .card-soft .card-body {
        padding: 18px;
    }

.text-muted-soft {
    color: rgba(15, 23, 42, .65) !important;
}

.metric {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.badge-soft {
    background: rgba(13,110,253,.08);
    color: #0d6efd;
    border: 1px solid rgba(13,110,253,.18);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 600;
    font-size: .85rem;
}

.btn-pill {
    border-radius: 999px !important;
    padding-left: 18px;
    padding-right: 18px;
}

@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}
/* =========================================================
   Gradient header
   ========================================================= */
.bg-gradient-header {
    background: linear-gradient( 135deg, #0A2E4E 0%, #0B4D7A 55%, #0E6BA8 100% );
}



/* =========================================================
   GLOBAL LOADING OVERLAY (modern + gif compatible)
   ========================================================= */
.global-loading {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    /* fondo oscuro con blur (glass) */
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
}

    .global-loading.is-on {
        display: flex;
    }

/* ---------- Card ---------- */
.global-loading__card {
    width: min(360px, calc(100vw - 32px));
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 18px 18px 16px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    transform: translateY(6px);
    animation: glPop 0.18s ease-out forwards;
}

@keyframes glPop {
    to {
        transform: translateY(0);
    }
}

/* ---------- Brand / GIF ---------- */
.global-loading__brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
}

    .global-loading__brand img {
        height: 22px; /* 👈 tamaño correcto */
        max-width: 120px; /* 👈 evita que crezca */
        width: auto;
        object-fit: contain;
        opacity: 0.9;
    }

/* ---------- Text ---------- */
.global-loading__title {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 2px;
}

.global-loading__subtitle {
    font-size: 0.92rem;
    color: rgba(15, 23, 42, 0.68);
    margin-bottom: 12px;
}

/* ---------- Progress bar ---------- */
.global-loading__bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.14);
    overflow: hidden;
    position: relative;
}

    .global-loading__bar span {
        position: absolute;
        inset: 0;
        width: 45%;
        border-radius: 999px;
        background: rgba(13, 110, 253, 0.95);
        animation: glMove 1s ease-in-out infinite;
    }

@keyframes glMove {
    0% {
        transform: translateX(-120%);
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(260%);
        opacity: 0.8;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .global-loading__card {
        animation: none;
        transform: none;
    }

    .global-loading__bar span {
        animation: none;
        width: 100%;
        transform: translateX(0);
    }
}



/* =========================
   ProgramList - Mobile layout fix
   ========================= */
@media (max-width: 768px) {

    /* Quita el “centrado angosto” típico de desktop */
    .page-programlist .container,
    .page-programlist .container-sm,
    .page-programlist .container-md,
    .page-programlist .container-lg,
    .page-programlist .container-xl {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Si tienes cards o secciones con padding grande */
    .page-programlist .card {
        margin: 0 !important;
        border-radius: 12px;
    }


    /* Imágenes full width (evita que queden “flacas”) */
    /* ProgramList: show FULL image (no crop) */
    .page-programlist img,
    .page-programlist .card-img-top,
    .page-programlist .program-card img {
        width: 100% !important;
        height: 120px !important; /* ajusta 90-140 */
        object-fit: contain !important; /* ✅ no recorta */
        object-position: top center !important;
        /* background: #f4f6f8 !important;  relleno si sobran lados */
        display: block !important;
    }


    /* Si tu layout usa row/cols, fuerza a 1 columna */
    .page-programlist .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}


/* =========================
   ProgramList – compact images on mobile
   ========================= */
@media (max-width: 768px) {

    /* Contenedor de cards de programas */
    .page-programlist .card-img-top,
    .page-programlist .program-card img,
    .page-programlist img.card-img-top {
        height: 120px; /* 👈 altura ideal mobile */
        object-fit: cover; /* recorta sin deformar */
        width: 100%;
        border-radius: 12px 12px 0 0;
    }

    /* Reduce padding vertical de la card */
    .page-programlist .card-body {
        padding: 0.75rem 0.9rem;
    }

    /* Títulos un poco más compactos */
    .page-programlist .card-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .page-programlist .card-text {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    /* Botón menos alto */
    .page-programlist .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}



/* =========================================
   ProgramList – Image water / blur fill
   ========================================= */

.page-programlist .program-img-wrap {
    position: relative;
    height: 200px; /* controla altura */
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background-color: #eef1f4;
}

    /* Fondo difuminado con la MISMA imagen */
    .page-programlist .program-img-wrap::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--program-img);
        background-size: cover;
        background-position: center;
        filter: blur(8px);
        transform: scale(1.25);
        opacity: .55;
    }

    /* Imagen real, completa, sin recorte */
    .page-programlist .program-img-wrap img {
        position: relative;
        z-index: 1;
        width: 100%;
        object-fit: contain; /* 👈 clave */
        display: block;
    }

/* =========================================
   Mobile tweaks
   ========================================= */
@media (max-width: 768px) {

    .page-programlist .program-img-wrap {
        height: 110px;
    }

    .page-programlist .card-body {
        padding: 14px !important;
    }

    .page-programlist .program-footer {
        padding: 12px !important;
    }
}