/*
 * lArcade thema, hoofdstylesheet (2026)
 * Vervangt reset.css, fonts.css, plugins.css en global.css.
 *
 * Inhoud
 *  1. Variabelen
 *  2. Basis
 *  3. Hulpklassen
 *  4. Header en navigatie
 *  5. Homepage: slider (hero)
 *  6. Homepage: kolommen
 *  7. Pagina indeling (zijbalken)
 *  8. Inhoud (pagina, bericht)
 *  9. Nieuws
 * 10. Team
 * 11. Zijbalk rechts
 * 12. Paginering
 * 13. Footer
 */

/* 1. Variabelen ---------------------------------------------------------- */

:root {
    --blue: #008bb4;
    --blue-dark: #006f90;
    --blue-soft: #e6f3f8;
    --blue-line: #a9d5e4;
    --ink: #26323a;
    --muted: #5d6a71;
    --line: #dfe7eb;
    --bg: #ffffff;
    --bg-soft: #f4f8fa;

    --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

    --container: 1140px;
    --gutter: 20px;
    --radius: 10px;
    --radius-small: 6px;
    --shadow: 0 6px 24px rgba(20, 60, 80, 0.10);

    --hero-height: clamp(260px, 24vw, 360px);
}

/* 2. Basis --------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    font-family: var(--font);
    font-weight: 600;
    line-height: 1.25;
    color: var(--blue);
}

h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 300; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
h5, h6 { font-size: 1rem; }

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--blue-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(0, 139, 180, 0.45);
    outline-offset: 2px;
    border-radius: 3px;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

iframe,
embed,
object,
video {
    max-width: 100%;
}

strong, b, .bold {
    font-weight: 700;
}

address {
    font-style: normal;
    line-height: 1.6;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    max-width: 100%;
}

blockquote {
    margin: 1.5em 0;
    padding: 0.75em 1.25em;
    background: var(--bg-soft);
    border-left: 4px solid var(--blue-line);
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
    color: var(--muted);
}

blockquote p:last-child {
    margin-bottom: 0;
}

label,
input[type="submit"],
button {
    cursor: pointer;
}

input,
textarea,
select,
button {
    font: inherit;
}

/* 3. Hulpklassen --------------------------------------------------------- */

.container {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
    position: relative;
}

.clear { clear: both; }
.spacer { height: 25px; }
.smallerspacer { height: 20px; }
.esmallerspacer { height: 15px; }
.floatLeft { float: left; }
.floatRight { float: right; }
.uppercase { text-transform: uppercase; }
.justify { text-align: justify; }
.alignLeft { text-align: left !important; }
.alignRight { text-align: right !important; }
.alignCenter { text-align: center !important; }

#content-left { float: left; width: 47%; }
#content-right { float: right; width: 47%; }

.alignleft {
    float: left;
    margin: 0.25em 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0.25em 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin: 1em auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--muted);
}

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

.skip-link:focus {
    clip-path: none;
    height: auto;
    width: auto;
    margin: 0;
    left: 8px;
    top: 8px;
    z-index: 100000;
    padding: 12px 18px;
    background: #fff;
    color: var(--blue-dark);
    border-radius: var(--radius-small);
    box-shadow: var(--shadow);
}

/* 4. Header en navigatie ------------------------------------------------- */

.site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 18px;
}

.site-logo {
    display: block;
    flex: 0 0 auto;
    line-height: 0;
}

.site-logo img {
    display: block;
    width: 268px;
    max-width: 58vw;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px 22px;
}

.site-nav ul.menu,
.site-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px 22px;
}

.site-nav li {
    position: relative;
}

.site-nav a {
    display: block;
    padding: 8px 0;
    color: var(--muted);
    font-size: 1rem;
    white-space: nowrap;
}

.site-nav > ul > li > a {
    border-bottom: 2px solid transparent;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li.current-menu-item > a,
.site-nav > ul > li.current_page_item > a,
.site-nav > ul > li.current_page_parent > a,
.site-nav > ul > li.current-menu-ancestor > a,
.site-nav > ul > li.current_page_ancestor > a {
    color: var(--ink);
    border-bottom-color: var(--blue);
}

.site-nav li.menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    opacity: 0.7;
}

