/* VEDUTA THEME — main.css */

@import url("https://use.typekit.net/iii3vai.css");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: "bookmania", serif; font-weight: 400; font-style: normal; }
strong, b { font-weight: 700; }
em, i { font-style: italic !important; }
:root { --green: rgb(1, 57, 40); --header-h: 80px; --footer-h: 54px; --nav-w: 200px; --sidebar-w: 260px; }
html, body { font-size: 16px; background: white; color: black; }
p { margin: 0; padding: 0; }
li { list-style: none; line-height: 1; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--green); color: white; }

a { text-decoration: none; color: black; display: inline-block; padding: 5px 5px 0 5px; line-height: 1; transition: color 0.2s, background 0.2s; }
a:hover { color: white; background: var(--green); transform: translateX(3px); }
button { background: white; border: 1px solid black; padding: 2px 6px; font-family: "bookmania", serif; font-size: 0.9rem; color: black; cursor: pointer; transition: background 0.2s, color 0.2s; }
button:hover { background: var(--green); color: white; transform: none; }
input { background: white; border: 1px solid black; padding: 2px 6px; font-family: "bookmania", serif; font-size: 0.9rem; color: black; }
input:focus { outline: none; border-color: var(--green); }

/* FRAME */
#page { margin: 0; padding: 0; }
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: white; border-bottom: 1px solid black; z-index: 100; display: flex; align-items: center; padding: 0 20px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header a:not(.lang-switcher a), .site-header a:not(.lang-switcher a):hover { background: transparent !important; transform: none !important; padding: 0; }
.site-name { font-size: 1rem; }
.custom-logo { max-height: 44px; width: auto; display: block; }
.site-logo-link { padding: 0 10px !important; background: transparent !important; display: flex; align-items: center; height: 100%; }
.site-logo-link:hover { background: var(--green) !important; transform: none !important; }

.lang-switcher { display: flex; gap: 0; list-style: none; }
.lang-switcher li { margin: 0; }
.lang-switcher a { font-size: 0.85rem; padding: 5px 8px 3px 8px; text-transform: lowercase; color: black !important; background: transparent !important; transition: background 0.2s, color 0.2s; display: inline-block; transform: none !important; }
.lang-switcher a:hover { background: var(--green) !important; color: white !important; transform: none !important; }
.lang-switcher li.active a { background: var(--green) !important; color: white !important; }

