@charset "UTF-8";
/* =======================================================
   Website ter nagedachtenis aan Indy Looijmans
   Moderne, warme, speelse vormgeving
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Quicksand:wght@300;400;500;600;700&family=Caveat:wght@500;700&display=swap');

:root {
    --plum-dark: #4a2f5e;
    --plum: #6d4887;
    --plum-light: #a07dbd;
    --pink: #e8a5c0;
    --pink-soft: #fce4ec;
    --pink-deep: #c94a6b;
    --cream: #fff8ed;
    --peach: #ffe9d9;
    --ink: #2d1f3a;
    --gold: #d9a55a;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', 'Segoe UI', -apple-system, sans-serif;
    color: var(--ink);
    line-height: 1.7;
    min-height: 100vh;
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;        /* voorkom horizontale overflow / auto-zoom */
    background:
        radial-gradient(ellipse at top left, rgba(232, 165, 192, 0.25), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(160, 125, 189, 0.2), transparent 55%),
        linear-gradient(180deg, #fff8ed 0%, #fce4ec 50%, #f4e4f0 100%);
    background-attachment: fixed;
}

/* Decoratieve achtergrondfoto (subtiel) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('../images/back_algemeen2.jpg') repeat;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}

a { color: var(--pink-deep); text-decoration: none; transition: all .2s ease; }
a:hover { color: var(--plum); text-decoration: underline; }
a:visited { color: var(--plum-light); }

/* =================== HEADER =================== */
.site-header {
    position: relative;
    z-index: 1;
    padding: 60px 20px 40px;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 248, 237, 0.92), rgba(252, 228, 236, 0.92)),
        url('../images/back_algemeen2.jpg') center/cover;
    border-bottom: 1px solid rgba(232, 165, 192, 0.4);
    box-shadow: 0 6px 24px rgba(106, 72, 135, 0.08);
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: -1;
}
.site-header::before {
    background: var(--pink);
    top: -100px;
    left: -80px;
}
.site-header::after {
    background: var(--plum-light);
    bottom: -120px;
    right: -80px;
}

.site-header h1 {
    margin: 0 0 4px;
    font-family: 'Dancing Script', cursive;
    font-size: 3.2em;          /* vaste maat - identiek op elke pagina */
    font-weight: 700;
    color: var(--plum-dark);
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 #fff, 4px 4px 10px rgba(74, 47, 94, 0.18);
    line-height: 1.1;
}
@media (max-width: 600px) {
    .site-header h1 { font-size: 2.2em; }
}

.site-header .dates {
    font-family: 'Caveat', cursive;
    font-size: 1.5em;
    color: var(--plum);
    margin: 8px 0 14px;
    letter-spacing: .5px;
}

.site-header .tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.35em;
    color: var(--pink-deep);
    font-style: normal;
    margin-top: 6px;
}

.site-header .heart {
    color: var(--pink-deep);
    font-size: 1em;
    margin: 0 10px;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.25); }
    40% { transform: scale(1); }
    60% { transform: scale(1.15); }
}

/* =================== NAVIGATIE =================== */
.nav-burger {
    display: none;
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 200;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--plum-dark);
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    transition: all .25s;
    border-radius: 2px;
}
.nav-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { opacity: 0; }
.nav-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
    position: sticky;
    top: 0;
    z-index: 150;
    background: linear-gradient(180deg, rgba(74, 47, 94, 0.97), rgba(74, 47, 94, 0.93));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.main-nav > ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    height: 56px;
}

.main-nav li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 56px;
    display: block;
}

.main-nav a,
.main-nav .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    margin: 0;
    color: #fef1f5;
    padding: 0 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: .92em;
    font-weight: 500;
    line-height: 1;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    letter-spacing: .2px;
    transition: background .2s ease, color .2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    text-decoration: none;
}

