/* assets/css/multimedia.css */
/* MULTIMEDIA */
.multimedia-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/multimedia-banner.jpg') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.videos-grid, .podcasts-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-card, .podcast-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.video-card:hover, .podcast-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    height: 180px;
}

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

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-btn {
    opacity: 1;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    margin-bottom: 5px;
}

.meta {
    font-size: 0.9rem;
    color: var(--secondary);
}

.podcast-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.podcast-thumbnail {
    height: 180px;
}

.podcast-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.podcast-info audio {
    width: 100%;
    margin-top: 15px;
}

.series {
    font-style: italic;
    color: var(--primary);
    margin-bottom: 5px;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.text-center {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .videos-grid, .podcasts-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
}