﻿/*
 * OV Saldo Check – Pagina-stijlen
 * Alle regels zijn gescopet onder #ovsaldo-page zodat er GEEN
 * conflict is met het thema, plugins of de WordPress-admin.
 *
 * @package ovsaldocheck
 */

/* ── Scope & CSS-variabelen ──────────────────────────────────────────────────── */
#ovsaldo-page,
#ovsaldo-page * {
    box-sizing: border-box;
}

#ovsaldo-page {
    --ov-blue: #12325f;
    --ov-blue-dark: #0b2142;
    --ov-green: #15803d;
    --ov-red: #b91c1c;
    --ov-bg: #f6f8fb;
    --ov-card: #ffffff;
    --ov-text: #1f2937;
    --ov-muted: #5f6b7a;
    --ov-border: #e2e8f0;
    --ov-soft-blue: #eff6ff;
    --ov-soft-green: #f0fdf4;
    --ov-soft-yellow: #fffbeb;
    --ov-soft-red: #fff1f2;
    --ov-shadow: 0 10px 30px rgba(15, 23, 42, .06);

    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    margin-top: 0 !important;
    padding: 0 18px 52px;
    background: var(--ov-bg);
    color: var(--ov-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.72;
}

/* ── Main content area ─────────────────────────────────────────────────────── */
#ovsaldo-page .site-main {
    padding-top: 76px;
}

/* ── Typografie & links ──────────────────────────────────────────────────────── */
#ovsaldo-page a {
    color: var(--ov-blue);
    font-weight: 750;
    text-decoration: none;
}

#ovsaldo-page a:hover {
    text-decoration: underline;
}

#ovsaldo-page .ov-h1,
#ovsaldo-page .ov-h2,
#ovsaldo-page .ov-h3 {
    color: #111827;
    font-family: inherit;
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: -.025em;
    margin-left: 0;
    margin-right: 0;
}

#ovsaldo-page .ov-h1 {
    font-size: clamp(34px, 5vw, 56px);
    margin: 0 0 16px;
    max-width: 920px;
}

#ovsaldo-page .ov-h2 {
    font-size: clamp(25px, 3vw, 34px);
    margin: 0 0 16px;
}

#ovsaldo-page .ov-h3 {
    font-size: 21px;
    margin: 28px 0 10px;
}

#ovsaldo-page .ov-p {
    margin: 0 0 16px;
    color: var(--ov-text);
}

#ovsaldo-page .ov-lead {
    font-size: 19px;
    color: var(--ov-muted);
    max-width: 790px;
    margin: 0 0 24px;
}

/* ── Kaarten ─────────────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-card {
    background: var(--ov-card);
    border: 1px solid var(--ov-border);
    border-radius: 18px;
    box-shadow: var(--ov-shadow);
    padding: 32px;
    margin: 0 0 22px;
}

#ovsaldo-page .ov-hero {
    padding: 28px 34px 36px;
}

/* ── Badge ───────────────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-badge {
    display: inline-flex;
    background: var(--ov-soft-blue);
    color: var(--ov-blue);
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 13px;
    font-weight: 850;
    margin: 0 0 16px;
}

/* ── Navigatie-pills ─────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-toplinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

#ovsaldo-page .ov-pill {
    background: #f8fafc;
    border: 1px solid var(--ov-border);
    color: #334155;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 750;
}

#ovsaldo-page .ov-pill:hover {
    background: var(--ov-soft-blue);
    color: var(--ov-blue);
    text-decoration: none;
}

/* ── Keuzehulp-widget ────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-checkbox {
    margin-top: 26px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border: 2px solid #cfe0ff;
    border-radius: 18px;
    padding: 24px;
}

#ovsaldo-page .ov-label {
    display: block;
    color: var(--ov-blue);
    font-size: 14px;
    font-weight: 850;
    margin-bottom: 8px;
}

#ovsaldo-page .ov-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
}

#ovsaldo-page .ov-select {
    width: 100%;
    min-height: 52px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--ov-text);
    border-radius: 11px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    margin: 0;
}

#ovsaldo-page .ov-select:focus {
    border-color: var(--ov-blue);
    box-shadow: 0 0 0 4px rgba(18, 50, 95, .12);
}

#ovsaldo-page .ov-help {
    display: block;
    color: var(--ov-muted);
    font-size: 13px;
    line-height: 1.45;
    margin-top: 8px;
}

/* ── Knoppen ─────────────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 0;
    border-radius: 11px;
    padding: 14px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

#ovsaldo-page .ov-btn-primary {
    background: var(--ov-blue);
    color: #fff;
}

#ovsaldo-page .ov-btn-primary:hover {
    background: var(--ov-blue-dark);
    color: #fff;
    text-decoration: none;
}

#ovsaldo-page .ov-btn-green {
    background: var(--ov-green);
    color: #fff;
}

#ovsaldo-page .ov-btn-green:hover {
    background: #0f6b33;
    color: #fff;
    text-decoration: none;
}

/* ── Foutmelding & resultaat ─────────────────────────────────────────────────── */
#ovsaldo-page .ov-msg {
    display: none;
    margin-top: 14px;
    background: var(--ov-soft-yellow);
    border: 1px solid #fde68a;
    border-radius: 12px;
    color: #713f12;
    padding: 14px 16px;
    font-size: 15px;
}

