/*
Theme Name: H. Johannes de Doper
Theme URI: https://johannesdedoper-wijk.nl
Author: RK Geloofsgemeenschap H. Johannes de Doper
Author URI: https://johannesdedoper-wijk.nl
Description: Een sober, sacraal en warm WordPress-thema voor de katholieke geloofsgemeenschap H. Johannes de Doper in Wijk bij Duurstede. Geïnspireerd op oude liturgische handschriften, middeleeuwse typografie en de stilte van romaanse kerkarchitectuur.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: johannes-de-doper
Tags: religion, community, church, clean, minimalist, custom-colors, custom-menu, editor-style, featured-images, threaded-comments, translation-ready
*/

/* ================================================================
   FONTS
   Cormorant Garamond = edele display-serif, middeleeuws aandoend
   EB Garamond        = klassieke body-serif, zeer leesbaar
   Cinzel             = kapitalen, voelt als steeninscriptie
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Cinzel:wght@400;500;600&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */

:root {
    /* Kleurpalet: geïnspireerd op kaarsvlam, perkament en natuursteen */
    --kleur-perkament: #f4efe6;
    --kleur-perkament-licht: #faf6ee;
    --kleur-perkament-donker: #e8dfd0;
    --kleur-inkt: #1f1a15;
    --kleur-inkt-zacht: #3a312a;
    --kleur-steen: #8a7f70;
    --kleur-steen-licht: #b8ac9b;
    --kleur-bloed: #7a1f1a;        /* diep roodbruin als in romaanse fresco's */
    --kleur-bloed-diep: #5a1512;
    --kleur-goud: #a8842c;          /* gedempt middeleeuws goud */
    --kleur-goud-licht: #c9a74a;
    --kleur-wierook: #6b5942;

    /* Typografie */
    --font-display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --font-body: 'EB Garamond', Georgia, 'Times New Roman', serif;
    --font-kapitaal: 'Cinzel', 'Trajan Pro', serif;

    /* Ruimte */
    --ruimte-xs: 0.5rem;
    --ruimte-sm: 1rem;
    --ruimte-md: 2rem;
    --ruimte-lg: 4rem;
    --ruimte-xl: 6rem;
    --ruimte-xxl: 9rem;

    /* Containers */
    --breedte-max: 1280px;
    --breedte-tekst: 68ch;

    /* Overig */
    --radius-klein: 2px;
    --schaduw-zacht: 0 2px 8px rgba(31, 26, 21, 0.06);
    --schaduw-middel: 0 10px 40px rgba(31, 26, 21, 0.12);
    --overgang: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ================================================================
   RESET & BASIS
   ================================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--kleur-inkt);
    background-color: var(--kleur-perkament);
    background-image:
        radial-gradient(ellipse at top left, rgba(168, 132, 44, 0.04), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(122, 31, 26, 0.03), transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtiele perkament-textuur via SVG noise */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--kleur-bloed);
    text-decoration: none;
    text-underline-offset: 0.2em;
    transition: color var(--overgang);
}

a:hover {
    color: var(--kleur-bloed-diep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

/* ================================================================
   TYPOGRAFIE
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--kleur-inkt);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

.kapitaal {
    font-family: var(--font-kapitaal);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--kleur-wierook);
}

.initiaal::first-letter {
    font-family: var(--font-display);
    font-size: 4.5em;
    font-weight: 400;
    float: left;
    line-height: 0.85;
    margin: 0.08em 0.12em 0 0;
    color: var(--kleur-bloed);
    font-style: italic;
}

blockquote {
    border-left: 2px solid var(--kleur-goud);
    padding: var(--ruimte-sm) var(--ruimte-md);
    margin: var(--ruimte-md) 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--kleur-inkt-zacht);
    background: var(--kleur-perkament-licht);
}

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

.site-header {
    position: relative;
    z-index: 10;
    background: var(--kleur-perkament-licht);
    border-bottom: 1px solid var(--kleur-perkament-donker);
}

.site-header-top {
    background: var(--kleur-inkt);
    color: var(--kleur-perkament);
    padding: 0.5rem 0;
    font-size: 0.8rem;
}

.site-header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-header-top a { color: var(--kleur-perkament); }
.site-header-top a:hover { color: var(--kleur-goud-licht); }

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--ruimte-md);
    padding: var(--ruimte-md) 0;
}

.site-branding {
    grid-column: 2;
    text-align: center;
}

.site-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: 0;
    line-height: 1;
}

.site-title a {
    color: var(--kleur-inkt);
    font-style: italic;
}

.site-title a:hover { text-decoration: none; color: var(--kleur-bloed); }

.site-description {
    font-family: var(--font-kapitaal);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.65rem;
    color: var(--kleur-wierook);
    margin-top: 0.5rem;
}

/* Sier-ornament onder het logo */
.header-ornament {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem auto 0;
    color: var(--kleur-goud);
}

.header-ornament::before,
.header-ornament::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--kleur-goud), transparent);
}

