/*
Theme Name: Zonder Meer
Theme URI: https://zondermeer.org
Description: Custom theme voor Zonder Meer — dé verpakkingsvrije winkel van Bodegraven.
Version: 1.1.0
Author: Zonder Meer
Author URI: https://zondermeer.org
Text Domain: zondermeer
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later

Zonder Meer — verpakkingsvrije winkel Bodegraven. Filosofie van Genoeg.
*/

/* ==========================================================================
   CSS Custom Properties — Officiële huisstijl Zonder Meer
   ========================================================================== */

:root {
    /* Primaire kleuren (uit huisstijlboek) */
    --zm-yellow: #FBBA06;         /* Geluk & plezier */
    --zm-yellow-soft: #FFD670;
    --zm-yellow-tint: #FEF3D3;
    --zm-yellow-ink: #8A6600;     /* WCAG-safe tekst-kleur voor gele accenten (6.5:1 op wit) */

    --zm-blue: #0077AC;           /* Wijsheid, vertrouwen, stabiliteit */
    --zm-blue-soft: #4AA5D0;
    --zm-blue-tint: #DDEFF7;
    --zm-blue-ink: #004464;       /* = navy: tekst op blauwe accenten (9.4:1) */

    --zm-navy: #004464;           /* Diepte, autoriteit */
    --zm-navy-soft: #1E6B8F;
    --zm-navy-tint: #C7DBE6;

    /* Secundaire kleuren (accenten) */
    --zm-red: #C0181D;            /* Enthousiasme, kracht */
    --zm-red-tint: #F5D6D8;
    --zm-green: #359138;          /* Rust, vernieuwing, levendigheid */
    --zm-green-tint: #D3E9D4;
    --zm-green-ink: #2A7A2E;      /* Donkerder groen voor tekst (5.5:1 op wit) */
    --zm-purple: #73184C;         /* Creativiteit, comfort */
    --zm-purple-tint: #E4D2DC;

    /* Backwards compat aliases (oude klassen) */
    --zm-blue-dark: var(--zm-navy);
    --zm-blue-light: var(--zm-blue-tint);
    --zm-gold: var(--zm-yellow);
    --zm-gold-dark: #DBA000;
    --zm-gold-light: var(--zm-yellow-tint);

    /* Neutraal */
    --zm-white: #FFFFFF;
    --zm-off-white: #FBF8F1;      /* Warme wit met een vleugje geel */
    --zm-cream: #FFF9E9;
    --zm-text: #1A2E3B;           /* Bijna navy voor betere brand match */
    --zm-text-light: #5A6C78;
    --zm-border: #E8DFC9;         /* Warme border */
    --zm-shadow: 0 8px 24px rgba(0, 68, 100, 0.08);
    --zm-shadow-lg: 0 16px 40px rgba(0, 68, 100, 0.12);

    /* Feedback */
    --zm-success: var(--zm-green);
    --zm-error: var(--zm-red);
    --zm-warning: var(--zm-yellow);

    /* Typography — Segoe Print eerst (Windows heeft die: dikker, bolder handgeschreven),
       Bradley Hand voor Mac, Kalam/Patrick Hand als webfont fallback.
       De huisstijl fonts (Carrotflower/Macho) zijn betaald dus deze stack matches "vibe" */
    /* Patrick Hand is de brand-heading font (Google Fonts, gratis, ook in Canva).
       Kalam als iets zwaardere fallback. OS-fonts (Segoe Print/Bradley Hand) staan
       er niet meer voor Patrick Hand: dat maakte browser en Canva-uitingen
       verschillend renderen, wat brand-inconsistentie opleverde. */
    --zm-font-heading: 'Patrick Hand', 'Kalam', 'Bradley Hand', 'Segoe Print', 'Comic Sans MS', cursive;
    --zm-font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing (op een 8px grid) */
    --zm-spacing-xs: 0.25rem;
    --zm-spacing-sm: 0.5rem;
    --zm-spacing-md: 1rem;
    --zm-spacing-lg: 2rem;
    --zm-spacing-xl: 4rem;
    --zm-spacing-2xl: 6rem;

    /* Layout */
    --zm-max-width: 1200px;
    --zm-header-height: 88px;
    --zm-border-radius: 12px;
    --zm-border-radius-lg: 24px;
    --zm-border-radius-pill: 999px;

    /* Button tokens — theme-aware (flippen NIET klakkeloos mee met tekst-tokens) */
    --zm-btn-primary-bg:   var(--zm-navy);
    --zm-btn-primary-fg:   #FFFDF6;
    --zm-btn-primary-bg-h: var(--zm-blue);
    --zm-btn-secondary-bg: var(--zm-yellow);
    --zm-btn-secondary-fg: var(--zm-navy);
    --zm-btn-ghost-fg:     var(--zm-navy);
    --zm-btn-ghost-border: var(--zm-navy);
    --zm-btn-ghost-bg-h:   var(--zm-navy);
}