#ovsaldo-page .ov-result {
    display: none;
    scroll-margin-top: 90px;
    margin-top: 22px;
}

#ovsaldo-page .ov-result.ov-show {
    display: block !important;
}

#ovsaldo-page .ov-result-box {
    background: #fff;
    border: 1px solid var(--ov-border);
    border-radius: 15px;
    padding: 22px;
    margin-top: 14px;
}

#ovsaldo-page .ov-result-main {
    background: #f8fbff;
    border-color: #bfdbfe;
}

#ovsaldo-page .ov-result-cta {
    background: var(--ov-soft-green);
    border-color: #bbf7d0;
}

#ovsaldo-page .ov-steps {
    margin: 12px 0 0;
    padding-left: 22px;
}

#ovsaldo-page .ov-steps li {
    margin-bottom: 8px;
}

/* ── Statistieken-grid ───────────────────────────────────────────────────────── */
#ovsaldo-page .ov-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

#ovsaldo-page .ov-mini {
    background: #fafafa;
    border: 1px solid var(--ov-border);
    border-radius: 14px;
    padding: 18px;
}

#ovsaldo-page .ov-mini strong {
    display: block;
    color: #111827;
    font-size: 18px;
    margin-bottom: 6px;
}

#ovsaldo-page .ov-mini span {
    display: block;
    color: var(--ov-muted);
    font-size: 15px;
}

/* ── Notitieblokken ──────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-note,
#ovsaldo-page .ov-green-note,
#ovsaldo-page .ov-red-note {
    border-radius: 13px;
    padding: 16px;
    margin: 18px 0 0;
}

#ovsaldo-page .ov-note {
    background: var(--ov-soft-yellow);
    border: 1px solid #fde68a;
    color: #713f12;
}

#ovsaldo-page .ov-green-note {
    background: var(--ov-soft-green);
    border: 1px solid #bbf7d0;
    color: #14532d;
}

#ovsaldo-page .ov-red-note {
    background: var(--ov-soft-red);
    border: 1px solid #fecaca;
    color: #7f1d1d;
}

/* ── Tabel ───────────────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ov-border);
    border-radius: 13px;
    margin-top: 16px;
    background: #fff;
}

#ovsaldo-page .ov-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    margin: 0;
}

#ovsaldo-page .ov-th,
#ovsaldo-page .ov-td {
    text-align: left;
    padding: 13px 15px;
    border-bottom: 1px solid var(--ov-border);
    vertical-align: top;
    color: var(--ov-text);
}

#ovsaldo-page .ov-th {
    background: #f8fafc;
    color: #111827;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 850;
}

#ovsaldo-page .ov-table tr:last-child .ov-td {
    border-bottom: 0;
}

/* ── Blokken binnen een kaart ────────────────────────────────────────────────── */
#ovsaldo-page .ov-block {
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--ov-border);
}