.menu-toggle { display: none; }
.main-navigation { position: fixed; top: var(--header-h); left: 0; width: var(--nav-w); bottom: var(--footer-h); border-right: 1px solid black; background: white; z-index: 90; padding: 20px 15px; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; }
.main-navigation::-webkit-scrollbar { display: none; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation ul li { margin: 1rem 0; line-height: 1; font-size: 1.05rem; }
.main-navigation ul li a { display: inline-block; padding: 7px 8px 5px 8px; }
.main-navigation ul li a:hover { color: white; background: var(--green); transform: translateX(3px); }
.main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { color: white; background: var(--green); }
.nav-subscribe { margin-top: 2rem; }

.site-footer { position: fixed; bottom: 0; left: 0; right: 0; height: var(--footer-h); background: white; border-top: 1px solid black; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 0 2rem; }
.footer-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-left { display: flex; gap: 1.5rem; align-items: center; font-size: 0.85rem; }
.footer-left a, .footer-left span { padding: 4px 10px; font-size: 0.85rem; display: inline-block; transform: none !important; }
.footer-newsletter { font-size: 0.85rem; display: flex; gap: 0.5rem; align-items: center; }

#content { position: fixed; top: var(--header-h); left: var(--nav-w); right: 0; bottom: var(--footer-h); overflow: hidden; background: white; }
.site-main { height: 100%; overflow: hidden; }

/* HOME */

/* Overlay */
.home-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.home-overlay.is-hidden { display: none; }
.home-overlay__backdrop { position: absolute; inset: 0; background: transparent; pointer-events: all; cursor: pointer; }
.home-overlay__text { background: white; border: 1px solid black; padding: 2rem 2.5rem; width: 30vw; min-width: 280px; font-size: 0.95rem; line-height: 1.7; cursor: default; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 202; pointer-events: all; }
.home-overlay__close { position: absolute; top: 0.6rem; right: 0.8rem; background: none; border: none; font-size: 1rem; line-height: 1; cursor: pointer; padding: 2px 4px; color: black; transition: color 0.2s; }
.home-overlay__close:hover { color: var(--green); background: none; }
.home-overlay__text a { color: black; text-decoration: underline; }
.home-overlay__text a:hover { color: white; background: var(--green); text-decoration: none; }
.home-overlay__image { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 201; pointer-events: all; max-height: 100vh; overflow: hidden; }
.home-overlay__image img { display: block; width: 100%; height: auto; cursor: pointer; }

/* Desktop: toon desktop overlay, verberg mobiel */
.home-overlay__image--mobile, .home-overlay__text--mobile { display: none; }

@media screen and (max-width: 780px) {
    /* Mobiel: toon mobiele overlay, verberg desktop */
    .home-overlay__image--desktop, .home-overlay__text--desktop { display: none; }
    .home-overlay__image--mobile, .home-overlay__text--mobile { display: block; }
    .home-overlay__text--mobile { width: 85vw; min-width: 0; padding: 1.5rem; }
}
.home-columns { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.scroll-col { overflow: hidden; position: relative; height: 100%; }

.scroll-col { overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; }
.scroll-col::-webkit-scrollbar { display: none; }
.scroll-col__inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 20px;
    padding: 20px 0;
}
.scroll-photo { width: 85%; flex-shrink: 0; }
.scroll-photo img { width: 100%; height: auto; display: block; }
.scroll-credits { font-size: 0.75rem; font-style: italic; color: black; margin-top: 0.3rem; line-height: 1.3; }

/* ABOUT / CONTACT */
.page-flex-layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; height: 100%; overflow: hidden; }
.page-sidebar { padding: 20px 20px; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; display: flex; flex-direction: column; gap: 0; }
.page-sidebar::-webkit-scrollbar { display: none; }
.sidebar-text { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.sidebar-text p { margin-bottom: 0.8em; }
.sidebar-text p:last-child { margin-bottom: 0; }
.sidebar-subtitle { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: black; margin: 0 0 0.5rem; }
.sidebar-image { margin-bottom: 1rem; }
.sidebar-image img { width: 100%; height: auto; display: block; }
.sidebar-image figcaption { font-size: 0.75rem; color: grey; margin-top: 0.3rem; }
/* sidebar-entry-card: zelfde opmaak als related-card */
.sidebar-entry-card { display: block; text-decoration: none; color: black; margin-bottom: 1rem; }
.sidebar-entry-card:hover { background: transparent; }
.sidebar-entry-card__thumb { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--green); margin-bottom: 0.25rem; }
.sidebar-entry-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.sidebar-entry-card:hover .sidebar-entry-card__thumb img { transform: scale(1.03); }
.sidebar-entry-card__thumb--empty { opacity: 0.4; }
.sidebar-entry-card__header { display: flex; justify-content: space-between; align-items: baseline; gap: 0.4rem; margin-bottom: 0.1rem; }
.sidebar-entry-card__title { font-weight: 700; font-size: 0.9rem; line-height: 1.3; margin: 0; color: black; }
.sidebar-entry-card:hover .sidebar-entry-card__title { color: var(--green); }
.sidebar-entry-card__year { font-size: 0.75rem; font-weight: 400; white-space: nowrap; flex-shrink: 0; color: black; }