/* Submenu */
.site-nav ul ul {
    position: absolute;
    top: 100%;
    left: -16px;
    z-index: 200;
    min-width: 240px;
    padding: 8px;
    background: var(--blue);
    border-radius: var(--radius-small);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.site-nav li:hover > ul,
.site-nav li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav ul ul a {
    padding: 8px 12px;
    color: #fff;
    font-size: 0.95rem;
    border-radius: 4px;
    white-space: normal;
}

.site-nav ul ul a:hover,
.site-nav ul ul .current-menu-item > a,
.site-nav ul ul .current_page_item > a {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* Inlogknop */
.login-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 18px !important;
    border: 1px solid var(--blue);
    border-radius: 999px;
    color: var(--blue) !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}

.login-link::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9V7A5 5 0 0 0 7 7v2H5v13h14V9h-2Zm-8 0V7a3 3 0 0 1 6 0v2H9Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9V7A5 5 0 0 0 7 7v2H5v13h14V9h-2Zm-8 0V7a3 3 0 0 1 6 0v2H9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.login-link:hover {
    background: var(--blue);
    color: #fff !important;
}

/* Menuknop (mobiel) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Oude scheidingslijn uit het vorige ontwerp */
#headerLine {
    display: none;
}

@media (max-width: 1120px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: calc(var(--gutter) * -1);
        right: calc(var(--gutter) * -1);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 24px rgba(20, 60, 80, 0.10);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav ul.menu,
    .site-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav a {
        padding: 12px 0;
        white-space: normal;
    }

    .site-nav > ul > li {
        border-bottom: 1px solid var(--line);
    }

    .site-nav > ul > li > a,
    .site-nav > ul > li > a:hover {
        border-bottom: 0;
    }

    .site-nav > ul > li.current-menu-item > a,
    .site-nav > ul > li.current_page_item > a,
    .site-nav > ul > li.current_page_parent > a {
        color: var(--blue);
        font-weight: 600;
    }

    .site-nav ul ul {
        position: static;
        min-width: 0;
        margin: 0 0 12px;
        padding: 4px 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .login-link {
        align-self: flex-start;
        margin-top: 16px;
    }
}

/* 5. Homepage: slider (hero) --------------------------------------------- */

/*
 * De foto vult het vlak met behoud van verhouding (object-fit: cover).
 * Voorheen kreeg de afbeelding zowel width: 100% als height: 100% en werd
 * daardoor op brede schermen uitgerekt.
 */

.hero {
    position: relative;
    isolation: isolate; /* houdt de sliderpijlen onder het uitklapmenu */
    background: var(--bg-soft);
    overflow: hidden;
}

.hero .bx-wrapper {
    max-width: none !important;
    margin: 0 !important;
}

.hero .bx-wrapper .bx-viewport {
    left: 0;
    height: auto !important;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
}

.hero .bx-wrapper .bx-pager,
.hero .bx-pager-item {
    display: none !important;
}

/* Pijlen van de slider: ronde knoppen met een getekend pijltje. */
.hero .bx-wrapper .bx-controls-direction a {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    text-indent: -9999px;
    overflow: hidden;
    transition: background 0.15s ease;
}

.hero .bx-wrapper .bx-controls-direction a:hover {
    background: #fff;
}

.hero .bx-wrapper .bx-controls-direction a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--blue-dark);
    border-right: 2px solid var(--blue-dark);
}

.hero .bx-wrapper .bx-prev {
    left: 16px;
}

.hero .bx-wrapper .bx-next {
    right: 16px;
}

