/* --- BASIS & THEMA --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --accent-color: #c5a059;
    --text-color: #f5f5f5;
    --bg-overlay: rgba(0, 0, 0, 0.8);
    --film-edge: #0a0a0a;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    margin: 0; background-color: #000;
    background-image: url('maria-bg.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    line-height: 1.5;
}

/* --- FILMSTRIP RANDEN (Blijven 1600px breedte omlijsten) --- */
body::before, body::after {
    content: ""; position: fixed; top: 0; width: 60px; height: 100%;
    background-color: var(--film-edge); z-index: 9999; pointer-events: none;
}
body::before { left: 0; border-right: 1px solid #222; background-image: radial-gradient(circle, #333 25%, transparent 25%); background-size: 100% 50px; }
body::after { right: 0; border-left: 1px solid #222; background-image: radial-gradient(circle, #333 25%, transparent 25%); background-size: 100% 50px; }

/* --- CONTAINERS --- */
.container-wide { max-width: 1600px; margin: 0 auto; padding: 0 100px; box-sizing: border-box; }
/* Nieuwe container voor de voorpagina: smaller voor betere leesbaarheid */
.container-standard { max-width: 1100px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

section { 
    position: relative; 
    z-index: 10; 
    background-color: var(--bg-overlay); 
    padding: 60px 0; 
    
    /* DE FIX: Dit zorgt ervoor dat de achtergrond meerekt met de floats */
    display: flow-root; 
    width: 100%;
    min-height: 100vh; /* Zorgt dat zelfs korte pagina's een volle achtergrond hebben */
}

/* --- HEADER --- */
header { background: rgba(0,0,0,0.95); padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid #222; }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; max-width: 1500px; margin: 0 auto; padding: 0 80px; }
.logo a { font-size: 1.6rem; letter-spacing: 4px; text-transform: uppercase; color: #fff; text-decoration: none; font-family: 'Playfair Display', serif; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
nav a { color: var(--text-color); text-decoration: none; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; }

/* --- INDEX.PHP: SMALLER & COMPACTER --- */

/* --- INDEX.PHP: DRIE KOLOMMEN BALANS --- */
.hero-home { height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0; background: transparent; }
.hero-content h1 { font-size: 4.5rem; letter-spacing: 12px; margin: 0; text-shadow: 2px 2px 30px #000; }

/* FIX: Nu verdeeld in 3 kolommen (Foto - Grote Tekst - Foto) */
/* --- INDEX.PHP: DRIE KOLOMMEN FIX --- */
.hero-home { 
    height: 70vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 0; 
    background: transparent; 
}

.hero-content h1 { 
    font-size: 4.5rem; 
    letter-spacing: 12px; 
    margin: 0; 
    text-shadow: 2px 2px 30px #000; 
}

/* Voorpagina: foto links - tekstblok midden - foto rechts */
.homage-grid { 
    display: grid; 
    grid-template-columns: minmax(160px, 220px) minmax(420px, 1fr) minmax(160px, 220px); 
    column-gap: 70px;
    row-gap: 40px; 
    align-items: center; 
    width: 100%;
}

.homage-grid .home-photo-wrapper:first-child {
    grid-column: 1;
}

.homage-grid .homage-text {
    grid-column: 2;
}

.homage-grid .home-photo-wrapper:last-child {
    grid-column: 3;
}

.homage-text {
    min-width: 0; /* Voorkomt dat tekst de kolom naar buiten drukt */
    text-align: left;
}

.homage-text h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--accent-color); }
.homage-text p { font-size: 1.05rem; margin-bottom: 20px; font-weight: 300; }
.quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.2rem; color: var(--accent-color); border-left: 2px solid var(--accent-color); padding-left: 20px; margin: 25px 0; }

.home-photo-wrapper { 
    width: 100%; 
    text-align: center; 
}

.img-fade { 
    width: 100%;
    max-width: 220px;
    height: 315px;
    object-fit: cover;
    border-radius: 2px; 
    filter: grayscale(30%); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6); 
    transition: 0.6s;
}

.home-photo-wrapper:hover .img-fade { 
    filter: grayscale(0%); 
    transform: translateY(-5px); 
}

/* Mobielvriendelijke fallback: pas bij heel smalle schermen onder elkaar */
@media (max-width: 950px) {
    .homage-grid { 
        grid-template-columns: 1fr; 
        gap: 34px;
    }
    .homage-grid .home-photo-wrapper:first-child,
    .homage-grid .homage-text,
    .homage-grid .home-photo-wrapper:last-child {
        grid-column: 1;
    }
    .homage-grid .home-photo-wrapper {
        max-width: 220px;
        margin: 0 auto;
    }
    .img-fade {
        height: auto;
    }
}




/* --- BIOGRAPHY.PHP: COMPACTE TIJDLIJN --- */
.timeline { 
    position: relative; 
    max-width: 1000px; 
    margin: 0 auto; 
    display: flow-root; /* Zorgt dat de container de items "vasthoudt" */
}

/* De clearfix die we eerder hadden, voor de zekerheid */
.timeline::after { 
    content: ""; 
    display: table; 
    clear: both; 
}
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: #444; margin-left: -0.5px; }

.timeline-item { 
    position: relative; width: 50%; padding: 10px 40px; box-sizing: border-box; 
    margin-bottom: 15px; clear: both; /* Minder margin-bottom voor compactheid */
}
.timeline-item.right { float: right; text-align: left; }
.timeline-item:not(.right) { float: left; text-align: right; }

/* De Bolletjes */

.timeline-item:not(.right)::after { right: -6px; }
.timeline-item.right::after { left: -6px; }

.timeline-item h3 { color: var(--accent-color); font-size: 1.4rem; margin: 0 0 5px 0; letter-spacing: 1px; }
.timeline-item .content-box { font-size: 0.95rem; line-height: 1.5; color: #ddd; }



/* --- TRIPLE COLUMN FILMOGRAPHY --- */
.film-grid-triple {
    display: grid;
    /* Force exactly 3 columns on the 1600px layout */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 40px;
}

.film-card {
    background: rgba(255,255,255,0.02);
    padding: 30px; /* Slightly more compact padding for 3 columns */
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 2px solid var(--accent-color); /* Bronze line at the top */
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.film-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.film-row {
    margin-bottom: 15px;
}

.film-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 5px;
    opacity: 0.8;
}

.film-value {
    font-size: 1rem;
    color: #eee;
    display: block;
}

.title-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem !important;
    font-weight: 700;
    line-height: 1.2;
}

.remarks-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #222;
}

.remarks-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #bbb;
}

