@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&display=swap');
:root{--ds-blue:#192644;--ds-blue-light:#2a3a60;--ds-blue-mid:#28375a;--ds-orange:#EC7332;--ds-orange-hover:#d8601f;--ds-white:#ffffff;--ds-muted:rgba(255,255,255,0.72);--ds-bg-grey:#f1f3f7;}
body,.entry-content,.site-header,.site-footer,button,input,textarea,select{font-family:'Rubik',-apple-system,BlinkMacSystemFont,sans-serif !important;}
h1,h2,h3,h4,.entry-title,.site-title{font-family:'Rubik',sans-serif !important;color:var(--ds-blue) !important;font-weight:700 !important;letter-spacing:-0.01em;}
h1{font-weight:800 !important;}
.site-branding .brand{display:inline-block;width:260px;height:80px;background-image:url('https://drontensociaal.nl/wp-content/uploads/2026/04/logo-dia.png');background-repeat:no-repeat;background-size:contain;background-position:left center;}
.site-branding .brand:empty::after{content:'';display:block;}
.site-branding{margin-left:-12px !important;}
.site-top-header-wrap{background-color:var(--ds-blue) !important;color:var(--ds-white) !important;}
.site-top-header-wrap *,.site-top-header-wrap a{color:var(--ds-white) !important;}
.site-top-header-wrap a:hover{color:var(--ds-orange) !important;}
.site-top-header-wrap .header-html p{margin:0 !important;padding:0 !important;font-size:0.85rem;}
.site-main-header-wrap{background-color:var(--ds-white) !important;}
.site-bottom-header-wrap .main-navigation a,.site-bottom-header-wrap nav a{color:var(--ds-white) !important;font-weight:500 !important;}
.site-bottom-header-wrap .main-navigation a:hover,.site-bottom-header-wrap nav a:hover{color:var(--ds-orange) !important;}
.site-bottom-header-wrap .main-navigation .primary-menu-container > ul > li{margin:0 !important;}
.site-bottom-header-wrap .main-navigation .primary-menu-container > ul > li > a{padding:0 28px !important;}
.site-bottom-header-wrap .main-navigation .primary-menu-container > ul > li:first-child > a{padding-left:0 !important;}
.site-main-header-wrap .main-navigation .primary-menu-container > ul > li > a{color:var(--ds-blue) !important;}
.site-main-header-wrap .main-navigation .primary-menu-container > ul > li > a:hover{color:var(--ds-orange) !important;}
.site-main-header-wrap .search-toggle-open-container{width:360px !important;}
.site-main-header-wrap .search-toggle-open{display:flex !important;align-items:center !important;justify-content:flex-end !important;width:100% !important;height:48px !important;padding:0 18px 0 20px !important;border:1px solid #e2e5ec !important;border-radius:4px !important;background:#ffffff !important;cursor:text !important;position:relative !important;color:#a0a6b3 !important;}
.site-main-header-wrap .search-toggle-open:hover{border-color:#c2c8d1 !important;}
.site-main-header-wrap .search-toggle-open::before{content:"Zoeken";position:absolute;left:20px;top:50%;transform:translateY(-50%);color:#a0a6b3 !important;font-weight:500 !important;font-size:1rem !important;letter-spacing:0.01em;font-family:'Rubik',sans-serif;}
.site-main-header-wrap .search-toggle-open .search-toggle-icon{display:inline-flex !important;color:#6b7384 !important;}
.site-main-header-wrap .search-toggle-open svg{width:20px !important;height:20px !important;color:#6b7384 !important;fill:#6b7384 !important;}
.site-header{border-bottom:none !important;}
.site-container,.content-container.site-container,.site-top-header-wrap .site-container,.site-main-header-wrap .site-container,.site-bottom-header-wrap .site-container{max-width:1500px !important;}
.wp-block-cover__inner-container{max-width:1500px !important;margin-left:auto !important;margin-right:auto !important;padding-left:24px !important;padding-right:24px !important;}
.wp-block-cover__inner-container .wp-block-group.alignwide{margin-left:0 !important;margin-right:0 !important;max-width:none !important;}
#primary.content-area,.content-area#primary{margin-top:0 !important;margin-bottom:0 !important;}
.content-container.site-container{padding-top:0 !important;padding-bottom:0 !important;}
.entry-content-wrap{padding-top:0 !important;padding-bottom:0 !important;margin:0 !important;}
.entry-content.single-content{margin-top:0 !important;}
.entry-content > .alignfull:first-child,.entry-content > :first-child.alignfull{margin-top:0 !important;}
.content-bg.single-entry{background:transparent !important;box-shadow:none !important;}
#primary > .entry-header,article > .entry-header,.site-main > .entry-header,.content-area > article > .entry-header,.entry-hero-layout-standard{display:none !important;}
.entry-hero,.page-title,.entry-header{margin:0 !important;padding:0 !important;}
.wp-block-button__link,.button,.kb-button,input[type="submit"],button[type="submit"]{background-color:var(--ds-orange) !important;color:var(--ds-white) !important;border:none !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:0.04em !important;border-radius:2px !important;padding:14px 32px !important;transition:background-color .2s ease;}
.wp-block-button__link:hover,.button:hover,.kb-button:hover,input[type="submit"]:hover,button[type="submit"]:hover{background-color:var(--ds-orange-hover) !important;}
.is-style-outline .wp-block-button__link{background-color:transparent !important;color:var(--ds-orange) !important;border:2px solid var(--ds-orange) !important;}
.is-style-outline .wp-block-button__link:hover{background-color:var(--ds-orange) !important;color:var(--ds-white) !important;}
.entry-content a,.site-content a{color:var(--ds-orange);text-decoration:none;}
.entry-content a:hover,.site-content a:hover{color:var(--ds-orange-hover);}
.wp-block-cover h1,.wp-block-cover h2{color:var(--ds-white) !important;}
.wp-block-cover p,.wp-block-cover h3,.wp-block-cover h4{color:var(--ds-muted) !important;}
.wp-block-cover h1{font-size:clamp(2rem,4.5vw,3.6rem) !important;line-height:1.1;font-weight:800;}
.wp-block-cover h2{font-size:clamp(1.8rem,4vw,2.6rem) !important;font-weight:800;}
.wp-block-cover .has-text-align-center.wp-block-heading{color:var(--ds-white) !important;}
.wp-block-cover.alignfull{position:relative;overflow:hidden;}
.wp-block-cover.alignfull .wp-block-cover__inner-container{position:relative;z-index:3;}
.entry-content > .wp-block-cover.alignfull:first-child .wp-block-column:last-child{text-align:right;}
.entry-content > .wp-block-cover.alignfull:first-child .wp-block-column:last-child figure,.entry-content > .wp-block-cover.alignfull:first-child .wp-block-column:last-child img{margin:0 0 0 auto !important;width:100%;max-width:100%;}
.entry-content > .wp-block-cover.alignfull:first-child::before{content:'';position:absolute;left:-480px;bottom:120px;width:640px;height:400px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgMjAwIj48cGF0aCBkPSJNMzIwIDEwMCBDMzIwIDQ1IDI3NSAwIDIyMCAwIEMxOTAgMCAxNjIgMTggMTQwIDQwIEwwIDEwMCBMMTQwIDE2MCBDMTYyIDE4MiAxOTAgMjAwIDIyMCAyMDAgQzI3NSAyMDAgMzIwIDE1NSAzMjAgMTAwIFoiIGZpbGw9IiMyODM3NWEiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxMDAiIHI9IjQ4IiBmaWxsPSIjMTkyNjQ0Ii8+PC9zdmc+");background-repeat:no-repeat;background-size:contain;pointer-events:none;z-index:1;}
.entry-content > .wp-block-cover.alignfull:first-child::after{content:'';position:absolute;right:-480px;bottom:-60px;width:640px;height:400px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgMjAwIj48cGF0aCBkPSJNMCAxMDAgQzAgNDUgNDUgMCAxMDAgMCBDMTMwIDAgMTU4IDE4IDE4MCA0MCBMMzIwIDEwMCBMMTgwIDE2MCBDMTU4IDE4MiAxMzAgMjAwIDEwMCAyMDAgQzQ1IDIwMCAwIDE1NSAwIDEwMCBaIiBmaWxsPSIjMjgzNzVhIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iMTAwIiByPSI0OCIgZmlsbD0iIzE5MjY0NCIvPjwvc3ZnPg==");background-repeat:no-repeat;background-size:contain;pointer-events:none;z-index:1;}
.entry-content > .wp-block-cover.alignfull:not(:first-child)::before{content:'';position:absolute;right:-320px;top:-300px;width:400px;height:640px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMzIwIj48cGF0aCBkPSJNMTAwIDAgQzQ1IDAgMCA0NSAwIDEwMCBDMCAxMzAgMTggMTU4IDQwIDE4MCBMMTAwIDMyMCBMMTYwIDE4MCBDMTgyIDE1OCAyMDAgMTMwIDIwMCAxMDAgQzIwMCA0NSAxNTUgMCAxMDAgMCBaIiBmaWxsPSIjMjgzNzVhIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iMTAwIiByPSI0OCIgZmlsbD0iIzE5MjY0NCIvPjwvc3ZnPg==");background-repeat:no-repeat;background-size:contain;transform:rotate(180deg);pointer-events:none;z-index:1;}
.entry-content > .wp-block-cover.alignfull:not(:first-child)::after{content:'';position:absolute;left:-340px;top:-340px;width:440px;height:704px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMzIwIj48cGF0aCBkPSJNMTAwIDAgQzQ1IDAgMCA0NSAwIDEwMCBDMCAxMzAgMTggMTU4IDQwIDE4MCBMMTAwIDMyMCBMMTYwIDE4MCBDMTgyIDE1OCAyMDAgMTMwIDIwMCAxMDAgQzIwMCA0NSAxNTUgMCAxMDAgMCBaIiBmaWxsPSIjMjgzNzVhIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iMTAwIiByPSI0OCIgZmlsbD0iIzE5MjY0NCIvPjwvc3ZnPg==");background-repeat:no-repeat;background-size:contain;transform:rotate(180deg);pointer-events:none;z-index:1;}
.ds-nieuws-section{background:linear-gradient(to bottom,#ffffff 0%,#ffffff 55%,var(--ds-bg-grey) 55%,var(--ds-bg-grey) 100%) !important;}
.ds-nieuws-section > h2{font-size:clamp(1.8rem,3.5vw,2.4rem) !important;}
.ds-nieuws-cards .wp-block-post{background:#ffffff;border-radius:4px;box-shadow:0 4px 20px rgba(25,38,68,0.08);overflow:hidden;display:flex;flex-direction:column;}
.ds-nieuws-cards .wp-block-post .wp-block-post-featured-image{margin:0 !important;}
.ds-nieuws-cards .wp-block-post .wp-block-post-featured-image a,.ds-nieuws-cards .wp-block-post .wp-block-post-featured-image img{display:block;width:100%;height:220px;object-fit:cover;}
.ds-nieuws-cards .wp-block-post > .wp-block-group{padding:20px 24px 28px !important;}
.ds-nieuws-cards .wp-block-post .wp-block-post-date{font-size:0.85rem;color:#6b7384;margin:0 0 8px 0 !important;}
.ds-nieuws-cards .wp-block-post .wp-block-post-title{font-size:1.15rem !important;line-height:1.3;margin:0 0 12px 0 !important;font-weight:700;}
.ds-nieuws-cards .wp-block-post .wp-block-post-title a{color:var(--ds-blue) !important;}
.ds-nieuws-cards .wp-block-post .wp-block-post-title a:hover{color:var(--ds-orange) !important;}
.ds-nieuws-cards .wp-block-post .wp-block-post-excerpt{font-size:0.92rem;line-height:1.55;color:#3c4658;margin:0 !important;}
.ds-nieuws-cards .wp-block-post .wp-block-post-excerpt__more-link{color:var(--ds-orange) !important;font-weight:600;font-size:0.85rem;text-transform:uppercase;letter-spacing:0.04em;margin-top:12px;display:inline-block;}
.ds-contact-form input[type="text"],.ds-contact-form input[type="email"],.ds-contact-form input[type="tel"],.ds-contact-form textarea,.ds-contact-form select{background-color:var(--ds-bg-grey) !important;border:1px solid transparent !important;border-radius:4px !important;padding:14px 18px !important;font-size:0.95rem !important;font-family:'Rubik',sans-serif !important;width:100% !important;color:var(--ds-blue) !important;}
.ds-contact-form input:focus,.ds-contact-form textarea:focus,.ds-contact-form select:focus{outline:none !important;border-color:var(--ds-orange) !important;background-color:#ffffff !important;}
.ds-contact-form label.grunion-field-label,.ds-contact-form .grunion-field-label{display:block !important;font-size:0.82rem !important;font-weight:500 !important;color:#6b7384 !important;margin:0 0 4px 4px !important;letter-spacing:0.02em;}
.ds-contact-form .grunion-label-required{color:#a0a6b3 !important;font-weight:400 !important;margin-left:4px;font-size:0.78rem;}
.ds-contact-form .wp-block-jetpack-field-checkbox label,.ds-contact-form .grunion-field-checkbox-wrap label{display:inline-flex !important;align-items:center;font-weight:400 !important;font-size:0.9rem !important;color:#3c4658 !important;margin:0 !important;}
.ds-contact-form .jetpack-field,.ds-contact-form .jetpack-field-multiple__container,.ds-contact-form .grunion-field-wrap{margin-bottom:16px !important;}
.ds-contact-form .wp-block-jetpack-field-checkbox input,.ds-contact-form .grunion-field-checkbox-wrap input{width:auto !important;margin-right:10px;}
.ds-contact-form button[type="submit"]{background-color:var(--ds-orange) !important;color:#ffffff !important;padding:14px 48px !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:0.04em !important;border:none !important;border-radius:2px !important;cursor:pointer;margin-top:8px;}
.ds-contact-form button[type="submit"]:hover{background-color:var(--ds-orange-hover) !important;}
.ds-contact-cards-section .ds-contact-card{box-shadow:0 4px 20px rgba(25,38,68,0.06);}
.ds-contact-icon{width:60px;height:60px;border-radius:50%;background:var(--ds-blue);color:#ffffff;display:flex;align-items:center;justify-content:center;margin:0 auto 8px;}
.ds-contact-icon svg{stroke:#ffffff;}
.ds-contact-cards-section h3{font-size:1.1rem !important;color:var(--ds-blue) !important;}
.ds-contact-cards-section p a{color:var(--ds-blue) !important;}
.ds-contact-cards-section p a:hover{color:var(--ds-orange) !important;}
/* ONZE MENSEN: kaarten gelijke hoogte via flex */
.ds-mensen-section .wp-block-columns{align-items:stretch !important;}
.ds-mensen-section .wp-block-column{display:flex !important;}
.ds-mensen-section .ds-mensen-card{flex:1 1 auto !important;display:flex !important;flex-direction:column !important;width:100%;box-shadow:0 4px 20px rgba(25,38,68,0.06);}
.kb-column,.entry.loop-entry,article.type-post{border-radius:4px;}
.site-footer{background-color:var(--ds-blue) !important;color:var(--ds-white) !important;}
.site-footer a{color:var(--ds-white) !important;}
.site-footer a:hover{color:var(--ds-orange) !important;}
.site-footer .site-footer-wrap::after{content:"\00A9\00A0 2026 Dronten Sociaal\00A0\00A0\2022\00A0\00A0Lokale politiek voor en door Drontenaren";display:block;text-align:center;padding:24px 20px;color:rgba(255,255,255,0.72);font-size:0.88rem;letter-spacing:0.02em;}

/* ---- Nieuws page cards (single-card selector) ---- */
.ds-nieuws-section { background:#f6f8fb; }
.ds-nieuws-section > .wp-block-query { max-width:1500px; margin:0 auto; padding:0 24px; }
.ds-nieuws-section .wp-block-post-template { gap:32px !important; list-style:none; padding:0; }
.ds-nieuws-section .wp-block-post-template.is-layout-grid { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 900px) {
  .ds-nieuws-section .wp-block-post-template.is-layout-grid { grid-template-columns:repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  .ds-nieuws-section .wp-block-post-template.is-layout-grid { grid-template-columns:1fr !important; }
}
.ds-nieuws-section .ds-nieuws-card {
  background:#ffffff !important;
  border-radius:6px !important;
  box-shadow: 0 2px 12px rgba(25,38,68,.08) !important;
  overflow:hidden;
  display:flex !important;
  flex-direction:column;
  transition: box-shadow .2s ease, transform .2s ease;
  height:100%;
}
.ds-nieuws-section .ds-nieuws-card:hover {
  box-shadow: 0 6px 24px rgba(25,38,68,.14) !important;
  transform: translateY(-2px);
}
.ds-nieuws-section .ds-nieuws-card .wp-block-post-featured-image { margin:0 !important; }
.ds-nieuws-section .ds-nieuws-card .wp-block-post-featured-image img {
  width:100%; height:200px; object-fit:cover; display:block;
}
.ds-nieuws-section .ds-nieuws-card-body {
  padding:24px 28px 28px !important;
  display:flex; flex-direction:column; gap:8px; flex:1;
}
.ds-nieuws-section .ds-nieuws-card .wp-block-post-date,
.ds-nieuws-section .ds-nieuws-card .wp-block-post-date time {
  color:#EC7332 !important;
  font-weight:600 !important;
  font-size:.8rem !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
}
.ds-nieuws-section .ds-nieuws-card .wp-block-post-title {
  margin:4px 0 8px !important;
  font-size:1.2rem !important;
  line-height:1.3 !important;
}
.ds-nieuws-section .ds-nieuws-card .wp-block-post-title a { color:#192644 !important; }
.ds-nieuws-section .ds-nieuws-card .wp-block-post-title a:hover { color:#EC7332 !important; }
.ds-nieuws-section .ds-nieuws-card .wp-block-post-excerpt {
  color:#3a4660 !important;
  font-size:.95rem !important;
  line-height:1.55 !important;
  margin-top:0 !important;
  flex:1;
}
.ds-nieuws-section .ds-nieuws-card .wp-block-post-excerpt__more-text,
.ds-nieuws-section .ds-nieuws-card .wp-block-post-excerpt__more-link {
  display:inline-block; margin-top:12px;
  color:#EC7332 !important;
  font-weight:600 !important;
  text-transform: none !important;
}
.ds-nieuws-section .wp-block-query-pagination {
  margin-top:48px !important;
  justify-content:center !important;
  gap:8px;
}
.ds-nieuws-section .wp-block-query-pagination a,
.ds-nieuws-section .wp-block-query-pagination span {
  padding: 8px 14px;
  border-radius:3px;
  color:#192644;
  font-weight:500;
}
.ds-nieuws-section .wp-block-query-pagination a:hover,
.ds-nieuws-section .wp-block-query-pagination .current {
  background:#EC7332;
  color:#fff !important;
}


/* ---- Single post hero ---- */
.single-post .entry-hero-container-inner {background:#192644;
  min-height: 360px;
  padding-top: 114px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  display: block;
}
.single-post .entry-hero-container-inner::before {content:'';position:absolute;left:-480px;bottom:120px;width:640px;height:400px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgMjAwIj48cGF0aCBkPSJNMzIwIDEwMCBDMzIwIDQ1IDI3NSAwIDIyMCAwIEMxOTAgMCAxNjIgMTggMTQwIDQwIEwwIDEwMCBMMTQwIDE2MCBDMTYyIDE4MiAxOTAgMjAwIDIyMCAyMDAgQzI3NSAyMDAgMzIwIDE1NSAzMjAgMTAwIFoiIGZpbGw9IiMyODM3NWEiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxMDAiIHI9IjQ4IiBmaWxsPSIjMTkyNjQ0Ii8+PC9zdmc+");background-repeat:no-repeat;background-size:contain;pointer-events:none;z-index:1;}
.single-post .entry-hero-container-inner::after {content:'';position:absolute;right:-480px;bottom:-60px;width:640px;height:400px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgMjAwIj48cGF0aCBkPSJNMCAxMDAgQzAgNDUgNDUgMCAxMDAgMCBDMTMwIDAgMTU4IDE4IDE4MCA0MCBMMzIwIDEwMCBMMTgwIDE2MCBDMTU4IDE4MiAxMzAgMjAwIDEwMCAyMDAgQzQ1IDIwMCAwIDE1NSAwIDEwMCBaIiBmaWxsPSIjMjgzNzVhIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iMTAwIiByPSI0OCIgZmlsbD0iIzE5MjY0NCIvPjwvc3ZnPg==");background-repeat:no-repeat;background-size:contain;pointer-events:none;z-index:1;}
/* Force inner wrappers to full width and left-aligned */
.single-post .entry-hero-container-inner .entry-header-wrap,
.single-post .entry-hero-container-inner > div,
.single-post .entry-hero-container-inner > header {
  background: transparent !important;
  max-width: 1500px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
  z-index: 2;
}
.single-post .entry-header.post-title {
  background: transparent !important;
  padding: 0 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}
.single-post .entry-header.post-title > * {
  align-self: flex-start !important;
  margin-left: 0 !important;
  text-align: left !important;
}
.single-post .entry-header.post-title .entry-title,
.single-post .entry-header.post-title h1 {
  color:#ffffff !important;
  font-size: 3.6rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 14px !important;
  width: auto !important;
  max-width: 1100px;
}
.single-post .entry-header.post-title .entry-meta,
.single-post .entry-header.post-title .entry-meta a,
.single-post .entry-header.post-title .entry-meta span {
  color:#d7def0 !important;
}
.single-post .entry-header.post-title .entry-taxonomies a,
.single-post .entry-header.post-title .category-style-normal a {
  color:#EC7332 !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.95rem !important;
}


/* Body content: align with hero text at x=234 */
.single-post .entry-content-wrap {
  max-width: none !important;
  padding: 0 !important;
}
.single-post .entry-content,
.single-post .entry-content.single-content {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.single-post .entry-content > * {
  max-width: 100%;
}


/* Whitespace under single-post hero */
.single-post .content-container { padding-top: 0 !important; }
.single-post article.entry { padding-top: 10px !important; }
/* Tighten kicker → H1 spacing like Hulplijn */
.single-post .entry-header.post-title .entry-taxonomies {
  margin-bottom: 4px !important;
}

/* ---- Category/archive hero ---- */
.archive .entry-hero-container-inner,
.blog .entry-hero-container-inner {
  background:#192644;
  min-height: 360px;
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.archive .entry-hero-container-inner::before,
.blog .entry-hero-container-inner::before {content:'';position:absolute;left:-480px;bottom:120px;width:640px;height:400px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgMjAwIj48cGF0aCBkPSJNMzIwIDEwMCBDMzIwIDQ1IDI3NSAwIDIyMCAwIEMxOTAgMCAxNjIgMTggMTQwIDQwIEwwIDEwMCBMMTQwIDE2MCBDMTYyIDE4MiAxOTAgMjAwIDIyMCAyMDAgQzI3NSAyMDAgMzIwIDE1NSAzMjAgMTAwIFoiIGZpbGw9IiMyODM3NWEiLz48Y2lyY2xlIGN4PSIyMjAiIGN5PSIxMDAiIHI9IjQ4IiBmaWxsPSIjMTkyNjQ0Ii8+PC9zdmc+");background-repeat:no-repeat;background-size:contain;pointer-events:none;z-index:1;}
.archive .entry-hero-container-inner::after,
.blog .entry-hero-container-inner::after {content:'';position:absolute;right:-480px;bottom:-60px;width:640px;height:400px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgMjAwIj48cGF0aCBkPSJNMCAxMDAgQzAgNDUgNDUgMCAxMDAgMCBDMTMwIDAgMTU4IDE4IDE4MCA0MCBMMzIwIDEwMCBMMTgwIDE2MCBDMTU4IDE4MiAxMzAgMjAwIDEwMCAyMDAgQzQ1IDIwMCAwIDE1NSAwIDEwMCBaIiBmaWxsPSIjMjgzNzVhIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iMTAwIiByPSI0OCIgZmlsbD0iIzE5MjY0NCIvPjwvc3ZnPg==");background-repeat:no-repeat;background-size:contain;pointer-events:none;z-index:1;}
.archive .entry-hero-container-inner .entry-header-wrap,
.archive .entry-hero-container-inner > div,
.archive .entry-hero-container-inner > header,
.blog .entry-hero-container-inner .entry-header-wrap,
.blog .entry-hero-container-inner > div,
.blog .entry-hero-container-inner > header {
  background: transparent !important;
  max-width: 1500px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
  z-index: 2;
}
.archive .entry-header.archive-header,
.archive .entry-hero-container-inner header {
  background: transparent !important;
  padding: 0 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.archive .entry-header.archive-header > *,
.archive .entry-hero-container-inner .archive-title {
  align-self: flex-start !important;
  margin-left: 0 !important;
  text-align: left !important;
}
.archive .archive-title,
.archive .entry-hero-container-inner h1 {
  color:#ffffff !important;
  font-size: 3.6rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 14px !important;
  max-width: 1100px;
}
.archive .archive-description,
.archive .entry-hero-container-inner .archive-description {
  color: #d7def0 !important;
  font-size: 1.05rem;
}
/* Whitespace below archive hero before cards */
.archive .content-container,
.blog .content-container {
  padding-top: 100px !important;
  padding-bottom: 80px !important;
}
/* Card styling to match ds-nieuws-card */
.archive .loop-entry.type-post,
.blog .loop-entry.type-post {
  background:#ffffff !important;
  border-radius:6px !important;
  box-shadow: 0 2px 12px rgba(25,38,68,.08) !important;
  overflow:hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.archive .loop-entry.type-post:hover,
.blog .loop-entry.type-post:hover {
  box-shadow: 0 6px 24px rgba(25,38,68,.14) !important;
  transform: translateY(-2px);
}
.archive .loop-entry .entry-content-wrap,
.blog .loop-entry .entry-content-wrap {
  padding: 24px 28px 28px !important;
}
.archive .loop-entry .entry-title,
.blog .loop-entry .entry-title {
  font-size: 1.2rem !important;
  line-height: 1.3 !important;
  margin: 4px 0 10px !important;
}
.archive .loop-entry .entry-taxonomies a,
.blog .loop-entry .entry-taxonomies a {
  color:#EC7332 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* ---- Standpunten cards: equal height ---- */
.ds-standpunten-section .wp-block-columns { align-items: stretch !important; }
.ds-standpunten-section .wp-block-column { display: flex !important; }
.ds-standpunt-card {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 340px !important;
}
/* Also apply generically if section class differs */
.wp-block-columns:has(> .wp-block-column > .ds-standpunt-card) { align-items: stretch !important; }
.wp-block-column:has(> .ds-standpunt-card) { display: flex !important; }

/* Hide Jetpack admin-only customize link */
.share-customize-link { display: none !important; }

/* Hide Jetpack likes + related posts on single */
.single-post .sd-like,
.single-post .jp-relatedposts,
.single-post #jp-relatedposts,
.single-post .wp-block-jetpack-related-posts,
.single-post .entry-related { display: none !important; }

/* ---- Home: Onze mensen cards ---- */
.ds-home-mensen-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ds-home-mensen-section > .wp-block-group__inner-container {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.ds-home-mensen-section .wp-block-columns { gap: 24px !important; align-items: stretch !important; }
.ds-home-mensen-section .wp-block-column { display: flex !important; }
.ds-home-member-card {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #2a3a60;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  border: 2px solid #ffffff;
}
.ds-home-member-photo { margin: 0 !important; }
.ds-home-member-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.ds-home-member-name {
  background: #192644 !important;
  padding: 12px 16px !important;
  color: #fff;
}
.ds-home-member-name h3 { color: #fff !important; font-size: 0.95rem !important; }
.ds-home-member-name p { color: #d7def0 !important; font-size: 0.75rem !important; }


/* ---- Home: Contact card ---- */
.ds-home-contact-section { background: #f6f8fb; }
.ds-home-contact-card {
  box-shadow: 0 4px 20px rgba(25,38,68,.1);
  overflow: hidden;
  max-width: 1452px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ds-home-contact-card .wp-block-columns { gap: 0 !important; margin-bottom: 0; }
.ds-home-contact-map {
  min-height: 420px;
  position: relative;
  background: #e8eef8;
  overflow: hidden;
}
.ds-home-map-embed {
  position: absolute;
  inset: 0;
}
.ds-home-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ds-home-contact-form .wp-block-jetpack-contact-form input[type=text],
.ds-home-contact-form .wp-block-jetpack-contact-form input[type=email],
.ds-home-contact-form .wp-block-jetpack-contact-form textarea {
  background: #f4f6fb !important;
  border: 1px solid #e1e6ef !important;
  border-radius: 4px !important;
  padding: 10px 14px !important;
  width: 100% !important;
}
.ds-home-contact-form label {
  display: none !important;
}
.ds-home-contact-form .contact-form-field { margin-bottom: 14px; }
.ds-home-contact-form button[type=submit], .ds-home-contact-form .wp-block-jetpack-button button {
  background: #EC7332 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  border-radius: 3px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (max-width: 900px) {
  .ds-home-contact-card .wp-block-columns { flex-direction: column !important; }
  .ds-home-contact-map { min-height: 280px; }
}

/* ---- Home: Footer brand row ---- */
.ds-home-footer-section { background: #ffffff; }
.ds-home-footer-section > .wp-block-group__inner-container {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.ds-home-footer-section h3 { color: #192644 !important; }
.ds-home-footer-section p { color: #192644; }
.ds-home-footer-section a { color: #192644; }
.ds-home-footer-section a:hover { color: #EC7332; }
.ds-footer-logo img {
  max-width: 220px !important;
  height: auto !important;
}
.ds-footer-social-icons { margin-top: 0 !important; gap: 10px !important; }
.ds-footer-social-icons .wp-social-link {
  background: transparent !important;
  width: 32px;
  height: 32px;
  padding: 0 !important;
}
.ds-footer-social-icons .wp-social-link svg {
  fill: #192644;
  width: 28px;
  height: 28px;
}
.ds-footer-social-icons .wp-social-link:hover svg { fill: #EC7332; }

/* Home: align Nieuws query + pagination with other rows (x=234) */
.ds-nieuws-section .wp-block-query {
  max-width: 1452px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ds-nieuws-section > .wp-block-group__inner-container {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Single post: featured image smaller + top margin */
.single-post .post-thumbnail,
.single-post .article-post-thumbnail {
  max-width: 900px !important;
  margin: 40px auto 20px !important;
  aspect-ratio: auto !important;
  height: auto !important;
}
.single-post .post-thumbnail img,
.single-post .article-post-thumbnail img {
  max-height: 480px !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 6px;
}

/* ---- Accessibility + responsive polish ---- */
/* Pin-decoraties niet aankondigen aan screenreaders (puur decoratief) */
.wp-block-cover.alignfull::before,
.wp-block-cover.alignfull::after,
.single-post .entry-hero-container-inner::before,
.single-post .entry-hero-container-inner::after,
.archive .entry-hero-container-inner::before,
.archive .entry-hero-container-inner::after,
.blog .entry-hero-container-inner::before,
.blog .entry-hero-container-inner::after {
  pointer-events: none;
}

/* Focus-states: duidelijke outline voor tastatiegebruikers */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 3px solid #EC7332 !important;
  outline-offset: 2px !important;
}

/* Form-labels visueel verborgen, maar toegankelijk */
.ds-home-contact-form label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Responsive breakpoints voor mobiel */
@media (max-width: 768px) {
  .wp-block-cover.alignfull::before,
  .wp-block-cover.alignfull::after,
  .single-post .entry-hero-container-inner::before,
  .single-post .entry-hero-container-inner::after,
  .archive .entry-hero-container-inner::before,
  .archive .entry-hero-container-inner::after {
    opacity: .4;
    transform: scale(.6);
  }
  .ds-home-mensen-section .wp-block-columns,
  .ds-home-footer-section .wp-block-columns {
    flex-wrap: wrap !important;
  }
  .ds-home-mensen-section .wp-block-column,
  .ds-home-footer-section .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }
  .ds-home-contact-card .wp-block-columns {
    flex-direction: column !important;
  }
  .single-post .entry-header.post-title .entry-title,
  .archive .archive-title,
  .wp-block-cover.alignfull h1 {
    font-size: 2.2rem !important;
  }
}

/* ---- Performance: image sizes ---- */
.ds-footer-logo img { max-width: 220px !important; width: 100%; height: auto; }
.ds-home-member-photo img { width: 100%; height: auto; image-rendering: auto; }
/* Lazy-load hero cover images on non-critical pages */
.archive .entry-hero-container-inner,
.blog .entry-hero-container-inner,
.single-post .entry-hero-container-inner { content-visibility: auto; }

/* ---- Onze mensen: equal card heights + consistent image sizing ---- */
.page-id-6 .ds-mensen-section .wp-block-columns {
  align-items: stretch !important;
  gap: 20px !important;
}
.page-id-6 .ds-mensen-section .wp-block-column {
  display: flex !important;
}
.page-id-6 .ds-mensen-card {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.page-id-6 .ds-mensen-photo {
  margin: 0 !important;
}
.page-id-6 .ds-mensen-photo img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  height: auto !important;
  max-width: 100% !important;
}
.page-id-6 .ds-mensen-body {
  flex: 1;
}
@media (max-width: 1100px) {
  .page-id-6 .ds-mensen-section .wp-block-columns {
    flex-wrap: wrap !important;
  }
  .page-id-6 .ds-mensen-section .wp-block-column {
    flex-basis: calc(33.33% - 14px) !important;
  }
}
@media (max-width: 700px) {
  .page-id-6 .ds-mensen-section .wp-block-column {
    flex-basis: 100% !important;
  }
}

/* ---- Home: align "Meer berichten" and "Leer ons kennen" buttons ---- */
.ds-nieuws-section .wp-block-buttons {
  max-width: 1452px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-right: 0 !important;
  display: flex !important;
}
.ds-home-mensen-section .wp-block-buttons {
  max-width: 1452px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-right: 0 !important;
  display: flex !important;
}

/* ---- Mobiele polish (extra) ---- */
@media (max-width: 900px) {
  /* Home fractie-cards op mobiel: niet meer full-width, grid van 2 kolommen */
  .ds-home-mensen-section .wp-block-columns {
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
  .ds-home-mensen-section .wp-block-column {
    flex: 0 0 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
  }
  /* Archive en single-post hero titel responsive */
  .archive .archive-title,
  .single-post .entry-header.post-title .entry-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  /* Ook voor de pagina-hero wp:cover h1's extra vangnet */
  .wp-block-cover.alignfull h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
    word-break: break-word;
  }
}
@media (max-width: 500px) {
  .ds-home-mensen-section .wp-block-column {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}

/* ---- Mobiele menu drawer full-width ---- */
/* Kadence mobile drawer: maak het menu full-viewport en remove dark backdrop */
.mobile-toggle-open-container .drawer-inner,
.drawer-inner.drawer-content-inner {
  background: #ffffff !important;
}
.drawer-overlay {
  background: rgba(25, 38, 68, 0.85) !important;
}
#mobile-drawer .drawer-inner {
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 32px 24px !important;
}
#mobile-drawer .drawer-header {
  padding: 12px 24px !important;
  border-bottom: 1px solid #e1e6ef;
}
#mobile-drawer .menu-toggle-close {
  color: #192644 !important;
}
#mobile-drawer .menu-toggle-close::before,
#mobile-drawer .menu-toggle-close::after {
  background: #192644 !important;
}
#mobile-drawer .kadence-nav-inner > ul > li > a {
  padding: 14px 0 !important;
  font-size: 1.1rem !important;
  border-bottom: 1px solid #e8ecf3;
  color: #192644 !important;
}

/* ---- Category archive titel: kleiner + nette word wrap ---- */
@media (max-width: 900px) {
  .archive .archive-title,
  .archive .entry-hero-container-inner h1 {
    font-size: clamp(1.4rem, 6vw, 2.2rem) !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}
@media (max-width: 500px) {
  .archive .archive-title,
  .archive .entry-hero-container-inner h1 {
    font-size: 1.5rem !important;
  }
}

/* ---- Portretten: face-crop + scherp ---- */
/* Home member cards */
.ds-home-member-photo img,
.ds-home-member-card img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center 18% !important; /* focus on face */
  image-rendering: -webkit-optimize-contrast;
  height: auto !important;
}
/* Onze mensen portret images */
.page-id-6 .ds-mensen-card .wp-block-image img,
.page-id-6 .ds-mensen-portret img,
.page-id-6 figure.wp-block-image.aligncenter img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  border-radius: 4px;
  image-rendering: -webkit-optimize-contrast;
}
/* Mobiel: kleinere home-fractie-cards */
@media (max-width: 900px) {
  .ds-home-member-card {
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .ds-home-mensen-section .wp-block-column {
    display: flex !important;
    justify-content: center !important;
  }
}
@media (max-width: 500px) {
  .ds-home-member-card {
    max-width: 220px !important;
  }
}

/* ---- Mobiele menu tekstgrootte + close-icon ---- */
#mobile-menu > li > a,
.mobile-menu-container #mobile-menu a,
nav#mobile-site-navigation a {
  font-size: 1.35rem !important;
  padding: 18px 0 !important;
  line-height: 1.3 !important;
}
.menu-toggle-close .toggle-close-bar {
  background-color: #EC7332 !important;
  height: 3px !important;
}
.menu-toggle-close {
  color: #EC7332 !important;
}

/* ---- Peter's portret: hoger in kader (hoofd zichtbaar) ---- */
img[alt="Peter Duvekot"],
img[alt="Portret Peter Duvekot"] {
  object-position: center 5% !important;
}

/* ---- Peter's portret: hoger in kader (hoge specificity) ---- */
.page-id-5 img[alt="Peter Duvekot"],
.page-id-6 img[alt="Portret Peter Duvekot"],
.page-id-6 .ds-mensen-card .wp-block-image img[alt="Portret Peter Duvekot"],
.page-id-6 figure.wp-block-image.aligncenter img[alt="Portret Peter Duvekot"] {
  object-position: center 0% !important;
}


/* ---- Peter portret: force 160x160 display (200x300 source) ---- */
.page-id-6 img[alt="Portret Peter Duvekot"] {
  width: 160px !important;
  height: 160px !important;
  object-fit: cover !important;
  object-position: center 0% !important;
}


/* ---- Hulplijn: vrijwilligers-cards (zelfde stijl als onze-mensen) ---- */
.page-id-7 .ds-mensen-section { margin-top: 40px; margin-bottom: 40px; }
.page-id-7 .ds-mensen-section .wp-block-columns {
  justify-content: center !important;
  gap: 32px !important;
  flex-wrap: wrap !important;
}
.page-id-7 .ds-mensen-section .wp-block-column {
  flex-basis: 260px !important;
  flex-grow: 0 !important;
  max-width: 260px !important;
}
.page-id-7 .ds-mensen-card {
  padding: 24px !important;
  background: #fff !important;
  border-radius: 4px;
  box-shadow: rgba(25, 38, 68, 0.06) 0px 4px 20px;
  text-align: center !important;
}
.page-id-7 .ds-mensen-card .wp-block-image img {
  width: 140px !important;
  height: 140px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  border-radius: 4px;
  image-rendering: -webkit-optimize-contrast;
  display: block;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .page-id-7 .ds-mensen-card .wp-block-image img { width: 120px !important; height: 120px !important; }
}

/* ---- Mobiel menu donkerblauw + tekst-indent ---- */
.mobile-toggle-open-container .drawer-inner,
.drawer.popup-drawer-layout-fullwidth .drawer-inner,
#mobile-drawer .drawer-inner,
#mobile-drawer .drawer-content,
.mobile-toggle-open-container .mobile-toggle-open {
  background-color: #192644 !important;
}
#mobile-drawer .drawer-header {
  background-color: #192644 !important;
}
#mobile-menu,
#mobile-menu > li,
#mobile-menu a,
.mobile-menu-container,
nav#mobile-site-navigation {
  background-color: #192644 !important;
  color: #ffffff !important;
}
#mobile-menu > li > a,
.mobile-menu-container #mobile-menu a,
nav#mobile-site-navigation a {
  color: #ffffff !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
/* Close icon: keep oranje op donkerblauwe achtergrond */
.menu-toggle-close .toggle-close-bar {
  background-color: #EC7332 !important;
}
/* Sub-items iets meer ingesprongen */
#mobile-menu ul a {
  padding-left: 40px !important;
}


/* ---- Knoppen kleiner ---- */
.wp-block-button__link.wp-element-button,
.wp-block-button .wp-block-button__link,
a.wp-block-button__link,
.kb-button,
.kadence-btn {
  font-size: 15px !important;
  padding: 10px 22px !important;
  line-height: 1.4 !important;
  font-weight: 600;
}
@media (max-width: 600px) {
  .wp-block-button__link.wp-element-button,
  .wp-block-button .wp-block-button__link,
  a.wp-block-button__link {
    font-size: 14px !important;
    padding: 9px 18px !important;
  }
}


/* ---- CTA-cover headings kleiner ---- */
.wp-block-cover h2.wp-block-heading,
.wp-block-cover.alignfull h2.wp-block-heading,
.entry-content > .wp-block-cover h2 {
  font-size: 30px !important;
  line-height: 1.2 !important;
}
@media (max-width: 768px) {
  .wp-block-cover h2.wp-block-heading,
  .wp-block-cover.alignfull h2.wp-block-heading {
    font-size: 24px !important;
  }
}


/* ---- Sectie-spacing site-breed: strakker en consistent ---- */
.entry-content > .alignfull.wp-block-group:not(.ds-home-footer-section),
.entry-content .ds-nieuws-section,
.entry-content .ds-home-mensen-section,
.entry-content .ds-home-contact-section,
.entry-content .ds-mensen-section,
.entry-content .ds-standpunten-section,
.entry-content .ds-contact-section,
.entry-content .ds-contact-cards-section,
.entry-content .ds-hulp-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Hero-cover bovenaan: behoudt iets meer ruimte */
.entry-content > .wp-block-cover.alignfull:first-child {
  margin-bottom: 0 !important;
}
/* Alle alignfull elementen: geen margin tussen */
.entry-content > .alignfull {
  margin-bottom: 0 !important;
}
/* Footer-section: eigen zachtere padding behouden, maar geen margin */
.ds-home-footer-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
@media (max-width: 768px) {
  .entry-content > .alignfull.wp-block-group:not(.ds-home-footer-section),
  .entry-content .ds-nieuws-section,
  .entry-content .ds-home-mensen-section,
  .entry-content .ds-home-contact-section,
  .entry-content .ds-mensen-section,
  .entry-content .ds-standpunten-section,
  .entry-content .ds-contact-section,
  .entry-content .ds-contact-cards-section,
  .entry-content .ds-hulp-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .entry-content > .wp-block-cover.alignfull {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}


/* ---- Home: Leer ons kennen rechts uitlijnen (zelfde als Meer berichten) ---- */
.ds-home-mensen-section .wp-block-buttons {
  max-width: 1408px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  justify-content: flex-end !important;
  display: flex !important;
}


/* ---- Mensen-card naam-link styling ---- */
.ds-mensen-card h3 a {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ds-mensen-card h3 a:hover,
.ds-mensen-card h3 a:focus {
  color: #EC7332 !important;
  border-bottom-color: #EC7332;
}


/* ---- Persoon-pagina content-alignment + kleinere portret ---- */
.ds-persoon-section .wp-block-columns,
.ds-thema-section > .wp-block-group__inner-container,
.ds-thema-section .wp-block-columns {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ds-persoon-section .wp-block-columns {
  align-items: flex-start !important;
  gap: 32px !important;
}
.ds-persoon-section .wp-block-column:first-child {
  flex-basis: 280px !important;
  flex-grow: 0 !important;
  max-width: 280px !important;
}
.ds-persoon-section .wp-block-column:last-child {
  flex-basis: 0 !important;
  flex-grow: 1 !important;
  max-width: none !important;
}
.ds-persoon-portret {
  max-width: 280px !important;
  margin: 0 !important;
}
.ds-persoon-portret img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 4px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 768px) {
  .ds-persoon-section .wp-block-column:first-child {
    flex-basis: 100% !important;
    max-width: 220px !important;
    margin-bottom: 16px;
  }
  .ds-persoon-portret {
    max-width: 220px !important;
  }
}


/* ---- AI-bot sectie alignment ---- */
.ds-ai-bot-section > .wp-block-group__inner-container {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ds-ai-bot-section .ds-chatbot-wrap {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 880px;
}
.ds-ai-bot-section .ds-chatbot-disclaimer {
  text-align: left !important;
  max-width: 880px;
}
@media (max-width: 768px) {
  .ds-ai-bot-section .ds-chatbot-wrap {
    max-width: 100%;
  }
  .ds-ai-bot-section .ds-chatbot-wrap iframe {
    height: 560px !important;
  }
}


/* ---- Single-post featured image: weer breed ---- */
.single-post .post-thumbnail,
.single-post .article-post-thumbnail {
  max-width: 100% !important;
  margin: 40px 0 24px !important;
  aspect-ratio: auto !important;
  height: auto !important;
}
.single-post .post-thumbnail img,
.single-post .article-post-thumbnail img {
  max-height: none !important;
  width: 100% !important;
  height: auto !important;
  max-height: 540px !important;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .single-post .post-thumbnail img,
  .single-post .article-post-thumbnail img {
    max-height: 320px !important;
  }
}

/* ---- Menubalk iets dikker ---- */
.site-bottom-header-wrap .main-navigation a,
.site-bottom-header-wrap .main-navigation .primary-menu-container > ul > li > a,
.site-bottom-header-wrap nav a {
  font-weight: 600 !important;
  font-size: 17.5px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  line-height: 1.4 !important;
}
.site-bottom-header-wrap {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
@media (max-width: 768px) {
  .site-bottom-header-wrap .main-navigation a,
  .site-bottom-header-wrap .main-navigation .primary-menu-container > ul > li > a {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}


/* ---- Home section-headings consistent ---- */
.ds-nieuws-section > .wp-block-group__inner-container > h2:first-of-type,
.ds-home-mensen-section > .wp-block-group__inner-container > h2:first-of-type,
.ds-home-contact-section > .wp-block-group__inner-container > h2:first-of-type,
.ds-nieuws-section h2.wp-block-heading,
.ds-home-mensen-section h2.wp-block-heading,
.ds-home-contact-section h2.wp-block-heading {
  font-size: 32px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}
/* Onze mensen: donkerblauwe bg → witte h2 */
.ds-home-mensen-section h2.wp-block-heading {
  color: #ffffff !important;
}


/* ---- Chatbase bubble positie: in midden van rechter marge ---- */
#chatbase-bubble-button,
#chatbase-message-bubbles,
#chatbase-bubble-window {
  right: max(20px, calc((100vw - 1500px) / 4)) !important;
}
@media (max-width: 900px) {
  #chatbase-bubble-button,
  #chatbase-message-bubbles,
  #chatbase-bubble-window {
    right: 16px !important;
  }
}


/* ---- Chatbase bubble icon wit ---- */
#chatbase-bubble-button svg,
#chatbase-bubble-button svg path,
#chatbase-bubble-button svg g,
#chatbase-bubble-button svg circle {
  fill: #ffffff !important;
  color: #ffffff !important;
}


/* ---- Portretfoto crops universeel: face-crop top voor alle post-thumbnails ---- */
/* Default: alle featured images op posts/cards op center 12% (portretten lopen mooi, landschap niet kritisch) */
.wp-post-image,
article .wp-post-image,
.post-thumbnail img,
.article-post-thumbnail img,
.wp-block-post-featured-image img {
  object-position: center 12% !important;
}
/* Specifieke uitzondering: Peter's beëdigingsfoto (3 mensen, koppen helemaal bovenaan) */
.wp-post-image[data-attachment-id="398"],
img[data-attachment-id="398"] { object-position: center 35% !important; }

img[data-attachment-id="531"] { object-position: center 45% !important; }


/* ---- TIJDELIJK: AI-sectie verbergen vóór live-gang zonder chatbot ---- */
.ds-ai-bot-section {
  display: none !important;
}


/* ---- Privacy-pagina: leesbare content-breedte ---- */
.ds-privacy-section > .wp-block-group__inner-container {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ds-privacy-section h2 {
  margin-top: 36px !important;
  margin-bottom: 12px !important;
  font-size: 24px !important;
}
.ds-privacy-section p,
.ds-privacy-section li {
  line-height: 1.6 !important;
}
.ds-privacy-section ul {
  margin-left: 0 !important;
  padding-left: 24px !important;
}
.ds-privacy-section li {
  margin-bottom: 6px;
}


/* DS NIEUWS LEES-VERDER ONDERAAN START */
.ds-nieuws-grid > li { display: flex !important; height: auto !important; }
.ds-nieuws-grid > li > .ds-nieuws-card { display: flex !important; flex-direction: column !important; width: 100% !important; height: 100% !important; }
.ds-nieuws-grid > li > .ds-nieuws-card > .wp-block-group__inner-container { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; }
.ds-nieuws-grid figure.wp-block-post-featured-image { aspect-ratio: 3 / 2 !important; height: auto !important; flex: 0 0 auto !important; overflow: hidden !important; }
.ds-nieuws-grid figure.wp-block-post-featured-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.ds-nieuws-grid .ds-nieuws-card-body { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; }
.ds-nieuws-grid .ds-nieuws-card-body > .wp-block-group__inner-container { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; }
.ds-nieuws-grid .wp-block-post-excerpt { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; }
.ds-nieuws-grid .wp-block-post-excerpt__more-text { margin-top: auto !important; padding-top: 16px !important; }
/* DS NIEUWS LEES-VERDER ONDERAAN END */

/* DS SEARCH FIXES START */
.search-form .search-field,
.search-form input[type="search"],
.kadence-search-modal .search-field,
.kadence-search-modal input[type="search"] {
  font-size: 16px !important;
  padding-right: 60px !important;
}
.search-form .search-field::placeholder,
.search-form input[type="search"]::placeholder,
.kadence-search-modal input[type="search"]::placeholder {
  font-size: 16px !important;
  opacity: 0.7;
}

.search-form .search-submit,
.search-form button[type="submit"],
.kadence-search-modal .search-submit,
.kadence-search-modal button[type="submit"] {
  font-size: 0 !important;
  letter-spacing: 0 !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  min-width: 56px !important;
}
.search-form .search-submit svg,
.search-form button[type="submit"] svg,
.kadence-search-modal .search-submit svg,
.kadence-search-modal button[type="submit"] svg {
  width: 22px !important;
  height: 22px !important;
  font-size: 18px !important;
}
.search-form .search-submit i,
.search-form button[type="submit"] i {
  font-size: 18px !important;
}

body.search.search-results .site-content,
body.search.search-results main#main,
body.search.search-results .content-container > article,
body.search-results .archive-header,
body.search-results > .site > .site-container {
  padding-top: 48px !important;
  padding-bottom: 80px !important;
}
body.search-results .archive-page-header,
body.search-results .page-content-wrap {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}
body.search-results .content-area,
body.search-results #primary {
  padding-top: 60px !important;
  padding-bottom: 80px !important;
}
/* DS SEARCH FIXES END */


/* DS KIM CROP START */
body.page-id-6 .ds-mensen-card img[src*="Kim_Walles"],
body.page-id-6 .ds-mensen-card .wp-block-image img[src*="Kim"],
body.page-id-5 .ds-home-mensen-section img[src*="Kim_Walles"],
body.page-id-5 .ds-home-mensen-section .wp-block-image img[src*="Kim"],
body.page-id-447 .wp-block-image img[src*="Kim_Walles"],
body.postid-400 img[src*="Kim_Walles"] {
  object-position: center 0% !important;
}
/* DS KIM CROP END */
/* DS HIDE BYLINE START */
.entry-meta .posted-by,
.entry-meta .byline,
.entry-meta .author {
  display: none !important;
}
/* DS HIDE BYLINE END */