.hero .bx-wrapper .bx-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.hero .bx-wrapper .bx-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.hero ul.bxslider {
    display: grid;
    width: 100% !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Alle dia's liggen in dezelfde rastercel, zodat de hoogte automatisch klopt. */
.hero ul.bxslider > li {
    grid-area: 1 / 1;
    position: relative !important;
    left: auto;
    top: auto;
    float: none !important;
    width: 100% !important;
    min-height: var(--hero-height);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Voordat het script start alleen de eerste dia tonen. */
.hero ul.bxslider > li + li {
    display: none;
}

.hero ul.bxslider > li > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero ul.bxslider li .bx-caption {
    position: relative;
    bottom: auto;
    left: auto;
    display: flex;
    justify-content: flex-end;
    width: min(100% - (var(--gutter) * 2), var(--container));
    min-height: var(--hero-height);
    margin: 0 auto;
    background: transparent;
}

.hero ul.bxslider li .bx-caption > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: min(440px, 46%);
    padding: 24px 30px;
    background: rgba(0, 139, 180, 0.88);
    color: #fff;
    font-family: var(--font);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero .bx-caption h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.2;
}

.hero .bx-caption p {
    margin: 0 0 10px;
    white-space: pre-line;
}

.hero .bx-caption p:last-child {
    margin: 4px 0 0;
    font-size: 0.8rem;
    opacity: 0.85;
    white-space: normal;
}

.hero .bx-caption a {
    color: #fff;
    text-decoration: underline;
}

/* Reserve tekstblok uit het oude ontwerp, staat dubbel met de slider. */
#textHeader {
    display: none;
}

@media (max-width: 860px) {
    .hero ul.bxslider > li {
        min-height: 0;
        background: var(--blue);
    }

    /* Pijlen midden op de foto houden (foto is 16:7), niet over de tekst. */
    .hero .bx-wrapper .bx-controls-direction a {
        top: calc(100vw * 7 / 32);
    }

    .hero ul.bxslider > li > img {
        position: static;
        height: auto;
        aspect-ratio: 16 / 7;
    }

    .hero ul.bxslider li .bx-caption {
        display: block;
        width: 100%;
        min-height: 0;
    }

    .hero ul.bxslider li .bx-caption > span {
        width: 100%;
        padding: 22px var(--gutter) 24px;
        background: var(--blue);
        font-size: 0.95rem;
    }
}

/* 6. Homepage: kolommen -------------------------------------------------- */

.home-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 48px;
    padding-block: 48px 24px;
}

.home-columns > .clear {
    display: none;
}

.home .col {
    min-width: 0;
}

.home .col h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--blue);
}

/* De boog uit het logo, nu scherp getekend in plaats van een plaatje. */
.home .col h2::before {
    content: "";
    flex: 0 0 auto;
    width: 36px;
    height: 18px;
    border: 4px solid var(--blue-line);
    border-bottom: 0;
    border-radius: 36px 36px 0 0;
}

.home .col .sep {
    height: 0;
    margin: 12px 0 18px;
    border-top: 1px solid var(--line);
}

.home .col h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.home .col p {
    margin: 0 0 1em;
}

.home .col p:empty {
    display: none;
}

.home .col img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin-top: 6px;
    border-radius: var(--radius);
}

.home .col ul {
    margin: 0.5em 0 1em;
}

.home .col ul li,
.normalPage ul li,
.singlePost ul li {
    position: relative;
    margin: 0 0 6px;
    padding-left: 22px;
    line-height: 1.5;
}

.home .col ul li::before,
.normalPage ul li::before,
.singlePost ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 2px;
}

.home .col .newsItem {
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.home .col .newsItem:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.home .col .newsItem a h3 {
    color: var(--blue);
    transition: color 0.15s ease;
}

.home .col .newsItem a:hover h3 {
    color: var(--blue-dark);
    text-decoration: underline;
}

.home .col .newsItem p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 960px) {
    .home-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-columns {
        grid-template-columns: minmax(0, 1fr);
        padding-block: 32px 8px;
    }
}

/* 7. Pagina indeling (zijbalken) ----------------------------------------- */

.layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 220px;
    grid-template-areas:
        "side nav  aside"
        "side main aside";
    grid-template-rows: auto 1fr;
    column-gap: 44px;
    padding-block: 40px 24px;
}

.layout > .clear {
    display: none;
}

#blueSidebar {
    grid-area: side;
    align-self: start;
    padding: 24px;
    background: var(--blue);
    border-radius: var(--radius);
    color: #fff;
}