/* Flex page: zijbalk content begint gelijk met entry-title (= padding-top 30px, zoals single-content-col) */
.page-flex-layout .page-sidebar { padding-top: 50px; }
.page-flex { height: 100%; border-left: none; padding: 30px 10% 6rem 10%; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; display: flex; flex-direction: column; align-items: center; font-size: 17px; }
.page-flex::-webkit-scrollbar { display: none; }
/* .flex-content en .flex-title/.flex-subtitle legacy — niet meer gebruikt in template, behouden voor veiligheid */
.flex-content { max-width: 560px; width: 100%; display: flex; flex-direction: column; gap: 2rem; }
.page-flex .entry-title,
.page-flex .entry-content-blocks { max-width: 600px; width: 100%; }
.flex-title    { font-size: 1.8rem; font-weight: 700; line-height: 1.2; }
.flex-subtitle { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.flex-text p   { margin-bottom: 1em; line-height: 1.7; }
.flex-text p:last-child { margin-bottom: 0; }
.flex-image--single figure { margin: 0; }
.flex-image--single img { width: 100%; height: auto; }
.flex-image--single figcaption { font-size: 0.8rem; color: grey; margin-top: 0.4rem; }
.flex-image--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.flex-image--duo figure { margin: 0; }
.flex-image--duo img { width: 100%; height: 100%; object-fit: cover; }
.flex-video iframe { width: 100%; aspect-ratio: 16/9; display: block; }
.flex-audio__label { font-size: 0.85rem; color: grey; margin-bottom: 0.4rem; }
.flex-audio audio { width: 100%; }
.flex-audio iframe { width: 100%; }

/* GEDEELDE CONTENT BLOKKEN (entry + flex pages) */
.block--title   { font-size: 1.6rem; font-weight: 700; line-height: 1.2; margin: 0; }
.block--subtitle { font-size: 1.35rem; font-weight: 600; line-height: 1.3; margin: -0.75rem 0 -0.75rem; }
.block--text p  { margin-bottom: 1em; line-height: 1.7; }
.block--text p:last-child { margin-bottom: 0; }
.block--text a:hover, .flex-text a:hover { transform: none; }
.block--text a, .flex-text a { display: inline; padding: 0; line-height: inherit; }
.block--image { margin-bottom: 0.5rem; }
.block--image figure { margin: 0; }
.block--image img { width: 100%; height: auto; display: block; }
.block--image figcaption { font-size: 0.8rem; color: grey; margin-top: 0.4rem; }
.block--image-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0.5rem; }
.block--image-duo figure { margin: 0; }
.block--image-duo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.block--image-duo figcaption { font-size: 0.8rem; color: grey; margin-top: 0.4rem; }
.block--video { margin-top: -1rem; }
.block--video video { width: 100%; aspect-ratio: 16/9; display: block; }
.responsive-embed { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.responsive-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.block--audio audio { width: 100%; }
/* Extra ruimte specifiek wanneer een titel/tussentitel volgt op beeld —
   compenseert de negatieve margin van .block--subtitle bovenop de marge die
   .block--image/-duo hierboven al altijd meekrijgt. Video laat ik ongemoeid:
   die combinatie (video + titel) is al goedgekeurd zoals ze nu is. */
.block--image + .block--subtitle,
.block--image-duo + .block--subtitle { margin-top: 0.25rem; }
.block--video + .block--subtitle { margin-top: 0.5rem; }
.audio-label { font-size: 0.85rem; color: grey; margin-bottom: 0.4rem; }

/* FILTER LAYOUT — archief: sidebar links (= nav-breedte), main rechts */
.filter-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    height: 100%;
    overflow: hidden;
}

/* Linkerbalk: slider bovenaan (border-bottom), tags eronder (scrollbaar) */
.filter-sidebar {
    border-right: 1px solid black;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}
.filter-sidebar__slider,
.filter-sidebar .tag-list { width: 100%; }
.filter-sidebar__slider {
    padding: 14px 22px 20px 22px;
    flex-shrink: 0;
}
.slider-labels { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 14px; color: black; }
.tag-list { padding: 8px 0 8px 0; margin: 0; overflow-y: auto; flex: 1; -ms-overflow-style: none; scrollbar-width: none; }
.tag-list::-webkit-scrollbar { display: none; }

.tag-group { padding: 10px 22px 12px 22px; }
.tag-group__label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: black; margin: 0 0 7px 0; padding: 0; }
.tag-group__pills { display: flex; flex-wrap: wrap; gap: 5px; }

.tag-btn { display: inline-block; width: auto; text-align: left; background: none; border: 1px solid black; border-radius: 999px; font-family: "bookmania", serif; font-size: 0.82rem; cursor: pointer; padding: 3px 10px 2px 10px; color: black; transition: background 0.15s, color 0.15s; line-height: 1.4; -webkit-tap-highlight-color: transparent; }
.tag-btn:hover  { background: var(--green); color: white; border-color: var(--green); }
.tag-btn:focus  { outline: none; background: none; color: black; }
.tag-btn.active { background: var(--green); color: white; border-color: var(--green); }
.tag-btn.active:focus { background: var(--green); color: white; }