/* ==========================================================================
   Dark mode — respecteert OS voorkeur, veiligheids-tokens blijven navy/geel
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --zm-white: #172E3B;              /* was echt wit — nu "surface" in dark */
        --zm-off-white: #0D1A22;          /* body ground */
        --zm-cream: #12232E;
        --zm-text: #F3ECDA;
        --zm-text-light: #A8B6C0;
        --zm-border: #244054;
        --zm-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        --zm-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);

        /* Tints donker: van pastel naar donker-kleur */
        --zm-yellow-tint: #3B2E10;
        --zm-blue-tint: #0D3A52;
        --zm-navy-tint: #0D2A38;
        --zm-red-tint: #3E1114;
        --zm-green-tint: #123512;
        --zm-purple-tint: #2B0F1E;

        /* Ink varianten — in dark worden dit lichtere kleuren voor tekst-contrast */
        --zm-yellow-ink: #FFD670;
        --zm-blue-ink: #7BC0E5;
        --zm-green-ink: #A8D9AA;

        /* Buttons: primary wordt geel in dark voor sterk contrast tegen donker */
        --zm-btn-primary-bg:   var(--zm-yellow);
        --zm-btn-primary-fg:   var(--zm-navy);
        --zm-btn-primary-bg-h: #FFD670;
        --zm-btn-secondary-bg: var(--zm-blue);
        --zm-btn-secondary-fg: #FFFDF6;
        --zm-btn-ghost-fg:     #F3ECDA;
        --zm-btn-ghost-border: #F3ECDA;
        --zm-btn-ghost-bg-h:   #F3ECDA;
    }
}

/* Als de gebruiker expliciet light kiest — override alles terug naar defaults */
:root[data-theme="light"] { color-scheme: light; }

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

body {
    margin: 0;
    font-family: var(--zm-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--zm-text);
    background-color: var(--zm-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;  /* voorkomt horizontale scroll door decoraties (bijv. +++) */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--zm-font-heading);
    color: var(--zm-text);  /* --zm-text flipt naar cream in dark mode; --zm-navy is fixed en zou onzichtbaar zijn */
    line-height: 1.1;
    margin-top: 0;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

a {
    color: var(--zm-blue);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    font-weight: 600;
}

a:hover,
a:focus {
    color: var(--zm-text);  /* flipt naar cream in dark mode */
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:focus-visible {
    outline: 3px solid var(--zm-yellow);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--zm-yellow);
    color: var(--zm-navy);
}

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

/* ==========================================================================
   Layout
   ========================================================================== */

.zm-container {
    max-width: var(--zm-max-width);
    margin-inline: auto;
    padding-inline: var(--zm-spacing-md);
}

.zm-section {
    padding-block: var(--zm-spacing-2xl);
}

.zm-section--alt {
    background: var(--zm-white);
    position: relative;
}

.zm-section--alt::before,
.zm-section--alt::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3rem;
    background: linear-gradient(var(--zm-off-white), transparent);
    pointer-events: none;
}

.zm-section--alt::before { top: 0; }
.zm-section--alt::after {
    bottom: 0;
    background: linear-gradient(transparent, var(--zm-off-white));
}

.zm-section__cta {
    text-align: center;
    margin-top: var(--zm-spacing-xl);
}

/* Theme toggle knop (licht/donker) — cirkel in header */
.zm-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    color: var(--zm-navy);
    border: 1px solid var(--zm-border);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.zm-theme-toggle:hover {
    background: var(--zm-yellow-tint);
    transform: rotate(15deg);
}
.zm-theme-toggle svg {
    width: 18px;
    height: 18px;
}

/* Sun icoon default zichtbaar; moon in dark mode */
.zm-theme-toggle__moon { display: none; }
:root[data-theme="dark"] .zm-theme-toggle__sun { display: none; }
:root[data-theme="dark"] .zm-theme-toggle__moon { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .zm-theme-toggle__sun { display: none; }
    :root:not([data-theme="light"]) .zm-theme-toggle__moon { display: block; }
}
:root[data-theme="dark"] .zm-theme-toggle,
:root:not([data-theme="light"]) .zm-theme-toggle {
    color: var(--zm-yellow);
    border-color: var(--zm-border);
}

/* Split-button in header: "Deur openen" (primary action) + caret-submenu
   voor "Uitloggen". Het geheel is één pill-vormige knop; padding/typografie
   volgen exact de zm-btn conventies zodat hij naast andere knoppen thuishoort. */