.main-nav .caret {
    display: inline-block;
    margin-left: 3px;
    font-size: .7em;
    transition: transform .25s;
    opacity: .75;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav .nav-toggle:hover,
.main-nav .nav-toggle:focus {
    background: rgba(232, 165, 192, 0.15);
    color: #fff;
    text-decoration: none;
    outline: none;
}

.main-nav .has-sub.open > .nav-toggle {
    background: rgba(232, 165, 192, 0.22);
    color: #fff;
}

.main-nav .has-sub.open > ul { display: block; }
.main-nav .has-sub.open .caret { transform: rotate(180deg); }

.main-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(180deg, var(--plum-dark), #3a2550);
    min-width: 210px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    padding: 6px 0;
    z-index: 1000;
}

.main-nav ul ul li { display: block; width: 100%; }
.main-nav ul ul a {
    padding: 11px 20px;
    font-size: .9em;
}
.main-nav ul ul a:hover { background: rgba(232, 165, 192, 0.22); padding-left: 26px; }

/* =================== CONTENT =================== */
.content-wrap {
    max-width: 980px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.94);
    padding: 50px 60px;
    border-radius: 24px;
    box-shadow:
        0 10px 40px rgba(74, 47, 94, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(232, 165, 192, 0.25);
}

.content-wrap::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--plum-light), var(--pink), transparent);
    border-radius: 0 0 4px 4px;
}

.page-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3em;
    color: var(--plum-dark);
    text-align: center;
    margin: 0 0 8px;
    font-weight: 700;
}

.page-intro {
    text-align: center;
    color: var(--plum);
    font-family: 'Caveat', cursive;
    font-size: 1.4em;
    margin: 0 0 30px;
}

.content-wrap img {
    max-width: 100%;
    height: auto;             /* behoud altijd correcte aspect-ratio */
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(74, 47, 94, 0.13);
    transition: transform .3s ease, box-shadow .3s ease;
}

/* De originele HTML wikkelt foto's vaak in een decoratieve geneste
   tabel met width="64" (was een rood frame). Reset deze zodat de
   foto niet onnodig krimpt naar 64px. */
.content-wrap table table {
    width: auto !important;
    max-width: 100%;
}
.content-wrap table table[bgcolor] {
    background: transparent !important;
    border-radius: 14px;
    overflow: hidden;
    padding: 0 !important;
    border-spacing: 0 !important;
}
.content-wrap table table[bgcolor] td[bgcolor="white"],
.content-wrap table table[bgcolor] td {
    background: transparent !important;
    padding: 0 !important;
}
/* Foto's binnen geneste tabellen behouden hun natuurlijke verhouding
   en groeien mee tot de breedte van de buitenste cel. */
.content-wrap td > table img {
    max-width: 100%;
    height: auto;
    display: block;
}

.content-wrap img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(74, 47, 94, 0.2);
}

.content-wrap table {
    margin: 0 auto;
    border-collapse: collapse;
    max-width: 100%;
}
.content-wrap td {
    padding: 10px;
    vertical-align: top;
}

/* Tabel-rij met year-pills: alles perfect gecentreerd op één lijn */
.content-wrap tr:has(.year-pill) td {
    text-align: center;
    vertical-align: middle;
    padding: 16px 8px;
}
.content-wrap tr:has(.year-pill) td p,
.content-wrap tr:has(.year-pill) td b {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline;
}

/* Verwijder verticale ruimte van P-wrappers rondom .year-pill */
.content-wrap td > p:has(.year-pill),
.content-wrap td > p > b:has(.year-pill) {
    margin: 0;
    line-height: 1;
}

/* Maand-headers (Januari/februari/maart etc) nette opmaak */
.content-wrap td > p > b > font[color="#ff0000"],
.content-wrap td > p > b > font[color="#FF0000"],
.content-wrap td > p > b > font[color="#fe0000"] {
    color: var(--pink-deep) !important;
    font-family: 'Dancing Script', cursive;
    font-size: 1.6em !important;
    font-weight: 700;
    display: block;
    text-align: center;
    margin: 18px 0 6px;
}