#ovsaldo-page .ov-block:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

/* ── FAQ accordion ───────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-faq {
    border: 1px solid var(--ov-border);
    border-radius: 11px;
    padding: 15px 16px;
    margin: 10px 0;
    background: #fff;
}

#ovsaldo-page .ov-faq summary {
    cursor: pointer;
    font-weight: 850;
    color: #111827;
}

#ovsaldo-page .ov-faq p {
    margin: 12px 0 0;
    color: var(--ov-muted);
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-footer {
    background: var(--ov-blue);
    border-radius: 18px;
    margin-top: 8px;
    overflow: hidden;
}

#ovsaldo-page .ov-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 36px 32px 28px;
    flex-wrap: wrap;
}

/* Branding */
#ovsaldo-page .ov-footer__brand {
    flex: 1 1 220px;
    min-width: 180px;
}

#ovsaldo-page .ov-footer__logo {
    display: inline-flex;
    align-items: center;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none !important;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

#ovsaldo-page .ov-footer__logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

#ovsaldo-page .ov-footer__logo:hover {
    color: #bfdbfe !important;
    text-decoration: none !important;
}

#ovsaldo-page .ov-footer__tagline {
    color: #93afd4;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* Footer nav */
#ovsaldo-page .ov-footer__nav {
    flex: 1 1 200px;
}

#ovsaldo-page .ov-footer__menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#ovsaldo-page .ov-footer__menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#ovsaldo-page .ov-footer__menu li::before,
#ovsaldo-page .ov-footer__menu li::marker {
    display: none !important;
    content: none !important;
}

#ovsaldo-page .ov-footer__menu a {
    color: #bfdbfe !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 5px 0;
    display: inline-block;
    transition: color .15s;
}

#ovsaldo-page .ov-footer__menu a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

#ovsaldo-page .ov-footer__menu li.current-menu-item>a,
#ovsaldo-page .ov-footer__menu li.current_page_item>a {
    color: #ffffff !important;
}

/* Bottom bar */
#ovsaldo-page .ov-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 16px 32px;
    font-size: 13px;
    color: #7a9cc4;
}

#ovsaldo-page .ov-footer__copy {
    color: #7a9cc4;
    white-space: nowrap;
}

/* Bottom-bar nav menu */
#ovsaldo-page .ov-footer__bottom-nav {
    display: flex;
    align-items: center;
}

#ovsaldo-page .ov-footer__bottom-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

#ovsaldo-page .ov-footer__bottom-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#ovsaldo-page .ov-footer__bottom-menu li::before,
#ovsaldo-page .ov-footer__bottom-menu li::marker {
    display: none !important;
    content: none !important;
}

#ovsaldo-page .ov-footer__bottom-menu a {
    color: #93afd4 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background .15s, color .15s;
    display: block;
    white-space: nowrap;
}

#ovsaldo-page .ov-footer__bottom-menu a:hover,
#ovsaldo-page .ov-footer__bottom-menu li.current-menu-item>a,
#ovsaldo-page .ov-footer__bottom-menu li.current_page_item>a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, .1);
    text-decoration: none !important;
}

#ovsaldo-page .ov-footer__bottom a {
    color: #93afd4 !important;
    text-decoration: none !important;
    font-weight: 600;
}