/* Specific fix for images inside the 3-column remarks */
.remarks-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border: 1px solid #333;
}

/* Responsiveness: drop to 2 columns on medium screens, 1 on mobile */
@media (max-width: 1400px) {
    .film-grid-triple { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .film-grid-triple { grid-template-columns: 1fr; }
}

.page-title { text-align: center; font-size: 3rem; margin-bottom: 40px; letter-spacing: 6px; text-transform: uppercase; padding-top: 80px; }

/* Footer */
footer { background: #000; padding: 40px 0; text-align: center; border-top: 1px solid #222; }

@media (max-width: 800px) {
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; float: none !important; padding-left: 50px; text-align: left !important; }
    .timeline-item::after { left: 14px !important; }
    .homage-grid { grid-template-columns: 1fr; }
}

/* --- RELATIVES SINGLE COLUMN STYLING --- */
.relatives-list {
    margin-top: 40px;
}

.relative-card {
    background: rgba(255,255,255,0.02);
    padding: 60px; /* Ruime padding voor een luxe gevoel */
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 4px solid var(--accent-color);
    margin-bottom: 50px;
    transition: background 0.4s ease;
}

.relative-card:hover {
    background: rgba(255,255,255,0.04);
}

.relative-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.relative-header h3 {
    font-size: 2.2rem;
    margin: 0;
    color: #fff;
}

.relative-meta {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.relative-dates {
    color: #888;
    margin-left: 10px;
    font-weight: 300;
}

/* Zorg dat afbeeldingen in de biografie netjes schalen */
.relative-card .content-box img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border: 1px solid #333;
}

@media (max-width: 768px) {
    .relative-card {
        padding: 30px;
    }
    .relative-header h3 {
        font-size: 1.8rem;
    }
}

/* --- SOURCES PAGE STYLING --- */

/* Hero Image Styling */
.sources-hero {
    text-align: center;
    margin-bottom: 50px;
}

.sources-hero img {
    max-width: 600px; /* Beperk de grootte van de hoofdfoto */
    height: auto;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.sources-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 60px;
    line-height: 1.4;
}

/* Tabel Styling */
.sources-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 80px;
    background: rgba(255,255,255,0.02);
}

.sources-table th {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding: 20px;
}

.sources-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #222;
    vertical-align: top;
}

