/* ==========================================================================
   Dan Hua – basisstijlen (aanvulling op theme.json)
   Breakpoints zoals Elementor: tablet <= 1024px, mobiel <= 767px.
   ========================================================================== */

html { scroll-behavior: smooth; }
body {
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }

/* Koppen zoals Edubin, met dezelfde maten per scherm. */
h1, h2, h3, h4, h5, h6 { word-break: break-word; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
/* WordPress zet marges in flow-layouts op 0; Edubin/Elementor gebruiken deze: */
.wp-site-blocks p { margin: 0 0 1.5em; }
.wp-site-blocks :is(h1, h2, h3, h4, h5, h6) { margin-top: 0; margin-bottom: 20px; }
.wp-site-blocks :is(ul, ol) { margin-top: 0; margin-bottom: 20px; }
@media (min-width: 768px) and (max-width: 991px) {
	h1 { font-size: 38px; }
	h2 { font-size: 32px; }
	h3 { font-size: 28px; }
}
@media (max-width: 767px) {
	h1 { font-size: 34px; }
	h2 { font-size: 28px; }
	h3 { font-size: 24px; }
	h4 { font-size: 20px; }
	.wp-site-blocks p { margin: 0 0 20px; }
}

/* Container: Elementor "boxed" 1140px. */
.dh-container {
	max-width: 1140px;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Kolommen: Elementor gebruikt 10px ruimte aan beide kanten van elke kolom. */
.wp-block-columns { gap: 0; margin-bottom: 0; }
.wp-block-columns > .wp-block-column { padding-left: 10px; padding-right: 10px; box-sizing: border-box; min-width: 0; }
.wp-block-columns.dh-gap-0 > .wp-block-column { padding-left: 0; padding-right: 0; }
@media (max-width: 767px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-direction: column; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; width: 100%; }
}
@media (min-width: 768px) {
	.wp-block-columns { flex-wrap: nowrap !important; }
}

/* Knoppen. */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all .3s; }
.wp-block-button.is-style-klein .wp-block-button__link { font-size: 15px; font-weight: 500; padding: 16px 28px 16px 24px; border-radius: 3px; }
[class*="dh-icon-"] > .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: var(--dh-icon) center / contain no-repeat;
	mask: var(--dh-icon) center / contain no-repeat;
	flex: none;
}
.dh-icon-right > .wp-block-button__link { flex-direction: row-reverse; }

/* Icoonblok. */
.dh-icoon, .dh-icoon a { display: inline-flex; align-items: center; color: inherit; }
.dh-icoon__icon { display: inline-flex; }
.dh-icoon__text { padding-left: 5px; }
.dh-svg { display: inline-block; vertical-align: middle; flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.dh-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 5px 30px 0 rgba(0, 0, 0, .1);
}
.admin-bar .dh-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dh-site-header { top: 0; } }