.content-wrap p, .content-wrap font, .content-wrap b {
    font-weight: 400;
    color: var(--ink);
    font-family: 'Quicksand', sans-serif;
    font-size: 1.02em;
}
.content-wrap b, .content-wrap strong {
    font-weight: 600;
    color: var(--plum-dark);
}

.content-wrap h1, .content-wrap h2, .content-wrap h3 {
    color: var(--plum-dark);
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    margin-top: 1.2em;
}

.content-wrap marquee {
    color: var(--pink-deep) !important;
    font-family: 'Caveat', cursive;
    font-size: 1.2em;
}

/* =================== CONTACT BOX =================== */
.contact-box {
    max-width: 520px;
    margin: 40px auto;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--pink-soft) 100%);
    border-radius: 20px;
    border: 2px dashed var(--pink);
    box-shadow: 0 8px 26px rgba(232, 165, 192, 0.2);
    position: relative;
}

.contact-box::before {
    content: "\2709";
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    border: 2px dashed var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: var(--pink-deep);
}

.contact-box h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.4em;
    margin: 10px 0 14px;
    color: var(--plum-dark);
}

.contact-box p { margin: 8px 0; color: var(--ink); }

.contact-box a {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.2em;
    color: var(--pink-deep);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(232, 165, 192, 0.3);
    transition: all .2s ease;
}
.contact-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 165, 192, 0.4);
    text-decoration: none;
    color: var(--plum-dark);
}

/* =================== FOTO GALERIJ =================== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin: 30px 0;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    background: var(--pink-soft);
    box-shadow: 0 4px 14px rgba(74, 47, 94, 0.1);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    padding: 0;
    border: none;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border-radius: 12px;
    box-shadow: none !important;
    transition: transform .5s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 47, 94, 0.4) 0%, transparent 40%);
    opacity: 0;
    transition: opacity .3s;
    border-radius: 12px;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(74, 47, 94, 0.25);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* =================== LIGHTBOX =================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 30, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px 70px;
    animation: lbFadeIn .25s ease;
}

.lightbox.open { display: flex; }

@keyframes lbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lb-stage {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox img#lb-img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lbZoomIn .3s ease;
}

@keyframes lbZoomIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.lb-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: .9em;
    letter-spacing: .5px;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all .2s;
    font-family: inherit;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lb-close {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    line-height: 1;
    z-index: 10;
}

.lb-prev,
.lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 1.5em;
    z-index: 10;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: rgba(232, 165, 192, 0.4);
    transform: scale(1.08);
}
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 768px) {
    .lightbox { padding: 10px; }
    .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 1.2em; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
    .lb-close { top: 10px; right: 10px; width: 42px; height: 42px; font-size: 1.4em; }
}

/* =================== FOOTER =================== */
.site-footer {
    background: linear-gradient(180deg, var(--plum-dark), #3a2550);
    color: #fef1f5;
    text-align: center;
    padding: 40px 20px 30px;
    margin-top: 60px;
    font-size: .92em;
    font-family: 'Quicksand', sans-serif;
    position: relative;
    z-index: 2;
}

.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--pink); font-weight: 500; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-heart {
    color: var(--pink);
    font-size: 1.2em;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

/* Content titels (vervangen cartoon gif titels) */
.content-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.2em, 5vw, 3em);
    color: var(--plum-dark);
    text-align: center;
    margin: 10px 0 24px;
    font-weight: 700;
    letter-spacing: .5px;
}
.content-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
    border-radius: 3px;
}
.year-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 38px;
    padding: 0 18px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1em;
    color: #fff !important;
    background: linear-gradient(135deg, var(--plum), var(--plum-light));
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(74, 47, 94, 0.2);
    transition: transform .2s, box-shadow .2s;
    line-height: 1;
    box-sizing: border-box;
    vertical-align: middle;
}
a:hover .year-pill {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(74, 47, 94, 0.3);
}