.source-title-cell {
    font-weight: 600;
    color: #fff;
    width: 30%; /* Kolombreedte voor titels */
}

.source-desc-cell {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Links in de tabel (voor externe bronnen) */
.source-desc-cell a {
    color: var(--accent-color);
    text-decoration: underline;
}

.source-desc-cell a:hover {
    color: #fff;
}

/* Hover effect op de rijen */
.sources-table tr:hover td {
    background: rgba(197, 160, 89, 0.05);
}

@media (max-width: 768px) {
    .source-title-cell { width: 40%; }
    .sources-title { font-size: 1.6rem; }
}

/* Afbeelding links, tekst rechts op de About pagina */
.about-content-wrapper .content-box figure.image {
    float: left;            /* Laat de foto links zweven */
    margin-right: 40px;     /* Ruimte tussen de foto en de tekst rechts */
    margin-bottom: 20px;    /* Ruimte onder de foto */
    margin-top: 5px;        /* Kleine correctie voor uitlijning met de eerste regel */
    max-width: 45%;         /* Zorgt dat de foto niet meer dan de helft van de breedte inneemt */
}

/* Zorg dat de tekst netjes blijft doorlopen en de container niet inklapt */
.about-content-wrapper .content-box {
    display: flow-root; 
}

/* Fix voor mobiel: op kleine schermen de foto weer boven de tekst zetten */
@media (max-width: 768px) {
    .about-content-wrapper .content-box figure.image {
        float: none;
        margin-right: 0;
        max-width: 100%;
        display: block;
        text-align: center;
    }
}

/* --- PHOTO PAGE: HERO COLLAGE --- */
.photo-hero-collage {
    position: relative;
    height: 550px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(30,30,30,1) 0%, rgba(0,0,0,1) 80%);
    overflow: hidden;
    border: 1px solid #1a1a1a;
}

.collage-item {
    position: absolute;
    width: 280px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), z-index 0s;
}

.collage-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border: 10px solid #fff; /* Wit fotopapier effect */
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

/* De posities van de 6 foto's in de collage */
.item-1 { left: 5%; transform: rotate(-10deg); z-index: 2; }
.item-2 { left: 20%; transform: rotate(5deg) translateY(-40px); z-index: 4; }
.item-3 { left: 35%; transform: rotate(-3deg) translateY(30px); z-index: 1; }
.item-4 { left: 50%; transform: rotate(8deg) translateY(-20px); z-index: 5; }
.item-5 { left: 65%; transform: rotate(-6deg) translateY(40px); z-index: 3; }
.item-6 { left: 80%; transform: rotate(12deg); z-index: 2; }

.collage-item:hover {
    transform: rotate(0deg) scale(1.15);
    z-index: 100;
}

.collage-title {
    position: absolute;
    z-index: 60;
    text-align: center;
    pointer-events: none;
}

.collage-title h1 {
    font-size: 4.5rem;
    letter-spacing: 12px;
    color: #fff;
    text-shadow: 0 0 40px #000;
    margin: 0;
}

/* --- FILTER BUTTONS --- */
.photo-filter {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #0a0a0a;
    border: 1px solid #333;
    color: #777;
    padding: 10px 22px;
    cursor: pointer;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(197, 160, 89, 0.05);
}

/* --- GALLERY GRID --- */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.film-frame {
    position: relative;
    padding: 15px 0; /* Filmstrook effect */
    background: #000;
    border-left: 1px solid #222;
    border-right: 1px solid #222;
    overflow: hidden;
}

.film-frame img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: 0.6s;
}

.photo-item-wrapper:hover .film-frame img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.year-tag {
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-top: 5px;
}
/* --- HERSTEL AANPASSINGEN 23-07: typografie, homepage button, Filmography, Relatives en Photos --- */
body {
    font-size: 18px;
    line-height: 1.75;
}

header {
    padding: 18px 0;
}

.logo a {
    font-size: 1.95rem;
}

nav ul {
    gap: 36px;
}

nav a {
    font-size: 0.95rem;
    letter-spacing: 2.4px;
    font-weight: 600;
}

.hero-content h1 {
    font-size: clamp(4.5rem, 8vw, 7.4rem);
}

.subtitle {
    font-size: 1.25rem;
    letter-spacing: 5px;
}

.homage-text h2 {
    font-size: 2.85rem;
}

.homage-text p,
.content-box,
.relative-card .content-box,
.sources-table td,
.source-desc-cell {
    font-size: 1.16rem;
    line-height: 1.8;
}

