﻿.seccionContenidoVideo {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.controladoresEncabezado {
    background-color: #eaf5ff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 220px;
}

.controladoresEncabezado a {
    font-size: 16px !important;
    cursor: pointer;
}

.controladoresEncabezado img {
    width: 20px;
}

.contenidoVideoGrande {
    background-image: url('/empresarial/xpertos/Paginas/xpertosNuevo/assets/imgs/Fondo-video.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    padding: 40px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contentVideoG {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.videoPrincipal {
    position: relative;
    width: 100%;
}

.videoInlineWrapper,
.videoPrincipalBtn,
.portadaVideoG {
    width: 100%;
}

.videoInlineWrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.videoPrincipalBtn {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    border-radius: 15px;
}

.overlayPlayIcon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.contentVideoG h1 {
    color: white !important;
    margin: 20px 0px 15px !important;
    text-transform: none !important;
    width: 70%;
    text-align: left;
    font-size: 32px;
}

.contentVideoG p {
    color: white !important;
    font-size: 16px !important;
    font-weight: 300;
}

.portadaVideoG {
    width: 100%;
    border-radius: 15px;
    height: 800px;
    object-fit: cover;
    object-position: top;
}

.videoPrincipal {
    width: 100%;
}

.contenidoAutorVideo {
    background-color: #eaf5ff;
    padding: 40px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.autorVideo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
}

.autorVideo img {
    width: 140px;
    border-radius: 15px;
    height: 140px;
    object-fit: cover;
}

.contenidoAutor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-left: 30px;
    width: 80%;
    margin-top: 0px;
}

.contenidoAutor h1 {
    color: #012169 !important;
    font-weight: bold;
    font-size: 22px !important;
    margin: 0px 0px 5px !important;
    text-transform: none !important;
    text-align: left;
    width: 100%;
}

.contenidoAutor p {
    color: black !important;
    font-size: 16px !important;
    text-align: left;
}

.lineaSeparadora {
    width: 2px;
    height: 440px;
    background-color: #014f88;
    margin: 0px 40px;
}

.descripcionVideo {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 40%;
}

.descripcionVideo h1 {
    color: #012169 !important;
    font-weight: bold;
    font-size: 22px !important;
    margin: 0px 0px 5px !important;
    text-transform: none !important;
    text-align: left;
    width: 100%;
}

.descripcionVideo p {
    color: black !important;
    font-size: 16px !important;
    text-align: left;
}

.carouselVideoResumido {
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0px;
}

.carouselVideoResumido h1 {
    color: #012169;
    width: 70%;
    text-transform: none;
    text-align: left;
    font-size: 32px !important;
    margin-bottom: 40px !important;
    font-weight: bold;
}

/* Estilos del carousel con blur effect */
.carousel-containerVideoRen {
    position: relative;
    width: 70%;
}

/* Create blur overlays on left and right sides */
.carousel-containerVideoRen::before,
.carousel-containerVideoRen::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 270px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5;
    pointer-events: none;
}

/* Left blur overlay */
.carousel-containerVideoRen::before {
    left: -300px;
    background: linear-gradient(to right, rgba(255,255,255,0.3), transparent);
}

/* Right blur overlay */
.carousel-containerVideoRen::after {
    right: -300px;
    background: linear-gradient(to left, rgba(255,255,255,0.3), transparent);
}

.carousel-wrapperVideoRen {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 20px;
}

.carousel-slideVideoRen {
    min-width: calc(30% - 10px);
    flex-shrink: 0;
}

/* Adaptación de los estilos de las cards para el carousel */
.contenidoVideoTab-carousel {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    width: 530px;
    padding: 15px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    height: 250px;
}

.portadaVideoTab-carousel {
    width: 200px;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
}

.descripcionVideoTab-carousel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 20px;
    flex: 1;
}

.descripcionVideoTab-carousel h2 {
    text-transform: none;
    font-size: 18px !important;
    text-align: left;
    font-weight: 400;
    width: 100%;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #012169;
}

.descripcionVideoTab-carousel h3 {
    text-transform: none;
    font-size: 14px !important;
    text-align: left;
    font-weight: bold;
    width: 100%;
    margin-bottom: 3px;
    color: #012169;
}

.descripcionVideoTab-carousel p {
    text-transform: none;
    font-size: 12px !important;
    text-align: left;
    font-weight: 300;
    margin-bottom: 15px;
    width: 100%;
    color: #012169 !important;
}

.botonesVideoTab-carousel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.botonIzquierda-carousel {
    display: flex;
    justify-content: start;
    align-items: center;
}

.botonIzquierda-carousel p {
    margin-bottom: 0px !important;
    color: gray !important;
    margin-left: 10px;
    font-weight: bold;
    font-size: 12px !important;
}

.botonCompartir-carousel {
    display: flex;
    justify-content: end;
    align-items: center;
}

