.slider-riesgos-section{
    background:#f4f6fb;
    padding:80px 0;
}

.card-slide{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
}

.contenido-slide{
    padding:0 60px;
}

.titulo-slide{
    font-size: 27px;
    color:#0C26A3;
    font-weight:500;
}

.subtitulo-slide{
    display:inline-block;
    background:#0C26A3;
    color:white;
    padding:8px 25px;
    border-radius:40px;
    margin-bottom:30px;
    font-size:14px;
}

.lista-riesgos{
    list-style:none;
    padding:0;
}

.lista-riesgos li{
    margin-bottom:18px;
    position:relative;
    padding-left:18px;
}
.lista-riesgos li:last-child{
    margin-bottom:0;
}
.lista-riesgos li::before{
    content:"";
    width:8px;
    height:8px;
    background:#0C26A3;
    border-radius:50%;
    position:absolute;
    left:0;
    top:8px;
}

.lista-riesgos strong{
    display:block;
    color:#0C26A3;
}

.lista-riesgos span{
    font-size:14px;
}


.img-wrapper{
    position:relative;
}

.img-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay-box{
    position:absolute;
    bottom:20px;
    left:20px;
    right:20px;
    background:white;
    border-radius:20px;
    padding:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.overlay-box h4{
    color:#0C26A3;
    font-size: 20px;
}
.overlay-box p {
    font-size: 13px;
    color: #453D3B;
    margin: 0;
}

.slide-row.reverse-layout{
    flex-direction: row-reverse;
}

.slick-arrow i {
    line-height: 0;
    font-size: 2rem;
    color: #0C26A3;
}
.slick-dots li{
position: relative;
    width: auto;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.slick-dots li.slick-active button:before, .slick-dots li button:before {
    opacity: .75;
    content: " " !important;
    color: transparent;
}
/* contenedor de dots */
.slick-dots{
    display:flex !important;
    justify-content:center;
    align-items:center;
    margin-top:20px;
    padding:0;
    list-style:none;
    bottom: -40px;
}
.slick-dots li button{
    width:12px;
    height:12px;
    border-radius:50px;
    background:#0C26A34D;
    border:none;
    padding:0;
    font-size:0;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}

/* activo */
.slick-dots li.slick-active button{
    width:30px;
    background:#0C26A3;
}

.slick-dots li button{
    transform-origin:left center;
}

.slick-dots li.slick-active button{
    width:40px;
    border-radius:20px;
}








.medios-digitales-section .display-4 {
    font-weight: 500;
    color: #0C26A3;
    font-size: 35px;
}

.text-bg-azul {
    background-color: #0C26A3;
    color: white;
    border-radius: 25px;
    overflow: hidden;
}

.medios-digitales-section h3 {
    font-weight: 600;
    color: #fff;
    font-size: 30px;
}

.medios-digitales-section .lead {
    font-size: 18px;
    color: #fff;
    font-weight: 400;
}

/* Grupo de botones */
.medios-digitales-section .buttons-group {
    gap: 15px; /* Para navegadores modernos */
}


/* Botones personalizados */
.medios-digitales-section .btns {
    background-color: #fff;
    border-color: #0C26A3;
    color: #0C26A3;
       padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-size: 16px;
}

.medios-digitales-section .btns:hover {
    background-color: #9BA6D9;
    border-color: #9BA6D9;
    color: #fff;
    transform: translateX(-2px);
    text-decoration: none;

}

/* Imagen */
.medios-digitales-section .img-fluid {
    max-height: 400px;
    width: auto;
    object-fit: cover;
}





/* Video Hero a Pantalla Completa */
.video-hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Altura completa de la ventana */
    min-height: 400px;
    overflow: hidden;
    background-color: #000;
}

/* Contenedor del Poster */
.video-poster-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.poster-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el espacio */
    object-position: center;
}

.no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1.2rem;
}

/* Botón Play Centrado */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    transition: transform 0.3s ease;
    background: transparent;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:focus {
    outline: none;
}

.play-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.play-icon circle {
    fill: rgba(0,0,0,0.7);
    transition: fill 0.3s ease;
}

.play-icon polygon {
    fill: white;
}

.play-button:hover .play-icon circle {
    fill: rgba(255,0,0,0.8);
}

/* Efecto de pulso para el botón (opcional) */
.play-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Contenedor del Video */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.local-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .video-hero-section {
        height: 70vh; /* Altura reducida en móviles */
        min-height: 300px;
    }
    
    .play-icon {
        width: 60px;
        height: 60px;
    }
    
    @keyframes pulse {
        0% {
            transform: translate(-50%, -50%) scale(1);
        }
        50% {
            transform: translate(-50%, -50%) scale(1.08);
        }
        100% {
            transform: translate(-50%, -50%) scale(1);
        }
    }
}

@media (max-width: 480px) {
    .video-hero-section {
        height: 50vh;
        min-height: 250px;
    }
    
    .play-icon {
        width: 50px;
        height: 50px;
    }
}

/* Soporte para landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .video-hero-section {
        height: 100vh;
    }
}