.quote {
    font-size: 1.45rem;
    line-height: 1.65;
}

.btn-outline,
.homage-text a.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 15px 28px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: rgba(197, 160, 89, 0.08);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    transition: all 0.35s ease;
}

.btn-outline:hover,
.homage-text a.btn-outline:hover {
    color: #000;
    background: var(--accent-color);
    box-shadow: 0 14px 34px rgba(0,0,0,0.45);
    transform: translateY(-3px);
}

.page-title {
    font-size: clamp(3.4rem, 5vw, 5.2rem);
    margin-bottom: 60px;
}

.film-card {
    padding: 38px;
}

.film-label {
    font-size: 0.82rem;
}

.film-value {
    font-size: 1.22rem;
    line-height: 1.55;
}

.title-value {
    font-size: 1.85rem !important;
    line-height: 1.28;
}

.remarks-content {
    font-size: 1.08rem;
    line-height: 1.8;
}

.relative-header h3 {
    font-size: 2.85rem;
    color: var(--accent-color);
}

.relative-meta {
    font-size: 1.05rem;
}

.relative-card .content-box h1,
.relative-card .content-box h2,
.relative-card .content-box h3,
.relative-card .content-box h4 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin: 34px 0 18px;
    line-height: 1.2;
}

.relative-card .content-box h2,
.relative-card .content-box h3 {
    font-size: 2.4rem;
}

.relative-card .content-box p {
    font-size: 1.16rem;
    line-height: 1.8;
}

.photo-meta {
    font-size: 1.05rem;
    line-height: 1.55;
}

.filter-btn {
    font-size: 0.9rem;
    padding: 13px 26px;
}

/* --- STANDAARD KOPLAYOUT zoals Filmography voor Sources en Photos --- */
.standard-page-heading {
    text-align: center;
    padding-top: 80px;
    margin-bottom: 54px;
}

.standard-page-heading .page-title {
    margin-bottom: 18px;
    color: var(--text-color);
}

.page-subtitle {
    max-width: 900px;
    margin: 0 auto;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.45;
    letter-spacing: 0.04em;
}

.page-intro-note {
    max-width: 980px;
    margin: 26px auto 0;
    padding: 22px 28px;
    background: rgba(0,0,0,0.48);
    border: 1px solid rgba(197,160,89,0.24);
    color: #e9e2d3;
    font-size: 1.08rem;
    line-height: 1.8;
}

.standard-feature-image {
    margin: 0 auto 64px;
    text-align: center;
}

.standard-feature-image figure {
    display: inline-block;
    margin: 0;
}

.standard-feature-image img,
.sources-hero img {
    max-width: min(760px, 100%);
    width: 100%;
    height: auto;
    border: 1px solid rgba(197,160,89,0.32);
    box-shadow: 0 18px 60px rgba(0,0,0,0.58);
}

.standard-feature-image figcaption,
.sources-hero figcaption {
    margin-top: 12px;
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
}

.sources-page .sources-table {
    font-size: 1.1rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(197,160,89,0.18);
}

.sources-page .sources-table th {
    font-size: 0.98rem;
    padding: 22px 24px;
}

.sources-page .sources-table td {
    padding: 30px 24px;
}

.sources-page .source-title-cell {
    font-size: 1.28rem;
    line-height: 1.5;
    color: #fff;
}

.sources-page .source-desc-cell {
    font-size: 1.12rem;
    line-height: 1.85;
    color: #e0e0e0;
}

.source-desc-cell a,
.sources-table a {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
    transition: all 0.22s ease;
}

.source-desc-cell a:hover,
.sources-table a:hover {
    color: #fff;
    border-bottom-color: #fff;
    transform: translateY(-1px);
}

.photos-page .photo-hero-collage {
    margin-top: 0;
}

.photos-page .collage-title {
    display: none;
}