.zm-user-menu {
    display: inline-flex;
    align-items: stretch;
    position: relative;
    background: var(--zm-navy);
    color: #FFFDF6;
    border-radius: var(--zm-border-radius-pill, 999px);
    box-shadow: 0 4px 14px rgba(0, 68, 100, 0.25);
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    font-family: var(--zm-font-heading);
    font-weight: 400;
    letter-spacing: 0.02em;
    font-size: 1.1rem;
    line-height: 1;
}
.zm-user-menu:hover {
    background: var(--zm-btn-primary-bg-h, var(--zm-blue, #2B7A9C));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 119, 172, 0.30);
    filter: brightness(1.03);
}

/* Expliciete color + font: een globale a-selector in het theme overschrijft
   anders color/font: inherit. We willen exact het Patrick Hand + wit van
   de originele Inloggen/Uitloggen knop. */
.zm-header__nav .zm-user-menu__main,
.zm-user-menu__main {
    padding: 0.9rem 1.2rem 0.9rem 1.75rem;
    color: #FFFDF6;
    font-family: var(--zm-font-heading);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}
.zm-header__nav .zm-user-menu__main:hover,
.zm-user-menu__main:hover { color: #FFFDF6; text-decoration: none; }
.zm-user-menu__main:focus-visible {
    outline: 3px solid var(--zm-yellow);
    outline-offset: 2px;
    border-radius: inherit;
}

/* Caret-summary: subtiele scheiding via zachte inset shadow ipv harde
   border-left, en een cirkelvormig hover-highlight om de chevron zodat
   er een duidelijke afzonderlijke klikzone is zonder dat de pill scheurt. */
.zm-user-menu__more { position: relative; display: inline-flex; }
.zm-user-menu__more summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.05rem 0 0.9rem;
    color: #FFFDF6;
    cursor: pointer;
    user-select: none;
    border-top-right-radius: var(--zm-border-radius-pill, 999px);
    border-bottom-right-radius: var(--zm-border-radius-pill, 999px);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12);
    outline: none;
    transition: background-color 0.15s ease;
}
.zm-user-menu__more summary:hover {
    background: rgba(255, 255, 255, 0.08);
}
.zm-user-menu__more summary::-webkit-details-marker { display: none; }
.zm-user-menu__more summary::marker { content: ''; }
.zm-user-menu__more summary:focus-visible {
    outline: 3px solid var(--zm-yellow);
    outline-offset: -3px;
}
.zm-user-menu__more summary svg {
    transition: transform 0.15s ease;
    opacity: 0.85;
    width: 14px;
    height: 14px;
}
.zm-user-menu__more[open] summary {
    background: rgba(255, 255, 255, 0.08);
}
.zm-user-menu__more[open] summary svg { transform: rotate(180deg); opacity: 1; }

/* Dropdown: gebruikt semantic tokens (--zm-white, --zm-text, --zm-border) die
   in dark mode via het theme al mee-flippen. */
.zm-user-menu__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--zm-white);
    color: var(--zm-text);
    border: 1px solid var(--zm-border);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    padding: 0.35rem;
    z-index: 100;
}
.zm-user-menu__dropdown a {
    display: block;
    padding: 0.55rem 0.8rem;
    color: var(--zm-text);
    text-decoration: none;
    font-family: var(--zm-font-body);
    font-size: 0.95rem;
    border-radius: 7px;
}
.zm-user-menu__dropdown a:hover {
    background: var(--zm-yellow-tint);
    color: var(--zm-navy);
    text-decoration: none;
}

/* Dark mode: --zm-navy is een fixed brand-color, dus de knop blijft leesbaar.
   Alleen de link-hover-color in de dropdown moet niet naar navy vallen op donker
   (--zm-yellow-tint flipt daar naar diep bruin waarop navy onleesbaar wordt). */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .zm-user-menu__dropdown a:hover {
        background: rgba(232, 168, 48, 0.18);
        color: var(--zm-yellow);
    }
}
:root[data-theme="dark"] .zm-user-menu__dropdown a:hover {
    background: rgba(232, 168, 48, 0.18);
    color: var(--zm-yellow);
}

/* Section divider tussen secties: subtiele +++ uit het logo */
.zm-section-divider {
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--zm-font-heading);
    color: var(--zm-yellow);
    letter-spacing: 0.4em;
    font-size: 1.5rem;
    opacity: 0.65;
    line-height: 1;
}
.zm-section-divider::before {
    content: "+ + +";
}

/* ==========================================================================
   Belofte / manifesto — "dark moment" met vaste brand kleuren
   Werkt in beide themes hetzelfde (niet flippend)
   ========================================================================== */

.zm-promise {
    background: linear-gradient(160deg, #004464 0%, #002B3F 100%);
    color: #FFFDF6;
    padding-block: clamp(4rem, 8vw, 6rem);
    position: relative;
    overflow: hidden;
}

.zm-promise::before,
.zm-promise::after {
    content: "+ + +";
    position: absolute;
    font-family: var(--zm-font-heading);
    color: #FBBA06;
    font-size: clamp(2rem, 5vw, 5rem);
    letter-spacing: 0.2em;
    opacity: 0.55;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
}
.zm-promise::before {
    top: 1rem;
    left: 1rem;
    transform: rotate(-12deg);
}
.zm-promise::after {
    bottom: 1rem;
    right: 1rem;
    color: #FFD670;
    transform: rotate(8deg);
}
/* Op zeer smalle schermen: decoratie subtieler en verder van content */
@media (max-width: 600px) {
    .zm-promise::before,
    .zm-promise::after {
        opacity: 0.35;
        font-size: 1.75rem;
    }
}

.zm-promise__inner {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.zm-promise__eyebrow {
    display: inline-block;
    font-family: var(--zm-font-body);
    color: #FBBA06;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: var(--zm-spacing-md);
}

.zm-promise h2 {
    color: #FFFDF6;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-block: var(--zm-spacing-sm) var(--zm-spacing-lg);
    line-height: 1.1;
}

.zm-promise p {
    color: #FFFDF6;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    opacity: 0.9;
    max-width: 620px;
    margin-inline: auto;
}

.zm-promise__values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--zm-spacing-md);
    margin-top: var(--zm-spacing-xl);
    max-width: 700px;
    margin-inline: auto;
}