#ovsaldo-page .ov-footer__bottom a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
    #ovsaldo-page {
        font-size: 16px;
        padding: 18px 14px 42px;
    }

    #ovsaldo-page .ov-card,
    #ovsaldo-page .ov-hero {
        padding: 22px;
        border-radius: 15px;
    }

    #ovsaldo-page .ov-search-row,
    #ovsaldo-page .ov-grid {
        grid-template-columns: 1fr;
    }

    #ovsaldo-page .ov-btn {
        width: 100%;
    }

    /* Footer mobiel */
    #ovsaldo-page .ov-footer__inner {
        flex-direction: column;
        gap: 24px;
        padding: 28px 20px 20px;
    }

    #ovsaldo-page .ov-footer__bottom {
        padding: 14px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #ovsaldo-page .ov-footer__bottom-menu {
        flex-wrap: wrap;
        gap: 2px;
    }

    #ovsaldo-page .ov-footer__bottom-menu a {
        padding: 4px 8px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SITE HEADER NAV
   Buiten #ovsaldo-page scope – body-prefix voor gegarandeerde specificiteit
   over WordPress core-stijlen (wp-block-library, classic-theme-styles etc.)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Header bar (zelfde stijl als footer, binnen #ovsaldo-page) ─────────────── */
#ovsaldo-page .ov-site-header,
body .ov-site-header {
    background: #12325f !important;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 36px);
    max-width: 1080px;
    z-index: 1000;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform .35s ease;
}

body .ov-site-header.ov-header-hidden {
    transform: translateY(-110%);
}

#ovsaldo-page .ov-site-header__inner,
body .ov-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 24px;
    min-height: 60px;
    gap: 16px;
    box-sizing: border-box;
}

/* ── Logo / sitenaam ─────────────────────────────────────────────────────────── */
body .ov-site-header__logo {
    flex-shrink: 0;
    line-height: 1;
}

body .ov-site-header__logo img {
    display: block;
    max-height: 44px;
    width: auto;
}

body .ov-site-header__title {
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none !important;
    letter-spacing: -.02em;
    white-space: nowrap;
}

body .ov-site-header__title:hover {
    color: #bfdbfe !important;
    text-decoration: none !important;
}

/* ── Navigatie ───────────────────────────────────────────────────────────────── */
body .ov-primary-nav {
    display: flex;
    align-items: center;
}

body .ov-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

body .ov-menu li {
    list-style: none !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

body .ov-menu li::before,
body .ov-menu li::marker {
    display: none !important;
    content: none !important;
}

body .ov-menu a,
body .ov-menu span.nav-label {
    display: block;
    color: #e0eaff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    padding: 8px 13px;
    border-radius: 7px;
    white-space: nowrap;
    transition: background .15s, color .15s;
    line-height: 1.4;
}

body .ov-menu a:hover,
body .ov-menu li.current-menu-item>a,
body .ov-menu li.current_page_item>a {
    background: rgba(255, 255, 255, .15);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ── Dropdown sub-menu ───────────────────────────────────────────────────────── */
body .ov-menu .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
    padding: 6px;
    min-width: 200px;
    z-index: 1001;
    list-style: none !important;
    margin: 0 !important;
    flex-direction: column;
    gap: 2px;
}

body .ov-menu li:hover>.sub-menu,
body .ov-menu li:focus-within>.sub-menu {
    display: flex;
}

body .ov-menu .sub-menu li {
    list-style: none !important;
}

body .ov-menu .sub-menu a {
    color: #1f2937 !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 7px;
    padding: 8px 12px;
    background: transparent;
}

body .ov-menu .sub-menu a:hover {
    background: #eff6ff !important;
    color: #12325f !important;
}

/* ── Hamburger knop ──────────────────────────────────────────────────────────── */
body .ov-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 0;
}

body .ov-nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

body .ov-nav-toggle[aria-expanded="true"] .ov-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body .ov-nav-toggle[aria-expanded="true"] .ov-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