/* noUiSlider */
.noUi-target { background: grey; border-radius: 4px; border: none !important; box-shadow: none !important; }
.noUi-horizontal { height: 1px !important; }
.noUi-base { height: 2px !important; }
.noUi-connect { background: black !important; height: 2px !important; }
.noUi-handle { background: #fff !important; border: 1px solid #000 !important; border-radius: 50% !important; box-shadow: none !important; width: 10px !important; height: 10px !important; right: -7px !important; top: -5px !important; cursor: pointer; }
.noUi-handle:focus { outline: none; }
.noUi-handle::before, .noUi-handle::after { content: none !important; display: none !important; }
.noUi-tooltip { display: none !important; }

/* Rechterkolom: sort bovenaan, #entriesGrid eronder */
.filter-main { display: flex; flex-direction: column; height: 100%; overflow: hidden; position: relative; }
.filter-sort { padding: 10px 20px; display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; position: absolute; top: 0; right: 0; z-index: 10; pointer-events: none; }
.sort-btn { background: white; border: 1px solid black; border-radius: 999px; font-family: "bookmania", serif; font-size: 0.82rem; cursor: pointer; padding: 3px 10px 2px 10px; color: black; transition: background 0.15s, color 0.15s; line-height: 1.4; pointer-events: all; }
.sort-btn:hover  { background: black; color: white; }
.sort-btn.active { background: var(--green); color: white; border-color: var(--green); }

/* ENTRY CARDS */
/* Current/Ongoing pagina: volle main content, gewoon grid */
.current-grid {
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-content: start;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.current-grid::-webkit-scrollbar { display: none; }
#entriesGrid { flex: 1; overflow-y: auto; padding: 45px 20px 20px; -ms-overflow-style: none; scrollbar-width: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-content: start; }
#entriesGrid::-webkit-scrollbar { display: none; }
.entries-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-content: start; }
.entry-card { display: flex; flex-direction: column; }
.entry-card__link { display: flex; flex-direction: column; padding: 0; }
.entry-card__link:hover { background: transparent; transform: none; color: black; }
.entry-card__body a:hover { transform: none; }
.entry-card__thumb { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--green); position: relative; }
.entry-card__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.4s; }
.entry-card__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.entry-card__year { font-size: 0.8rem; font-weight: 400; white-space: nowrap; flex-shrink: 0; color: black; padding-top: 0.15em; }
.entry-card__no-thumb { width: 100%; height: 100%; background: var(--green); }
.entry-card:hover .entry-card__thumb img { transform: scale(1.03); }
.entry-card__body { padding: 0.5rem 0; }

/* Titel + jaar op 1 lijn */
.entry-card__header { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-bottom: 0.2rem; }
.entry-card__title { font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0; }

/* Hover: titel groen, tags zwart */
.entry-card__link:hover .entry-card__title { color: var(--green); }
/* Tags blijven zwart bij hover op kaart, maar wit bij hover op tags zelf */
.entry-card__link:hover .entry-card__tags  { color: black; }

.entry-card__tags { margin: 0; font-size: 0.8rem; font-style: italic; line-height: 1.4; }
.entry-card__tag  { cursor: pointer; font-style: italic; display: inline; padding: 1px 3px; transition: background 0.15s, color 0.15s; }

/* Hogere specificiteit zodat tags-hover wint van link-hover */
.entry-card__link:hover .entry-card__tags:hover { color: white; }
.entry-card__link:hover .entry-card__tags:hover .entry-card__tag { color: white; }
.entry-card__tags:hover { color: white; }
.entry-card__tags:hover .entry-card__tag { color: white; }
.entry-card__tag:hover { background: var(--green); color: white !important; }

/* SINGLE ENTRY */
.single-entry-layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; height: 100%; overflow: hidden; }
.single-related-col { padding: 20px 12px; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; display: flex; flex-direction: column; }
.single-related-col::-webkit-scrollbar { display: none; }

.back-btn { display: inline-block; font-size: 0.85rem; margin-bottom: 1.2rem; padding: 3px 5px; line-height: 1; color: black; transition: background 0.2s, color 0.2s; }
.back-btn:hover { color: white; background: var(--green); transform: none; }