.header-ornament svg { width: 14px; height: 14px; }

/* ================================================================
   NAVIGATIE
   ================================================================ */

.primary-navigation {
    border-top: 1px solid var(--kleur-perkament-donker);
    border-bottom: 1px solid var(--kleur-perkament-donker);
    background: var(--kleur-perkament-licht);
}

.primary-navigation .menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
}

.primary-navigation .menu > li {
    position: relative;
}

.primary-navigation .menu > li > a {
    display: block;
    padding: 1.1rem 1.5rem;
    font-family: var(--font-kapitaal);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--kleur-inkt-zacht);
    position: relative;
}

.primary-navigation .menu > li > a:hover,
.primary-navigation .menu > li.current-menu-item > a {
    color: var(--kleur-bloed);
    text-decoration: none;
}

.primary-navigation .menu > li > a::after {
    content: "";
    position: absolute;
    bottom: 0.6rem;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--kleur-goud);
    transition: width var(--overgang), left var(--overgang);
}

.primary-navigation .menu > li:hover > a::after,
.primary-navigation .menu > li.current-menu-item > a::after {
    width: 24px;
    left: calc(50% - 12px);
}

.menu-separator {
    color: var(--kleur-steen-licht);
    display: flex;
    align-items: center;
    user-select: none;
}

/* Mobiele menu-toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--kleur-inkt);
    padding: 0.6rem 1rem;
    font-family: var(--font-kapitaal);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--kleur-inkt);
}

/* ================================================================
   CONTAINER
   ================================================================ */

.container {
    max-width: var(--breedte-max);
    margin: 0 auto;
    padding: 0 var(--ruimte-md);
    position: relative;
    z-index: 2;
}

.container-smal {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--ruimte-md);
}

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

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--ruimte-xl) 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--kleur-perkament-licht) 0%, var(--kleur-perkament) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(168, 132, 44, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(122, 31, 26, 0.05), transparent 40%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ruimte-xl);
    align-items: center;
}

.hero-tekst { position: relative; }

.hero-eyebrow {
    font-family: var(--font-kapitaal);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.7rem;
    color: var(--kleur-wierook);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-eyebrow::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--kleur-goud);
}

.hero-titel {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    font-style: italic;
    line-height: 0.95;
    margin-bottom: 2rem;
    color: var(--kleur-inkt);
}

.hero-titel em {
    font-style: normal;
    color: var(--kleur-bloed);
    font-weight: 400;
}

.hero-ondertitel {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--kleur-inkt-zacht);
    margin-bottom: 2.5rem;
    max-width: 52ch;
}

.hero-acties {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-afbeelding {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.hero-afbeelding::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #2a2420 0%, #4a3a2a 50%, #1a1614 100%);
    z-index: 1;
}

.hero-afbeelding::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 50% 40%, rgba(200, 160, 80, 0.4), transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(122, 31, 26, 0.3), transparent 50%);
    z-index: 2;
}

.hero-afbeelding-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--ruimte-md);
    color: var(--kleur-perkament);
}

.hero-afbeelding-content .kapitaal {
    color: var(--kleur-goud-licht);
}

/* SVG kerkraam in hero */
.kerkraam-svg {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: auto;
    z-index: 3;
    opacity: 0.85;
}

/* ================================================================
   KNOPPEN
   ================================================================ */

.knop {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-kapitaal);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid currentColor;
    background: transparent;
    color: var(--kleur-inkt);
    cursor: pointer;
    transition: all var(--overgang);
    text-decoration: none;
}

.knop:hover {
    background: var(--kleur-inkt);
    color: var(--kleur-perkament);
    text-decoration: none;
}

.knop-primair {
    background: var(--kleur-bloed);
    color: var(--kleur-perkament);
    border-color: var(--kleur-bloed);
}

.knop-primair:hover {
    background: var(--kleur-bloed-diep);
    border-color: var(--kleur-bloed-diep);
    color: var(--kleur-perkament);
}

.knop::after {
    content: "→";
    font-family: var(--font-body);
    font-size: 1rem;
    transition: transform var(--overgang);
}

.knop:hover::after { transform: translateX(4px); }

/* ================================================================
   SECTIES / ALGEMEEN
   ================================================================ */

.sectie {
    padding: var(--ruimte-xl) 0;
    position: relative;
}

.sectie-kop {
    text-align: center;
    margin-bottom: var(--ruimte-lg);
    position: relative;
}

.sectie-kop .kapitaal { display: block; margin-bottom: 1.5rem; }

