/* The Ducs and Duchess VZW - opt-in sitehuisstijl 2.3.0.
   Uitsluitend front-end en uitsluitend indien ingeschakeld/voorvertoond.
   Geen wijziging van post_content, media, templates of rechten. */
body.ddcs-unified-style {
  --ddcs-site-bg: #101010;
  --ddcs-site-panel: #171717;
  --ddcs-site-panel-raised: #1d1d1d;
  --ddcs-site-text: #ededed;
  --ddcs-site-muted: #b8b8b8;
  --ddcs-site-line: #343434;
  --ddcs-site-red: #cc0000;
  --wp--style--global--content-size: 1090px;
  --wp--style--global--wide-size: 1230px;
  color: var(--ddcs-site-text);
  background: var(--ddcs-site-bg);
  font: 400 15px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.ddcs-unified-style .wp-site-blocks,
body.ddcs-unified-style .wp-site-blocks > main,
body.ddcs-unified-style .wp-site-blocks > footer,
body.ddcs-unified-style .wp-site-blocks > header,
body.ddcs-unified-style .wp-site-blocks > :where(.wp-block-group),
body.ddcs-unified-style .wp-site-blocks main > .wp-block-group {
  color:var(--ddcs-site-text);
  background-color:var(--ddcs-site-bg);
}
body.ddcs-unified-style :where(.wp-site-blocks main .wp-block-group.has-background,
  .wp-site-blocks main .wp-block-column.has-background,
  .wp-site-blocks header .wp-block-group.has-background,
  .wp-site-blocks footer .wp-block-group.has-background) {
  background-color:var(--ddcs-site-bg) !important;
  color:var(--ddcs-site-text);
}
body.ddcs-unified-style .wp-site-blocks :where(p, li, blockquote, dt, dd) {
  font-family:inherit;
  font-size:15px !important;
  line-height:1.7 !important;
  color:var(--ddcs-site-text);
}
body.ddcs-unified-style .wp-site-blocks :where(small, figcaption, .wp-block-post-date) {
  color:var(--ddcs-site-muted);
}
body.ddcs-unified-style .wp-site-blocks :where(h1,h2,h3,h4,h5,h6) {
  color:var(--ddcs-site-red);
  font-family:inherit;
  font-weight:740;
  letter-spacing:-.02em;
  line-height:1.28;
  text-wrap:pretty;
}
body.ddcs-unified-style .wp-site-blocks h1 {font-size:clamp(27px,3vw,35px)}
body.ddcs-unified-style .wp-site-blocks h2 {font-size:clamp(23px,2.5vw,29px)}
body.ddcs-unified-style .wp-site-blocks h3 {font-size:clamp(19px,2vw,23px)}
body.ddcs-unified-style .wp-site-blocks :where(h4,h5,h6) {font-size:17px}
body.ddcs-unified-style .wp-site-blocks :where(p,ul,ol) {margin-block-start:.5em;margin-block-end:1em}
body.ddcs-unified-style .wp-site-blocks :where(a:not(.wp-element-button):not(.ddcs-add):not(.ddcs-quote-button)) {
  text-decoration-color:currentColor;
  text-underline-offset:3px;
}
body.ddcs-unified-style .wp-site-blocks main a:not(.wp-element-button):not(.ddcs-add):not(.ddcs-quote-button) {color:#f2eded;}
body.ddcs-unified-style .wp-site-blocks main a:hover {color:#ff3a3a;}
body.ddcs-unified-style .wp-site-blocks main :where(hr,.wp-block-separator) {
  border-color:var(--ddcs-site-line);opacity:1;
}
/* Header: same compact styling as the clubshop, no menu/content changes. */
body.ddcs-unified-style .wp-site-blocks > header {border-bottom:1px solid #333;}
body.ddcs-unified-style .wp-site-blocks > header .alignwide {
  max-width:1230px;
  margin-inline:auto;
}
body.ddcs-unified-style .wp-site-blocks > header :where(.wp-block-group) {
  background-color:var(--ddcs-site-bg) !important;
}
body.ddcs-unified-style .wp-site-blocks > header .wp-block-site-title,
body.ddcs-unified-style .wp-site-blocks > header .wp-block-site-title a {
  color:#fff !important;
  font-size:16px !important;
  font-weight:760;
  line-height:1.35;
  letter-spacing:-.015em;
  text-decoration:none !important;
}
body.ddcs-unified-style .wp-site-blocks > header .wp-block-navigation__container {
  gap:10px 25px !important;
}
body.ddcs-unified-style .wp-site-blocks > header .wp-block-navigation a {
  color:#e9e9e9 !important;
  font-size:14px !important;
  text-decoration:none !important;
}
body.ddcs-unified-style .wp-site-blocks > header .wp-block-navigation a:hover,
body.ddcs-unified-style .wp-site-blocks > header .wp-block-navigation .current-menu-item > a {
  color:#f04545 !important;
}
body.ddcs-unified-style .wp-site-blocks > header .wp-block-navigation__responsive-container.is-menu-open {
  background:var(--ddcs-site-bg) !important;
  color:#fff !important;
}
body.ddcs-unified-style .wp-site-blocks > header .wp-block-navigation__submenu-container {
  background-color:#191919 !important;
  border:1px solid #393939 !important;
}
/* Main pages: consistent alignment, rhythm, and readable long-form text. */
body.ddcs-unified-style .wp-site-blocks > main {
  padding:clamp(22px,3.5vw,52px) clamp(16px,3vw,40px);
  max-width:1360px;
  margin-inline:auto;
  box-sizing:border-box;
}
body.ddcs-unified-style .wp-site-blocks > main .wp-block-post-content,
body.ddcs-unified-style .wp-site-blocks > main .entry-content {
  line-height:1.7;
}
body.ddcs-unified-style .wp-site-blocks > main .wp-block-post-content > :where(p,ul,ol,h1,h2,h3) {
  max-width:900px;
}
body.ddcs-unified-style .wp-site-blocks > main .wp-block-columns {gap:clamp(16px,3vw,44px);}
body.ddcs-unified-style .wp-site-blocks > main :where(.wp-block-image img, .wp-block-gallery img,
  .wp-block-cover img, .wp-block-post-featured-image img) {
  max-width:100%;height:auto;
  /* keep original WordPress crop/layout choices, no new crops or filters */
}
body.ddcs-unified-style .wp-site-blocks > main :where(.wp-block-image, .wp-block-gallery) {margin-block:18px 25px;}
/* Ledenomgeving: keep the working original vertical menu and anchors. */
body.ddcs-unified-style .wp-site-blocks .wie-is-wie-menu {
  position:sticky;
  top:22px;
  align-self:flex-start;
  box-sizing:border-box;
  flex-basis:clamp(190px,23%,260px) !important;
  padding:16px 18px !important;
  background-color:#171717 !important;
  border:1px solid #303030;
  border-left:3px solid #cc0000;
  border-radius:4px;
}
body.ddcs-unified-style .wie-is-wie-menu .wp-block-navigation__container {
  align-items:flex-start;
  gap:3px !important;
}
body.ddcs-unified-style .wie-is-wie-menu .wp-block-navigation-item {margin-bottom:0 !important;}
body.ddcs-unified-style .wie-is-wie-menu .wp-block-navigation-item a {
  display:inline-block;
  color:#eee !important;
  font-size:14px;
  line-height:1.5;
  text-decoration:none !important;
  padding:6px 0;
}
body.ddcs-unified-style .wie-is-wie-menu .wp-block-navigation-item a:hover,
body.ddcs-unified-style .wie-is-wie-menu .current-menu-item>a {color:#ff4040 !important;}
body.ddcs-unified-style .wie-is-wie-menu .wp-block-navigation__submenu-container {
  background-color:#202020 !important;
  border-color:#353535 !important;
}
/* Buttons and interactive WordPress elements; the shop's own styles take precedence. */
body.ddcs-unified-style .wp-site-blocks main :where(.wp-block-button__link,.wp-element-button),
body.ddcs-unified-style .wp-site-blocks :where(.wpforms-submit,.wpforms-page-button) {
  border:1px solid #cc0000 !important;
  color:#fff !important;
  background-color:#cc0000 !important;
  border-radius:3px !important;
  font-size:14px !important;
  font-weight:650 !important;
  text-decoration:none !important;
  padding:10px 17px !important;
  box-shadow:none !important;
}
body.ddcs-unified-style .wp-site-blocks main :where(.wp-block-button__link,.wp-element-button):hover,
body.ddcs-unified-style .wp-site-blocks :where(.wpforms-submit,.wpforms-page-button):hover {
  background:#a90000 !important;
}
body.ddcs-unified-style .wp-site-blocks :where(.wpforms-container .wpforms-field-label,
  .wpforms-container label,.wpforms-field-sublabel) {color:#ededed !important;}
body.ddcs-unified-style .wp-site-blocks .wpforms-container input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body.ddcs-unified-style .wp-site-blocks .wpforms-container :where(textarea,select) {
  background-color:#222 !important;
  -webkit-box-shadow:none !important;
  -webkit-text-fill-color:#eee !important;
  color:#eee !important;
  border:1px solid #555 !important;
  border-radius:3px !important;
  min-height:36px;
}
body.ddcs-unified-style .wp-site-blocks input[type=checkbox],
body.ddcs-unified-style .wp-site-blocks input[type=radio] {accent-color:#cc0000;}
body.ddcs-unified-style .wp-site-blocks :where(input,select,textarea,button,a):focus-visible {
  outline:2px solid #fa5252;
  outline-offset:3px;
}
/* Footer is quiet and deliberate, matching the clubshop. */
body.ddcs-unified-style .wp-site-blocks > footer {
  border-top:1px solid #343434;
  padding-block:23px;
}
body.ddcs-unified-style .wp-site-blocks > footer :where(.wp-block-group) {
  background:var(--ddcs-site-bg)!important;
}
body.ddcs-unified-style .wp-site-blocks > footer :where(p,a) {
  color:#bdbdbd!important;
  font-size:13px!important;
  text-align:center;
}
/* Shop is intentionally excluded from typography overrides where its UI is more specific. */
body.ddcs-unified-style .wp-site-blocks .ddcs-shop :where(p,li) {font-size:revert-layer;line-height:normal;}
body.ddcs-unified-style .wp-site-blocks .ddcs-shop .ddcs-info p {
  font-size:.88rem !important;line-height:1.6 !important;color:#bbb;
}
@media(max-width:800px) {
  body.ddcs-unified-style .wp-site-blocks > header .alignwide {padding-inline:10px;}
  body.ddcs-unified-style .wp-site-blocks > main {padding:22px 15px;}
  body.ddcs-unified-style .wp-site-blocks main .wp-block-columns:has(.wie-is-wie-menu) {
    flex-wrap:wrap !important;
  }
  body.ddcs-unified-style .wp-site-blocks .wie-is-wie-menu {
    position:static;flex-basis:100%!important;width:100%;padding:12px 15px!important;
  }
  body.ddcs-unified-style .wp-site-blocks main .wp-block-columns:has(.wie-is-wie-menu)>.wp-block-column:not(.wie-is-wie-menu) {
    flex-basis:100%!important;
  }
}
@media(max-width:600px) {
  body.ddcs-unified-style .wp-site-blocks :where(p,li,blockquote,dt,dd) {
    font-size:14px !important;line-height:1.65!important;
  }
  body.ddcs-unified-style .wp-site-blocks > header .wp-block-site-title a {
    font-size:15px!important;
  }
  body.ddcs-unified-style .wp-site-blocks > main .wp-block-gallery {gap:10px;}
}


/* 2.3: consequente presentatie van bestaande juridische en aanvraagpagina's.
   Geen enkel blok, tekst, afbeelding, formulier of WPForms-instelling wordt aangepast. */
body.ddcs-unified-style.ddcs-legal-page .wp-block-post-content,
body.ddcs-unified-style.ddcs-quote-page .wp-block-post-content,
body.ddcs-unified-style.ddcs-reference-page .wp-block-post-content {
  max-width:900px;
  margin-inline:0 auto;
}
body.ddcs-unified-style.ddcs-legal-page .wp-block-post-content > :is(h1,h2):first-child,
body.ddcs-unified-style.ddcs-quote-page .wp-block-post-content > :is(h1,h2):first-child,
body.ddcs-unified-style.ddcs-reference-page .wp-block-post-content > :is(h1,h2):first-child {
  font-size:clamp(24px,2.5vw,30px) !important;
  font-weight:750 !important;
  letter-spacing:-.025em;
  line-height:1.25;
  color:#cc0000 !important;
  padding:0 0 15px !important;
  margin:0 0 18px !important;
  border-bottom:1px solid #363636;
}
body.ddcs-unified-style.ddcs-legal-page .wp-block-post-content :where(p,li,blockquote),
body.ddcs-unified-style.ddcs-quote-page .wp-block-post-content :where(p,li,blockquote),
body.ddcs-unified-style.ddcs-reference-page .wp-block-post-content :where(p,li,blockquote) {
  font-size:15px !important;
  line-height:1.72 !important;
}
body.ddcs-unified-style.ddcs-legal-page .wp-block-post-content :where(h2:not(:first-child),h3,h4) {
  font-size:18px !important;
  line-height:1.4 !important;
  font-weight:700 !important;
  color:#f5f5f5 !important;
  margin:23px 0 9px !important;
  padding:12px 0 0 !important;
  border-top:1px solid #2f2f2f;
}
body.ddcs-unified-style.ddcs-legal-page .wp-block-post-content :where(ul,ol) {
  padding-inline-start:23px;
}
body.ddcs-unified-style.ddcs-legal-page .wp-block-post-content :where(a:not(.wp-element-button)) {
  color:#f0f0f0;
  text-decoration:underline;
  text-decoration-color:#cc3333;
  text-underline-offset:3px;
}
/* WPForms offerteaanvraag: alleen presentatie, velden en verzending ongewijzigd. */
body.ddcs-unified-style.ddcs-quote-page .wpforms-container {
  max-width:880px;
  margin-block:22px 30px;
  color:#ededed;
}
body.ddcs-unified-style.ddcs-quote-page .wpforms-container .wpforms-field {
  padding-block:11px;
}
body.ddcs-unified-style.ddcs-quote-page .wpforms-container :where(.wpforms-field-label,.wpforms-field-sublabel,.wpforms-field-description) {
  color:#d9d9d9 !important;
  font-size:13px !important;
  line-height:1.5;
}
body.ddcs-unified-style.ddcs-quote-page .wpforms-container .wpforms-field-label {
  color:#fff !important;
  font-weight:650 !important;
  margin-bottom:7px;
}
body.ddcs-unified-style.ddcs-quote-page .wpforms-container input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body.ddcs-unified-style.ddcs-quote-page .wpforms-container :where(select,textarea) {
  width:100%;
  box-sizing:border-box;
  background-color:#1d1d1d !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border:1px solid #525252 !important;
  border-radius:3px !important;
  min-height:42px;
  padding:9px 12px;
  box-shadow:none !important;
}
body.ddcs-unified-style.ddcs-quote-page .wpforms-container input::placeholder,
body.ddcs-unified-style.ddcs-quote-page .wpforms-container textarea::placeholder {color:#aaa !important;}
body.ddcs-unified-style.ddcs-quote-page .wpforms-container :where(select,textarea,input):focus-visible {
  border-color:#d53737 !important;
  outline:2px solid #d53737;
  outline-offset:1px;
}
body.ddcs-unified-style.ddcs-quote-page .wpforms-container :where(.wpforms-field-hp, .wpforms-field-recaptcha) {
  background:transparent;
}
body.ddcs-unified-style.ddcs-quote-page .wpforms-container .wpforms-submit-container {margin-top:16px;}
/* Extra informatiepagina's en privacybeleid houden dezelfde tekstmaat. */
body.ddcs-unified-style.ddcs-reference-page .wp-block-post-content > :where(h2,h3) {
  font-size:19px;
}
@media(max-width:600px) {
  body.ddcs-unified-style.ddcs-legal-page .wp-block-post-content :where(p,li),
  body.ddcs-unified-style.ddcs-quote-page .wp-block-post-content :where(p,li),
  body.ddcs-unified-style.ddcs-reference-page .wp-block-post-content :where(p,li) {
    font-size:14px !important;
  }
}