body .ov-nav-toggle[aria-expanded="true"] .ov-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobiel (≤760px) ─────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
    body .ov-nav-toggle {
        display: flex;
    }

    #ovsaldo-page .ov-site-header,
    body .ov-site-header {
        top: 0;
    }

    body .ov-site-header__inner {
        flex-wrap: wrap;
        padding: 10px 14px;
    }

    body .ov-primary-nav {
        display: none;
        width: 100%;
        order: 3;
        padding-bottom: 10px;
    }

    body .ov-primary-nav.ov-nav-open {
        display: flex;
    }

    body .ov-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
    }

    body .ov-menu a {
        font-size: 15px;
        padding: 10px 13px;
    }

    body .ov-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 3px solid rgba(255, 255, 255, .3);
        border-radius: 0;
        background: transparent;
        padding: 2px 0 2px 12px;
        margin: 4px 0 0 !important;
        display: flex;
    }

    body .ov-menu .sub-menu a {
        color: #bfdbfe !important;
    }

    body .ov-menu .sub-menu a:hover {
        background: rgba(255, 255, 255, .1) !important;
        color: #ffffff !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG – Post cards, single post, archief, zoeken, paginering
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Blog header (overzicht / archief / zoeken) ─────────────────────────────── */
#ovsaldo-page .ov-blog-header {
    padding: 0 0 24px;
    border-bottom: 1px solid var(--ov-border);
    margin-bottom: 32px;
}

#ovsaldo-page .ov-blog-header .ov-h1 {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* ── Zoekformulier ───────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-search-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    max-width: 600px;
}

#ovsaldo-page .ov-search-input {
    flex: 1;
    border: 1.5px solid var(--ov-border);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 15px;
    color: var(--ov-text);
    background: #fff;
    transition: border-color .15s;
    outline: none;
}

#ovsaldo-page .ov-search-input:focus {
    border-color: var(--ov-blue);
}

#ovsaldo-page .ov-search-btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
}

/* ── Datum-navigatie (datum-archief) ─────────────────────────────────────────── */
#ovsaldo-page .ov-date-nav {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* ── Post cards grid ─────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
    margin-bottom: 40px;
}

#ovsaldo-page .ov-post-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06) !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

#ovsaldo-page .ov-post-card:hover {
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
    transform: translateY(-3px);
}

/* Featured image thumbnail */
#ovsaldo-page .ov-post-card__thumb {
    display: block;
    overflow: hidden;
    height: 200px;
    background: #eff6ff;
    flex-shrink: 0;
}

#ovsaldo-page .ov-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

#ovsaldo-page .ov-post-card:hover .ov-post-card__thumb img {
    transform: scale(1.04);
}

/* Card body */
#ovsaldo-page .ov-post-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta: datum + categorie badge */
#ovsaldo-page .ov-post-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

#ovsaldo-page .ov-post-card__date {
    font-size: 13px;
    color: var(--ov-muted);
    font-weight: 500;
}

/* Post card title */
#ovsaldo-page .ov-post-card__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.015em;
    margin: 0 0 10px;
    color: #111827;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}

#ovsaldo-page .ov-post-card__title a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}

#ovsaldo-page .ov-post-card__title a:hover {
    color: var(--ov-blue);
    text-decoration: none;
}

/* Excerpt */
#ovsaldo-page .ov-post-card__excerpt {
    font-size: 14px;
    color: var(--ov-muted);
    line-height: 1.65;
    margin: 0 0 14px;
    flex: 1;
}

/* Lees verder link */
#ovsaldo-page .ov-post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ov-blue);
    text-decoration: none;
    margin-top: auto;
}

#ovsaldo-page .ov-post-card__more:hover {
    color: var(--ov-blue-dark);
    text-decoration: none;
    gap: 8px;
}

/* ── Badge varianten ─────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-badge--sm {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 99px;
}

#ovsaldo-page .ov-badge--page {
    background: var(--ov-soft-green);
    color: var(--ov-green);
    border-color: #bbf7d0;
}

/* ── Paginering ──────────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-pagination {
    display: flex;
    justify-content: center;
    margin: 8px 0 48px;
}

#ovsaldo-page .ov-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

#ovsaldo-page .ov-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid var(--ov-border);
    background: #fff;
    color: var(--ov-text);
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}

#ovsaldo-page .ov-pagination .page-numbers:hover,
#ovsaldo-page .ov-pagination .page-numbers.current {
    background: var(--ov-blue);
    color: #fff;
    border-color: var(--ov-blue);
}

#ovsaldo-page .ov-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    pointer-events: none;
}

/* ── Terug-link (single post) ────────────────────────────────────────────────── */
/* ── Back-link bar (inside content card, single post) ───────────────────────── */
#ovsaldo-page .ov-back-link-bar {
    padding: 14px 40px;
    border-bottom: 1px solid #e2e8f0;
}