.sectie-titel {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 400;
    font-style: italic;
    max-width: 22ch;
    margin: 0 auto 1.5rem;
    line-height: 1.1;
}

.sectie-intro {
    max-width: 60ch;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--kleur-inkt-zacht);
}

.sectie-ornament {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sectie-ornament svg {
    width: 36px;
    height: auto;
    color: var(--kleur-goud);
}

/* ================================================================
   MISSIE / VISIE SECTIE
   ================================================================ */

.missie {
    background: var(--kleur-perkament-licht);
    border-top: 1px solid var(--kleur-perkament-donker);
    border-bottom: 1px solid var(--kleur-perkament-donker);
}

.missie-tekst {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.missie-quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    line-height: 1.45;
    font-style: italic;
    font-weight: 300;
    color: var(--kleur-inkt);
    margin-bottom: 3rem;
}

.missie-quote strong {
    color: var(--kleur-bloed);
    font-weight: 400;
    font-style: normal;
}

.missie-pijlers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--ruimte-md);
    margin-top: var(--ruimte-lg);
    text-align: left;
}

.pijler {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--kleur-goud);
    position: relative;
}

.pijler-nummer {
    font-family: var(--font-kapitaal);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--kleur-goud);
    margin-bottom: 1rem;
}

.pijler-titel {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.pijler-tekst {
    color: var(--kleur-inkt-zacht);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================================================
   VIERINGEN LIJST
   ================================================================ */

.vieringen {
    background: var(--kleur-perkament);
}

.vieringen-lijst {
    max-width: 880px;
    margin: 0 auto;
    list-style: none;
}

.viering {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: var(--ruimte-md);
    padding: 2rem 0;
    border-bottom: 1px solid var(--kleur-perkament-donker);
    align-items: center;
    transition: background var(--overgang);
}

.viering:hover { background: var(--kleur-perkament-licht); }
.viering:first-child { border-top: 1px solid var(--kleur-perkament-donker); }

.viering-datum {
    text-align: center;
    font-family: var(--font-display);
    border-right: 1px solid var(--kleur-perkament-donker);
    padding-right: var(--ruimte-md);
}

.viering-datum .dag {
    display: block;
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1;
    color: var(--kleur-bloed);
}

.viering-datum .maand {
    font-family: var(--font-kapitaal);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--kleur-wierook);
    margin-top: 0.5rem;
    display: block;
}

.viering-info .kapitaal {
    margin-bottom: 0.4rem;
    display: block;
}

.viering-info h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.viering-info h3 a { color: var(--kleur-inkt); }
.viering-info h3 a:hover { color: var(--kleur-bloed); text-decoration: none; }

.viering-meta {
    color: var(--kleur-inkt-zacht);
    font-size: 0.9rem;
    font-style: italic;
}

.viering-tijd {
    font-family: var(--font-kapitaal);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--kleur-wierook);
    padding: 0.5rem 1rem;
    border: 1px solid var(--kleur-steen-licht);
}

/* ================================================================
   ACTIVITEITEN / KAARTEN
   ================================================================ */

.activiteiten {
    background: var(--kleur-perkament-licht);
    border-top: 1px solid var(--kleur-perkament-donker);
}

.kaarten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--ruimte-md);
    margin-top: var(--ruimte-lg);
}

.kaart {
    background: var(--kleur-perkament);
    padding: var(--ruimte-md);
    border: 1px solid var(--kleur-perkament-donker);
    position: relative;
    transition: all var(--overgang);
    overflow: hidden;
}

.kaart::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--kleur-goud);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kaart:hover {
    transform: translateY(-4px);
    box-shadow: var(--schaduw-middel);
}

.kaart:hover::before { transform: scaleX(1); }

.kaart-icoon {
    width: 48px;
    height: 48px;
    color: var(--kleur-bloed);
    margin-bottom: 1.5rem;
}

.kaart h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.kaart p {
    color: var(--kleur-inkt-zacht);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.kaart-link {
    font-family: var(--font-kapitaal);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--kleur-bloed);
}

/* ================================================================
   NIEUWS / BLOG POSTS
   ================================================================ */

.nieuws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--ruimte-md);
    margin-top: var(--ruimte-lg);
}

article.post-preview {
    background: var(--kleur-perkament-licht);
    border: 1px solid var(--kleur-perkament-donker);
    padding: var(--ruimte-md);
    transition: all var(--overgang);
}

article.post-preview:hover {
    background: var(--kleur-perkament);
    border-color: var(--kleur-goud);
}

.post-preview time {
    font-family: var(--font-kapitaal);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--kleur-wierook);
    display: block;
    margin-bottom: 1rem;
}