/* Reset ALLE wrappers (a, b, font, p, td) rondom year-pills zodat ze er identiek uitzien */
.content-wrap a:has(.year-pill),
.content-wrap b:has(.year-pill),
.content-wrap font:has(.year-pill),
.content-wrap p:has(.year-pill),
.content-wrap p > b:has(.year-pill) {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    text-decoration: none !important;
    line-height: 1 !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    box-shadow: none !important;
    outline: none !important;
}
.content-wrap a:has(.year-pill) { transition: none; }
.content-wrap a:has(.year-pill):hover { background: transparent !important; }

/* =================== RESPONSIVE =================== */
/* Tablet / smaller desktop - nav blijft maar wordt compacter */
@media (max-width: 1100px) {
    .main-nav a, .main-nav .nav-toggle {
        padding: 13px 10px;
        font-size: .88em;
    }
}

/* Mobiel / tablet portrait - hamburger menu */
@media (max-width: 900px) {
    .nav-burger { display: block; }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background: linear-gradient(180deg, var(--plum-dark), #3a2550);
        overflow-y: auto;
        transition: right .3s ease;
        box-shadow: -8px 0 30px rgba(0,0,0,.3);
    }
    .main-nav.nav-open { right: 0; }
    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        padding-top: 70px;
        max-width: none;
        height: auto;
    }
    .main-nav li {
        display: block;
        height: auto;
    }
    .main-nav a, .main-nav .nav-toggle {
        padding: 14px 22px;
        font-size: 1em;
        width: 100%;
        height: auto;
        justify-content: flex-start;
    }
    .main-nav ul ul {
        position: static;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
    }
    .main-nav ul ul a { padding-left: 38px; }
    .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
}

@media (max-width: 768px) {
    .content-wrap { padding: 28px 20px; margin: 20px 12px; border-radius: 18px; }
    .content-wrap::before { left: 20px; right: 20px; }
    .site-header { padding: 40px 18px 30px; }
    .content-wrap table, .content-wrap tbody,
    .content-wrap tr, .content-wrap td {
        display: block;
        width: 100% !important;
    }
    .content-wrap img, .content-wrap td img {
        width: 100% !important;
        height: auto !important;
    }
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 8px;
    }
    .page-title, .content-title { font-size: 2em; }
}

/* Neutraliseer oude inline stijlen */
.content-wrap font[size] { font-size: inherit !important; }
.content-wrap font[color] { color: inherit !important; }
.content-wrap [bgcolor] { background: transparent !important; }

/* Video / filmpje link */
.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: linear-gradient(135deg, var(--plum), var(--plum-dark));
    color: #fff !important;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(74, 47, 94, 0.25);
    transition: all .25s;
    text-decoration: none !important;
}
.video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(74, 47, 94, 0.35);
    color: #fff !important;
}

/* =================== UNIFORM PAGINA-COMPONENTEN ===================
   Elke content-pagina heeft dezelfde structuur, ongeacht hoe de
   originele HTML het opbouwde. Geen tabellen, geen FONT tags.
*/

.page-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.4em, 5vw, 3.4em);
    color: var(--plum-dark);
    text-align: center;
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: .5px;
}
.page-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, transparent, var(--pink), transparent);
    border-radius: 3px;
}

/* Story flow: opeenvolgende blokken met consistente verticale ritmiek */
.story-flow {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Story blok: tekst + foto naast elkaar in een 2-koloms grid */
.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;            /* voorkom dat grid items overflowen */
}
.story.photo-left  { grid-template-areas: "photos text"; }
.story.photo-right { grid-template-areas: "text photos"; }
.story.photos-only {
    grid-template-columns: 1fr;
    justify-items: center;   /* foto netjes gecentreerd in volledige breedte */
}
.story > * { min-width: 0; }   /* grid children mogen krimpen */

