html, body {
    overflow-x: hidden !important;
    width: 100%;
}

/* --- Loading --- */
.loadable {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pulse-loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.pulse-loader span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    animation: pulseExpand 1.5s infinite ease-in-out;
    opacity: 0;
}

.pulse-loader span:nth-child(1) {
    animation-delay: 0s;
}

.pulse-loader span:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-loader span:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulseExpand {
    0% {
        transform: scale(0.3);
        opacity: 0.7;
    }

    70% {
        transform: scale(1);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.loading-text {
    font-size: 1.2rem;
    color: #1e40af;
    text-align: center;
}

/* VIDEO CARD */
.video-card {
    padding: 10px;
    text-align: left;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
}

/* VIDEO WRAPPER */
.video-thumb {
    position: relative;
    padding-top: 56.25%;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.20);
}

.video-thumb iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* TITULO DEL VIDEO */
.video-title {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
}


/* DESCRIPCION */
.video-descripcion {
    margin-top: 15px;
    font-size: 15px;
    color: #555;
    min-height: 65px;
}

/* CONTENEDOR DE LAS FLECHAS */
.slick-prev,
.slick-next {
    z-index: 5 !important;
    top: 50%;
    transform: translateY(-50%);
}

/* Flechas del carrusel */
.nav-arrow {
    background: #ffffffee;
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 28px;
    border-radius: 50%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    padding: 0;
    cursor: pointer;
    transition: 0.25s;
}

/* HOVER */
.nav-arrow:hover {
    background: #fff;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.25);
}

/* POSICIONAMIENTO DE FLECHAS */
.slick-prev {
    left: -25px !important;
}

.slick-next {
    right: -25px !important;
}

/* NAVBAR */
.nav-business {
    background: #ffffff;
    padding: 14px 0;
}

/* Logos */
.logo-main {
    max-height: 95px;
    width: auto;
}

.logo_extra {
    height: 35px;
    /* tamaño móvil */
}

@media (min-width: 992px) {
    .logo_extra {
        height: 55px;
        /* tamaño desktop */
    }
}

/* Links */
.nav-link-clean {
    font-weight: 500;
    color: #4a4a4a;
    transition: color .2s ease;
}

.nav-link-clean:hover {
    color: #00916d;
}

.nav-link-highlight {
    font-weight: 600;
    color: #c53131;
}

/* Botón registro */
.nav-btn {
    background: #ed0101;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 6px;
}

.nav-btn:hover {
    background: #b7423e;
}

/* RESPONSIVE */
@media (max-width: 991px) {

    /* Logos centrados y apilados */
    .logo-main,
    .logo_extra {
        display: block;
        margin: 0 auto 10px auto;
        max-height: 60px;
    }

    /* Collapse vertical */
    #navbarMenu .navbar-nav {
        flex-direction: column !important;
        gap: 10px;
        align-items: center;
        width: 100%;
        margin-top: 10px;
    }

    /* Links y botones a ancho completo */
    #navbarMenu .nav-link-clean,
    #navbarMenu .nav-link-highlight,
    #navbarMenu .nav-btn {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }

    .nav-btn {
        margin: 10px 0;
    }

    /* Navbar toggler centrado */
    .navbar-toggler {
        border: none;
        outline: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .navbar-toggler .navbar-toggler-icon {
        background-image: none;
    }
}

/* ESTILO SOLO PARA CUANDO SE MUESTRAN LAS CONFERENCIAS POR EVENTO */
.premium-video-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transition: all .35s ease;
    position: relative;
}

.premium-video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* CONTENEDOR DEL VIDEO */
.premium-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 22px;
    background: #000;
}

/* IFRAME */
.premium-video-thumb iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 22px;
}

/* OVERLAY DEGRADADO */
.premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity .3s ease;
    border-radius: 22px;
}

.premium-video-card:hover .premium-overlay {
    opacity: 1;
}

/* TITULO */
.premium-video-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    padding: 18px 15px;
    line-height: 1.3;
    margin: 0;
    transition: color .25s ease;
}

/* Efecto al pasar */
.premium-video-card:hover .premium-video-title {
    color: #005f49;
}

/* Animación sutil */
.premium-video-card:hover iframe {
    transform: scale(1.03);
    transition: transform .35s ease;
}

.premium-video-description {
    padding: 0 15px 18px 15px;
    font-size: 15px;
    color: #555;
    line-height: 1.45;
    height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: color .25s ease;
}

.premium-video-card:hover .premium-video-description {
    color: #333;
}