.related-entries { display: flex; flex-direction: column; gap: 1rem; }
.related-card { width: 100%; }
.related-card__link { display: flex; flex-direction: column; padding: 0; }
.related-card__link:hover { background: transparent; transform: none; color: black; }
.related-card__thumb { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--green); margin-bottom: 0.25rem; }
.related-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.related-card:hover .related-card__thumb img { transform: scale(1.03); }

/* Titel + jaar naast elkaar onder het beeld, zoals archief cards */
.related-card__header { display: flex; justify-content: space-between; align-items: baseline; gap: 0.4rem; margin-top: 0.25rem; margin-bottom: 0.1rem; }
.related-card__title { font-weight: 700; font-size: 0.9rem; line-height: 1.3; margin: 0; padding: 0; color: black; }
.related-card__year  { font-size: 0.75rem; font-weight: 400; white-space: nowrap; flex-shrink: 0; color: black; }
.related-card__link:hover .related-card__title { color: var(--green); }

/* Tags op verwante kaartjes — zelfde hover als entry cards */
.related-card__tags { font-style: normal; font-size: 0.78rem; display: block; padding: 0; margin: 0.1rem 0 0 0; color: black; line-height: 1.4; }
.related-card__tags:hover { color: white; }
.related-card__tags:hover .entry-card__tag { color: white; }
.related-card__link:hover .related-card__tags { color: black; }

/* Tags onderaan linkerkolom */
.single-entry-tags { margin-top: 1.5rem; padding-top: 0.8rem; border-top: 1px solid black; display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; }
.single-tag-link { font-size: 0.82rem; font-style: normal; padding: 3px 10px 2px 10px; display: inline-block; color: black; line-height: 1.4; background: none; border: 1px solid black; border-radius: 999px; transition: background 0.15s, color 0.15s; }
.single-tag-link:hover { color: white; background: var(--green); border-color: var(--green); transform: none; }

/* Rechterkolom */
.single-content-col { border-left: none; padding: 30px 10% 6rem 10%; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; display: flex; flex-direction: column; align-items: center; }
.single-content-col::-webkit-scrollbar { display: none; }
.single-content-inner { max-width: 600px; width: 100%; font-size: 17px; }
.entry-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.2; text-align: center; }
.entry-date  { font-size: 0.85rem; color: black; font-style: italic; display: block; margin-bottom: 2rem; text-align: right; }
.entry-content-blocks { display: flex; flex-direction: column; gap: 2rem; width: 100%; border-top: 1px solid black; padding-top: 2rem; margin-top: 0.5rem; }
.page-flex .entry-content-blocks { border-top: none; padding-top: 0; margin-top: 0; }
.audio-label { font-size: 0.8rem; color: grey; }

/* ALGEMEEN */
.no-results { color: grey; font-size: 0.9rem; padding: 1rem 0; }
.entries-grid.is-loading { opacity: 0.4; pointer-events: none; }

/* Mailchimp badge verbergen */
.refferal_badge { display: none !important; }

/* Nav-subscribe desktop: formulier in zijbalk, mobile-link verborgen */
/* Desktop subscribe in zijbalk */
.nav-subscribe--desktop { display: block; margin-top: 2rem; }
.nav-subscribe--desktop .mc-field-group { margin-bottom: 6px; }
.nav-subscribe--desktop input[type="email"] { width: 100%; padding: 4px 8px; font-size: 0.85rem; border: 1px solid black; background: white; font-family: "bookmania", serif; box-sizing: border-box; }
.nav-subscribe--desktop input[type="email"]:focus { outline: none; border-color: var(--green); }
.nav-subscribe--desktop input[type="submit"] { display: block; width: 100%; padding: 5px 10px; font-size: 0.85rem; border: 1px solid black; background: white; cursor: pointer; font-family: "bookmania", serif; text-align: center; }
.nav-subscribe--desktop input[type="submit"]:hover { background: var(--green); color: white; }
#mce-responses, .optionalParent { display: none; }
.nav-subscribe--mobile { display: none; }
/* Footer: geen newsletter op desktop */
.footer-newsletter { display: none; }
.footer-mailchimp { display: none; }