.story.photo-left  .story-text   { grid-area: text; }
.story.photo-left  .story-photos { grid-area: photos; }
.story.photo-right .story-text   { grid-area: text; }
.story.photo-right .story-photos { grid-area: photos; }

.story-text p {
    margin: 0 0 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.02em;
    line-height: 1.7;
    color: var(--ink);
}
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: var(--plum-dark); font-weight: 600; }

/* Tekst-only sectie (geen foto in deze rij) */
.text-only {
    max-width: 760px;
    margin: 0 auto;
}
.text-only p {
    margin: 0 0 14px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.04em;
    line-height: 1.75;
    color: var(--ink);
}
.text-only p:last-child { margin-bottom: 0; }
.text-only strong { color: var(--plum-dark); font-weight: 600; }

/* Foto component - altijd consistent ongeacht originele afmetingen */
.story-photos {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}
.photo {
    margin: 0;
    display: block;
    max-width: 100%;
}
.photo img {
    display: block;
    width: 100%;
    height: auto;             /* aspect-ratio blijft 100% behouden */
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(74, 47, 94, 0.18);
    transition: transform .35s ease, box-shadow .35s ease;
    /* GEEN object-fit - we willen geen cropping, originele verhouding */
}

/* Foto's vullen dezelfde breedte als de tekst-kolom (story-text) */
.story.photo-left .photo,
.story.photo-right .photo,
.story-photos > .photo {
    width: 100%;
    max-width: 100%;
}

/* Single photo zonder tekst - centreer en geef vaste leesbare breedte */
.story.photos-only .photo {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.photo img:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(74, 47, 94, 0.25);
}

/* Photo-group: meerdere foto's in één blok (grid) */
.photo-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    width: 100%;
}

/* Year navigatie onderaan elke jaar-pagina - perfect uitgelijnd */
.year-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 50px 0 10px;
    padding-top: 30px;
    border-top: 1px solid rgba(232, 165, 192, 0.3);
}
.year-nav .year-pill {
    text-decoration: none;
}

/* Meta-info (laatst gewijzigd) - subtiel onderaan */
.meta-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(232, 165, 192, 0.4);
    color: var(--plum);
    font-style: italic;
    font-size: .9em;
    opacity: .8;
}
.meta-info p { margin: 0; }

/* Data-tabel (bv. wachtlijst donorwetgeving) */
.data-table-wrap {
    margin: 30px auto;
    max-width: 720px;
    background: linear-gradient(135deg, var(--cream), var(--pink-soft));
    border-radius: 14px;
    padding: 26px 28px;
    box-shadow: 0 6px 18px rgba(74, 47, 94, 0.08);
}
.data-table-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    color: var(--plum-dark);
    text-align: center;
    margin: 0 0 16px;
    letter-spacing: .5px;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Quicksand', sans-serif;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(74, 47, 94, 0.06);
}
.data-table thead th {
    background: var(--plum-dark);
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
    font-size: .95em;
}
.data-table tbody td {
    padding: 12px 14px;
    border-top: 1px solid rgba(232, 165, 192, 0.25);
    color: var(--ink);
    font-size: .95em;
    line-height: 1.5;
    vertical-align: top;
}
.data-table tbody tr:nth-child(even) {
    background: rgba(252, 228, 240, 0.3);
}
.data-table tbody td:first-child {
    font-weight: 600;
    color: var(--plum-dark);
}

/* Video-blok */
.video-block {
    text-align: center;
    margin: 24px 0;
}

/* Responsive: stack tekst en foto's onder elkaar op kleinere schermen */
@media (max-width: 768px) {
    .story,
    .story.photo-left,
    .story.photo-right {
        grid-template-columns: 1fr;
        grid-template-areas: "photos" "text";
    }
    .page-title { font-size: 2em; }
    .story-flow { gap: 28px; }
}

/* "Laatst gewijzigd" tekstjes subtieler */
.content-wrap i, .content-wrap em {
    color: var(--plum);
    font-style: italic;
    opacity: .85;
}