#blueSidebar h3,
#blueSidebar .widgettitle {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Pagina zonder subpagina's: lege lijst verbergen, titel zonder streep. */
#blueSidebar ul:empty,
#blueSidebar ul:not(:has(li)) {
    display: none;
}

#blueSidebar:not(:has(li)) h3 {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

#blueSidebar li {
    margin: 0;
    line-height: 1.4;
    color: #fff;
}

#blueSidebar li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

#blueSidebar a {
    display: block;
    padding: 9px 0;
    color: #fff;
    font-size: 0.95rem;
}

#blueSidebar a:hover {
    text-decoration: underline;
}

#blueSidebar li.current_page_item > a {
    font-weight: 700;
}

#blueSidebar .widget {
    margin: 0;
}

#blueSidebar .widget_archive li a {
    display: inline-block;
}

.navigation {
    grid-area: nav;
    min-width: 0;
}

.navigation::after {
    content: "";
    display: table;
    clear: both;
}

.navigation > * {
    margin-bottom: 18px;
}

.navigation a {
    color: var(--muted);
    font-size: 0.95rem;
}

.navigation a:hover {
    color: var(--blue);
}

.navigation h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem;
    font-weight: 400;
}

/* Inline marge uit het oude ontwerp opheffen. */
.navigation .floatRight {
    margin-right: 0 !important;
}

#news {
    grid-area: main;
    min-width: 0;
}

#sidebar {
    grid-area: aside;
    min-width: 0;
}

@media (max-width: 1080px) {
    .layout {
        grid-template-columns: 230px minmax(0, 1fr);
        grid-template-areas:
            "side nav"
            "side main"
            "side aside";
        grid-template-rows: auto auto 1fr;
        column-gap: 36px;
    }

    #sidebar {
        margin-top: 32px;
    }
}

@media (max-width: 760px) {
    .layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "nav"
            "main"
            "side"
            "aside";
        grid-template-rows: auto;
        padding-block: 28px 8px;
    }

    #blueSidebar {
        margin-top: 32px;
    }

    /* Zonder subpagina's herhaalt het blauwe blok alleen de paginatitel. */
    #blueSidebar:not(:has(li)) {
        display: none;
    }
}

/* 8. Inhoud (pagina, bericht) -------------------------------------------- */

.normalPage,
.singlePost {
    overflow-wrap: break-word;
}

.normalPage::after,
.singlePost::after {
    content: "";
    display: table;
    clear: both;
}

.normalPage h1,
.singlePost h1,
.team h1 {
    margin: 0 0 20px;
    color: var(--blue);
}

.normalPage h2,
.singlePost h2 {
    margin: 1.4em 0 0.5em;
    color: var(--muted);
    font-size: 1.45rem;
    font-weight: 400;
}

.normalPage h2.blue,
.singlePost h2.blue {
    color: var(--blue) !important;
}

.normalPage h3,
.singlePost h3 {
    margin: 1.3em 0 0.4em;
    color: var(--blue);
    font-size: 1.2rem;
}

.normalPage p,
.singlePost p {
    margin: 0 0 1.1em;
}

.normalPage ul,
.singlePost ul {
    margin: 0 0 1.1em;
}

.normalPage ol,
.singlePost ol {
    margin: 0 0 1.1em 1.4em;
    list-style: decimal;
}

.normalPage address {
    margin: 0;
}

.normalPage iframe {
    display: block;
    width: 100%;
    margin-top: 1.2em;
    border: 0;
    border-radius: var(--radius);
}

.normalPage img.alignleft,
.normalPage img.wp-post-image {
    max-width: min(240px, 45%);
    border-radius: var(--radius);
}

.singlePost > a:last-child {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
}

/* 9. Nieuws -------------------------------------------------------------- */

#news .post {
    position: relative;
    margin: 0 0 26px;
    padding: 0 0 26px;
    border-bottom: 1px solid var(--line);
}

#news .post.has-date {
    padding-left: 78px;
    min-height: 84px;
}

