
/* Thumbnails de video en vista de lista */
.video-thumbnail-list {
    position: relative;
    width: 100%;
    height: 150px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

/* Estilos para videos en la portada (home carousel) */
.home-video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.home-video-thumbnail .video-poster-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.home-video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-video-overlay, .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.home-video-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-video-play-icon svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.home-video-overlay i, .video-overlay i {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
}

.home-video-overlay .video-label, .video-overlay .video-label {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Hover effect para videos en portada */
.item:hover .home-video-overlay,
.item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.item:hover .home-video-overlay i,
.item:hover .video-overlay i {
    transform: scale(1.15);
    color: #007cba;
}

.item:hover .home-video-play-icon svg {
    transform: scale(1.15);
}

/* Responsive para portada */
@media (max-width: 768px) {
    .home-video-overlay i,
    .video-overlay i {
        font-size: 2.8rem;
    }
    
    .home-video-overlay .video-label,
    .video-overlay .video-label {
        font-size: 0.9rem;
    }
    
    .home-video-play-icon svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .home-video-overlay i,
    .video-overlay i {
        font-size: 2.2rem;
    }
    
    .home-video-play-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* Estilos específicos para títulos en página de inicio */
.card-ospl .card-body h4.home-title {
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    -webkit-box: unset !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    word-break: normal !important;
}

.card-ospl .card-body h4.home-title a {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: normal !important;
}

/* Clases personalizadas para responsive */
.title-desktop {
    display: inline !important;
}

.title-mobile {
    display: none !important;
}

/* Estilos específicos para móvil */
@media (max-width: 767px) {
    .title-desktop {
        display: none !important;
    }
    
    .title-mobile {
        display: inline !important;
    }
    
    .card-ospl .card-body h4.home-title {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1rem !important;
    }
    
    .card-ospl .card-body h4.home-title a {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .card-ospl .card-body {
        padding: 0.75rem !important;
    }
}
