/* ==========================================================================
   YS Modules — estilos compartidos de secciones reutilizadas entre páginas
   (Quiénes Somos intro, Listado de Cursos, Nuestros Clientes)
   Identidad visual: navy #00247e · acento naranja #cd7d0b
   ========================================================================== */

/* ===== Carrusel Docentes (Nuestro Equipo) ===== */
.ys-team-carousel-wrap {
    margin-top: 30px;
}
.post_team_idteam {
    position: relative;
    margin: 0;
    padding: 0 56px 56px;
}
.post_team_idteam.slick-initialized.slick-slider {
    display: block;
    width: 100%;
}
.post_team_idteam .ys-team-slide {
    padding: 0 12px;
    box-sizing: border-box;
}
.post_team_idteam .slick-list {
    overflow: hidden;
    margin: 0 -12px;
}
.post_team_idteam .slick-track {
    display: flex;
    align-items: stretch;
}
.post_team_idteam .slick-slide {
    height: auto;
    float: none;
}
.post_team_idteam .slick-slide > div {
    height: 100%;
}
.post_team_idteam .em-team,
.post_team_idteam .em-team-one {
    height: 100%;
}
.post_team_idteam .em-team-content-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

/* ---------- Flechas ---------- */
.post_team_idteam .slick-prev,
.post_team_idteam .slick-next {
    position: absolute !important;
    top: 42% !important;
    transform: translateY(-50%) !important;
    z-index: 3;
    width: 46px;
    height: 46px;
    line-height: normal;
    border-radius: 50%;
    background: #fff !important;
    border: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 36, 126, .18);
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all .3s ease;
}
.post_team_idteam .slick-prev { left: 0 !important; outline: none; }
.post_team_idteam .slick-next { right: 0 !important; outline: none; }
.post_team_idteam .slick-prev::before,
.post_team_idteam .slick-next::before {
    content: none;
}
.post_team_idteam .slick-prev i,
.post_team_idteam .slick-next i {
    color: #00247e;
    font-size: 16px;
    transition: color .3s ease;
}
.post_team_idteam .slick-prev:hover,
.post_team_idteam .slick-next:hover {
    background: linear-gradient(135deg, #00247e, #001852) !important;
    box-shadow: 0 14px 28px rgba(0, 36, 126, .3);
}
.post_team_idteam .slick-prev:hover i,
.post_team_idteam .slick-next:hover i {
    color: #fff;
}

/* ---------- Dots ---------- */
.post_team_idteam .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.post_team_idteam .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
    display: block;
    float: none;
}
.post_team_idteam .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 36, 126, .18);
    font-size: 0;
    cursor: pointer;
    transition: all .3s ease;
}
.post_team_idteam .slick-dots li button:before {
    content: none;
}
.post_team_idteam .slick-dots li.slick-active button {
    width: 26px;
    border-radius: 5px;
    background: linear-gradient(100deg, #cd7d0b, #f0a93a);
}

@media (max-width: 767px) {
    .post_team_idteam {
        padding: 0 44px 48px;
    }
    .post_team_idteam .slick-prev,
    .post_team_idteam .slick-next {
        width: 38px;
        height: 38px;
    }
}

/* ===== Carrusel Blog (Noticias Y Novedades) ===== */
.blog16_idblog1 {
    position: relative;
    padding: 0 55px 10px;
}
.blog16_idblog1 .slick-list {
    overflow: hidden;
}
.blog16_idblog1 .slick-track {
    display: flex;
}
.blog16_idblog1 .slick-slide {
    height: auto;
}
.blog16_idblog1 .slick-slide > div {
    height: 100%;
}
.blog16_idblog1 .busi_singleBlog {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog16_idblog1 .witr_sb_thumb {
    height: 220px;
}
.blog16_idblog1 .witr_sb_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog16_idblog1 .all_blog_color {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ---------- Flechas ---------- */
.blog16_idblog1.slick-initialized.slick-slider {
    opacity: 1 !important;
}
.blog16_idblog1 .slick-prev,
.blog16_idblog1 .slick-next {
    position: absolute !important;
    top: 38% !important;
    transform: translateY(-50%) !important;
    z-index: 2;
    width: 46px;
    height: 46px;
    line-height: normal;
    border-radius: 50%;
    background: #fff !important;
    border: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 36, 126, .18);
    cursor: pointer;
    opacity: 1 !important;
    transition: all .3s ease;
}
.blog16_idblog1 .slick-prev { left: 0 !important; outline: none; }
.blog16_idblog1 .slick-next { right: 0 !important; outline: none; }
.blog16_idblog1 .slick-prev::before,
.blog16_idblog1 .slick-next::before {
    content: none;
}
.blog16_idblog1 .slick-prev i,
.blog16_idblog1 .slick-next i {
    color: #00247e;
    font-size: 16px;
    transition: color .3s ease;
}
.blog16_idblog1 .slick-prev:hover,
.blog16_idblog1 .slick-next:hover {
    background: linear-gradient(135deg, #00247e, #001852) !important;
    box-shadow: 0 14px 28px rgba(0, 36, 126, .3);
}
.blog16_idblog1 .slick-prev:hover i,
.blog16_idblog1 .slick-next:hover i {
    color: #fff;
}

/* ===== Nuestros Clientes ===== */
.ys-clients-area {
    position: relative;
    padding: 90px 0 100px;
    background: #fff;
}
.ys-clients-area .brand_imagess_active {
    margin: 0 -15px;
}
.ys-clients-area .slick-track {
    display: flex;
    align-items: center;
}
.ys-clients-area .slick-slide {
    padding: 0 15px;
}
.ys-client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}
.ys-client-logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    transition: transform .35s ease;
}
.ys-client-logo:hover img {
    transform: scale(1.08);
}

/* ===== Quiénes Somos (intro) ===== */
.ys-about-intro {
    position: relative;
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}
.ys-about-img {
    position: relative;
}
.ys-about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 36, 126, .15);
}
.ys-about-badge {
    position: absolute;
    left: 25px;
    bottom: -25px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 35px rgba(0, 36, 126, .2);
    transition: transform .4s ease;
}
.ys-about-img:hover .ys-about-badge { transform: translateY(-6px); }
.ys-about-badge span {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cd7d0b, #f0a93a);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ys-about-badge h5 {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #00247e;
    margin: 0;
    line-height: 1.35;
}
.ys-about-text {
    color: #5b6478;
    margin-bottom: 28px;
}
.ys-about-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}
.ys-about-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-25px);
    animation: ysAboutListIn .6s ease forwards;
}
.ys-about-list li:nth-child(1) { animation-delay: .15s; }
.ys-about-list li:nth-child(2) { animation-delay: .35s; }
@keyframes ysAboutListIn { to { opacity: 1; transform: translateX(0); } }
.ys-about-list .icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: rgba(0, 36, 126, .07);
    color: #00247e;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s ease;
}
.ys-about-list li:hover .icon {
    background: linear-gradient(135deg, #00247e, #001852);
    color: #fff;
    transform: rotate(-8deg) scale(1.08);
}
.ys-about-list h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #00247e;
    margin-bottom: 6px;
}
.ys-about-list p {
    font-size: 14.5px;
    color: #5b6478;
    margin-bottom: 0;
}
.ys-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(100deg, #cd7d0b, #f0a93a);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .04em;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 12px 26px rgba(205, 125, 11, .3);
    transition: all .35s ease;
}
.ys-about-btn:hover {
    background: linear-gradient(100deg, #00247e, #001852);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 36, 126, .3);
}

/* ===== Listado de Cursos / Áreas de Formación ===== */
.ys-courses-area {
    position: relative;
    padding: 100px 0;
    background: #f4f6fb;
    overflow: hidden;
}
.ys-course-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 45px;
    box-shadow: 0 15px 40px rgba(0, 36, 126, .08);
    border: 1px solid rgba(0, 36, 126, .06);
    transition: all .4s ease;
}
.ys-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 36, 126, .18);
}
.ys-course-img {
    position: relative;
    margin-bottom: 32px;
}
.ys-course-img-inner {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #0c1a3d;
}
.ys-course-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    display: block;
    transition: transform .5s ease;
}
.ys-course-card:hover .ys-course-img img {
    transform: scale(1.1);
}
.ys-course-icon {
    position: absolute;
    left: 50%;
    bottom: -32px;
    transform: translateX(-50%);
    z-index: 3;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00247e, #001852);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 36, 126, .25);
    transition: all .4s ease;
}
.ys-course-card:hover .ys-course-icon {
    background: linear-gradient(135deg, #cd7d0b, #f0a93a);
    transform: translateX(-50%) rotate(360deg);
}
.ys-course-content {
    padding: 0 28px 28px;
    text-align: center;
}
.ys-course-tag {
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #cd7d0b;
    margin-bottom: 8px;
}
.ys-course-title {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #00247e;
    margin-bottom: 12px;
}
.ys-course-title a { color: inherit; text-decoration: none; }
.ys-course-text {
    font-size: 14.5px;
    color: #5b6478;
    margin-bottom: 22px;
}
.ys-course-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #00247e;
    border: 2px solid rgba(0, 36, 126, .15);
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .35s ease;
}
.ys-course-btn:hover {
    background: linear-gradient(100deg, #cd7d0b, #f0a93a);
    border-color: transparent;
    color: #fff;
    transform: translateX(4px);
}
