/* Estilos para miniaturas de video tipo YouTube */
.video-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.video-thumb-img {
    width: 100%;
    display: block;
    height: 250px; /* Ajuste estándar para tus cards */
    object-fit: cover;
    opacity: 0.85;
    transition: all 0.4s ease;
}

.video-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Permite que el click pase al enlace <a> */
}

.play-shape {
    width: 70px;
    height: 50px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.play-shape::before {
    content: "";
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent white;
}

/* EFECTOS AL PASAR EL MOUSE */
.video-wrapper:hover .video-thumb-img {
    opacity: 1;
    transform: scale(1.05);
}

.video-wrapper:hover .play-shape {
    background-color: #ff0000;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}