/* =================================================
   UComp Equipo Carrusel v3.2 — carrusel.css
   !important en flex crítico para WPBakery
   ================================================= */

.ucomp2-wrap {
    width: 100% !important;
    position: relative !important;
    padding-top: 80px !important;
    padding-bottom: 32px !important;
    overflow: hidden !important;
    cursor: grab;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box !important;
}
.ucomp2-wrap.ucomp2-dragging { cursor: grabbing !important; }

/* CRÍTICO — WPBakery sobreescribe esto */
.ucomp2-wrap .ucomp2-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ucomp2-wrap .ucomp2-slide {
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    float: none !important;
}

.ucomp2-wrap .ucomp2-card {
    background: #fff !important;
    border: 1px solid #ede8fb !important;
    border-radius: 16px !important;
    overflow: visible !important;
    box-shadow: 0 2px 14px rgba(109,32,229,.08) !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    width: 100% !important;
    position: relative !important;
    pointer-events: none;
    transition: box-shadow .25s, transform .25s;
    margin: 0 !important;
}
.ucomp2-wrap:not(.ucomp2-dragging) .ucomp2-card { pointer-events: auto; }
.ucomp2-wrap .ucomp2-card:hover {
    box-shadow: 0 10px 32px rgba(109,32,229,.18) !important;
    transform: translateY(-3px);
}
.ucomp2-wrap .ucomp2-card--decano {
    border: 2px solid #6D20E5 !important;
}

/* FOTO — sobresale hacia arriba */
.ucomp2-wrap .ucomp2-foto {
    width: 100% !important;
    margin-top: -70px !important;
    flex-shrink: 0 !important;
    line-height: 0 !important;
    position: relative !important;
    display: block !important;
}
.ucomp2-wrap .ucomp2-foto img {
    width: 100% !important;
    max-height: 230px !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    display: block !important;
    border-radius: 12px 12px 0 0 !important;
    pointer-events: none;
    -webkit-user-drag: none;
}
.ucomp2-wrap .ucomp2-foto::after {
    content: '' !important;
    display: block !important;
    width: 45%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6D20E5, transparent);
    margin: 4px auto 0;
}

/* INICIALES fallback */
.ucomp2-wrap .ucomp2-iniciales {
    width: 100% !important;
    height: 160px !important;
    background: linear-gradient(135deg, #6D20E5, #2A004E) !important;
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px 12px 0 0 !important;
}

/* BODY */
.ucomp2-wrap .ucomp2-body {
    padding: 10px 14px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    flex: 1 !important;
    box-sizing: border-box !important;
}

.ucomp2-wrap .ucomp2-badge {
    display: inline-block !important;
    background: #6D20E5 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
    border-radius: 20px !important;
    padding: 3px 14px !important;
    margin-bottom: 6px !important;
}

.ucomp2-wrap .ucomp2-cargo {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    color: #FF7000 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    margin: 0 0 4px !important;
}

.ucomp2-wrap .ucomp2-nombre {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #2A004E !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
}

.ucomp2-wrap .ucomp2-subtitulo {
    font-size: 10px !important;
    color: #6D20E5 !important;
    font-style: italic !important;
    margin: 0 0 6px !important;
}

.ucomp2-wrap .ucomp2-programas {
    font-size: 10.5px !important;
    color: #777 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}