@media (max-width: 1100px) {
    .container-wide {
        padding: 0 70px;
    }

    nav ul {
        gap: 22px;
    }

    nav a {
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    body::before,
    body::after {
        width: 22px;
    }

    .container-wide {
        padding: 0 36px;
    }

    .header-wrapper {
        padding: 0 34px;
        flex-direction: column;
        gap: 16px;
    }

    nav ul {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 0.74rem;
    }

    .page-title {
        font-size: clamp(2.5rem, 11vw, 3.7rem);
        letter-spacing: 4px;
    }

    .standard-page-heading {
        padding-top: 60px;
    }

    .page-subtitle {
        font-size: 1.25rem;
    }

    .page-intro-note {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .homage-text h2 {
        font-size: 2.25rem;
    }

    .film-card,
    .relative-card {
        padding: 30px;
    }

    .relative-header h3 {
        font-size: 2.2rem;
    }

    .relative-card .content-box h2,
    .relative-card .content-box h3 {
        font-size: 1.9rem;
    }

    .sources-table,
    .sources-table thead,
    .sources-table tbody,
    .sources-table th,
    .sources-table td,
    .sources-table tr {
        display: block;
        width: 100%;
    }

    .sources-table thead {
        display: none;
    }

    .sources-table tr {
        border-bottom: 1px solid rgba(197,160,89,0.22);
        padding: 18px 0;
    }

    .sources-table td {
        border-bottom: 0;
        padding: 10px 18px;
    }

    .source-title-cell {
        width: auto;
        font-size: 1.2rem;
    }

    .photo-hero-collage {
        height: 430px;
    }
}


/* --- CORRECTIE 23-07: Photos en Sources koppen centreren --- */
/* De algemene header-styling van het hoofdmenu mag niet op de paginakoppen werken. */
.standard-page-heading {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 1100px;
    margin: 0 auto 54px !important;
    padding: 80px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box;
}

.standard-page-heading .page-title {
    display: block;
    width: 100%;
    margin: 0 auto 18px !important;
    padding-top: 0 !important;
    text-align: center !important;
}

.standard-page-heading .page-subtitle {
    display: block;
    width: 100%;
    max-width: 850px;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Geen zwart vlak achter de introtekst op Photos. */
.standard-page-heading .page-intro-note {
    display: block;
    max-width: 980px;
    margin: 26px auto 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #e9e2d3;
    text-align: center !important;
}

.sources-page .standard-feature-image,
.photos-page .photo-hero-collage,
.sources-page .sources-table,
.photos-page .photo-filter,
.photos-page .photo-gallery {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .standard-page-heading {
        max-width: 100%;
        padding-top: 55px !important;
        margin-bottom: 38px !important;
    }
}

/* --- CONTACT & ABOUT LINKS DUIDELIJKER --- */
.about-content-wrapper .content-box a,
.about-content-wrapper .content-box a:visited,
.content-section .content-box a,
.content-section .content-box a:visited {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    font-weight: 700;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.about-content-wrapper .content-box a:hover,
.about-content-wrapper .content-box a:focus,
.content-section .content-box a:hover,
.content-section .content-box a:focus {
    color: var(--accent-color);
    text-decoration-color: var(--accent-color);
}

.about-content-wrapper .content-box a:active,
.content-section .content-box a:active {
    color: #ffffff;
}


/* --- FILMOGRAPHY INTRO MET FOTO EN TEKST --- */
.filmography-intro-block {
    display: grid;
    grid-template-columns: minmax(300px, 520px) minmax(360px, 1fr);
    gap: 46px;
    align-items: start;
    max-width: 1180px;
    margin: -24px auto 70px;
}

.filmography-intro-image {
    margin: 0;
    text-align: center;
}

.filmography-intro-image img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border: 1px solid rgba(197,160,89,0.32);
    box-shadow: 0 18px 54px rgba(0,0,0,0.5);
}

.filmography-intro-image figcaption {
    max-width: 92%;
    margin: 14px auto 0;
    color: rgba(255,255,255,0.84);
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    line-height: 1.45;
}

.filmography-intro-text {
    color: #f2eee6;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.55;
}

.filmography-intro-text p {
    margin: 0 0 28px;
}

/* --- PHOTOS LIGHTBOX GROTER + POLAROID-KADER --- */
.maria-polaroid-lightbox .fancybox__backdrop {
    background: rgba(0,0,0,0.86);
}

.maria-polaroid-lightbox .fancybox__slide {
    padding: 46px 34px;
}

.maria-polaroid-lightbox .fancybox__slide.has-image .fancybox__content {
    background: #f7f1e5;
    padding: 22px 22px 82px;
    border-radius: 3px;
    box-shadow: 0 28px 90px rgba(0,0,0,0.72);
    max-width: min(94vw, 1180px) !important;
    max-height: 92vh !important;
}

.maria-polaroid-lightbox .fancybox__image {
    max-width: min(88vw, 1120px) !important;
    max-height: calc(92vh - 130px) !important;
    object-fit: contain;
}

.maria-polaroid-lightbox .fancybox__caption {
    max-width: min(94vw, 1180px);
    margin: -62px auto 0;
    padding: 0 34px 22px;
    color: #1b1b1b;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.45;
    text-align: center;
    position: relative;
    z-index: 2;
}

.maria-polaroid-lightbox .f-button.is-close-btn,
.maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close] {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,0.82);
    color: #fff;
    border: 1px solid rgba(197,160,89,0.75);
    opacity: 1;
}

.maria-polaroid-lightbox .f-button.is-close-btn:hover,
.maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close]:hover {
    background: var(--accent-color);
    color: #000;
}

