/* 
Archivo: carrusel.css
Descripción: Estilos personalizados para "Carruseles".
Autor: Claudia R. M. - Nexbu
Fecha: 20 Enero 2026
*/
/*** Carruseles ***/
.swiper-pagination {
    bottom: 0px!important;
    text-align: left!important;
}
.box-carrusel .swiper {
    padding-top: 47px!important;
}
.cicloFormacionSwiper .swiper-wrapper, .cicloFormacionVideoSwiper .swiper-wrapper {
    padding-bottom: 40px;
}
.box-carrusel .swiper:before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255 255 255) 100%);
    content: "";
    height: 100%;
    position: absolute;
    pointer-events: none;
    right: -2px;
    width: 335px;
    z-index: 9;
}
.box-carrusel.entrada .swiper:before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(246 246 246) 100%);
}
.ciclo-card-link {
    position: absolute;
    inset: 0;
    z-index: 9;
}
.ciclo-card, .ciclo-video-card {
    font-family: "Montserrat", sans-serif;
    overflow: hidden;
}
.ciclo-thumb {
    border: 1.5px solid #c2bdbd57;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.ciclo-video-card .ciclo-thumb {
    border-width: 0;
}
.ciclo-thumb img {
    display: block;
    height: 177px;
    object-fit: cover;
    width: 100%;
}
.ciclo-video-card .ciclo-thumb img {
    height: 300px;
}
.icon-play, .btn-articulo {
    align-items: center;
    bottom: 50%;
    display: flex;
    left: 50%;
    opacity: 0;
    justify-content: center;
    position: absolute;
    transition: transform .35s ease, opacity .35s ease;
    transform: translate(-50%, 60px);
    z-index: 1;
}
/* Hover */
.swiper-slide:hover .icon-play, .swiper-slide:hover .btn-articulo {
    transform: translate(-50%, 45%);
    opacity: 1;
}
.btn-articulo {
    background: #DE6A4D;
    border-radius: 50px;
    color: #fff!important;
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    padding: 10px 16px;
}
.ciclo-content {
    padding-top: 20px;
}
.ciclo-card  h3 {
    color: #363150;
    font-size: 14px;
    font-weight: 700;
    margin-top: 0;
}
.ciclo-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}
.ciclo-tag span {
    color: #88939A;
    font-size: 13px;
    margin-block-end: 0;
}
.ciclo-tag .autor {
    color: #242B30;
    flex-shrink: 0;
    font-weight: 500;
    white-space: nowrap;
}
.ciclo-tag .separador {
    flex-shrink: 0;
}
.ciclo-tag .categoria {
    min-width: 0;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.text-blanco h3, .text-blanco .autor, .text-blanco .categoria, .text-blanco .texto-articulos {
    color: #fff!important;
}
.texto-articulos {
    display: -webkit-box;
    font-size: 12px;
    margin-bottom: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Carrusel 3 */
.ciclo-video-card {
    color: #fff;
}
.ciclo-video-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
}
.descripcion-video {
    display: -webkit-box;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ciclo-bottom {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.autor-imagen {
    border-radius: 50px;
    height: 36px;
    overflow: hidden;
    width: 36px;
}
.autor-meta span {
    color: #fff!important;
    font-size: 15px;
}
/* Bullet */
span.swiper-pagination-bullet {
    background-color: #a69f9f;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active, span.swiper-pagination-bullet:hover {
    background-color: #c2bdbd;
}
.cicloFormacionVideoSwiper span.swiper-pagination-bullet {
    background-color: #f9f9f9;
}
.cicloFormacionVideoSwiper span.swiper-pagination-bullet.swiper-pagination-bullet-active, .cicloFormacionVideoSwiper span.swiper-pagination-bullet:hover {
    background-color: #ffffffb5;
}
.sin-biografia .autor-descripcion {
    display: none;
}
/* Flechas */
.swiper-button-next {
    background-color: transparent!important;
    border-width: 0!important;
    left: -4%;
    padding: 0!important;
    opacity: 0.5;
    right: inherit;
    transition: all .4s;
}
.swiper-button-next:hover {
    opacity: 1;
}
.carrusel-full .swiper-button-next {
    left: 2%;
}
.swiper-button-next:after {
    color: #c2bdbd;
    font-size: 30px;
    transform: rotate(180deg);
}
.carrusel-full .swiper-button-next:after {
    color: #fff;
}
/* Autor */
.autor-formacion-box {
    font-family: "Montserrat", sans-serif;
}
.autor-info {
    align-items: center;
    display: flex;
    gap: 10px;
}
.autor-info h3 {
    color: #383170;
    font-size: 12px;
    font-weight: 600;
    margin: 0;
}
.autor-info .autor-imagen {
    height: 56px;
    width: 56px;
}
.autor-descripcion p {
    color: #1C1C1C;
    font-size: 16px;
    line-height: 1.4em;
    padding-top: 40px;
}
/*** Fin: Carruseles ***/
/*** Responsive ***/
/* Pantalla grande */
@media (min-width: 2500px) {
    .cicloFormacionVideoSwiper {
        margin-right: 0;
        max-width: 85%;
    }
    .ciclo-video-card .ciclo-thumb img {
        height: 350px;
    }
}
/* Tablet */
@media (max-width: 1024px) {
    .box-carrusel .swiper {
        padding-top: 20px!important;
    }
    .ciclo-thumb {
        border-radius: 15px;
    }
    .ciclo-thumb img {
        height: 160px;
    }
    .icon-play, .btn-articulo {
        transform: translate(-50%, 60px) scale(0.8);
    }
    .swiper-slide:hover .icon-play, .swiper-slide:hover .btn-articulo {
        transform: translate(-50%, 45%) scale(0.8);
    }
    .ciclo-tag span, .autor-meta span {
        font-size: 12px;
    }
    .descripcion-video {
        font-size: 12px;
    }
    .ciclo-content {
        padding-top: 15px;
    }
    .texto-articulos {
        font-size: 10px;
        margin-top: -10px;
    }
    .autor-descripcion p {
        font-size: 15px;
        padding-top: 20px;
    }
}
/* Mobile */
@media (max-width: 767px) {
    .ciclo-thumb img {
        height: 120px;
    }
    .ciclo-video-card .ciclo-thumb img {
        height: 150px;
    }
    .box-carrusel .swiper:before {
        width: 200px;
    }
    .ciclo-tag {
        gap: 3px;
    }
    .ciclo-card h3 {
        font-size: 12px;
    }
    .ciclo-tag span, .autor-meta span {
        font-size: 11px;
    }
    .ciclo-video-card h3 {
        font-size: 16px;
    }
    .btn-articulo {
        width: 140px;
    }
    .autor-descripcion p {
        font-size: 14px;
    }
    .swiper-button-next {
        left: -23px;
    }
    .swiper-button-next:after {
        font-size: 18px;
    }
    .carrusel-full .swiper-button-next {
        left: 0;
    }
    span.swiper-pagination-bullet {
        height: 10px;
        width: 10px;
    }
}
/*** Fin: Responsive ***/