/* Desktop: toon alleen desktop scroll, verberg mobiele */
.mobile-filter-bar { display: none; }
.mobile-filter-overlay { display: none; }
.home-columns--mobile { display: none; }
.home-columns--desktop { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 100%; }

/* MOBIEL */
@media screen and (max-width: 780px) {
    :root { --header-h: 48px; --footer-h: auto; --nav-w: 0px; }

    /* Basis layout */
    #page { display: flex; flex-direction: column; min-height: 100vh; }
    #content { position: static; overflow: visible; height: auto; border-top: none; left: 0; }
    .site-main { height: auto; overflow: visible; min-height: 60vh; }

    /* Header */
    .site-header { position: sticky; top: 0; z-index: 100; height: 48px; padding: 0 15px; }

    /* Nav sticky */
    .main-navigation {
        position: sticky;
        top: 48px;
        z-index: 90;
        width: 100%;
        border-right: none;
        border-top: none;
        padding: 0;
        overflow: visible;
        max-height: none;
        background: white;
    }
    .menu-toggle { display: none; }

    /* Menu items horizontaal, space-evenly */
    .main-navigation #primary-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        height: 48px;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid black;
    }
    .main-navigation #primary-menu li { margin: 0; border-right: none; }
    .main-navigation #primary-menu li a { display: block; padding: 10px 14px 8px 14px; font-size: 0.85rem; line-height: 1; }

    /* Mobiel: zijbalk-formulier verborgen, link-balk zichtbaar */
    .nav-subscribe--desktop { display: none; }
    .nav-subscribe { margin-top: 0; }
    .nav-subscribe--mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid black;
        padding: 8px 15px;
        background: white;
        position: sticky;
        top: 96px;
        z-index: 79;
    }
    .subscribe-link { font-size: 0.85rem; padding: 3px 6px 1px 6px !important; background: transparent !important; color: black !important; transform: none !important; transition: background 0.2s, color 0.2s !important; }
    .subscribe-link:hover { color: white !important; background: var(--green) !important; }

    /* Footer op mobiel: gecentreerd, items onder elkaar */
    .site-footer { position: static; height: auto; padding: 1.5rem 1rem; }
    .footer-inner { flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }
    .footer-left { flex-direction: column; gap: 0.4rem; align-items: center; }
    /* Mailchimp formulier in footer op mobiel: onder elkaar */
    .footer-newsletter { display: flex; }
    .footer-mailchimp { display: block; width: 100%; max-width: 320px; }
    .footer-mc-inner { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
    .footer-mc-inner input[type="email"] { width: 100%; padding: 6px 10px; font-size: 0.9rem; border: 1px solid black; background: white; font-family: "bookmania", serif; }
    .footer-mc-inner input[type="email"]:focus { outline: none; border-color: var(--green); }
    .footer-mc-inner input[type="submit"] { width: 100%; padding: 6px 10px; font-size: 0.9rem; border: 1px solid black; background: white; cursor: pointer; font-family: "bookmania", serif; }
    .footer-mc-inner input[type="submit"]:hover { background: var(--green); color: white; }

    /* Homepage: subscribe zichtbaar, scroll volledig scherm */
    .home-columns--desktop { display: none; }
    .home-columns--mobile {
        display: block;
        height: calc(100vh - 48px);
        overflow: hidden;
        position: relative;
    }
    .home-columns--mobile .scroll-col { height: 100%; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; }
    .home-columns--mobile .scroll-col::-webkit-scrollbar { display: none; }
    .home-columns--mobile .scroll-photo { width: 85%; }    /* Homepage: subscribe link altijd zichtbaar */
    .page-template-template-home .nav-subscribe--mobile { max-height: 40px !important; opacity: 1 !important; }
    .page-template-template-archive-veduta .nav-subscribe--mobile,
    .page-template-archive .nav-subscribe--mobile { display: none !important; }

    /* Current & archive: 1 kolom, kaartjes 80% breed gecentreerd */
    .filter-layout { height: auto; overflow: visible; display: block; padding-top: 0; }

    /* Mobiele filter+sort knoppenbalk */
    .mobile-filter-bar { display: flex; padding: 10px 15px; border-bottom: 1px solid black; justify-content: space-between; position: fixed; top: 96px; left: 0; right: 0; background: white; z-index: 78; }
    .mobile-filter-toggle,
    .mobile-sort-toggle { background: none; border: 1px solid black; border-radius: 999px; font-family: "bookmania", serif; font-size: 0.85rem; line-height: 1; cursor: pointer; padding: 4px 14px 3px; color: black; transition: background 0.15s, color 0.15s; }
    .mobile-filter-toggle:hover,
    .mobile-sort-toggle:hover { background: black; color: white; }
    .mobile-sort-toggle.active { background: var(--green); color: white; border-color: var(--green); }

    /* Desktop sidebar en sort-balk verbergen op mobiel */
    .filter-sidebar { display: none; }
    .filter-sort { display: none; }

    /* Mobiele overlays (filter + sort) */
    .mobile-filter-overlay { display: none; position: fixed; inset: 0; background: white; z-index: 200; overflow-y: auto; }
    .mobile-filter-overlay.is-open { display: block; }
    .mobile-filter-overlay__inner { padding: 0 0 2rem 0; }
    .mobile-filter-overlay__header { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid black; position: sticky; top: 0; background: white; z-index: 1; }
    .mobile-filter-overlay__title { font-weight: 700; font-size: 1rem; font-family: "bookmania", serif; }
    .mobile-filter-close { background: none; border: none; font-size: 1.1rem; cursor: pointer; padding: 4px 8px; font-family: "bookmania", serif; color: black; }
    .mobile-filter-overlay__body .filter-sidebar__slider { display: block; padding: 14px 15px 20px; }
    .mobile-filter-overlay__body .tag-list { overflow-y: visible; }
    .mobile-filter-overlay__footer { padding: 15px; border-top: 1px solid black; margin-top: 10px; }
    .mobile-remove-filters { width: 100%; background: none; border: 1px solid black; border-radius: 999px; font-family: "bookmania", serif; font-size: 0.85rem; cursor: pointer; padding: 8px 14px; color: black; transition: background 0.15s, color 0.15s; -webkit-tap-highlight-color: transparent; }
    .mobile-remove-filters:hover { background: var(--green); color: white; border-color: var(--green); }
    .mobile-remove-filters:focus { outline: none; background: none; color: black; }
    .mobile-sort-overlay__pills { display: flex; flex-direction: column; gap: 10px; padding: 20px 15px; }
    .mobile-sort-overlay__pills .sort-btn { display: block; width: 100%; text-align: left; padding: 10px 15px; font-size: 1rem; }

    /* Archief entries: 1 kolom fullwidth — padding-top = balkinhoud (10+21+10) + border (1) = 42px */
    .filter-main { display: block; padding-top: 42px; }
    .entries-grid { grid-template-columns: 1fr !important; gap: 1.5rem; padding: 15px; }
    .entry-card { width: 85%; margin: 0 auto; }

    /* Logo links op mobiel */
    .custom-logo { max-height: 28px; }
    .header-inner { justify-content: space-between; }
    .site-logo-link { position: static; transform: none !important; }

    .archive-topbar { grid-template-columns: 1fr; }
    .archive-topbar-left { border-right: none; }
    .archive-topbar-right { padding: 10px 15px; border-top: 1px solid black; }
    .filter-body { grid-template-columns: 1fr; overflow: visible; }
    .filter-tags-col { border-right: none; border-bottom: 1px solid black; height: auto; min-height: 0; }
    .filter-entries-col { height: auto; padding: 15px; }
    .current-grid { grid-template-columns: 1fr; height: auto; overflow-y: visible; }

    /* Single entry: linkerkolom onder inhoud op mobiel */
    .single-entry-layout {
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible;
    }
    /* Inhoud eerst, verwante paginas + tags erna */
    .single-content-col { order: 1; padding: 20px; border-left: none; }
    .single-related-col { order: 2; height: auto; padding: 20px 15px; border-top: 1px solid black; }
    .single-related-col .back-btn { display: none; } /* terug knop verbergen op mobiel, browser back volstaat */

    /* About / Contact: zijbalk onder inhoud op mobiel */
    .page-flex-layout { display: flex; flex-direction: column; height: auto; overflow: visible; }
    .page-flex { height: auto; padding: 20px; }
    .page-sidebar { order: 2; height: auto; padding: 20px 15px; border-top: 1px solid black; }
}