.zm-value {
    padding: var(--zm-spacing-md) 0.75rem;
    background: rgba(255, 253, 246, 0.06);
    border-radius: var(--zm-border-radius);
    border: 1px solid rgba(255, 253, 246, 0.14);
}

.zm-value__icon {
    font-family: var(--zm-font-heading);
    font-size: 1.4rem;
    color: #FBBA06;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.zm-value__label {
    font-family: var(--zm-font-heading);
    font-size: 1.1rem;
    color: #FFFDF6;
}

/* ==========================================================================
   Header
   ========================================================================== */

.zm-header {
    background: var(--zm-white);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--zm-header-height);
    box-shadow: 0 2px 20px rgba(0, 68, 100, 0.06);
    border-bottom: 1px solid var(--zm-border);
}

.zm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--zm-spacing-md);
}

.zm-header__logo img {
    height: 64px;
    width: auto;
    transition: transform 0.3s ease;
}

.zm-header__logo:hover img {
    transform: rotate(-3deg) scale(1.03);
}

/* Brand mark: inline SVG logo + tekst ernaast (zoals in de preview) */
.zm-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--zm-font-heading);
    font-size: 1.5rem;
    color: var(--zm-text);  /* Flipt: navy in light, cream in dark */
    text-decoration: none;
    line-height: 1;
    padding: 0.25rem 0;
}
.zm-header__brand:hover {
    text-decoration: none;
    color: var(--zm-text);
}
.zm-brand-mark {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.zm-header__brand:hover .zm-brand-mark {
    transform: rotate(-6deg) scale(1.05);
}
.zm-brand-text {
    font-weight: 400;
    letter-spacing: -0.01em;
}
@media (max-width: 900px) {
    .zm-brand-text { display: none; }
}
@media (max-width: 600px) {
    .zm-brand-mark { width: 48px; height: 48px; }
}

.zm-header__nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--zm-spacing-md);
}

/* Nav links — expliciet uitsluiten van knoppen (.zm-btn) omdat die eigen kleuren
   houden en anders overschreven zouden worden door deze rule (specificity 0,1,1) */
.zm-header__nav a:not(.zm-btn):not(.zm-user-menu__main) {
    font-family: var(--zm-font-heading);
    font-size: 1rem;
    color: var(--zm-text);  /* flipt naar cream in dark mode */
    padding: 0.35rem 0.6rem;
    border-radius: var(--zm-border-radius-pill);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    font-weight: 400;
    white-space: nowrap;
    line-height: 1.2;
}

.zm-header__nav a:not(.zm-btn):not(.zm-user-menu__main):hover,
.zm-header__nav a:not(.zm-btn):not(.zm-user-menu__main):focus {
    background-color: var(--zm-yellow-tint);
    color: var(--zm-yellow-ink);
    text-decoration: none;
    transform: translateY(-1px);
}

.zm-header__nav a[aria-current="page"]:not(.zm-btn) {
    color: #004464;
    background-color: #FBBA06;
}

/* Dropdown submenus */
.zm-header__nav .menu-item-has-children {
    position: relative;
}

.zm-header__nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.35em;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.4;
    vertical-align: middle;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.zm-header__nav .menu-item-has-children:hover > a::after,
.zm-header__nav .menu-item-has-children:focus-within > a::after {
    opacity: 0.85;
    transform: rotate(180deg);
}

.zm-header__nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--zm-white);
    border: 1px solid var(--zm-border);
    border-radius: var(--zm-border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: var(--zm-spacing-sm) 0;
    min-width: 220px;
    z-index: 200;
    list-style: none;
    margin: 0;
}

.zm-header__nav .menu-item-has-children:hover > .sub-menu,
.zm-header__nav .menu-item-has-children:focus-within > .sub-menu {
    display: block;
}

.zm-header__nav .sub-menu li {
    margin: 0;
}

.zm-header__nav .sub-menu a {
    display: block;
    padding: var(--zm-spacing-xs) var(--zm-spacing-md);
    font-size: 0.95rem;
    white-space: nowrap;
    border-radius: 0;
}

.zm-header__nav .sub-menu a:hover {
    background-color: var(--zm-blue-light);
}

/* Menu list reset (wp_nav_menu outputs <ul><li>) */
.zm-header__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--zm-spacing-xs);
}

.zm-header__nav > ul {
    gap: var(--zm-spacing-sm);
}

.zm-header__nav li {
    margin: 0;
    position: relative;
    flex-shrink: 0;
}

/* Mobile nav toggle */
.zm-header__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--zm-spacing-sm);
    color: var(--zm-blue);
}

.zm-header__toggle svg {
    width: 28px;
    height: 28px;
}

