/* Estilos generales para la sección multimedia */
.recursos-multimedia {
    padding: 2rem;
    background-color: #f8f9fa;
}

.multimedia-section {
    margin-bottom: 3rem;
}

.multimedia-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Estilos del reproductor de audio */
.audio-player-container {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.audio-player {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audio-info {
    text-align: center;
}

.audio-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.audio-description {
    color: #666;
    font-size: 0.9rem;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #2c3e50;
    padding: 0.5rem;
    transition: color 0.3s;
}

.control-btn:hover {
    color: #3498db;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress {
    position: absolute;
    height: 100%;
    background: #3498db;
    border-radius: 2px;
    width: 0%;
}

.time-info {
    font-size: 0.8rem;
    color: #666;
    min-width: 100px;
    text-align: center;
}

.volume-slider {
    width: 80px;
}

/* Estilos para la sección de videos */
.video-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.video-info {
    padding: 1rem;
}

.video-info h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.btn-watch {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
}

.btn-watch:hover {
    background: #2980b9;
}

/* Estilos para la sección de podcasts */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.podcast-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.podcast-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.podcast-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-play-podcast {
    background: #3498db;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-play-podcast:hover {
    background: #2980b9;
}

.podcast-progress {
    flex-grow: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

/* Estilos para la sección de subtítulos */
.subtitles-container {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-player {
    width: 100%;
    margin-bottom: 1rem;
}

.video-player video {
    width: 100%;
    border-radius: 5px;
}

.subtitles-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-subtitle {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-subtitle:hover {
    background: #e9ecef;
}

.btn-subtitle.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .recursos-multimedia {
        padding: 1rem;
    }

    .video-grid,
    .podcast-grid {
        grid-template-columns: 1fr;
    }

    .audio-controls {
        flex-wrap: wrap;
    }

    .volume-slider {
        width: 100%;
    }
}

.additional-multimedia {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin: 2rem 0;
}

.video-gallery, .photo-gallery, .articles-section, .podcast-section {
    margin-bottom: 3rem;
}

.video-grid, .photo-grid, .articles-grid, .podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.video-item, .photo-item, .article-card, .podcast-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-item:hover, .photo-item:hover, .article-card:hover, .podcast-card:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.article-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.read-more, .listen-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.read-more:hover, .listen-button:hover {
    background-color: #45a049;
}

.podcast-card {
    text-align: center;
}

.podcast-card i {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .video-grid, .photo-grid, .articles-grid, .podcast-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-multimedia {
        padding: 1rem;
    }
}

/* Estilos específicos para vídeos responsivos */
.video-item {
    width: 100%;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin: 1rem 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

.video-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.video-item p {
    color: #666;
    margin-top: 0.5rem;
}

.video-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #4CAF50;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .video-item {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .video-item h3 {
        font-size: 1.25rem;
    }

    .video-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .video-item {
        padding: 0.5rem;
        margin-bottom: 1rem;
    }

    .video-item h3 {
        font-size: 1.1rem;
    }

    .video-item p {
        font-size: 0.85rem;
    }
}

/* Media queries para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-item iframe {
        height: 250px;
    }
}

/* Media queries para pantallas grandes */
@media (min-width: 1025px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-item iframe {
        height: 315px;
    }
} 