/* ===========================
   WP Shorts Pro v2
=========================== */

html,
body{
    margin:0;
    padding:0;
    background:#000;
}

.wp-shorts{
    position:relative;
    width:100%;
    height:100vh;
    background:#000;
    overflow:hidden;
}

.shortsSwiper{
    width:100%;
    height:100%;
}

.swiper-slide{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:#000;
}

.short-item{
    position:relative;
    width:100%;
    height:100%;
}

.short-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#000;
}

/* Oscurece ligeramente para leer el texto */
.short-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,.05),
        rgba(0,0,0,.15),
        rgba(0,0,0,.70)
    );
    pointer-events:none;
}

/* Información */

.short-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:20;
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    padding:25px;
    box-sizing:border-box;
}

.short-info{
    width:72%;
    color:#fff;
}

.short-info h2{
    margin:0 0 10px;
    font-size:24px;
    font-weight:700;
}

.short-info p{
    margin:0;
    font-size:15px;
    line-height:1.6;
    color:#ddd;
}

/* Botones */

.short-actions{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
}

.short-action{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.short-actions button{
    width:60px;
    height:60px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    color:#fff;
    font-size:24px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    transition:.25s;
}

.short-actions button:hover{
    transform:scale(1.12);
    background:#ff0050;
}

.short-actions span{
    margin-top:6px;
    color:#fff;
    font-size:13px;
}

/* Botón Play */

.short-play{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:90px;
    height:90px;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:38px;
    opacity:0;
    transition:.3s;
    pointer-events:none;
    z-index:30;
}

.short-item.paused .short-play{
    opacity:1;
}

/* Barra de progreso */

.short-progress{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:rgba(255,255,255,.15);
    z-index:30;
}

.short-progress span{
    display:block;
    width:0%;
    height:100%;
    background:#ff0050;
}

/* Loader */

.short-loader{
    position:absolute;
    left:50%;
    top:50%;
    width:45px;
    height:45px;
    margin-left:-22px;
    margin-top:-22px;
    border:4px solid rgba(255,255,255,.20);
    border-top:4px solid #fff;
    border-radius:50%;
    animation:spin 1s linear infinite;
    z-index:50;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

/* Animaciones */

.short-info{
    animation:fadeUp .4s;
}

.short-actions{
    animation:fadeRight .4s;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(35px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes fadeRight{
    from{
        opacity:0;
        transform:translateX(30px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

/* Responsive */

@media(max-width:768px){

.short-overlay{
padding:18px;
}

.short-info{
width:65%;
}

.short-info h2{
font-size:20px;
}

.short-actions button{
width:54px;
height:54px;
font-size:22px;
}

}

@media(max-width:480px){

.short-info{
width:60%;
}

.short-info h2{
font-size:18px;
}

.short-info p{
font-size:13px;
}

.short-actions button{
width:50px;
height:50px;
font-size:20px;
}

}