/* Onder deze breedte klapt het menu in — met 9 menu-items past horizontaal niet in laptop schermen */
@media (max-width: 1100px) {
    .zm-header__toggle {
        display: block;
    }

    .zm-header__nav {
        display: none;
        position: absolute;
        top: var(--zm-header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--zm-white);
        border-bottom: 3px solid var(--zm-yellow);
        padding: var(--zm-spacing-md);
        gap: var(--zm-spacing-xs);
        max-height: calc(100vh - var(--zm-header-height));
        overflow-y: auto;
    }

    .zm-header__nav.is-open {
        display: flex;
    }

    .zm-header__nav a:not(.zm-btn):not(.zm-user-menu__main) {
        width: 100%;
        padding: var(--zm-spacing-sm) var(--zm-spacing-md);
    }

    .zm-header__nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .zm-header__nav li {
        width: 100%;
    }

    .zm-header__nav .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: var(--zm-spacing-md);
        min-width: 0;
    }

    .zm-header__nav .menu-item-has-children:hover > .sub-menu,
    .zm-header__nav .menu-item-has-children:focus-within > .sub-menu {
        display: block;
    }
}

/* ==========================================================================
   Hero (front page)
   ========================================================================== */

.zm-hero {
    position: relative;
    background:
        radial-gradient(1200px 500px at 12% -10%, var(--zm-yellow-tint) 0%, transparent 55%),
        radial-gradient(900px 500px at 90% 110%, var(--zm-blue-tint) 0%, transparent 60%),
        var(--zm-off-white);
    padding-block: clamp(4rem, 10vw, 8rem);
    text-align: center;
    overflow: hidden;
}

.zm-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-inline: auto;
}

/* +++ signatuur — 4 asymmetrische hoeken uit het logo */
.zm-plusmark {
    position: absolute;
    font-family: var(--zm-font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: 0.15em;
    color: var(--zm-yellow);
    pointer-events: none;
    user-select: none;
    opacity: 0.75;
    z-index: 1;
}
.zm-plusmark--tl { top: 8%;    left: 4%;  transform: rotate(-8deg); }
.zm-plusmark--tr { top: 12%;   right: 6%; transform: rotate(6deg); color: var(--zm-blue); }
.zm-plusmark--bl { bottom: 8%; left: 8%;  transform: rotate(4deg); color: var(--zm-blue); opacity: 0.55; }
.zm-plusmark--br { bottom: 4%; right: 4%; transform: rotate(-6deg); opacity: 0.55; }

@media (max-width: 720px) {
    .zm-plusmark { font-size: 1.5rem; opacity: 0.55; }
    /* Op kleine schermen alleen de 2 diagonale hoeken tonen, anders staat het te vol */
    .zm-plusmark--tr,
    .zm-plusmark--bl { display: none; }
}

.zm-hero h1 {
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    margin-block: 1.25rem 1.5rem;
    color: var(--zm-navy);
    position: relative;
    display: block; /* was inline-block — anders staat eyebrow ernaast op brede schermen */
    line-height: 1.05;
    letter-spacing: -0.01em;
}

/* Handgeschreven gele wobbly highlight onder alleen "Meer" */
.zm-hero__highlight {
    position: relative;
    display: inline-block;
    z-index: 2;
}
.zm-hero__highlight::after {
    content: "";
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: 8%;
    height: 30%;
    background: var(--zm-yellow);
    z-index: -1;
    border-radius: 100px 24px 80px 20px / 30px 40px 30px 40px;
    transform: rotate(-1.2deg);
    opacity: 0.85;
}

.zm-hero__lede {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    max-width: 620px;
    margin-inline: auto;
    color: var(--zm-text);
    line-height: 1.5;
    position: relative;
}
.zm-hero__lede strong {
    color: var(--zm-navy);
    font-weight: 700;
    background: linear-gradient(180deg, transparent 60%, var(--zm-yellow-tint) 60%);
    padding: 0 0.12em;
}

.zm-hero__actions {
    margin-top: 2.25rem;
    display: flex;
    gap: var(--zm-spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.zm-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--zm-font-body);
    color: var(--zm-blue);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.35rem 1rem;
    background: var(--zm-white);
    border-radius: var(--zm-border-radius-pill);
    box-shadow: var(--zm-shadow);
    position: relative;
}

/* Sub-CTA pills onder de knoppen — kleur zit in border+icoon, tekst is safe */
.zm-hero__pills {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    position: relative;
}

.zm-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    background: var(--zm-white);
    border-radius: var(--zm-border-radius-pill);
    border: 1px solid var(--zm-border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--zm-text);
}
.zm-hero__pill svg { width: 14px; height: 14px; }

.zm-hero__pill--leaf  { color: var(--zm-green-ink);  border-color: color-mix(in oklab, var(--zm-green) 45%, var(--zm-border)); }
.zm-hero__pill--sky   { color: var(--zm-navy);       border-color: color-mix(in oklab, var(--zm-blue) 45%, var(--zm-border)); }
.zm-hero__pill--berry { color: var(--zm-red);        border-color: color-mix(in oklab, var(--zm-red) 45%, var(--zm-border)); }
.zm-hero__pill--leaf svg  { color: var(--zm-green); }
.zm-hero__pill--sky svg   { color: var(--zm-blue); }
.zm-hero__pill--berry svg { color: var(--zm-red); }