#news .post .date {
    position: absolute;
    left: 0;
    top: 2px;
    width: 58px;
    padding: 7px 4px 8px;
    background: var(--blue-soft);
    border-top: 4px solid var(--blue);
    border-radius: var(--radius-small);
    color: var(--blue-dark);
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#news .post .date .day {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
}

#news .post .date .year {
    display: block;
    opacity: 0.8;
}

#news .post h2 {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

#news .post > a:hover h2 {
    color: var(--blue-dark);
    text-decoration: underline;
}

#news .post p {
    margin: 0;
    color: var(--muted);
}

#news .post p a {
    font-weight: 600;
    white-space: nowrap;
}

/* 10. Team --------------------------------------------------------------- */

.afdeling {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    padding: 0 0 36px;
    clear: both;
}

.afdeling h3 {
    grid-column: 1 / -1;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
    font-weight: 400;
}

.afdeling > a {
    position: relative;
    display: block;
    aspect-ratio: 135 / 171;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a9d5e4'%3E%3Ccircle cx='12' cy='8.5' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center 38% / 62% no-repeat;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.afdeling > a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.afdeling > a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
}

.afdeling > a > span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 10px 10px;
    background: linear-gradient(to top, rgba(0, 70, 92, 0.92), rgba(0, 70, 92, 0));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
}

/* 11. Zijbalk rechts ----------------------------------------------------- */

.questionForm {
    padding: 22px 20px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.questionForm > h3 {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.questionForm > span,
.questionForm > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--blue);
    border-radius: var(--radius-small);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.questionForm > a:hover {
    background: var(--blue-dark);
    color: #fff;
}

.questionForm > span::before,
.questionForm > a::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1L6.6 10.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1L6.6 10.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Het directe vraagformulier stond al uit en blijft verborgen. */
.contactForm {
    display: none;
}

.widget {
    margin: 20px 0;
    line-height: 1.5;
}

.widget:empty,
.widget .textwidget:empty {
    display: none;
}

.widget h2,
.widget .widgettitle {
    font-size: 1.15rem;
}

#sidebar .widget p {
    margin: 0 0 0.8em;
}

/* 12. Paginering --------------------------------------------------------- */

div.pagination {
    margin: 8px 0 0;
}

div.pagination::after {
    content: "";
    display: table;
    clear: both;
}

div.pagination a {
    color: var(--blue);
    font-weight: 600;
}

.wp-pagenavi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.wp-pagenavi span,
.wp-pagenavi a {
    display: inline-block;
    min-width: 38px;
    margin: 0 !important;
    padding: 7px 12px !important;
    background: var(--blue-soft);
    border: 0 !important;
    border-radius: var(--radius-small);
    color: var(--blue-dark) !important;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.wp-pagenavi span.pages {
    background: transparent;
    color: var(--muted) !important;
    font-weight: 400;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    background: var(--blue);
    color: #fff !important;
}

/* 13. Footer ------------------------------------------------------------- */

.site-footer {
    margin-top: 40px;
    background: var(--bg-soft) url(../images/footerBg.jpg) center / cover no-repeat;
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-block: 36px;
}

.site-footer .social h5 {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
}

.site-footer .social__links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--blue);
    border-radius: var(--radius-small);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.15s ease, transform 0.15s ease;
}

.social-link:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-2px);
}

.site-footer .contact {
    padding: 20px 26px;
    background: var(--blue);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: #fff;
    text-align: right;
}

.site-footer .contact h4 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    white-space: pre-wrap;
}

.site-footer .contact address {
    font-size: 0.95rem;
    line-height: 1.55;
}

.site-footer .contact a {
    color: #fff;
}

#finalFooter {
    padding: 12px 0;
    background: #fff;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.875rem;
}

#finalFooter a {
    color: var(--muted);
}

#finalFooter a:hover {
    color: var(--blue);
}

@media (max-width: 560px) {
    .site-footer__inner {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .site-footer .contact {
        text-align: left;
    }
}

/* Minder beweging voor wie dat in het systeem heeft ingesteld. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

@media print {
    .site-nav,
    .nav-toggle,
    .hero,
    #blueSidebar,
    #sidebar,
    .site-footer .social {
        display: none !important;
    }

    .layout {
        display: block;
    }
}
