:root {
    --groen: #172313;
    --groen-licht: #26351f;
    --bordeaux: #6f211f;
    --goud: #a88845;
    --papier: #f5efdf;
    --papier-donker: #e8dec8;
    --tekst: #29251f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--papier);
    color: var(--tekst);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}


/* ==========================================
   HEADER
   ========================================== */

.site-header {
    background: var(--groen);
    color: white;
    border-bottom: 2px solid var(--goud);
}

.header-inner {
    max-width: 1450px;
    min-height: 95px;
    margin: auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;

    color: white;
    text-decoration: none;

    flex-shrink: 0;
}

.logo-wapen {
    width: 82px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.logo-wapen img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.familienaam {
    font-size: 25px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.slogan {
    color: var(--goud);
    font-style: italic;
    font-size: 14px;
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-left: auto;
}

nav a {
    color: white;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 14px;
    letter-spacing: 1px;

    padding: 35px 0 8px;

    border-bottom: 2px solid transparent;

    white-space: nowrap;
}

nav a:hover,
nav a.actief {
    color: #e5cf96;
    border-bottom-color: var(--goud);
}


/* ==========================================
   TAALKEUZE
   ========================================== */

.taalkeuze {
    display: flex;
    align-items: center;
    gap: 4px;

    flex-shrink: 0;

    padding-left: 18px;

    border-left: 1px solid rgba(168, 136, 69, .45);
}

.taal-knop {
    border: none;

    background: transparent;
    color: #d8cfb9;

    cursor: pointer;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    letter-spacing: 1px;

    padding: 5px 6px;
}

.taal-knop:hover {
    color: var(--goud);
}

.taal-knop.actief {
    color: var(--goud);
    border-bottom: 1px solid var(--goud);
}


/* ==========================================
   HERO HOMEPAGE
   ========================================== */

   .hero {
    min-height: 580px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(245,239,223,1) 0%,
            rgba(245,239,223,.96) 45%,
            rgba(245,239,223,.70) 100%
        );
}


/* ==========================================
   HERO - LAYOUT
   ========================================== */

.hero-inner {
    width: 100%;
    max-width: 1250px;

    margin: auto;
    padding: 70px 30px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(320px, .8fr);

    gap: 80px;

    align-items: center;
}


/* ==========================================
   HERO - TEKST
   ========================================== */

.hero-inhoud {
    width: auto;
    margin: 0;
    padding: 0;
}

.bovenlijn,
.sectie-label {
    color: var(--goud);

    text-transform: uppercase;

    letter-spacing: 3px;
    font-size: 13px;
}

.hero h1 {
    margin: 15px 0;

    max-width: 750px;

    color: var(--bordeaux);

    font-size: clamp(55px, 7vw, 90px);
    line-height: .98;
    font-weight: normal;
}

.hero h1 span {
    color: var(--groen);
    font-style: italic;
}

.intro {
    max-width: 600px;

    margin: 30px 0;

    font-size: 21px;
    color: #554e43;
}


/* ==========================================
   HERO - KNOP
   ========================================== */

.knop {
    display: inline-block;

    padding: 14px 24px;

    background: var(--bordeaux);
    color: white;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    letter-spacing: 1px;

    border: 1px solid var(--bordeaux);
}

.knop:hover {
    background: transparent;
    color: var(--bordeaux);
}


/* ==========================================
   HERO - FAMILIEWAPEN
   ========================================== */

.hero-wapen {
    width: 100%;
    max-width: 390px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-wapen img {
    display: block;

    width: 100%;
    max-height: 390px;

    object-fit: contain;
}

.hero-wapen figcaption {
    margin-top: 18px;

    color: #756d5f;

    font-size: 13px;
    line-height: 1.5;

    font-style: italic;
    text-align: center;
}


/* ==========================================
   HERO - TABLET
   ========================================== */

@media (max-width: 950px) {

    .hero-inner {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(240px, .8fr);

        gap: 45px;
    }

    .hero-wapen {
        max-width: 310px;
    }

    .hero-wapen img {
        max-height: 310px;
    }

}


/* ==========================================
   HERO - MOBIEL
   ========================================== */

@media (max-width: 700px) {

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: 60px 22px;

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-inhoud {
        text-align: left;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 65px);
    }

    .intro {
        font-size: 18px;
    }

    .hero-wapen {
        max-width: 280px;
    }

    .hero-wapen img {
        max-height: 280px;
    }

    .hero-wapen figcaption {
        font-size: 12px;
    }

}


/* ==========================================
   WELKOM
   ========================================== */

.welkom {
    max-width: 780px;

    margin: auto;
    padding: 100px 30px;

    text-align: center;
}

.welkom h2 {
    margin: 10px 0;

    color: var(--bordeaux);

    font-size: 42px;
    font-weight: normal;
}

.scheidingslijn {
    width: 80px;
    height: 2px;

    margin: 25px auto;

    background: var(--goud);
}

.welkom p {
    font-size: 18px;
}


/* ==========================================
   HOMEPAGE KAARTEN
   ========================================== */

.onderdelen {
    max-width: 1250px;

    margin: 0 auto 100px;
    padding: 0 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.kaart {
    min-height: 320px;

    padding: 45px 35px;

    border: 1px solid #cdbf9f;

    background: rgba(255,255,255,.25);

    text-align: center;
}

.icoon {
    color: var(--goud);
    font-size: 40px;
}

.kaart h3 {
    color: var(--bordeaux);

    font-size: 27px;
    font-weight: normal;
}

.kaart a {
    color: var(--bordeaux);

    text-decoration: none;
    font-weight: bold;
}


/* ==========================================
   QUOTE
   ========================================== */

.quote {
    padding: 100px 30px;

    background: var(--groen);

    text-align: center;
}

.quote blockquote {
    margin: 0;

    color: #d6bd7b;

    font-size: 34px;
    font-style: italic;
}


/* ==========================================
   FOOTER
   ========================================== */

footer {
    background: #10180d;
    color: #ddd4c1;
}

.footer-inner {
    max-width: 1250px;

    margin: auto;
    padding: 40px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer strong {
    color: var(--goud);
    letter-spacing: 2px;
}

footer p {
    margin: 4px 0;
    font-size: 14px;
}


/* ==========================================
   PERSOONSPAGINA
   ========================================== */

.persoon-hero {
    background:
        linear-gradient(
            135deg,
            #efe5cf,
            #f8f3e7
        );

    border-bottom: 1px solid #cdbf9f;
}

.persoon-hero-inner {
    max-width: 1200px;

    margin: auto;
    padding: 70px 30px;

    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 55px;

    align-items: center;
}

.persoon-portret {
    width: 200px;
    height: 240px;

    padding: 10px;

    border: 1px solid #bcae8f;

    background: #eee5d1;
}

.geen-foto {
    width: 100%;
    height: 100%;

    border: 1px dashed #a99b7c;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #81765e;
}

.initialen {
    margin-bottom: 20px;

    color: var(--bordeaux);

    font-size: 64px;
    line-height: 1;
}

.geen-foto small {
    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.persoon-intro h1 {
    margin: 5px 0;

    color: var(--bordeaux);

    font-size: clamp(48px, 6vw, 78px);
    line-height: 1;
    font-weight: normal;
}

.levensjaren {
    margin: 15px 0 25px;

    color: var(--groen);

    font-size: 24px;
    letter-spacing: 3px;
}

.persoon-samenvatting {
    max-width: 700px;

    font-size: 19px;

    color: #574f43;
}

.persoon-inhoud {
    max-width: 1200px;

    margin: auto;
    padding: 75px 30px 120px;

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, 1fr);

    gap: 70px;
}

.persoon-sectie {
    margin-bottom: 80px;
}

.persoon-sectie h2 {
    margin: 5px 0 25px;

    color: var(--bordeaux);

    font-size: 36px;
    font-weight: normal;
}

.persoon-sectie p {
    font-size: 17px;
}


/* ==========================================
   INFO-KAARTEN
   ========================================== */

.info-kaart {
    margin-bottom: 30px;

    padding: 30px;

    background: rgba(255,255,255,.3);

    border: 1px solid #cdbf9f;
}

.info-kaart h3 {
    margin-top: 0;

    padding-bottom: 12px;

    color: var(--bordeaux);

    border-bottom: 1px solid #cdbf9f;
}

.info-kaart dl {
    margin: 0;
}

.info-kaart dt {
    margin-top: 18px;

    color: var(--goud);

    text-transform: uppercase;

    letter-spacing: 1px;
    font-size: 11px;
}

.info-kaart dd {
    margin: 3px 0;

    font-size: 16px;
}


/* ==========================================
   TIJDLIJN
   ========================================== */

.tijdlijn-item {
    position: relative;

    display: grid;

    grid-template-columns: 170px 1fr;

    gap: 30px;

    padding: 0 0 40px 30px;

    border-left: 2px solid var(--goud);
}

.tijdlijn-item::before {
    content: "";

    position: absolute;

    left: -7px;
    top: 5px;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--bordeaux);
}

.tijdlijn-datum {
    color: var(--goud);

    font-size: 14px;
    font-weight: bold;
}

.tijdlijn-inhoud h3 {
    margin: 0 0 5px;

    color: var(--groen);
}

.tijdlijn-inhoud p {
    margin: 0;
}


/* ==========================================
   BRONNEN
   ========================================== */

.bron {
    padding: 15px 0;

    border-bottom: 1px solid #ded3bc;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.bron:last-child {
    border-bottom: none;
}

.bron small {
    color: #756d5f;
}

.bron-status {
    align-self: flex-start;

    padding: 4px 8px;

    font-family: Arial, sans-serif;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    border-radius: 2px;
}

.bron-status.bevestigd {
    background: #dfe6d7;
    color: #31412b;
}

.bron-status.familiegetuigenis {
    background: #eee0bd;
    color: #735d25;
}

.bron-status.te_verifieren {
    background: #ead4d0;
    color: #772c28;
}


/* ==========================================
   FAMILIERELATIES
   ========================================== */

.familie-groep {
    margin-bottom: 35px;
}

.familie-groep > h3 {
    margin-bottom: 12px;

    color: var(--goud);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.familie-kaarten {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(230px, 1fr));

    gap: 12px;
}

.familie-kaart {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 16px;

    color: var(--tekst);

    text-decoration: none;

    background: rgba(255,255,255,.28);

    border: 1px solid #cdbf9f;

    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease;
}

.familie-kaart:hover {
    transform: translateY(-2px);

    background: rgba(255,255,255,.65);

    border-color: var(--goud);
}

.familie-initialen {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--goud);

    border-radius: 50%;

    color: var(--bordeaux);

    font-size: 20px;
}

.familie-info {
    display: flex;
    flex-direction: column;
}

.familie-info strong {
    color: var(--bordeaux);
    font-size: 17px;
}

.familie-info small {
    color: #756d5f;
}

.familie-relatie {
    color: var(--goud);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.geen-gegevens {
    color: #8b8170;

    font-style: italic;

    font-size: 14px !important;
}


/* ==========================================
   PERSONENOVERZICHT
   ========================================== */

.personen-hero {
    background:
        linear-gradient(
            135deg,
            #efe5cf,
            #f8f3e7
        );

    border-bottom: 1px solid #cdbf9f;
}

.personen-hero-inner {
    max-width: 1200px;

    margin: auto;
    padding: 75px 30px 65px;
}

.personen-hero .sectie-label {
    margin: 0 0 8px;
}

.personen-hero h1 {
    margin: 0 0 18px;

    color: var(--bordeaux);

    font-size: clamp(44px, 5vw, 62px);
    line-height: 1.05;

    font-weight: normal;
}

.personen-hero p:last-child {
    max-width: 720px;

    margin: 0;

    color: #574f43;

    font-size: 18px;
}


/* ==========================================
   PERSONEN - OVERZICHT
   ========================================== */

.personen-overzicht {
    padding: 65px 30px 120px;
}

.personen-overzicht-inner {
    max-width: 1200px;

    margin: auto;
}


/* ==========================================
   PERSONEN - TOOLS
   ========================================== */

.personen-tools {
    margin-bottom: 38px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 25px;

    border-bottom: 1px solid #cdbf9f;
}

.personen-zoekveld {
    width: min(100%, 480px);

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.personen-zoekveld label {
    color: var(--goud);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    font-weight: bold;
}

.personen-zoekveld input {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #bcae8f;
    border-radius: 0;

    background: rgba(255,255,255,.45);

    color: var(--tekst);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    transition:
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

.personen-zoekveld input::placeholder {
    color: #918775;
}

.personen-zoekveld input:focus {
    outline: none;

    border-color: var(--goud);

    background: rgba(255,255,255,.75);

    box-shadow:
        0 0 0 2px rgba(168,136,69,.10);
}

.personen-aantal {
    padding-bottom: 13px;

    color: #756d5f;

    font-size: 14px;
    font-style: italic;

    white-space: nowrap;
}


/* ==========================================
   PERSONEN - KAARTENGRID
   ========================================== */

.personen-lijst {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


/* ==========================================
   PERSONEN - KAART
   ========================================== */

.personen-kaart {
    min-height: 140px;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 24px;

    color: var(--tekst);

    text-decoration: none;

    background: rgba(255,255,255,.28);

    border: 1px solid #cdbf9f;

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.personen-kaart:hover {
    transform: translateY(-3px);

    border-color: var(--goud);

    background: rgba(255,255,255,.65);

    box-shadow:
        0 7px 18px rgba(67, 51, 23, .08);
}

.personen-kaart-initialen {
    width: 64px;
    height: 64px;

    flex: 0 0 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--goud);
    border-radius: 50%;

    color: var(--bordeaux);

    font-size: 23px;

    letter-spacing: 1px;
}

.personen-kaart-inhoud {
    min-width: 0;
}

.personen-kaart-inhoud h2 {
    margin: 0 0 5px;

    color: var(--bordeaux);

    font-size: 21px;
    line-height: 1.2;

    font-weight: normal;
}

.personen-kaart-jaren {
    margin: 0;

    color: #655d50;

    font-size: 14px;

    letter-spacing: .5px;
}

.personen-kaart-plaats {
    margin: 7px 0 0;

    color: var(--goud);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* ==========================================
   PERSONEN - GEEN RESULTATEN
   ========================================== */

#personen-geen-resultaten {
    margin-top: 20px;

    padding: 35px;

    border: 1px solid #d7cbae;

    background: rgba(255,255,255,.20);

    text-align: center;
}


/* ==========================================
   BEHEEROMGEVING
   ========================================== */

.beheer-label {
    margin-left: auto;

    color: #e7dcc0;

    font-size: 13px;

    letter-spacing: 1.5px;

    font-weight: bold;
}

.beheer-pagina {
    max-width: 1180px;

    margin: 0 auto;
    padding: 55px 30px 100px;
}

.beheer-intro {
    margin-bottom: 28px;
}

.beheer-intro h1 {
    margin: 6px 0 8px;

    color: var(--bordeaux);

    font-size: 42px;
    font-weight: normal;
}

.beheer-intro p:last-child {
    max-width: 700px;

    margin-bottom: 0;

    font-size: 17px;

    color: #554e43;
}

.beheer-formulier {
    border: 1px solid #cfbf9c;

    background: rgba(255,255,255,.18);

    box-shadow:
        0 8px 24px rgba(50, 41, 23, .06);
}

.beheer-sectie {
    padding: 28px 30px 30px;

    border-bottom: 1px solid #cfbf9c;
}

.beheer-sectie:last-child {
    border-bottom: none;
}

.beheer-sectie-kop {
    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 22px;
}

.beheer-nummer {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--groen);

    color: #f0dfad;

    border-radius: 3px;

    font-size: 18px;

    letter-spacing: 1px;
}

.beheer-sectie-kop .sectie-label {
    margin: 0 0 2px;
}

.beheer-sectie-kop h2 {
    margin: 0;

    color: var(--bordeaux);

    font-size: 28px;

    font-weight: normal;
}

.formulier-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px 32px;
}

.formulier-veld {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.formulier-veld label {
    color: #3f382d;

    font-size: 15px;

    font-weight: bold;
}

.formulier-veld input,
.formulier-veld select,
.formulier-veld textarea {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid #b9ac90;

    border-radius: 3px;

    background: rgba(255,255,255,.75);

    color: var(--tekst);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
}

.formulier-veld textarea {
    resize: vertical;

    min-height: 110px;
}

.formulier-veld input:focus,
.formulier-veld select:focus,
.formulier-veld textarea:focus {
    outline: none;

    border-color: var(--goud);

    box-shadow:
        0 0 0 2px rgba(168,136,69,.12);
}

.formulier-breed {
    max-width: 760px;
}

.beheer-hulptekst {
    margin: 14px 0 0;

    color: #756d5f;

    font-size: 14px;

    font-style: italic;
}

.beheer-knop {
    margin-top: 15px;

    padding: 13px 20px;

    border: 1px solid var(--bordeaux);

    border-radius: 3px;

    background: var(--bordeaux);

    color: white;

    cursor: pointer;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.beheer-knop:hover {
    background: transparent;

    color: var(--bordeaux);
}


/* ==========================================
   CONTROLEWEERGAVE BEHEER
   ========================================== */

.persoon-controle {
    margin-top: 35px;
}

.controle-kaart {
    padding: 35px 40px;

    border: 1px solid #cdbf9f;

    background: rgba(255, 255, 255, .28);
}

.controle-kaart > .sectie-label {
    margin: 0 0 6px;
}

.controle-kaart > h2 {
    margin: 0 0 30px;

    color: var(--bordeaux);

    font-size: 36px;

    font-weight: normal;
}

.controle-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px 35px;
}

.controle-grid > div {
    padding-bottom: 15px;

    border-bottom: 1px solid #ded3bc;
}

.controle-grid strong {
    display: block;

    margin-bottom: 5px;

    color: var(--goud);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.controle-grid p {
    margin: 0;

    color: var(--tekst);

    font-size: 16px;
}

.controle-kaart hr {
    margin: 35px 0;

    border: 0;

    border-top: 1px solid #cdbf9f;
}

.controle-kaart h3 {
    margin: 0 0 20px;

    color: var(--bordeaux);

    font-size: 23px;

    font-weight: normal;
}

.controle-kaart > h3:not(:first-of-type) {
    margin-top: 30px;
}

.controle-kaart > p {
    max-width: 850px;
}

.controle-kaart .beheer-hulptekst {
    margin-top: 35px;

    padding-top: 20px;

    border-top: 1px solid #ded3bc;

    color: #8b8170;

    font-style: italic;
}


/* ==========================================
   BEHEER - DYNAMISCHE VELDEN
   ========================================== */

.beheer-subsectie {
    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid #ded3bc;
}

.beheer-subsectie h3 {
    margin: 0 0 18px;

    color: var(--bordeaux);

    font-size: 22px;

    font-weight: normal;
}

.dynamisch-toevoegen {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 12px;

    align-items: stretch;
}

.dynamisch-toevoegen input,
.dynamisch-toevoegen select {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #bcae8f;

    background: rgba(255,255,255,.45);

    color: var(--tekst);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
}

.dynamisch-toevoegen input:focus,
.dynamisch-toevoegen select:focus {
    outline: none;

    border-color: var(--goud);

    box-shadow:
        0 0 0 2px rgba(168,136,69,.12);
}

.beheer-knop-secundair {
    padding: 12px 18px;

    border: 1px solid var(--goud);

    background: transparent;

    color: var(--bordeaux);

    cursor: pointer;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    white-space: nowrap;

    transition:
        background .15s ease,
        color .15s ease;
}

.beheer-knop-secundair:hover {
    background: var(--goud);

    color: white;
}

.dynamische-lijst {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-top: 15px;
}

.dynamisch-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 11px 14px;

    border: 1px solid #d4c8ad;

    background: rgba(255,255,255,.28);
}

.dynamisch-item span {
    font-size: 15px;
}

.dynamisch-verwijderen {
    padding: 4px 0;

    border: none;

    background: transparent;

    color: var(--bordeaux);

    cursor: pointer;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 12px;

    text-decoration: underline;
}

.dynamisch-verwijderen:hover {
    color: #43110f;
}


/* ==========================================
   CONTROLELIJST
   ========================================== */

.controle-lijst {
    margin: 10px 0 25px;

    padding-left: 22px;
}

.controle-lijst li {
    margin: 5px 0;
}


/* ==========================================
   FOUTMELDING
   ========================================== */

.foutmelding {
    max-width: 800px;

    margin: auto;

    padding: 100px 30px;

    text-align: center;
}


/* ==========================================
   KLEINERE DESKTOP / TABLET
   ========================================== */

@media (max-width: 1250px) {

    .header-inner {
        max-width: 100%;

        gap: 20px;

        padding: 0 22px;
    }

    nav {
        gap: 18px;
    }

    nav a {
        font-size: 12px;
    }

    .familienaam {
        font-size: 22px;
    }

    .slogan {
        font-size: 12px;
    }

    .taalkeuze {
        padding-left: 12px;
    }

}


/* ==========================================
   TABLET HEADER
   ========================================== */

@media (max-width: 1050px) {

    .header-inner {
        flex-wrap: wrap;

        justify-content: center;

        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo {
        margin-right: auto;
    }

    nav {
        order: 3;

        width: 100%;

        margin-left: 0;

        justify-content: center;
    }

    nav a {
        padding: 8px 0 5px;
    }

    .taalkeuze {
        margin-left: auto;
    }

    .personen-lijst {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {

    .controle-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ==========================================
   MOBIEL
   ========================================== */

@media (max-width: 850px) {

    .header-inner {
        flex-direction: column;

        flex-wrap: nowrap;

        padding: 20px;

        gap: 15px;
    }

    .logo {
        margin-right: 0;

        justify-content: center;
    }

    nav {
        order: initial;

        width: auto;

        margin-left: 0;
        margin-top: 5px;

        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    nav a {
        padding: 5px;
    }

    .taalkeuze {
        margin-left: 0;

        border-left: none;

        padding-left: 0;
    }

    .beheer-label {
        margin-left: 0;
    }

    .onderdelen {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 500px;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;

        gap: 20px;
    }


    /* PERSONEN */

    .personen-hero-inner {
        padding: 55px 25px 50px;
    }

    .personen-overzicht {
        padding:
            45px 25px
            90px;
    }

    .personen-tools {
        align-items: stretch;

        flex-direction: column;

        gap: 15px;
    }

    .personen-zoekveld {
        width: 100%;
    }

    .personen-aantal {
        padding-bottom: 0;
    }

    .personen-lijst {
        grid-template-columns: 1fr;
    }

}


/* ==========================================
   PERSOON + BEHEER MOBIEL
   ========================================== */

@media (max-width: 750px) {

    .persoon-hero-inner {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .persoon-portret {
        margin: auto;
    }

    .persoon-inhoud {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .tijdlijn-item {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .beheer-pagina {
        padding: 35px 16px 70px;
    }

    .beheer-sectie {
        padding: 24px 18px;
    }

    .formulier-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .beheer-sectie-kop {
        gap: 14px;
    }

    .beheer-intro h1 {
        font-size: 34px;
    }

}


/* ==========================================
   MOBIEL CONTROLE
   ========================================== */

@media (max-width: 600px) {

    .controle-kaart {
        padding: 25px 20px;
    }

    .controle-grid {
        grid-template-columns: 1fr;
    }

    .controle-kaart > h2 {
        font-size: 30px;
    }


    /* PERSONENKAART */

    .personen-kaart {
        min-height: 120px;

        padding: 18px;

        gap: 15px;
    }

    .personen-kaart-initialen {
        width: 55px;
        height: 55px;

        flex-basis: 55px;

        font-size: 20px;
    }

    .personen-kaart-inhoud h2 {
        font-size: 19px;
    }

}


/* ==========================================
   ZEER KLEIN SCHERM
   ========================================== */

@media (max-width: 650px) {

    .dynamisch-toevoegen {
        grid-template-columns: 1fr;
    }

    .beheer-knop-secundair {
        width: 100%;
    }

    .dynamisch-item {
        align-items: flex-start;
    }

}


/* ==========================================
   STAMBOOM
   ========================================== */

   .stamboom-hero {
    background:
        linear-gradient(
            135deg,
            #efe5cf,
            #f8f3e7
        );

    border-bottom:
        1px solid
        #cdbf9f;
}

.stamboom-hero-inner {
    max-width: 1200px;

    margin: auto;

    padding:
        70px 30px
        60px;
}

.stamboom-hero h1 {
    margin:
        8px 0
        10px;

    color:
        var(--bordeaux);

    font-size: 52px;
    line-height: 1.1;

    font-weight: normal;
}

.stamboom-hero p:last-child {
    max-width: 650px;

    margin:
        20px 0 0;

    color: #554e43;

    font-size: 18px;
}


/* ==========================================
   STAMBOOM - PAGINA
   ========================================== */

.stamboom-pagina {
    padding:
        55px 20px
        105px;
}

.stamboom-inner {
    width: 100%;

    max-width: 1450px;

    margin: auto;
}


/* ==========================================
   STAMBOOM - SELECTIE
   ========================================== */

.stamboom-tools {
    display: flex;

    justify-content: center;

    margin-bottom: 58px;
}

.stamboom-keuze {
    width: 420px;
}

.stamboom-keuze label {
    display: block;

    margin-bottom: 8px;

    color:
        var(--goud);

    font-size: 11px;
    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.stamboom-keuze select {
    width: 100%;

    padding:
        13px 15px;

    border:
        1px solid
        #bcae8f;

    background:
        rgba(255,255,255,.55);

    color:
        var(--tekst);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;
}

.stamboom-keuze select:focus {
    outline: none;

    border-color:
        var(--goud);

    box-shadow:
        0 0 0 2px
        rgba(168,136,69,.12);
}


/* ==========================================
   STAMBOOM - CONTAINER
   ========================================== */

.stamboom-container {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding:
        5px 0
        25px;

    scrollbar-width: thin;
}

.genealogische-boom {
    width: max-content;

    min-width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding:
        0 20px;
}


/* ==========================================
   STAMBOOM - GENERATIES
   ========================================== */

.stamboom-generatie {
    position: relative;

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
}

.stamboom-generatie-label {
    position: relative;

    z-index: 5;

    margin:
        0 0
        18px;

    padding:
        2px 14px;

    background:
        var(--papier);

    color:
        var(--goud);

    font-size: 11px;
    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 2px;
}


/* ==========================================
   STAMBOOM - KAART
   ========================================== */

.stamboom-kaart {
    width: 250px;
    min-height: 92px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 17px;

    border:
        1px solid
        #cdbf9f;

    background:
        rgba(255,255,255,.34);

    color:
        var(--tekst);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    text-align: left;

    cursor: pointer;

    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

.stamboom-kaart:hover {
    transform:
        translateY(-3px);

    border-color:
        var(--goud);

    background:
        rgba(255,255,255,.75);

    box-shadow:
        0 7px 18px
        rgba(60,45,20,.08);
}

.stamboom-initialen {
    width: 54px;
    height: 54px;

    flex:
        0 0 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--goud);

    border-radius: 50%;

    color:
        var(--bordeaux);

    font-size: 19px;
}

.stamboom-kaart-info {
    min-width: 0;

    display: flex;

    flex-direction: column;
}

.stamboom-kaart-info strong {
    color:
        var(--bordeaux);

    font-size: 17px;
    line-height: 1.2;
}

.stamboom-kaart-info small {
    margin-top: 4px;

    color:
        #756d5f;

    font-size: 13px;
}


/* ==========================================
   STAMBOOM - RIJ
   ========================================== */

.stamboom-rij {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 22px;

    flex-wrap: wrap;
}


/* ==========================================
   STAMBOOM - OUDERS
   ========================================== */

.stamboom-generatie-ouders {
    padding-bottom: 42px;
    transform: translateX(-146px);
}

/*
 * Wanneer de geselecteerde persoon geen partner heeft,
 * staat die persoon zelf centraal.
 * De ouders moeten dan eveneens centraal staan.
 */

 .genealogische-boom:has(
    .stamboom-generatie-centraal.stamboom-zonder-partner
)
.stamboom-generatie-ouders {
    transform: translateX(0);
}

.stamboom-ouders-rij {
    position: relative;
}


/*
 * Wanneer vader én moeder aanwezig zijn,
 * verbinden we beide kaarten horizontaal.
 */

.stamboom-ouders-rij
.stamboom-kaart
+
.stamboom-kaart {
    margin-left: 20px;
}

.stamboom-ouders-rij:has(
    .stamboom-kaart:nth-child(2)
)::before {
    content: "";

    position: absolute;

    left: 50%;

    top: 50%;

    width: 42px;
    height: 1px;

    transform:
        translate(-50%, -50%);

    background:
        var(--goud);
}


/* ==========================================
   OUDERS → CENTRALE PERSOON
   ========================================== */

.stamboom-lijn-ouders-centraal {
    width: 1px;
    height: 42px;

    background:
        var(--goud);
}


/* ==========================================
   CENTRALE GENERATIE
   ========================================== */

.stamboom-generatie-centraal {
    padding-bottom: 42px;
}

.stamboom-centrale-rij {
    position: relative;

    display: flex;

    justify-content: center;
    align-items: flex-end;

    gap: 42px;
}


/* ==========================================
   CENTRALE PERSOON
   ========================================== */

.stamboom-centraal {
    position: relative;
}

.stamboom-kaart-centraal {
    border:
        2px solid
        var(--bordeaux);

    background:
        rgba(255,255,255,.78);

    box-shadow:
        0 8px 24px
        rgba(60,45,20,.10);
}

.stamboom-kaart-centraal
.stamboom-initialen {
    background:
        var(--bordeaux);

    border-color:
        var(--bordeaux);

    color:
        var(--papier);
}


/* ==========================================
   PARTNERS
   ========================================== */

.stamboom-partners {
    position: relative;
}

.stamboom-subtitel {
    margin:
        0 0
        8px;

    color:
        var(--goud);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    text-align: center;
}


/*
 * Relatielijn tussen centrale persoon
 * en partnerzone.
 */

.stamboom-partners::before {
    content: "";

    position: absolute;

    left: -42px;

    top: 57px;

    width: 42px;
    height: 1px;

    background:
        var(--goud);
}


/* ==========================================
   CENTRAAL → KINDEREN
   ========================================== */

.stamboom-lijn-centraal-kinderen {
    width: 1px;
    height: 42px;

    background:
        var(--goud);
}


/* ==========================================
   KINDEREN
   ========================================== */

.stamboom-generatie-kinderen {
    position: relative;
}

.stamboom-generatie-kinderen
.stamboom-generatie-label {
    margin-bottom: 18px;
}

.stamboom-kinderen-rij {
    position: relative;

    display: flex;

    justify-content: center;
    align-items: flex-start;

    gap: 16px;

    padding-top: 28px;
}


/*
 * Horizontale lijn over de kinderen.
 */

.stamboom-kinderen-rij::before {
    content: "";

    position: absolute;

    top: 0;

    left: 110px;
    right: 110px;

    height: 1px;

    background:
        var(--goud);
}

.stamboom-kind {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;
}

.stamboom-kind-lijn {
    position: absolute;

    left: 50%;
    bottom: 100%;

    width: 1px;
    height: 28px;

    background:
        var(--goud);
}


/*
 * Kinderen iets compacter.
 */

.stamboom-kaart-kind {
    width: 220px;
}


/* ==========================================
   ÉÉN KIND
   ========================================== */

.stamboom-kinderen-rij:has(
    .stamboom-kind:only-child
)::before {

    left: 50%;
    right: auto;

    width: 1px;
}


/* ==========================================
   GEEN GEGEVENS
   ========================================== */

.stamboom-leeg {
    margin:
        8px 0
        12px;

    color:
        #8b8170;

    font-size: 14px;

    font-style: italic;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {

    .stamboom-hero h1 {
        font-size: 42px;
    }

    .genealogische-boom {
        min-width: 900px;
    }

    .stamboom-kaart {
        width: 225px;
    }

    .stamboom-kaart-kind {
        width: 205px;
    }

}


/* ==========================================
   MOBIEL
   ========================================== */

@media (max-width: 650px) {

    .stamboom-pagina {
        padding:
            40px 12px
            80px;
    }

    .stamboom-hero-inner {
        padding:
            50px 20px
            45px;
    }

    .stamboom-hero h1 {
        font-size: 36px;
    }

    .stamboom-keuze {
        width: 100%;
    }

    .genealogische-boom {
        min-width: 850px;

        padding:
            0 12px;
    }

    .stamboom-kaart {
        width: 210px;

        min-height: 88px;

        padding: 15px;
    }

    .stamboom-initialen {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }

    .stamboom-kaart-kind {
        width: 190px;
    }

}

/* ==========================================
   STAMBOOM - LINK PERSOONSFICHE
   ========================================== */

   .stamboom-centraal {
    position: relative;
}

.stamboom-fiche-link {
    position: absolute;

    top: calc(100% + 8px);
    left: 50%;

    transform: translateX(-50%);

    color: var(--bordeaux);

    font-size: 11px;
    font-weight: bold;

    text-decoration: none;
    text-transform: uppercase;

    letter-spacing: 1.2px;

    white-space: nowrap;

    border-bottom:
        1px solid
        transparent;

    transition:
        color .15s ease,
        border-color .15s ease;
}

.stamboom-fiche-link:hover {
    color: var(--goud);

    border-bottom-color:
        var(--goud);
}

/* ==========================================
   CHI SONO
   ========================================== */

   .chi-sono-sectie {
    padding:
        80px 30px;
}

.chi-sono-sectie-alternatief {
    background:
        rgba(255,255,255,.24);

    border-top:
        1px solid
        #ded3bc;

    border-bottom:
        1px solid
        #ded3bc;
}

.chi-sono-inner {
    max-width: 850px;

    margin: auto;
}

.chi-sono-sectie h2 {
    margin:
        7px 0
        0;

    color:
        var(--bordeaux);

    font-size: 38px;
    line-height: 1.15;

    font-weight: normal;
}

.chi-sono-sectie p {
    font-size: 17px;

    color:
        #554e43;
}

.chi-sono-lijn {
    margin:
        22px 0
        30px;
}


/* ==========================================
   CHI SONO - PROFIEL
   ========================================== */

.chi-sono-profiel {
    max-width: 950px;

    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    gap: 55px;

    align-items: center;
}

.chi-sono-foto {
    width: 210px;
    height: 260px;

    padding: 9px;

    border:
        1px solid
        #bcae8f;

    background:
        #eee5d1;
}

.chi-sono-foto-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border:
        1px dashed
        #a99b7c;

    color:
        #81765e;
}

.chi-sono-foto-placeholder span {
    margin-bottom: 15px;

    color:
        var(--bordeaux);

    font-size: 54px;
    line-height: 1;
}

.chi-sono-foto-placeholder small {
    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


/* ==========================================
   CHI SONO - CONTACT
   ========================================== */

.chi-sono-contact {
    padding:
        90px 30px;

    background:
        var(--groen);

    text-align: center;
}

.chi-sono-contact-inner {
    max-width: 720px;

    margin: auto;
}

.chi-sono-contact h2 {
    margin:
        8px 0
        20px;

    color:
        #e5cf96;

    font-size: 40px;

    font-weight: normal;
}

.chi-sono-contact p {
    margin:
        8px auto;

    color:
        #eee5d1;

    font-size: 17px;
}

.chi-sono-contact .knop {
    margin-top: 28px;

    background:
        var(--bordeaux);

    border-color:
        var(--goud);
}

.chi-sono-contact .knop:hover {
    background:
        transparent;

    color:
        #e5cf96;
}


/* ==========================================
   CHI SONO - MOBIEL
   ========================================== */

@media (max-width: 650px) {

    .chi-sono-sectie {
        padding:
            55px 22px;
    }

    .chi-sono-sectie h2 {
        font-size: 32px;
    }

    .chi-sono-profiel {
        grid-template-columns: 1fr;

        gap: 35px;

        text-align: center;
    }

    .chi-sono-foto {
        margin: auto;
    }

    .chi-sono-lijn {
        margin-left: auto;
        margin-right: auto;
    }

    .chi-sono-contact {
        padding:
            65px 22px;
    }

    .chi-sono-contact h2 {
        font-size: 34px;
    }

}
/* ==========================================
   VERHAAL - ARTIKELPAGINA
   ========================================== */

   .verhaal-hero {
    padding:
        95px 30px
        75px;

    background:
        linear-gradient(
            135deg,
            #efe5cf,
            #f8f3e7
        );

    border-bottom:
        1px solid
        #cdbf9f;
}

.verhaal-hero-inner {
    max-width:
        900px;

    margin:
        auto;

    text-align:
        center;
}

.verhaal-hero .sectie-label {
    margin:
        0 0
        15px;
}

.verhaal-hero h1 {
    margin:
        0;

    color:
        var(--bordeaux);

    font-size:
        clamp(
            52px,
            7vw,
            78px
        );

    line-height:
        1;

    font-weight:
        normal;
}

.verhaal-ondertitel {
    max-width:
        620px;

    margin:
        25px auto
        0;

    color:
        #655d50;

    font-size:
        20px;

    font-style:
        italic;
}


/* ==========================================
   ARTIKEL
   ========================================== */

.verhaal-artikel {
    padding:
        85px 30px
        120px;
}

.verhaal-tekst {
    max-width:
        790px;

    margin:
        0 auto;
}

.verhaal-tekst p {
    margin:
        0 0
        24px;

    color:
        #443e34;

    font-size:
        18px;

    line-height:
        1.85;
}

.verhaal-intro {
    margin-bottom:
        30px !important;

    color:
        var(--groen) !important;

    font-size:
        23px !important;

    line-height:
        1.7 !important;

    font-style:
        italic;
}

.verhaal-tekst h2 {
    margin:
        70px 0
        24px;

    color:
        var(--bordeaux);

    font-size:
        34px;

    line-height:
        1.2;

    font-weight:
        normal;
}


/* ==========================================
   VERHAAL - ARTIKELPAGINA
   ========================================== */

   .verhaal-hero {
    padding:
        95px 30px
        75px;

    background:
        linear-gradient(
            135deg,
            #efe5cf,
            #f8f3e7
        );

    border-bottom:
        1px solid #cdbf9f;
}

.verhaal-hero-inner {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.verhaal-hero .sectie-label {
    margin: 0 0 15px;
}

.verhaal-hero h1 {
    margin: 0;

    color: var(--bordeaux);

    font-size:
        clamp(
            52px,
            7vw,
            78px
        );

    line-height: 1;
    font-weight: normal;
}

.verhaal-ondertitel {
    max-width: 620px;

    margin:
        25px auto
        0;

    color: #655d50;

    font-size: 20px;
    font-style: italic;
}


/* ==========================================
   ARTIKEL
   ========================================== */

.verhaal-artikel {
    padding:
        85px 30px
        120px;
}


/* ==========================================
   GEWONE TEKST
   ========================================== */

.verhaal-tekst {
    max-width: 790px;
    margin: 0 auto;
}

.verhaal-tekst p {
    margin:
        0 0
        24px;

    color: #443e34;

    font-size: 18px;
    line-height: 1.85;
}

.verhaal-intro {
    margin-bottom:
        30px !important;

    color:
        var(--groen) !important;

    font-size:
        23px !important;

    line-height:
        1.7 !important;

    font-style: italic;
}

.verhaal-tekst h2 {
    margin:
        70px 0
        24px;

    color: var(--bordeaux);

    font-size: 34px;
    line-height: 1.2;

    font-weight: normal;
}


/* ==========================================
   GROTE HISTORISCHE SCHETS
   ========================================== */

.verhaal-figuur-groot {
    width: 100%;
    max-width: 790px;

    margin:
        50px auto
        80px;
}

.verhaal-figuur-groot img {
    display: block;

    width: 100%;
    height: auto;

    border:
        1px solid #c7b997;

    background:
        #eee5d1;
}

.verhaal-figuur-groot figcaption {
    max-width: 790px;

    margin:
        14px auto
        0;

    color: #756d5f;

    font-size: 13px;
    line-height: 1.55;

    text-align: center;
    font-style: italic;
}

.verhaal-figuur-groot figcaption strong {
    color: #554e43;
    font-style: normal;
}

.verhaal-figuur-groot figcaption span {
    display: block;

    margin-top: 4px;

    color: #8a8173;

    font-size: 12px;
}


/* ==========================================
   TEKST + AFBEELDING
   ========================================== */

.verhaal-media {
    width: 100%;
    max-width: 790px;

    margin:
        70px auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 38px;

    align-items: start;
}


/* ==========================================
   TEKST NAAST AFBEELDING
   ========================================== */

.verhaal-media-tekst {
    min-width: 0;
}

.verhaal-media-tekst h2 {
    margin:
        0 0
        22px;

    color: var(--bordeaux);

    font-size: 30px;
    line-height: 1.15;

    font-weight: normal;
}

.verhaal-media-tekst p {
    margin:
        0 0
        18px;

    color: #443e34;

    font-size: 17px;
    line-height: 1.75;
}

.verhaal-media-tekst p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   AFBEELDING
   ========================================== */

.verhaal-media-afbeelding {
    width: 100%;
    margin: 0;
}

.verhaal-media-afbeelding img {
    display: block;

    width: 100%;
    height: auto;

    border:
        1px solid #c7b997;

    background: #eee5d1;
}

.verhaal-media-afbeelding figcaption {
    margin:
        9px 0
        0;

    color: #756d5f;

    font-size: 11px;
    line-height: 1.45;

    font-style: italic;
    text-align: left;
}

.verhaal-media-afbeelding figcaption strong {
    color: #554e43;
    font-style: normal;
}


/* ==========================================
   LOCATIEKAART
   KAART LINKS - TEKST RECHTS
   ========================================== */

.verhaal-media-omgekeerd {
    max-width: 790px;

    grid-template-columns:
        430px
        minmax(0, 1fr);

    gap: 38px;
}

.verhaal-media-omgekeerd
.verhaal-media-afbeelding {
    grid-column: 1;
    grid-row: 1;
}

.verhaal-media-omgekeerd
.verhaal-media-tekst {
    grid-column: 2;
    grid-row: 1;
}


/* ==========================================
   SLOTQUOTE
   ========================================== */

.verhaal-citaat {
    max-width: 790px;

    margin:
        90px auto
        70px;

    padding:
        45px 55px;

    border-top:
        1px solid var(--goud);

    border-bottom:
        1px solid var(--goud);

    text-align: center;
}

.verhaal-citaat p {
    margin:
        0 0
        12px;

    color: #554e43;

    font-size: 23px;
    line-height: 1.5;

    font-style: italic;
}

.verhaal-citaat strong {
    color: var(--bordeaux);

    font-size: 24px;
    font-weight: normal;
}


/* ==========================================
   BRONNEN
   ========================================== */

.verhaal-bronnen-eenvoudig {
    max-width: 790px;

    margin: 0 auto;

    padding-top: 35px;

    border-top:
        1px solid #d4c8ad;
}

.verhaal-bronnen-eenvoudig .sectie-label {
    margin:
        0 0
        12px;
}

.verhaal-bronnen-eenvoudig p:last-child {
    margin: 0;

    color: #756d5f;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================
   TERUGLINK
   ========================================== */

.verhaal-terug {
    max-width: 790px;

    margin:
        55px auto
        0;
}

.verhaal-terug a {
    color: var(--bordeaux);

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: .5px;
}

.verhaal-terug a:hover {
    color: var(--goud);
}


/* ==========================================
   VERHAAL - TABLET
   ========================================== */

@media (max-width: 850px) {

    .verhaal-media {
        grid-template-columns:
            minmax(0, 1fr)
            270px;

        gap: 30px;
    }

    .verhaal-media-omgekeerd {
        grid-template-columns:
            minmax(330px, 1.15fr)
            minmax(0, .85fr);

        gap: 30px;
    }

    .verhaal-figuur-groot {
        max-width: 900px;
    }

}


/* ==========================================
   VERHAAL - MOBIEL
   ========================================== */

@media (max-width: 650px) {

    .verhaal-hero {
        padding:
            65px 22px
            55px;
    }

    .verhaal-hero h1 {
        font-size: 48px;
    }

    .verhaal-ondertitel {
        font-size: 18px;
    }


    /* ARTIKEL */

    .verhaal-artikel {
        padding:
            55px 22px
            85px;
    }


    /* GEWONE TEKST */

    .verhaal-tekst p {
        font-size: 17px;
    }

    .verhaal-intro {
        font-size:
            20px !important;
    }

    .verhaal-tekst h2 {
        margin-top: 55px;

        font-size: 29px;
    }


    /* GROTE SCHETS */

    .verhaal-figuur-groot {
        margin:
            40px auto
            60px;
    }

    .verhaal-figuur-groot figcaption {
        font-size: 12px;
    }


    /* TEKST + AFBEELDING */

    .verhaal-media,
    .verhaal-media-omgekeerd {
        margin:
            55px auto;

        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* TEKST EERST */

    .verhaal-media-tekst,
    .verhaal-media-omgekeerd
    .verhaal-media-tekst {
        grid-column: 1;
        grid-row: 1;
    }


    /* AFBEELDING DAARNA */

    .verhaal-media-afbeelding,
    .verhaal-media-omgekeerd
    .verhaal-media-afbeelding {
        grid-column: 1;
        grid-row: 2;

        width: 100%;
        max-width: 440px;

        margin:
            0 auto;
    }


    .verhaal-media-tekst h2 {
        font-size: 29px;
    }

    .verhaal-media-tekst p {
        font-size: 17px;
    }

    .verhaal-media-afbeelding figcaption {
        text-align: center;
    }


    /* SLOTQUOTE */

    .verhaal-citaat {
        margin:
            65px auto
            55px;

        padding:
            35px 15px;
    }

    .verhaal-citaat p {
        font-size: 20px;
    }

    .verhaal-citaat strong {
        font-size: 21px;
    }

}

/* ==========================================
   FONTI - TITELS VAN DOCUMENTEN
   ========================================== */

   .bron-titel {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.35;
}