/* Section intro (eyebrow + title + subtitle boven grid) */
.zm-section__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--zm-spacing-xl);
}

.zm-section__intro h2 {
    margin-top: 0.75rem;
    margin-bottom: var(--zm-spacing-sm);
}

.zm-section__intro p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--zm-text-light);
    max-width: 560px;
    margin-inline: auto;
}

/* Herbruikbare eyebrow (kleine caps-label boven een titel) */
.zm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--zm-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--zm-blue);
}

/* Card accent variations (kleurband bovenaan) */
.zm-card--accent-yellow { border-top: 5px solid var(--zm-yellow); }
.zm-card--accent-blue   { border-top: 5px solid var(--zm-blue); }
.zm-card--accent-navy   { border-top: 5px solid var(--zm-navy); }
.zm-card--accent-red    { border-top: 5px solid var(--zm-red); }
.zm-card--accent-green  { border-top: 5px solid var(--zm-green); }
.zm-card--accent-purple { border-top: 5px solid var(--zm-purple); }

.zm-card__arrow {
    display: inline-block;
    font-family: var(--zm-font-heading);
    color: var(--zm-navy);  /* Navy = 9.85:1 op cream, AAA */
    font-size: 1.4rem;
    margin-top: 0.5rem;
    transition: transform 0.2s ease;
    font-weight: 700;
}

.zm-card--link:hover .zm-card__arrow {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .zm-hero h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Cards (producten, projecten, agenda)
   ========================================================================== */

.zm-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--zm-spacing-lg);
}

.zm-card {
    background: var(--zm-white);
    border-radius: var(--zm-border-radius-lg);
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: var(--zm-shadow);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.zm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--zm-shadow-lg);
    border-color: var(--zm-yellow);
}

/* Accent kaart hovert met accent-kleur border */
.zm-card--accent-yellow:hover { border-color: var(--zm-yellow); }
.zm-card--accent-blue:hover   { border-color: var(--zm-blue); }
.zm-card--accent-navy:hover   { border-color: var(--zm-navy); }
.zm-card--accent-red:hover    { border-color: var(--zm-red); }
.zm-card--accent-green:hover  { border-color: var(--zm-green); }
.zm-card--accent-purple:hover { border-color: var(--zm-purple); }

.zm-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--zm-blue-light);
}

.zm-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zm-card__body {
    padding: var(--zm-spacing-md);
}

.zm-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--zm-spacing-xs);
}

.zm-card__meta {
    font-size: 0.875rem;
    color: var(--zm-text-light);
}

