/* films Fancy Gallery Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.films-body {
    background-color: #f8f9fa;
    /* Light gallery wall */
    font-family: 'Montserrat', sans-serif;
}

.films-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.films-header {
    text-align: center;
    margin-bottom: 60px;
}

.films-header-text {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    padding: 20px;
}

.films-header h1 {
    font-family: 'Playfair Display';
    font-size: clamp(2rem, 8vw, 3.5rem);
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.films-header p {
    font-style: italic;
    color: #666;
    font-size: 1.2rem;
}

/* Masonry Layout */
.films-wall {
    column-count: 3;
    column-gap: 40px;
}

.films-item {
    break-inside: avoid;
    margin-bottom: 60px;
    display: inline-block;
    width: 100%;
    position: relative;
    transition: transform 0.4s ease;
}

.films-item:hover {
    transform: translateY(-5px);
}

.frame-container {
    display: block;
    text-decoration: none;
    background: #fff;
    padding: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.4s ease;
}

.films-item:hover .frame-container {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}


.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

    .video-container.format-43 {
        padding-bottom: 75%; /* 4:3 Aspect Ratio */
    }

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px; /* pas aan (bijv. 50-90px) */
    background: transparent;
    z-index: 2;
    pointer-events: auto; /* belangrijk: overlay vangt de clicks af */
}

.museum-label {
    margin-top: 20px;
    padding: 10px 5px;
    border-top: 1px solid #eee;
}

.label-title {
    font-family: 'Playfair Display';
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 5px;
    display: block;
}

.label-meta {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.label-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 1200px) {
    .films-wall {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .films-wall {
        column-count: 1;
    }

    .films-container {
        padding: 20px 0;
    }

    .films-header {
        padding: 0 20px;
    }
}