#ovsaldo-page .ov-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #5f6b7a;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

#ovsaldo-page .ov-back-link:hover {
    color: #12325f;
    text-decoration: none;
}

/* ── Single post wrapper card ────────────────────────────────────────────────── */
#ovsaldo-page .ov-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
    overflow: hidden;
    margin-bottom: 32px;
}

/* ── Single post ─────────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-single {
    overflow: hidden;
    margin-bottom: 0;
}

#ovsaldo-page .ov-single__header {
    padding: 36px 40px 28px;
    border-bottom: 1px solid #e2e8f0;
}

#ovsaldo-page .ov-single__header .ov-h1 {
    margin-top: 0;
    margin-bottom: 14px;
}

/* Meta bar: datum · categorie · auteur · leestijd */
#ovsaldo-page .ov-single__meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #5f6b7a;
}

#ovsaldo-page .ov-single__meta-bar time {
    font-weight: 500;
}

#ovsaldo-page .ov-single__meta-bar .ov-single__meta-sep {
    color: #cbd5e1;
    font-size: 12px;
}

#ovsaldo-page .ov-single__meta-bar strong {
    color: #1f2937;
    font-weight: 700;
}

/* Badge alignment fix inside meta bar */
#ovsaldo-page .ov-single__meta-bar .ov-badge--sm {
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: 0;
    display: inline-flex;
    align-items: center;
}

/* ── Comments card ───────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-comments-card {
    margin-bottom: 32px;
    padding: 36px 40px;
}

#ovsaldo-page .ov-comments-card .comments-area {
    padding: 36px 40px;
}

#ovsaldo-page .ov-comments-card .comments-title,
#ovsaldo-page .ov-comments-card .comment-reply-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 24px;
    letter-spacing: -.02em;
}

#ovsaldo-page .ov-comments-card .comment-reply-title {
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
    margin-top: 32px;
}

/* Comment list */
#ovsaldo-page .ov-comments-card .comment-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

#ovsaldo-page .ov-comments-card .comment-list li {
    list-style: none;
    padding: 0;
}

#ovsaldo-page .ov-comments-card .comment-body {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
}

#ovsaldo-page .ov-comments-card .comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

#ovsaldo-page .ov-comments-card .comment-author .fn {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    font-style: normal;
}

#ovsaldo-page .ov-comments-card .comment-metadata {
    font-size: 12px;
    color: #5f6b7a;
}

#ovsaldo-page .ov-comments-card .comment-metadata a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

#ovsaldo-page .ov-comments-card .comment-content {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.7;
}

#ovsaldo-page .ov-comments-card .comment-content p {
    margin: 0 0 8px;
}

#ovsaldo-page .ov-comments-card .comment-content p:last-child {
    margin: 0;
}

#ovsaldo-page .ov-comments-card .reply {
    margin-top: 8px;
}

#ovsaldo-page .ov-comments-card .comment-reply-link {
    font-size: 12px;
    font-weight: 700;
    color: #12325f;
    text-decoration: none;
}

#ovsaldo-page .ov-comments-card .comment-reply-link:hover {
    text-decoration: underline;
}

/* Nested replies */
#ovsaldo-page .ov-comments-card .children {
    list-style: none;
    padding-left: 24px;
    margin: 8px 0 0;
}

/* ── Comments template stijlen ───────────────────────────────────────────────── */
#ovsaldo-page .ov-comments-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 20px;
}

#ovsaldo-page .ov-comment-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

#ovsaldo-page .ov-comment {
    padding: 0;
    list-style: none;
    margin-bottom: 12px;
}

#ovsaldo-page .ov-comment-body {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
}

#ovsaldo-page .ov-comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

#ovsaldo-page .ov-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