.zm-card__excerpt {
    font-size: 0.9rem;
    color: var(--zm-text-light);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Linkable card (entire card is a link) */
a.zm-card--link {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.zm-card--link:hover {
    text-decoration: none;
    color: inherit;
}

a.zm-card--link:hover .zm-card__title {
    color: var(--zm-blue);
}

a.zm-card--link:hover .zm-card__image img {
    transform: scale(1.05);
}

a.zm-card--link .zm-card__image img {
    transition: transform 0.3s ease;
}

a.zm-card--link .zm-card__body p {
    color: var(--zm-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.zm-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--zm-spacing-sm);
    padding: 0.9rem 1.75rem;
    border: none;
    border-radius: var(--zm-border-radius-pill);
    font-family: var(--zm-font-heading);
    font-weight: 400;
    letter-spacing: 0.02em;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    line-height: 1;
}

.zm-btn:active {
    transform: scale(0.98);
}

.zm-btn:focus-visible {
    outline: 3px solid var(--zm-gold);
    outline-offset: 2px;
}

.zm-btn--primary {
    background-color: var(--zm-btn-primary-bg);
    color: var(--zm-btn-primary-fg);
    box-shadow: 0 4px 14px rgba(0, 68, 100, 0.25);
}

.zm-btn--primary:hover {
    background-color: var(--zm-btn-primary-bg-h);
    color: var(--zm-btn-primary-fg);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 119, 172, 0.3);
    filter: brightness(1.03);
}

.zm-btn--secondary {
    background-color: var(--zm-btn-secondary-bg);
    color: var(--zm-btn-secondary-fg);
    box-shadow: 0 4px 14px rgba(251, 186, 6, 0.3);
}

.zm-btn--secondary:hover {
    background-color: var(--zm-btn-secondary-bg);
    color: var(--zm-btn-secondary-fg);
    text-decoration: none;
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(251, 186, 6, 0.4);
}

.zm-btn--outline {
    background-color: transparent;
    border: 2px solid var(--zm-btn-ghost-border);
    color: var(--zm-btn-ghost-fg);
    padding: calc(0.9rem - 2px) calc(1.75rem - 2px);
}

.zm-btn--outline:hover {
    background-color: var(--zm-btn-ghost-bg-h);
    color: var(--zm-off-white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Accent variant: gebruikt secundaire kleur (groen — duurzaamheid) */
.zm-btn--accent {
    background-color: var(--zm-green);
    color: var(--zm-white);
    box-shadow: 0 4px 14px rgba(53, 145, 56, 0.3);
}

.zm-btn--accent:hover {
    background-color: #2A7A2E;
    color: var(--zm-white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* Footer — een "dark moment" met vaste brand kleuren, werkt in beide themes hetzelfde */
.zm-footer {
    background: #004464;   /* vast navy — footer blijft altijd donker */
    color: #FFFDF6;        /* vast cream */
    padding-block: var(--zm-spacing-xl) var(--zm-spacing-lg);
    position: relative;
    overflow: hidden;
}

/* Vrolijk +++ patroon in footer — buiten de content-area op smallere schermen */
.zm-footer::before {
    content: "+ + +";
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: var(--zm-font-heading);
    font-size: 2.5rem;
    color: #FBBA06;
    opacity: 0.45;
    letter-spacing: 0.2em;
    transform: rotate(-6deg);
    pointer-events: none;
    white-space: nowrap;
}
@media (max-width: 900px) {
    /* Op smalle schermen verstoppen — zit anders over de openingstijden-heading heen */
    .zm-footer::before { display: none; }
}

.zm-footer a {
    color: #FBBA06;   /* vast geel op vaste navy — 6:1 AA */
    font-weight: 600;
}

.zm-footer a:hover {
    color: #FFFDF6;
}

/* Override global paragraph color (die is --zm-text, flipt naar donker in light) */
.zm-footer p,
.zm-footer li {
    color: #FFFDF6;
}

.zm-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--zm-spacing-lg);
    margin-bottom: var(--zm-spacing-lg);
}

/* Override global h1-h6 color (die is --zm-text, flipt naar donker in light) */
.zm-footer h1, .zm-footer h2, .zm-footer h3,
.zm-footer h4, .zm-footer h5, .zm-footer h6 {
    color: #FFFDF6;
}

.zm-footer__col h3 {
    font-size: 1.25rem;
    margin-bottom: var(--zm-spacing-md);
}

.zm-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zm-footer__col li {
    margin-bottom: var(--zm-spacing-sm);
}

.zm-footer .zm-hours th {
    color: #FFFDF6;
}
.zm-footer .zm-hours td {
    color: #FFFDF6;
    opacity: 0.85;
}
.zm-footer .zm-hours th,
.zm-footer .zm-hours td {
    border-bottom-color: rgba(255, 253, 246, 0.15);
}

.zm-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--zm-spacing-md);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.85;
    color: #FFFDF6;
}

/* ==========================================================================
   Content pages
   ========================================================================== */

.zm-content {
    max-width: 800px;
    margin-inline: auto;
    padding-block: var(--zm-spacing-xl);
    padding-inline: var(--zm-spacing-md);
}

.zm-content h1 {
    margin-bottom: var(--zm-spacing-lg);
}

.zm-content p {
    margin-bottom: var(--zm-spacing-md);
}

/* ==========================================================================
   Openingstijden tabel
   ========================================================================== */

.zm-hours {
    width: 100%;
    border-collapse: collapse;
    margin-block: var(--zm-spacing-md);
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

.zm-hours th,
.zm-hours td {
    padding: 0.35rem 0.5rem 0.35rem 0;
    text-align: left;
    border-bottom: 1px solid var(--zm-border);
    vertical-align: baseline;
}

.zm-hours th {
    font-family: var(--zm-font-heading);
    color: var(--zm-blue);
    width: 90px;
    padding-right: 0.75rem;
    white-space: nowrap;
}

/* Responsieve daglabels: 'Maandag' op wide, 'Ma' op smal */
.zm-hours__long { display: inline; }
.zm-hours__short { display: none; }
.zm-hours small { opacity: 0.75; }

@media (max-width: 900px) {
    .zm-hours { font-size: 0.85rem; }
    .zm-hours th { width: 42px; padding-right: 0.5rem; }
    .zm-hours__long { display: none; }
    .zm-hours__short { display: inline; }
}

/* ==========================================================================
   Notices / Alerts
   ========================================================================== */

.zm-notice {
    padding: var(--zm-spacing-md);
    border-radius: var(--zm-border-radius);
    margin-bottom: var(--zm-spacing-md);
    border-left: 4px solid;
}

.zm-notice--info {
    background: var(--zm-blue-light);
    border-color: var(--zm-blue);
}

.zm-notice--success {
    background: #E8F5E9;
    border-color: var(--zm-success);
}

.zm-notice--warning {
    background: var(--zm-gold-light);
    border-color: var(--zm-warning);
}

.zm-notice--error {
    background: #FDEDEC;
    border-color: var(--zm-error);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    word-wrap: normal !important;
}

.skip-link {
    background: var(--zm-blue);
    color: var(--zm-white);
    padding: var(--zm-spacing-sm) var(--zm-spacing-md);
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    border-radius: 0 0 var(--zm-border-radius) var(--zm-border-radius);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    color: var(--zm-white);
}

/* ==========================================================================
   Forms (registratie, contact)
   ========================================================================== */

.zm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .zm-form-grid {
        grid-template-columns: 1fr;
    }
}

.zm-form-field {
    margin-bottom: 1rem;
}

.zm-form-field label {
    display: block;
    font-family: var(--zm-font-heading);
    font-size: 1rem;
    color: var(--zm-blue);
    margin-bottom: 0.25rem;
}

.zm-form-field label small {
    font-family: var(--zm-font-body);
    font-size: 0.8rem;
    color: var(--zm-text-light);
}

.zm-form-field input[type="text"],
.zm-form-field input[type="email"],
.zm-form-field input[type="password"],
.zm-form-field input[type="tel"],
.zm-form-field textarea,
.zm-form-field select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--zm-border);
    border-radius: var(--zm-border-radius);
    font-family: var(--zm-font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.zm-form-field input:focus,
.zm-form-field textarea:focus,
.zm-form-field select:focus {
    outline: none;
    border-color: var(--zm-blue);
    box-shadow: 0 0 0 3px var(--zm-blue-light);
}

/* ==========================================================================
   Nieuws / Blog
   ========================================================================== */

.zm-nieuws-header {
    margin-bottom: var(--zm-spacing-lg);
}

.zm-nieuws-header h1 {
    margin-bottom: var(--zm-spacing-xs);
}

.zm-nieuws-header p {
    color: var(--zm-text-light);
    font-size: 1.1rem;
}

.zm-nieuws-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--zm-spacing-lg);
}

