/* Estilos para la página de videos - Versión compacta */
    .contenido-principal {
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px 15px;
    }
    
    .titulo-principal {
        font-size:1.2rem;
        color: #2a5298;
        margin-bottom: 20px;
        text-align: center;
        padding-bottom: 15px;
        border-bottom: 1px solid #eaeaea;
        font-weight: 600;
    }
    
    .categorias-filtro {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin: 25px 0;
    }
    
    .categoria-btn {
        padding: 8px 16px;
        background: #f8f9fa;
        border: 1px solid #e0e0e0;
        border-radius: 30px;
        text-decoration: none;
        color: #555;
        font-weight: 500;
        font-size: 0.85rem;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .categoria-btn:hover {
        background: #2a5298;
        color: white;
        border-color: #2a5298;
    }
    
    .categoria-btn.active {
        background: #2a5298;
        color: white;
        border-color: #2a5298;
    }
    
    .categoria-btn i {
        font-size: 0.85rem;
    }
    
    .videos-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }
    
    @media (max-width: 768px) {
        .videos-container {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .titulo-principal {
            font-size: 1.2rem;
        }
        
        .categoria-btn {
            padding: 6px 14px;
            font-size: 0.8rem;
        }
    }
    
    .video-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        transition: all 0.2s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .video-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    }
    
    .video-thumbnail {
        position: relative;
        height: 180px;
        overflow: hidden;
    }
    
    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .play-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
    .video-card:hover .play-overlay {
        opacity: 1;
    }
    
    .play-overlay i {
        font-size: 3rem;
        color: white;
    }
    
    .video-duration {
        position: absolute;
        bottom: 8px;
        right: 8px;
        background: rgba(0,0,0,0.8);
        color: white;
        padding: 3px 6px;
        border-radius: 3px;
        font-size: 0.75rem;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .video-category {
        position: absolute;
        top: 8px;
        left: 8px;
        background: #2a5298;
        color: white;
        padding: 3px 8px;
        border-radius: 3px;
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    .video-content {
        padding: 15px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .video-title {
        font-size: 1.1rem;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.3;
        font-weight: 600;
    }
    
    .video-description {
        color: #666;
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 10px;
        flex-grow: 1;
    }
    
    .video-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
        padding-top: 12px;
        border-top: 1px solid #eee;
        font-size: 0.8rem;
        color: #777;
    }
    
    .video-date {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    /* Modal de video */
    .video-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.9);
        z-index: 10000;
        align-items: center;
        justify-content: center;
        padding: 15px;
    }
    
    .modal-content {
        position: relative;
        width: 95%;
        max-width: 900px;
        background: black;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .modal-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 10001;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .video-player {
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
        position: relative;
    }
    
    .video-player iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
    
    /* Mensaje sin videos */
    .no-videos {
        text-align: center;
        padding: 40px 15px;
        color: #666;
        grid-column: 1 / -1;
    }
    
    .no-videos i {
        font-size: 3rem;
        margin-bottom: 15px;
        color: #ccc;
    }
    
    .no-videos h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        color: #555;
    }
    
    .no-videos p {
        max-width: 500px;
        margin: 0 auto 15px;
        line-height: 1.5;
        font-size: 0.9rem;
    }
    
    /* Contador de videos */
    .video-counter {
        text-align: center;
        color: #666;
        font-size: 0.9rem;
        margin: 15px 0;
        padding: 8px;
        background: #f8f9fa;
        border-radius: 6px;
        display: inline-block;
        margin-left: 50%;
        transform: translateX(-50%);
    }
    
    /* Iconos más pequeños */
    .fa-play-circle,
    .fa-th-large,
    .fa-video,
    .fa-exclamation-triangle,
    .fa-video-slash {
        font-size: 0.9em;
    }

        /* Estilos adicionales para enlaces de canal */
        .video-channel-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #ff0000;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            margin-top: 5px;
            padding: 4px 10px;
            background: rgba(255, 0, 0, 0.05);
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .video-channel-link:hover {
            background: rgba(255, 0, 0, 0.1);
            color: #cc0000;
            transform: translateY(-2px);
        }
        
        .video-channel-link i {
            font-size: 1.1rem;
        }
        
        .author-info {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-bottom: 10px;
        }
        
        .video-author {
            margin: 0;
            font-size: 0.9rem;
            color: #666;
        }
        
        .video-author i {
            margin-right: 5px;
        }