.btn-naranjaTabs-carousel {
    background: #ed8b00;
    color: #fff !important;
    border-radius: 30px;
    padding: 8px 15px;
    display: flex !important;
    font-size: 12px;
    line-height: 1;
    font-family: roboto !important;
    font-weight: 400;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.btn-naranjaTabs-carousel:hover {
    background-color: #cc6a25;
}

.btn-naranjaTabs-carousel img {
    width: 15px;
    margin-right: 5px;
}

.botonCompartir-carousel img {
    width: 20px;
    cursor: pointer;
}

.modalVideoOverlay {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.modalVideoContenido {
    position: relative;
    width: 80%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background-color: black;
    border-radius: 10px;
    overflow: hidden;
}

.modalVideoContenido iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.btnCerrarModal {
    position: absolute;
    top: -30px;
    right: -30px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}

/* Controles de navegación con z-index superior al blur */
.carousel-navVideoRen {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10; /* Higher than blur overlay */
}

.carousel-navVideoRen:hover {
    background: transparent !important;
    transform: translateY(-50%) scale(1.1);
}

.carousel-navVideoRen.prev {
    left: -100px;
}

.carousel-navVideoRen.next {
    right: -100px;
}

.carousel-navVideoRen img {
    width: 25px;
}

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background-color: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.video-modal-content iframe {
    width: 100%;
    height: 450px;
    display: block;
}

.close-modal-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2001;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Alternative approach using mask for better browser support */
@supports not (backdrop-filter: blur(8px)) {
    .carousel-containerVideoRen::before,
    .carousel-containerVideoRen::after {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.7);
        filter: blur(2px);
    }
}

@media (max-width:1200px) {
    .video-modal-content iframe {
        height: 250px;
    }

    .close-modal-btn {
        top: -10px;
        right: -10px;
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .controladoresEncabezado {
        background-color: #eaf5ff;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 100px;
    }

    .descripcionVideo {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        width: 35%;
    }

    .autorVideo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40%;
    }

    .portadaVideoG {
        width: 100%;
        border-radius: 15px;
        height: 500px;
        object-fit: cover;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slideVideoRen {
        min-width: 90%;
    }

    .portadaVideoTab-carousel {
        width: 150px;
        height: 150px;
    }

    .descripcionVideoTab-carousel {
        margin-left: 15px;
    }

    .carousel-navVideoRen {
        width: 40px;
        height: 40px;
    }

    .carousel-navVideoRen.prev {
        left: -75px;
    }

    .carousel-navVideoRen.next {
        right: -70px;
    }

    /* Adjust blur overlays for mobile */
    .carousel-containerVideoRen::before,
    .carousel-containerVideoRen::after {
        width: 150px;
    }

    .carousel-containerVideoRen::before {
        left: -130px;
    }

    .carousel-containerVideoRen::after {
        right: -130px;
    }

    .contenidoAutorVideo {
        background-color: #eaf5ff;
        padding: 40px 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
    }

    .lineaSeparadora {
        width: 80%;
        height: 2px;
        background-color: #014f88;
        margin: 40px 0px;
    }

    .autorVideo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        flex-direction: column;
    }

    .contenidoAutor {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 0px;
        width: 100%;
        margin-top: 20px;
    }

    .descripcionVideo {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        width: 80%;
    }

    .portadaVideoG {
        width: 100%;
        border-radius: 15px;
        height: 400px;
        object-fit: cover;
    }

    .contenidoAutor h1 {
        color: #012169 !important;
        font-weight: bold;
        font-size: 22px !important;
        margin: 0px 0px 5px !important;
        text-transform: none !important;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .autorVideo img {
        width: 120px;
        height: 120px;
    }

    .controladoresEncabezado {
        background-color: #eaf5ff;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 40px;
    }

    .portadaVideoG {
        width: 100%;
        border-radius: 15px;
        height: 220px;
        object-fit: cover;
    }
}

.fade-overlay-enter-active {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-overlay-leave-active {
    transition: all 0.3s cubic-bezier(0.55, 0.06, 0.68, 0.19);
}

.fade-overlay-enter-from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
}

.fade-overlay-leave-to {
    opacity: 0;
    transform: translateY(-10px) scale(1.02);
}

.fade-overlay-enter-to,
.fade-overlay-leave-from {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fade-modal-enter-active,
.fade-modal-leave-active {
    transition: opacity 0.3s ease;
}

.fade-modal-enter-from,
.fade-modal-leave-to {
    opacity: 0;
}

.fixed-overlay {
    scroll-behavior: smooth;
}

.share-modal-cv-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.share-modal-cv-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close-share-modal-cv-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.close-share-modal-cv-btn:hover {
    color: #000;
    background-color: transparent !important;
}

.share-modal-cv-title {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.share-options-cv {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-link-cv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #00c1d5 !important;
}

.share-link-cv:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fade-modal-enter-active,
.fade-modal-leave-active {
    transition: opacity 0.3s ease;
}

.fade-modal-enter-from,
.fade-modal-leave-to {
    opacity: 0;
}

@media (max-width: 768px) {
    .share-modal-cv-content {
        margin: 20px;
        min-width: auto;
        max-width: calc(100% - 40px);
    }

    .share-options-cv {
        gap: 12px;
    }

    .share-link-cv {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}