.zm-nieuws-filters .zm-btn {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
}

.zm-filter-count {
    display: inline-block;
    background: rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    margin-left: 0.25rem;
}

.zm-nieuws-list {
    display: flex;
    flex-direction: column;
    gap: var(--zm-spacing-md);
}

.zm-nieuws-item {
    display: flex;
    gap: var(--zm-spacing-md);
    background: var(--zm-white);
    border-radius: var(--zm-border-radius);
    border: 1px solid var(--zm-border);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zm-nieuws-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.zm-nieuws-item__image {
    flex-shrink: 0;
    width: 200px;
    min-height: 150px;
    overflow: hidden;
    background: var(--zm-blue-light);
}

.zm-nieuws-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zm-nieuws-item__body {
    padding: var(--zm-spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.zm-nieuws-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--zm-text-light);
}

.zm-nieuws-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--zm-yellow-tint);
    color: var(--zm-yellow-ink);  /* Flipt: donker-geel in light, licht-geel in dark */
    font-family: var(--zm-font-heading);
    font-size: 0.85rem;
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* Kleine kleur-marker zodat kleurenblinden ook zonder hue de badge herkennen */
.zm-nieuws-badge::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.zm-nieuws-badge:hover {
    background: var(--zm-yellow);
    color: var(--zm-navy);  /* Op vast geel bg werkt navy prima in beide modes */
    text-decoration: none;
}

.zm-nieuws-item__title {
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.3;
}

.zm-nieuws-item__title a {
    color: var(--zm-text);
    text-decoration: none;
}

.zm-nieuws-item__title a:hover {
    color: var(--zm-blue);
}

.zm-nieuws-item__excerpt {
    font-size: 0.9rem;
    color: var(--zm-text-light);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zm-nieuws-item__link {
    font-family: var(--zm-font-heading);
    font-size: 0.95rem;
    margin-top: auto;
}

@media (max-width: 600px) {
    .zm-nieuws-item {
        flex-direction: column;
    }

    .zm-nieuws-item__image {
        width: 100%;
        height: 180px;
    }
}

/* ==========================================================================
   Single post
   ========================================================================== */

.zm-back-link {
    display: inline-block;
    margin-bottom: var(--zm-spacing-md);
    font-size: 0.9rem;
}

.zm-single-post__header {
    margin-bottom: var(--zm-spacing-lg);
}

.zm-single-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--zm-spacing-sm);
    font-size: 0.85rem;
    color: var(--zm-text-light);
}

.zm-single-post__intro {
    font-size: 1.15rem;
    color: var(--zm-text-light);
    line-height: 1.6;
    margin-top: var(--zm-spacing-sm);
}

.zm-single-post__hero {
    margin: 0 0 var(--zm-spacing-lg) 0;
    border-radius: var(--zm-border-radius);
    overflow: hidden;
}

.zm-single-post__hero img {
    width: 100%;
    height: auto;
}

/* Post navigation */
.zm-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--zm-spacing-md);
    margin-top: var(--zm-spacing-xl);
    padding-top: var(--zm-spacing-lg);
    border-top: 1px solid var(--zm-border);
}

.zm-post-nav a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--zm-spacing-md);
    border-radius: var(--zm-border-radius);
    text-decoration: none;
    transition: background 0.2s ease;
}

.zm-post-nav a:hover {
    background: var(--zm-blue-light);
    text-decoration: none;
}

.zm-post-nav__prev {
    text-align: left;
}

.zm-post-nav__next {
    text-align: right;
    grid-column: 2;
}

.zm-post-nav span {
    font-size: 0.85rem;
    color: var(--zm-text-light);
}

.zm-post-nav strong {
    font-family: var(--zm-font-heading);
    color: var(--zm-blue);
    font-size: 1rem;
}

@media (max-width: 600px) {
    .zm-post-nav {
        grid-template-columns: 1fr;
    }

    .zm-post-nav__next {
        grid-column: 1;
        text-align: left;
    }
}