.dh-topbar { padding: 8px 8px 8px 20px; }
.dh-topbar__inner { max-width: 1200px; padding-left: 6px; }
.dh-topbar__adres { font-family: var(--wp--preset--font-family--montserrat); font-size: 14px; font-weight: 300; line-height: 26px; color: #fff; }
.dh-topbar__adres a:hover { color: #fff; }

.dh-mainbar { padding: 15px; position: relative; }
.dh-mainbar__inner { max-width: 1200px; gap: 0; }
.dh-logo { flex: 0 0 24.999%; margin: 0; line-height: 0; }
.dh-logo img { width: 296px; height: 64px; object-fit: contain; }
.dh-mainbar .dh-menu--header { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.dh-header__cta { flex: 0 0 150px; padding-left: 20px; justify-content: flex-end; box-sizing: border-box; }
.dh-header__cta .wp-block-button { width: 100%; }
.dh-header__cta .wp-block-button__link { padding: 16px; width: 100%; line-height: 16px; white-space: nowrap; box-sizing: border-box; }

@media (max-width: 1024px) {
	.dh-topbar { padding: 4px 15px 4px 20px; }
	.dh-topbar__adres { font-size: 12px; }
	.dh-mainbar { padding: 10px 15px; }
	.dh-logo { flex-basis: 50%; }
	.dh-logo img { width: 337.5px; height: auto; }
	.dh-header__cta { flex-basis: 16%; }
}
@media (max-width: 767px) {
	.dh-topbar { padding: 4px 10px 4px 16px; }
	.dh-topbar__inner { padding-left: 0; justify-content: flex-end !important; }
	.dh-topbar__adres { display: none !important; }
	.dh-mainbar { padding: 10px 15px 15px; }
	.dh-mainbar__inner { flex-wrap: wrap !important; }
	.dh-logo { flex-basis: 70%; }
	.dh-logo img { width: 252px; height: auto; }
	.dh-mainbar .dh-menu--header { flex-basis: 30%; position: static; }
	.dh-header__cta { flex: 0 0 100%; padding: 10px 0 0; }
	.dh-header__cta .wp-block-button { width: 100%; }
	.dh-header__cta .wp-block-button__link { width: 100%; padding: 15px 20px; }
}

/* ==========================================================================
   Paginatitel en inhoud
   ========================================================================== */
.dh-titlebar {
	background-image: url(../chinese-pattern-3.png);
	background-repeat: repeat;
	padding: 30px 0 110px;
}
.dh-titlebar--archive { padding-bottom: 120px; }
.dh-titlebar__inner,
.dh-titlebar .wp-block-columns { padding: 0 10px; }
.dh-titlebar__title,
.dh-titlebar h1 {
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 65px;
	font-weight: 900;
	line-height: 1.2;
	color: #fff;
	margin: 0;
	padding: 25px 30% 0 0;
}
.dh-titlebar--archive .dh-titlebar__title { padding-top: 20px; }
.dh-titlebar--post { padding: 40px 0 100px; }
.dh-titlebar--post .dh-titlebar__title { padding: 20px 0 0; }
.dh-hexagon img {
	-webkit-mask: url(../shapes/hexagon-horizontal.svg) center / contain no-repeat;
	mask: url(../shapes/hexagon-horizontal.svg) center / contain no-repeat;
	border-radius: 16px;
}
.dh-content { padding: 50px 10px; }
@media (max-width: 1024px) {
	.dh-titlebar { padding: 0 25px; min-height: 0; }
	.dh-titlebar__title, .dh-titlebar h1 { padding: 24px 40px 60px; }
}
@media (max-width: 767px) {
	.dh-titlebar { padding: 0 20px; }
	.dh-titlebar__title, .dh-titlebar h1 { font-size: 39px; padding: 20px 0 45px; }
	.dh-content { padding: 40px 20px; }
}

/* Berichtkaarten (archief). */
.dh-kaarten .wp-block-post-template.is-layout-grid { gap: 35px 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dh-kaart {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.dh-kaart__beeld { margin: 0 0 20px; }
.dh-kaart__beeld img { transition: filter .3s; }
.dh-kaart__beeld:hover img { filter: brightness(70%); }
.dh-kaart__titel { font-family: var(--wp--preset--font-family--roboto); font-size: 21px; line-height: 1.43; font-weight: 600; color: var(--wp--preset--color--secundair); margin: 10px 30px 25px; }
.dh-kaart__datum { margin-top: auto; border-top: 1px solid #eaeaea; padding: 15px 30px; font-family: var(--wp--preset--font-family--roboto-slab); font-size: 12px; line-height: 1.3; color: #adadad; }
.dh-kaarten .wp-block-query-pagination { margin-top: 50px; gap: 16px; font-family: var(--wp--preset--font-family--roboto); font-weight: 600; }
.dh-kaarten .wp-block-query-pagination .page-numbers { margin: 0 8px; }
.dh-kaarten .wp-block-query-pagination .current { color: #fff; }
@media (max-width: 1024px) { .dh-kaarten .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .dh-kaarten .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.dh-footer__main { padding: 170px 0 60px; color: #fff; }
.dh-footer__links { padding-right: 90px !important; }
.dh-footer__logo { margin: 0 0 22px; }
.dh-footer__logo img { width: 100%; max-width: 356px; }
.dh-footer__kop { margin-bottom: 20px; }
.dh-footer__adres { font-family: var(--wp--preset--font-family--roboto); font-size: 14px; line-height: 26px; margin-bottom: 21px !important; }
.dh-footer__cta { margin-top: 8px; }
.dh-footer__bottom {
	background-color: #22218d;
	border-top: 1px solid rgba(255, 255, 255, .19);
	min-height: 50px;
	display: flex;
	align-items: center;
}
.dh-footer__copy { width: 100%; padding: 0 10px; margin: 0 auto !important; font-size: 12px; font-weight: 300; line-height: 1; color: var(--wp--preset--color--licht-grijs); }
.dh-social { display: flex; gap: 9px; }
.dh-social__item {
	display: inline-flex; align-items: center; justify-content: center;
	width: 33px; height: 33px; border-radius: 10%;
	background: rgba(255, 255, 255, .21); color: #fff; transition: all .3s;
}
.dh-social a.dh-social__item:hover { background: #fff; color: #001c38; }
@media (max-width: 1024px) {
	.dh-footer__main { padding: 100px 20px 40px; }
	.dh-footer__links { flex-basis: 35% !important; padding-right: calc(15% + 10px) !important; }
	.dh-footer__rechts { flex-basis: 65% !important; }
	.dh-footer__bottom { padding: 10px 20px; }
}
@media (max-width: 767px) {
	.dh-footer__main { padding: 75px 20px 35px; }
	.dh-footer__links { padding-right: 0 !important; margin: 0 0 50px; }
	.dh-footer__bottom { padding: 30px 20px 20px; }
	.dh-footer__copy { text-align: center; }
	.dh-social { gap: 10px; }
}

/* Terug naar boven (zoals Edubin). */
.dh-to-top {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--wp--preset--color--secundair);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: all .3s;
}
.dh-to-top:hover { background: var(--wp--preset--color--accent); color: #fff; }
.dh-to-top.is-visible { opacity: 1; visibility: visible; }

/* ==========================================================================
   Omgezette Elementor-elementen
   ========================================================================== */
.wp-block-columns > .wp-block-column { padding: 10px; }
.wp-block-columns.dh-gap-0 > .wp-block-column { padding: 0; }
.wp-block-columns.dh-gap-5 > .wp-block-column { padding: 5px; }
.wp-block-columns.dh-gap-15 > .wp-block-column { padding: 15px; }
.wp-block-columns.dh-gap-20 > .wp-block-column { padding: 20px; }
.wp-block-columns.dh-gap-30 > .wp-block-column { padding: 30px; }
.wp-block-columns > .wp-block-column.dh-col-wrap { padding: 0; display: flex; flex-direction: column; }
.dh-col-wrap > .dh-colw { flex: 1 1 auto; box-sizing: border-box; }
.wp-block-columns > .wp-block-column[class*="is-vertically-aligned-"] { align-self: stretch; }
.wp-block-column.is-vertically-aligned-center:not(.dh-col-wrap) { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.wp-block-column.is-vertically-aligned-bottom:not(.dh-col-wrap) { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.wp-block-column.is-vertically-aligned-center > *, .wp-block-column.is-vertically-aligned-bottom > * { width: 100%; }
.dh-va-middle, .dh-va-bottom, .dh-va-top { display: flex; flex-direction: column; }
.dh-va-middle { justify-content: center; }
.dh-va-bottom { justify-content: flex-end; }
.dh-va-middle > .wp-block-columns, .dh-va-bottom > .wp-block-columns, .dh-va-top > .wp-block-columns { width: 100%; }
.dh-section { position: relative; }

@media (min-width: 1025px) { .dh-hide-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) {
	.dh-hide-tablet { display: none !important; }
	.dh-reverse-tablet { flex-direction: column-reverse !important; }
}
@media (max-width: 767px) {
	.dh-hide-mobile { display: none !important; }
	.dh-reverse-mobile { flex-direction: column-reverse !important; }
}

/* Kop (Elementor-standaard: Roboto 600, primaire kleur, regelhoogte 1). */
.wp-site-blocks .dh-heading {
	font-family: var(--wp--preset--font-family--roboto);
	font-weight: 600;
	color: var(--wp--preset--color--primair);
	line-height: 1;
	margin: 0;
	padding: 0;
}
.dh-heading a { color: inherit; }

/* Tekst (Elementor-standaard: Roboto 400, tekstkleur). */
.dh-text {
	font-family: var(--wp--preset--font-family--roboto);
	font-weight: 400;
	color: var(--wp--preset--color--tekst);
}
.wp-site-blocks .dh-text p { margin: 0 0 1.5em; }

/* Afbeelding. */
.dh-image { margin: 0; line-height: 0; }
.dh-image img { vertical-align: middle; display: inline-block; max-width: 100%; }
.dh-image.dh-align-center { text-align: center; }
.dh-image.dh-align-left { text-align: left; }
.dh-image.dh-align-right { text-align: right; }
.dh-mask img {
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.dh-mask-circle img { -webkit-mask-image: url(../shapes/circle.svg); mask-image: url(../shapes/circle.svg); }
.dh-mask-hexagon img { -webkit-mask-image: url(../shapes/hexagon.svg); mask-image: url(../shapes/hexagon.svg); }
.dh-mask-hexagon-horizontal img { -webkit-mask-image: url(../shapes/hexagon-horizontal.svg); mask-image: url(../shapes/hexagon-horizontal.svg); }
.dh-mask-hexagon-vertical img { -webkit-mask-image: url(../shapes/hexagon-vertical.svg); mask-image: url(../shapes/hexagon-vertical.svg); }
.dh-mask-blob img { -webkit-mask-image: url(../shapes/blob.svg); mask-image: url(../shapes/blob.svg); }

/* Knoppen (Elementor-maten). */
.dh-buttons { gap: 0; }
.dh-button .wp-block-button__link {
	font-family: var(--wp--preset--font-family--roboto);
	font-weight: 500;
	background-color: var(--wp--preset--color--accent);
	color: #fff;
	line-height: 1;
	fill: #fff;
}
.dh-size-xs .wp-block-button__link { font-size: 13px; padding: 10px 20px; border-radius: 2px; }
.dh-size-sm .wp-block-button__link { font-size: 15px; padding: 12px 24px; border-radius: 3px; }
.dh-size-md .wp-block-button__link { font-size: 16px; padding: 15px 30px; border-radius: 4px; }
.dh-size-lg .wp-block-button__link { font-size: 18px; padding: 20px 40px; border-radius: 5px; }
.dh-size-xl .wp-block-button__link { font-size: 20px; padding: 25px 50px; border-radius: 6px; }
.dh-buttons.dh-justify .wp-block-button { width: 100%; }
.dh-buttons.dh-justify .wp-block-button__link { width: 100%; }

/* Scheidingslijn. */
.dh-divider .wp-block-separator { border: 0; border-top: 1px solid #000; margin: 0; }

/* Icoonlijst. */
.dh-icon-list .dh-icoon { display: flex; }

/* Afbeeldingsbox. */
.dh-image-box__img { margin: 0; }
.dh-image-box__img img { width: 100%; }
.dh-image-box__content { flex: 1 1 auto; }
.wp-site-blocks .dh-image-box__title { margin: 0 0 15px; font-family: var(--wp--preset--font-family--roboto); font-weight: 600; color: var(--wp--preset--color--primair); }
.dh-image-box__desc { font-family: var(--wp--preset--font-family--roboto); color: var(--wp--preset--color--tekst); }

/* Citaat. */
.wp-block-quote.dh-blockquote { margin: 0; padding: 35px 40px 35px 105px; border: 0; border-radius: 5px; color: #3f444b; }
.dh-blockquote.is-style-quotation::before { content: "\201C"; display: block; height: 60px; font: 100px/100px "Times New Roman", Times, serif; color: var(--dh-quote, var(--wp--preset--color--secundair)); }
.wp-site-blocks .dh-blockquote p { margin: 15px 0 0; font-family: var(--wp--preset--font-family--heebo); font-size: 17px; line-height: 26px; color: var(--wp--preset--color--tekst); }
@media (max-width: 767px) { .wp-block-quote.dh-blockquote { padding: 20px; } }

/* Melding (Elementor "alert"). */
.dh-alert { padding: 15px; border-left: 5px solid #bcdff1; background: #d9edf7; color: #31708f; font-family: var(--wp--preset--font-family--roboto); font-size: 16px; line-height: 26px; }
.dh-alert--success { background: #dff0d8; border-color: #cee5b6; color: #3c763d; }
.dh-alert--warning { background: #fcf8e3; border-color: #f9f0c3; color: #8a6d3b; }
.dh-alert--danger { background: #f2dede; border-color: #e8c4c4; color: #a94442; }
.dh-alert p { margin: 0 !important; }
.dh-alert__title strong { font-weight: 600; }

/* Call to action. */
.dh-cta { overflow: hidden; display: flex; flex-direction: column; background: #fff; font-family: var(--wp--preset--font-family--roboto); }
.dh-cta--left { flex-direction: row; }
.dh-cta--right { flex-direction: row-reverse; }
.dh-cta--left > .dh-cta__img, .dh-cta--right > .dh-cta__img { flex: 0 0 50%; }
.dh-cta__img { margin: 0; line-height: 0; overflow: hidden; position: relative; }
.dh-cta__img a { display: block; height: 100%; }
.dh-cta__img { min-height: 200px; }
.dh-cta__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }

.dh-cta:hover .dh-cta__img img { transform: scale(1.2); }
.dh-cta__content { padding: 35px; text-align: center; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.wp-site-blocks .dh-cta__title { font-family: var(--wp--preset--font-family--roboto); font-weight: 600; font-size: 23px; line-height: 1.39; color: var(--wp--preset--color--primair); margin: 0 0 15px; }
.wp-site-blocks .dh-cta__desc { margin: 0; font-size: 16px; line-height: 26px; color: #3f444b; }
.dh-cta .dh-buttons { justify-content: center; }

/* Sliders en dia's. */
.dh-slider { position: relative; }
.dh-slide {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-size: cover;
	background-position: 50% 50%;
	box-sizing: border-box;
}
.dh-slides .dh-slide { height: 400px; }
.dh-slides--bottom .dh-slide { justify-content: flex-end; }
.dh-slides--top .dh-slide { justify-content: flex-start; }
.wp-site-blocks .dh-slide__title { font-family: var(--wp--preset--font-family--roboto); font-size: 35px; font-weight: 700; line-height: 1; color: #fff; margin: 0; }
.dh-slide__desc { font-family: var(--wp--preset--font-family--roboto); font-size: 17px; line-height: 1.4; color: #fff; }
.dh-hero-slider .dh-slide { height: 600px; }

/* Tegels met icoon (home). */
.dh-tegels { gap: 0; }
.dh-tegel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 10px; text-align: center; transition: transform .3s; }
.dh-tegel:hover { transform: translateY(-5px); }
.dh-tegel__icoon { margin: 0 0 15px; line-height: 0; }
.dh-tegel__titel { margin: 0 !important; font-family: var(--wp--preset--font-family--montserrat); font-size: 18px; font-weight: 600; }
.dh-tegel__titel a { color: #fff; }

/* Sectietitel (Edubin). */
.wp-site-blocks .dh-section-title__sub { margin: 0 0 10px; font-family: var(--wp--preset--font-family--montserrat); font-size: 18px; font-weight: 700; color: var(--wp--preset--color--kop); }
.wp-site-blocks .dh-section-title__title { margin: 0; }

/* Infokaart (tijdschema). */
.dh-info-box { background: #fff; font-family: var(--wp--preset--font-family--roboto); color: var(--wp--preset--color--tekst); }
.dh-info-box__icon { display: block; margin-bottom: 15px; color: #69727d; line-height: 0; }
.wp-site-blocks .dh-info-box__title { font-family: var(--wp--preset--font-family--heebo); font-size: 28px; line-height: 40px; font-weight: 700; color: var(--wp--preset--color--kop); margin: 0 0 18px; }
.wp-site-blocks .dh-info-box__desc { margin: 0 0 24px; }

/* Video-popup. */
.dh-play {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wp--preset--color--secundair);
	box-shadow: 0 0 0 15px rgba(131, 31, 130, .4);
}
.dh-play::after { content: ""; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.dh-video-dialog { border: 0; padding: 0; width: min(90vw, 960px); aspect-ratio: 16 / 9; background: #000; }
.dh-video-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.dh-video-dialog iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Evenement. */
.dh-event { display: flex; gap: 30px; align-items: flex-start; }
.dh-event__img { flex: 0 0 40%; margin: 0; }
.dh-event__body { flex: 1 1 auto; }
@media (max-width: 767px) { .dh-event { flex-direction: column; } }
.wp-site-blocks .dh-heading-raw { margin-top: 0; }

/* Slideshow (dh-slider): dia's over elkaar, eerste zichtbaar tot het script laadt. */
.dh-slider { display: grid; overflow: hidden; }
.dh-slider > * { grid-area: 1 / 1; margin: 0 !important; }
.dh-slider > :not(.dh-slider__nav):not(button) { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.dh-slider:not(.is-ready) > :first-child:not(.dh-slider__nav),
.dh-slider.is-ready > .is-active:not(.dh-slider__nav) { opacity: 1; visibility: visible; }
.dh-slider__nav { align-self: end; justify-self: center; display: flex; gap: 8px; margin-bottom: 20px !important; z-index: 3; }
.dh-slider__nav button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #fff; opacity: .5; cursor: pointer; }
.dh-slider__nav button.is-active { opacity: 1; }
.dh-slider__prev, .dh-slider__next {
	align-self: center; z-index: 3; width: 44px; height: 44px; margin: 0 20px !important; border: 0; border-radius: 50%;
	background: #fff; color: var(--wp--preset--color--primair); font-size: 28px; line-height: 1; cursor: pointer;
	opacity: 0; transition: opacity .3s, background .3s;
}
.dh-slider__prev { justify-self: start; }
.dh-slider__next { justify-self: end; }
.dh-slider:hover .dh-slider__prev, .dh-slider:hover .dh-slider__next { opacity: 1; }
.dh-slider__prev:hover, .dh-slider__next:hover { background: var(--wp--preset--color--secundair); color: #fff; }
.dh-slides .dh-slider__nav, .dh-slides .dh-slider__prev, .dh-slides .dh-slider__next { display: none; }

/* Laatste berichten (home). */
.dh-nieuws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; align-items: start; }
.dh-nieuws__beeld { display: block; line-height: 0; }
.dh-nieuws__beeld img { width: 100%; height: auto; border-radius: 10px 10px 0 0; }
.dh-nieuws__tekst { padding-top: 25px; }
.wp-site-blocks .dh-nieuws__cat { display: flex; align-items: center; margin: 0; padding-bottom: 15px; font-size: 14px; line-height: 26px; }
.dh-nieuws__cat .dh-svg { color: var(--wp--preset--color--secundair); margin-right: 10px; }
.dh-nieuws__cat a { color: #838383; }
.wp-site-blocks .dh-nieuws__titel { font-family: var(--wp--preset--font-family--heebo); font-size: 24px; line-height: 34px; font-weight: 700; color: var(--wp--preset--color--kop); margin: 0; padding-bottom: 20px; }
.wp-site-blocks .dh-nieuws__meer { margin: 0; }
@media (max-width: 1024px) { .dh-nieuws { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .dh-nieuws { grid-template-columns: 1fr; } .dh-nieuws__item { margin-bottom: 30px; } }

/* Sectietitel (Edubin) en tegels: maten zoals op de huidige site. */
.wp-site-blocks .dh-section-title__sub { margin: 0; }
.wp-site-blocks .dh-section-title__sep { width: 42px; height: 3px; border: 0; margin: 8px 0 13px; background: var(--wp--preset--color--secundair); opacity: 1; }
.wp-site-blocks .dh-section-title__title { font-family: var(--wp--preset--font-family--montserrat); font-size: 30px !important; line-height: 40px !important; font-weight: 700; margin: 0; }
.wp-block-columns.dh-tegels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.wp-block-columns.dh-tegels > .wp-block-column { padding: 0; }
.dh-tegel { width: 170px; height: 170px; box-sizing: border-box; padding: 20px 8px; border-radius: 5px; justify-content: flex-start; }
.dh-tegel__icoon img { width: 80px; height: 80px; }
.wp-site-blocks .dh-tegel__titel { padding-top: 15px; font-family: var(--wp--preset--font-family--montserrat); font-size: 18px; font-weight: 700; line-height: 1.43; }
@media (max-width: 1024px) { .wp-block-columns.dh-tegels { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 767px) {
	.wp-block-columns.dh-tegels { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 250px; gap: 20px; padding-left: calc(50% - 125px) !important; }
	.dh-tegel { width: 250px; }
}

/* Klaspagina. */
.dh-klas__terug { margin-top: 20px !important; margin-bottom: 20px !important; padding: 10px; }
.dh-klas__terugknop .wp-block-button__link { background-color: #5bc0de; gap: 6px; }
.dh-klas__terugknop .wp-block-button__link:hover { background-color: #31b0d5; }
.wp-block-columns.dh-klas__body { margin-bottom: 80px; align-items: stretch; }
.wp-block-columns.dh-klas__body > .wp-block-column { padding: 10px; }
.dh-klas__links, .dh-klas__rechts { position: relative; }
.dh-klas__links::before, .dh-klas__rechts::before { content: ""; position: absolute; inset: 0; background: #fff; border-radius: 5px; z-index: 0; }
.dh-klas__links::before { right: 15px; }
.dh-klas__rechts::before { left: 15px; }
.dh-klas__links > *, .dh-klas__rechts > * { position: relative; z-index: 1; }
.wp-block-columns.dh-klas__body > .dh-klas__links { padding: 68px 55px 40px 40px; }
.wp-block-columns.dh-klas__body > .dh-klas__rechts { padding: 50px 50px 50px 65px; }
.wp-site-blocks .dh-klaspagina__titel { font-family: var(--wp--preset--font-family--roboto); font-size: 28px; font-weight: 600; line-height: 1; color: var(--wp--preset--color--primair); margin: 0; }
.dh-docent { text-align: center; }
.dh-docent__foto { display: block; width: 100%; height: auto; box-sizing: border-box; padding: 0 40px; aspect-ratio: auto; -webkit-mask: url(../shapes/circle.svg) center / contain no-repeat; mask: url(../shapes/circle.svg) center / contain no-repeat; }
.wp-site-blocks .dh-docent__naam { margin: 0; font-family: var(--wp--preset--font-family--roboto); font-size: 20px; font-weight: 600; line-height: 1; color: var(--wp--preset--color--primair); }
.wp-site-blocks .dh-docent__rol { margin: 0; font-family: var(--wp--preset--font-family--roboto); font-size: 16px; font-weight: 600; line-height: 1; color: var(--wp--preset--color--primair); }
.dh-docent--assistent .dh-docent__foto { padding: 0 28px; }
.wp-site-blocks .dh-klas__lijn { border: 0; border-top: 1px solid #d6d6d6; margin: 15px 0; opacity: 1; }
.wp-site-blocks .dh-klas__intro { margin: 20px 0 0; padding-bottom: 5px; font-family: var(--wp--preset--font-family--montserrat); font-size: 32px; font-weight: 700; line-height: 1; color: var(--wp--preset--color--kop); }
.dh-klas__tekst { font-family: var(--wp--preset--font-family--roboto); color: var(--wp--preset--color--tekst); }
.dh-klas__anderen { padding: 60px 0; }
.dh-klas__anderen .dh-container { padding: 0 10px; }
.wp-site-blocks .dh-klas__anderen-kop { font-size: 28px; margin-bottom: 16px; }
@media (max-width: 1024px) {
	.dh-klas__links { flex-basis: 40% !important; }
	.dh-klas__rechts { flex-basis: 60% !important; }
}
@media (max-width: 767px) {
	.wp-block-columns.dh-klas__body { margin-bottom: 0; }
	.wp-block-columns.dh-klas__body > .dh-klas__links, .wp-block-columns.dh-klas__body > .dh-klas__rechts { padding: 20px; }
	.dh-klas__links::before, .dh-klas__rechts::before { left: 0; right: 0; }
	.dh-klas__anderen { padding: 24px 0; }
}

/* Popup (voorpagina). */
.dh-popup-part:empty, .dh-popup-part > .dh-popup { display: none; }
.dh-popup-dialog {
	width: 950px; max-width: 95vw; max-height: 94vh; padding: 0; border: 0; border-radius: 8px; overflow: auto;
	background: #e72960; box-shadow: 4px 4px 30px 4px rgba(0, 0, 0, .1);
	opacity: 0; transition: opacity 1s, overlay 1s allow-discrete, display 1s allow-discrete;
}
.dh-popup-dialog[open] { opacity: 1; }
@starting-style { .dh-popup-dialog[open] { opacity: 0; } }
.dh-popup-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.dh-popup-dialog .dh-popup { display: block; padding: 2%; min-height: 525px; box-sizing: border-box; }
.dh-popup-close {
	position: absolute; top: 1.1em; right: 1.1em; z-index: 5; border: 0; background: none; padding: 0; width: 18px; height: 18px;
	font-size: 26px; line-height: 18px; color: #fff; cursor: pointer;
}
.dh-popup-close:focus:not(:focus-visible) { outline: none; }
@media (max-width: 1024px) { .dh-popup-dialog .dh-popup { padding: 5%; min-height: 58vh; } }
@media (max-width: 767px) { .dh-popup-dialog { width: 92vw; margin-top: 3vh; } .dh-popup-dialog .dh-popup { padding: 3%; min-height: 0; } }

/* YouTube-achtergrond. */
[class*="dh-yt-"] { position: relative; overflow: hidden; }
[class*="dh-yt-"] > :not(.dh-yt-wrap) { position: relative; z-index: 1; }
.dh-yt-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.dh-yt-wrap iframe {
	position: absolute; top: 50%; left: 50%; border: 0;
	width: max(100%, 177.78cqh); height: max(100%, 56.25cqw);
	transform: translate(-50%, -50%);
}
.dh-yt-wrap { container-type: size; box-shadow: inherit; }
.dh-yt-wrap::after { content: ""; position: absolute; inset: 0; box-shadow: inherit; }
.dh-tegels--car { will-change: transform; }

/* Afbeeldingsbox: icoon van 60x60 px links van de tekst, ook op mobiel. */
.dh-image-box .dh-image-box__img { flex: 0 0 60px !important; width: 60px !important; }
.dh-image-box .dh-image-box__img img { width: 60px; height: 60px; object-fit: contain; }

/* Klassen-kaart: maten zoals de Elementor-loop (kaartpadding + kolompadding). */
.dh-klas { padding: 26px 18px 44px; }
.dh-klas__foto { width: calc(100% - 84px); height: auto; aspect-ratio: 1; margin: 22px auto 0; }
/* Dia's na de eerste: achtergrond pas laden als de slideshow start. */
.dh-slider:not(.is-ready) > :not(:first-child),
.dh-slider:not(.is-ready) > :not(:first-child)[class*="dh-bgm-"] { background-image: none !important; }

/* Editor: alle dia's onder elkaar tonen, zodat je ze kunt bewerken. */
.editor-styles-wrapper .dh-slider { display: flex; flex-direction: column; gap: 12px; overflow: visible; }
.editor-styles-wrapper .dh-slider > * { opacity: 1 !important; visibility: visible !important; grid-area: auto; }

/* Niets mag breder worden dan het scherm (anders zoomt een telefoon uit). clip houdt de sticky header werkend. */
html, body, .wp-site-blocks { overflow-x: clip; }

/* Laatste berichten: alle afbeeldingen even hoog (3:2), ongeacht het formaat. */
.dh-nieuws__beeld img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.dh-nieuws__beeld img { border-radius: 10px; }

/* Video-popup: afspeelknop in het midden van zijn kolom (zonder Elementor-verschuiving). */
.dh-video-popup[class] { transform: none !important; display: flex; justify-content: center; align-items: center; height: 100%; }
.wp-block-column:has(> .dh-video-popup), .dh-colw:has(> .dh-video-popup) { display: flex; flex-direction: column; justify-content: center; }

/* Kaarten (kolommen met achtergrond): knop onderaan uitlijnen, zodat knoppen naast elkaar gelijk staan. */
.dh-colw.has-background { display: flex; flex-direction: column; }
.dh-colw.has-background > .wp-block-buttons:last-child { margin-top: auto !important; }

/* Tegels: elk blokje in het midden van zijn vak (desktop en tablet). */
@media (min-width: 768px) {
	.wp-block-columns.dh-tegels > .wp-block-column { display: flex; justify-content: center; }
	.wp-block-columns.dh-tegels[class] { padding-left: 0 !important; }
}

/* Tegels op mobiel: swipebaar (scroll-snap), één tegel in het midden. */
@media (max-width: 767px) {
	.wp-block-columns.dh-tegels {
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
		padding-right: calc(50% - 125px) !important; -webkit-overflow-scrolling: touch;
	}
	.wp-block-columns.dh-tegels::-webkit-scrollbar { display: none; }
	.wp-block-columns.dh-tegels > .wp-block-column { scroll-snap-align: center; }
}
@media (max-width: 767px) {
	/* Tegelrij loopt over de volle schermbreedte door. */
	.wp-block-columns.dh-tegels[class] {
		width: 100vw; max-width: none;
		margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
		padding-left: calc(50vw - 125px) !important; padding-right: calc(50vw - 125px) !important;
		box-sizing: border-box;
	}
}

/* Klaspagina: meer ruimte tussen klasnaam, foto's, namen en lijn. */
.wp-site-blocks .dh-klaspagina__titel { margin-bottom: 24px; }
.dh-docent .dh-docent__foto { margin-bottom: 14px; }
.wp-site-blocks .dh-docent__rol { margin-bottom: 14px; }
.wp-site-blocks .dh-klas__lijn { margin: 24px 0; }

/* Tegels: het hele blok is klikbaar (de link van de titel bedekt de tegel). */
.dh-tegel { position: relative; }
.dh-tegel__titel a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