#ovsaldo-page .ov-comment-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

#ovsaldo-page .ov-comment-author {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

#ovsaldo-page .ov-comment-time {
    font-size: 12px;
    color: #5f6b7a;
}

#ovsaldo-page .ov-comment-actions a {
    font-size: 12px;
    font-weight: 700;
    color: #12325f;
    text-decoration: none;
}

#ovsaldo-page .ov-comment-content {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.7;
}

#ovsaldo-page .ov-comment-content p {
    margin: 0 0 8px;
}

#ovsaldo-page .ov-comment-content p:last-child {
    margin: 0;
}

#ovsaldo-page .ov-comment .children {
    list-style: none;
    padding-left: 28px;
    margin: 10px 0 0;
}

/* ── Comment form ──────────────────────────────────────────────────────────────── */
#ovsaldo-page .ov-comment-form-wrap {
    border-top: 1px solid #e2e8f0;
    padding-top: 28px;
    margin-top: 8px;
}

#ovsaldo-page .ov-comment-form-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 16px;
    letter-spacing: -.02em;
}

#ovsaldo-page .ov-comment-form-title small a {
    font-size: 13px;
    font-weight: 600;
    color: #5f6b7a !important;
}

#ovsaldo-page .ov-comment-loggedin {
    font-size: 13px;
    color: #5f6b7a;
    margin: 0 0 16px;
}

#ovsaldo-page .ov-comment-loggedin a {
    color: #12325f !important;
    font-weight: 700;
}

#ovsaldo-page .ov-comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#ovsaldo-page .ov-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

#ovsaldo-page .ov-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#ovsaldo-page .ov-form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
}

#ovsaldo-page .ov-required {
    color: #b91c1c;
}

#ovsaldo-page .ov-form-group input,
#ovsaldo-page .ov-form-group textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    margin: 0;
    display: block;
}

#ovsaldo-page .ov-form-group input:focus,
#ovsaldo-page .ov-form-group textarea:focus {
    border-color: #12325f;
    box-shadow: 0 0 0 3px rgba(18, 50, 95, .08);
}

#ovsaldo-page .ov-form-group textarea {
    min-height: 130px;
    resize: vertical;
}

#ovsaldo-page .ov-form-submit {
    margin-top: 4px;
}

#ovsaldo-page .ov-comment-submit {
    display: inline-flex;
    align-items: center;
    background: #12325f;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    -webkit-appearance: none;
    appearance: none;
}

#ovsaldo-page .ov-comment-submit:hover {
    background: #0b2142;
}

#ovsaldo-page .ov-comment-note {
    font-size: 13px;
    color: #5f6b7a;
    margin: 0;
}

@media (max-width: 600px) {
    #ovsaldo-page .ov-form-row {
        grid-template-columns: 1fr;
    }
}

#ovsaldo-page .ov-single__thumb {
    overflow: hidden;
    background: var(--ov-soft-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

#ovsaldo-page .ov-single__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* Content area */
#ovsaldo-page .ov-single__content {
    padding: 36px 40px;
}

/* ── Entry content typography ────────────────────────────────────────────────── */
#ovsaldo-page .ov-entry-content h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: #111827;
    margin: 36px 0 12px;
    letter-spacing: -.02em;
}

#ovsaldo-page .ov-entry-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    margin: 28px 0 10px;
}

#ovsaldo-page .ov-entry-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin: 22px 0 8px;
}

#ovsaldo-page .ov-entry-content p {
    margin: 0 0 18px;
    color: var(--ov-text);
    line-height: 1.78;
}

#ovsaldo-page .ov-entry-content ul,
#ovsaldo-page .ov-entry-content ol {
    margin: 0 0 18px 20px;
    padding: 0;
}

#ovsaldo-page .ov-entry-content li {
    margin-bottom: 6px;
    line-height: 1.7;
}

#ovsaldo-page .ov-entry-content a {
    color: var(--ov-blue);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

#ovsaldo-page .ov-entry-content a:hover {
    color: var(--ov-blue-dark);
}