.post-preview h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.post-preview h3 a { color: var(--kleur-inkt); }
.post-preview h3 a:hover { color: var(--kleur-bloed); text-decoration: none; }

.post-preview .excerpt {
    color: var(--kleur-inkt-zacht);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* ================================================================
   CONTACT / BEZOEK
   ================================================================ */

.contact {
    background: var(--kleur-inkt);
    color: var(--kleur-perkament);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(168, 132, 44, 0.12), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(122, 31, 26, 0.15), transparent 50%);
}

.contact .container { position: relative; z-index: 2; }

.contact .sectie-titel { color: var(--kleur-perkament); }
.contact .kapitaal { color: var(--kleur-goud-licht); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ruimte-lg);
    margin-top: var(--ruimte-lg);
}

.contact-info h4 {
    color: var(--kleur-goud-licht);
    font-family: var(--font-kapitaal);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-info p {
    color: rgba(244, 239, 230, 0.85);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--kleur-perkament);
    border-bottom: 1px solid var(--kleur-goud);
}

.contact-blok + .contact-blok { margin-top: 2.5rem; }

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

.site-footer {
    background: #0f0c0a;
    color: var(--kleur-steen-licht);
    padding: var(--ruimte-lg) 0 var(--ruimte-md);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--ruimte-md);
    margin-bottom: var(--ruimte-md);
}

.footer-col h5 {
    font-family: var(--font-kapitaal);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--kleur-goud-licht);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--kleur-steen-licht); }
.footer-col a:hover { color: var(--kleur-perkament); }

.footer-brand h4 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--kleur-perkament);
    margin-bottom: 1rem;
    font-weight: 400;
}

.footer-brand p {
    color: rgba(184, 172, 155, 0.8);
    line-height: 1.6;
    max-width: 34ch;
}

.footer-bottom {
    padding-top: var(--ruimte-md);
    border-top: 1px solid rgba(184, 172, 155, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(184, 172, 155, 0.6);
}

/* ================================================================
   WIDGETS / SIDEBAR
   ================================================================ */

.widget {
    margin-bottom: var(--ruimte-md);
    padding-bottom: var(--ruimte-md);
    border-bottom: 1px solid var(--kleur-perkament-donker);
}

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

.widget-title {
    font-family: var(--font-kapitaal);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--kleur-wierook);
    margin-bottom: 1.25rem;
}

.widget ul { list-style: none; }
.widget li { padding: 0.35rem 0; border-bottom: 1px dotted var(--kleur-perkament-donker); }

/* ================================================================
   SINGLE POST / PAGE
   ================================================================ */

.page-header {
    text-align: center;
    padding: var(--ruimte-lg) 0 var(--ruimte-md);
    border-bottom: 1px solid var(--kleur-perkament-donker);
    margin-bottom: var(--ruimte-lg);
}

.page-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
}

.entry-meta {
    font-family: var(--font-kapitaal);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--kleur-wierook);
}

.entry-content {
    max-width: var(--breedte-tekst);
    margin: 0 auto;
    font-size: 1.075rem;
    line-height: 1.8;
}

.entry-content > p:first-of-type { font-size: 1.2rem; color: var(--kleur-inkt-zacht); }

.entry-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--kleur-bloed);
}

.entry-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.entry-content ul, .entry-content ol { margin: 1rem 0 1rem 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: var(--ruimte-lg); }
    .hero-afbeelding { max-height: 500px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .viering { grid-template-columns: 90px 1fr; gap: 1rem; }
    .viering-tijd { grid-column: 2; justify-self: start; margin-top: 0.5rem; }
    .viering-datum .dag { font-size: 2rem; }

    .menu-toggle { display: inline-block; margin: 1rem auto; }
    .header-inner { grid-template-columns: 1fr; }
    .primary-navigation .menu {
        flex-direction: column;
        align-items: center;
        display: none;
    }
    .primary-navigation.toggled .menu { display: flex; }
    .menu-separator { display: none; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    html { font-size: 16px; }
    .sectie { padding: var(--ruimte-lg) 0; }
}

/* ================================================================
   ANIMATIES
   ================================================================ */

@keyframes vervagen-omhoog {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animeer-in {
    animation: vervagen-omhoog 1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.animeer-in.verlaat-1 { animation-delay: 0.1s; }
.animeer-in.verlaat-2 { animation-delay: 0.3s; }
.animeer-in.verlaat-3 { animation-delay: 0.5s; }
.animeer-in.verlaat-4 { animation-delay: 0.7s; }

/* Kaarsvlam-animatie voor iconen */
@keyframes flakker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

.vlam { animation: flakker 3s ease-in-out infinite; transform-origin: center bottom; }

/* ================================================================
   UTILITIES
   ================================================================ */

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