@media (max-width: 900px) {
    .filmography-intro-block {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 52px;
    }

    .filmography-intro-text {
        text-align: center;
        font-size: 1.22rem;
    }

    .maria-polaroid-lightbox .fancybox__slide {
        padding: 26px 14px;
    }

    .maria-polaroid-lightbox .fancybox__slide.has-image .fancybox__content {
        padding: 14px 14px 66px;
    }
}

/* --- CORRECTIE 23-07: uniforme typografie + duidelijke Photos sluitknop --- */
/* Basis: leesbaar voor oudere doelgroep, maar overal hetzelfde letterbeeld. */
body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.75;
}

.content-section,
.content-section p,
.content-box,
.homage-text p,
.filmography-intro-text,
.relative-card .content-box,
.sources-table td,
.source-desc-cell,
.photo-meta {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.16rem;
    line-height: 1.8;
}

/* Alleen titels houden het elegante titellettertype. */
h1, h2, h3,
.page-title,
.logo a,
.title-value,
.quote,
.page-subtitle,
.relative-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Filmography intro gelijk trekken met de rest van de pagina's. */
.filmography-intro-block {
    align-items: center;
    gap: 46px;
}

.filmography-intro-text {
    color: #e9e2d3;
    font-size: 1.16rem !important;
    line-height: 1.8 !important;
    font-weight: 400;
}

.filmography-intro-text p {
    margin: 0 0 22px;
}

.filmography-intro-image figcaption,
.standard-feature-image figcaption,
.sources-hero figcaption {
    font-size: 1rem;
    line-height: 1.55;
}

/* Menu blijft aanwezig en goed leesbaar, ook op kleinere schermen. */
nav a {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Photos lightbox: sluitknop altijd zichtbaar bovenop het polaroid-kader. */
.maria-polaroid-lightbox .fancybox__toolbar {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 100000 !important;
}

.maria-polaroid-lightbox .f-button.is-close-btn,
.maria-polaroid-lightbox .fancybox__content > .f-button.is-close-btn,
.maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -18px !important;
    right: -18px !important;
    z-index: 100001 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 50% !important;
    background: #0b0b0b !important;
    color: #ffffff !important;
    border: 2px solid var(--accent-color) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.65) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close] {
    position: fixed !important;
    top: 28px !important;
    right: 28px !important;
}

.maria-polaroid-lightbox .f-button.is-close-btn svg,
.maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close] svg {
    display: none !important;
}

.maria-polaroid-lightbox .f-button.is-close-btn::before,
.maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close]::before {
    content: "\00d7";
    display: block;
    font-family: Arial, sans-serif;
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
    color: inherit;
}

.maria-polaroid-lightbox .f-button.is-close-btn:hover,
.maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close]:hover {
    background: var(--accent-color) !important;
    color: #000000 !important;
}

@media (max-width: 900px) {
    body {
        font-size: 17px;
    }

    .content-section,
    .content-section p,
    .content-box,
    .homage-text p,
    .filmography-intro-text,
    .relative-card .content-box,
    .sources-table td,
    .source-desc-cell,
    .photo-meta {
        font-size: 1.05rem;
        line-height: 1.72;
    }

    .filmography-intro-text {
        text-align: left;
        font-size: 1.05rem !important;
    }

    nav a {
        font-size: 0.82rem;
    }

    .maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close] {
        top: 18px !important;
        right: 18px !important;
    }
}

@media (max-width: 600px) {
    body::before,
    body::after {
        display: none;
    }

    .container-wide,
    .container-standard {
        padding-left: 20px;
        padding-right: 20px;
    }

    .filmography-intro-block {
        gap: 24px;
    }

    .maria-polaroid-lightbox .f-button.is-close-btn,
    .maria-polaroid-lightbox .fancybox__toolbar .f-button[data-fancybox-close] {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
}