#ovsaldo-page .ov-entry-content blockquote {
    border-left: 4px solid var(--ov-blue);
    background: var(--ov-soft-blue);
    margin: 24px 0;
    padding: 18px 22px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--ov-muted);
}

#ovsaldo-page .ov-entry-content code {
    background: #f1f5f9;
    border-radius: 5px;
    padding: 2px 7px;
    font-size: .9em;
    color: #b91c1c;
}

#ovsaldo-page .ov-entry-content pre {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    overflow-x: auto;
    margin: 0 0 22px;
    font-size: 14px;
}

#ovsaldo-page .ov-entry-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

#ovsaldo-page .ov-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 0 18px;
}

#ovsaldo-page .ov-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 15px;
}

#ovsaldo-page .ov-entry-content th {
    background: var(--ov-soft-blue);
    color: var(--ov-blue);
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--ov-border);
}

#ovsaldo-page .ov-entry-content td {
    padding: 9px 14px;
    border: 1px solid var(--ov-border);
    vertical-align: top;
}

#ovsaldo-page .ov-entry-content tr:nth-child(even) td {
    background: #f8fafc;
}

/* ── Tags (single post) ──────────────────────────────────────────────────────── */
#ovsaldo-page .ov-single__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 40px 28px;
    border-top: 1px solid var(--ov-border);
}

#ovsaldo-page .ov-single__tags-label {
    font-size: 13px;
    color: var(--ov-muted);
    font-weight: 600;
}

#ovsaldo-page .ov-tag {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--ov-soft-blue);
    border: 1.5px solid #bfdbfe;
    color: var(--ov-blue);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

#ovsaldo-page .ov-tag:hover {
    background: var(--ov-blue);
    color: #fff;
    text-decoration: none;
}

/* ── Post-navigatie vorig/volgend ────────────────────────────────────────────── */
#ovsaldo-page .ov-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 48px;
}

#ovsaldo-page .ov-post-nav__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--ov-border);
    border-radius: 14px;
    padding: 18px 20px;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
}

#ovsaldo-page .ov-post-nav__item:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
    text-decoration: none;
}

#ovsaldo-page .ov-post-nav__item--next {
    text-align: right;
}

#ovsaldo-page .ov-post-nav__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ov-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

#ovsaldo-page .ov-post-nav__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ov-blue);
    line-height: 1.4;
}

/* ── Paginanavigatie (wp_link_pages) ─────────────────────────────────────────── */
#ovsaldo-page .ov-page-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--ov-border);
    font-size: 14px;
    font-weight: 700;
    color: var(--ov-muted);
}

#ovsaldo-page .ov-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--ov-soft-blue);
    color: var(--ov-blue);
    font-weight: 700;
    text-decoration: none;
}

/* ── Outline knop (datum-nav) ────────────────────────────────────────────────── */
#ovsaldo-page .ov-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 10px;
    border: 2px solid var(--ov-blue);
    color: var(--ov-blue);
    font-weight: 700;
    font-size: 14px;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, color .15s;
}

#ovsaldo-page .ov-btn-outline:hover {
    background: var(--ov-blue);
    color: #fff;
    text-decoration: none;
}

/* ── Responsive blog ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    #ovsaldo-page .ov-posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}

@media (max-width: 580px) {
    #ovsaldo-page .ov-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    #ovsaldo-page .ov-post-card__thumb {
        height: 180px;
    }

    #ovsaldo-page .ov-single__header,
    #ovsaldo-page .ov-single__content,
    #ovsaldo-page .ov-single__tags {
        padding-left: 20px;
        padding-right: 20px;
    }

    #ovsaldo-page .ov-post-nav {
        grid-template-columns: 1fr;
    }

    #ovsaldo-page .ov-post-nav__item--next {
        text-align: left;
    }

    #ovsaldo-page .ov-search-form {
        flex-direction: column;
    }

    #ovsaldo-page .ov-blog-header {
        padding: 20px 0 18px;
    }
}