/*
Theme Name: CasaMia Child
Theme URI: https://casamia.nl/
Description: Child theme voor CasaMia op basis van Divi.
Author: CasaMia
Template: Divi
Version: 12.7.91-R28CD-TOEGANKELIJKHEID-TEST
Text Domain: casamia-child
*/

:root {
  --cm-orange: #C96E3A;
  --cm-dark: #3E3128;
  --cm-beige: #F8F4EE;
  --cm-light: #F2F2F2;
  --cm-text: #333333;
  --cm-green: #4FA75B;
  --cm-red: #C94A4A;
}

body { color: var(--cm-text); }

/* =========================================================
   CasaMia v12.6.12 — verhuurobjectkenmerken exact in
   dezelfde lijnicoon- en tekststijl als accommodatiehero
   ========================================================= */
body:not(.et-fb) .cm-detail-kenmerken-bar {
  position: relative;
  z-index: 6;
  width: min(1080px, calc(100% - 48px));
  margin: 34px auto 52px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  color: #990033;
}
body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
}
body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-item {
  flex: 0 1 auto;
  min-width: 92px;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  color: #990033;
  text-shadow: none;
}
body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 7px;
  color: #990033;
  font-size: 32px;
  line-height: 1;
  filter: none;
}
body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-svg {
  width: 34px;
  height: 34px;
  display: block;
}
body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-value {
  margin: 0 0 3px;
  color: #990033 !important;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}
body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-label {
  color: #5f5751 !important;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .09em;
  font-weight: 750;
}
@media (max-width: 980px) {
  body:not(.et-fb) .cm-detail-kenmerken-bar {
    width: calc(100% - 36px);
    margin-top: 30px;
    margin-bottom: 46px;
  }
  body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-inner {
    gap: 22px 34px;
  }
}
@media (max-width: 640px) {
  body:not(.et-fb) .cm-detail-kenmerken-bar {
    width: calc(100% - 28px);
    margin-top: 24px;
    margin-bottom: 38px;
  }
  body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 10px;
  }
  body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-item { min-width: 0; }
  body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
  }
  body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-svg {
    width: 28px;
    height: 28px;
  }
  body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-value { font-size: 14px; }
  body:not(.et-fb) .cm-detail-kenmerken-bar .cm-feature-bar-label { font-size: 9px; }
}



/* =========================================================
   CasaMia v12.6.20 — verhuurobjectbeschrijving 60/40 met eigen foto
   ========================================================= */
body:not(.et-fb) .cm-detail-beschrijving--met-foto {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(153, 0, 51, 0.14);
  border-radius: 18px;
  background: #fff;
}

body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-inhoud {
  min-width: 0;
  padding: 38px 42px;
}

body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-section-title {
  margin-top: 0;
}

body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-text {
  max-width: none;
  --cm-removed-font-size: 18px;
  --cm-removed-line-height: 1.7;
}

body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-text p:last-child {
  margin-bottom: 0;
}

body:not(.et-fb) .cm-detail-beschrijving-foto {
  min-height: 100%;
}

body:not(.et-fb) .cm-detail-beschrijving-foto img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

@media (max-width: 980px) {
  body:not(.et-fb) .cm-detail-beschrijving--met-foto {
    grid-template-columns: 1fr;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-inhoud {
    padding: 30px;
  }

  body:not(.et-fb) .cm-detail-beschrijving-foto img {
    min-height: 300px;
    max-height: 460px;
  }
}

@media (max-width: 640px) {
  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-inhoud {
    padding: 24px 20px;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-text {
    --cm-removed-font-size: 17px;
  }

  body:not(.et-fb) .cm-detail-beschrijving-foto img {
    min-height: 240px;
  }
}


/* =========================================================
   CasaMia v12.6.21 — afwerking verhuurobjectpagina
   - beschrijving vaste hoogte met scrollbar bij langere tekst
   - contacttekst gelijk met bovenkant formulier en foto duidelijker
   - koppen Inclusief / Exclusief / Overige groter
   ========================================================= */
@media (min-width: 981px) {
  body:not(.et-fb) .cm-detail-beschrijving--met-foto {
    height: 390px;
    min-height: 390px;
    max-height: 390px;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-inhoud {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-text {
    min-height: 0;
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(153, 0, 51, .42) transparent;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-text::-webkit-scrollbar {
    width: 6px;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-text::-webkit-scrollbar-track {
    background: transparent;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-text::-webkit-scrollbar-thumb {
    background: rgba(153, 0, 51, .38);
    border-radius: 999px;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-foto,
  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-foto img {
    height: 390px;
    min-height: 390px;
    max-height: 390px;
  }
}

body:not(.et-fb) .cm-object-extra-info .cm-object-extra-head h3 {
  --cm-removed-font-size: 24px !important;
  --cm-removed-line-height: 1.2 !important;
}

@media (max-width: 700px) {
  body:not(.et-fb) .cm-object-extra-info .cm-object-extra-head h3 {
    --cm-removed-font-size: 21px !important;
  }
}


/* =========================================================
   CasaMia v12.6.22 — uniforme typografie verhuurobjectpagina
   ========================================================= */
body:not(.et-fb) {
  --cm-object-body-size: 16px;
  --cm-object-title-size: clamp(28px, 2.4vw, 36px);
}

/* Standaard sectietitels: gelijke maat en gecentreerd */
body:not(.et-fb) .cm-detail-beschrijving-titel,
body:not(.et-fb) .cm-prijsoptie2-title,
body:not(.et-fb) .cm-prijstabel > .cm-section-title,
body:not(.et-fb) .cm-faciliteiten-v1__title,
body:not(.et-fb) .cm-verhuurobjecten-v2 .cm-section-title {
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  color: #990033 !important;
  --cm-removed-font-size: var(--cm-object-title-size) !important;
  --cm-removed-line-height: 1.18 !important;
  --cm-removed-font-weight: 600 !important;
}

body:not(.et-fb) .cm-detail-beschrijving-titel {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

body:not(.et-fb) .cm-prijsoptie2-title,
body:not(.et-fb) .cm-prijstabel > .cm-section-title,
body:not(.et-fb) .cm-faciliteiten-v1__title,
body:not(.et-fb) .cm-verhuurobjecten-v2 .cm-section-title {
  margin-bottom: 26px !important;
}

/* Beschrijving: 60/40 behouden, geen rand, foto vier afgeronde hoeken */
body:not(.et-fb) .cm-detail-beschrijving--met-foto {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  column-gap: 34px;
}
body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-inhoud {
  padding: 22px 0 !important;
}
body:not(.et-fb) .cm-detail-beschrijving-foto,
body:not(.et-fb) .cm-detail-beschrijving-foto img {
  border-radius: 18px !important;
  overflow: hidden !important;
}

/* Eén tekstmaat in de gevraagde onderdelen */
body:not(.et-fb) .cm-detail-beschrijving-text,
body:not(.et-fb) .cm-detail-beschrijving-text p,
body:not(.et-fb) .cm-faciliteiten-v1__item,
body:not(.et-fb) .cm-faciliteiten-v1__label,
body:not(.et-fb) .cm-object-extra-content,
body:not(.et-fb) .cm-object-extra-content p,
body:not(.et-fb) .cm-object-extra-list,
body:not(.et-fb) .cm-object-extra-list li,
body:not(.et-fb) .cm-verhuurobjecten-v2 .cm-uniform-card-description,
body:not(.et-fb) .cm-verhuurobjecten-v2 .cm-verhuurobject-description {
  --cm-removed-font-size: var(--cm-object-body-size) !important;
  --cm-removed-line-height: 1.55 !important;
}

@media (max-width: 980px) {
  body:not(.et-fb) .cm-detail-beschrijving--met-foto {
    grid-template-columns: 1fr !important;
    row-gap: 20px;
  }
  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-inhoud {
    padding: 0 !important;
  }
}

@media (max-width: 640px) {
  body:not(.et-fb) {
    --cm-object-body-size: 15px;
    --cm-object-title-size: 28px;
  }
}


/* =========================================================
   CasaMia v12.6.23 — beschrijvingsblok 35% lager
   en titel huurprijzen exact gecentreerd
   ========================================================= */
@media (min-width: 981px) {
  body:not(.et-fb) .cm-detail-beschrijving--met-foto {
    height: 254px !important;
    min-height: 254px !important;
    max-height: 254px !important;
  }

  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-foto,
  body:not(.et-fb) .cm-detail-beschrijving--met-foto .cm-detail-beschrijving-foto img {
    height: 254px !important;
    min-height: 254px !important;
    max-height: 254px !important;
  }
}

body:not(.et-fb) .cm-prijsoptie2-title,
body:not(.et-fb) h2.cm-prijsoptie2-title {
  display: block !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}


/* =========================================================
   CasaMia v12.6.24 — titel Huurprijzen exact gecentreerd
   ========================================================= */
body:not(.et-fb) .cm-prijsoptie2-subtitle {
  display: block !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}


/* =========================================================
   CasaMia v12.6.41 — standaard kleine object-sectietitel
   Gebruikt voor objectnaam, Inclusief, Exclusief en Overige.
   Eén centrale maat voor toekomstige gelijke koppen.
   ========================================================= */
body:not(.et-fb) .cm-object-section-title {
  margin: 0 0 14px;
  color: #990033;
  --cm-removed-font-size: 20px;
  --cm-removed-line-height: 1.2;
  --cm-removed-font-weight: 500;
}

body:not(.et-fb) .cm-object-extra-head .cm-object-section-title {
  margin: 0;
}

body:not(.et-fb) .cm-detail-objectnaam {
  --cm-removed-font-size: 20px;
}


/* =========================================================
   CasaMia v12.6.46 — Header werkelijk over homepagehero
   met bestaande header transparant over de hero
   Shortcode: [casamia_home_hero]
   ========================================================= */

/* De Divi-rij mag de hero niet opsluiten in de contentbreedte. */
body .cm-home-hero {
  --cm-home-hero-image: none;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: none;
  min-height: clamp(560px, 72vh, 820px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background-color: #6f665e;
  background-image: var(--cm-home-hero-image);
  background-size: cover;
  background-position: center;
}

body .cm-home-hero.no-image {
  background: linear-gradient(135deg, #725a4e 0%, #9b7d68 48%, #595b4b 100%);
}

body .cm-home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 14, 12, .30) 0%, rgba(18, 14, 12, .20) 36%, rgba(18, 14, 12, .58) 100%);
}

body .cm-home-hero__inner {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
  padding: 155px 0 86px;
  text-align: center;
  color: #fff;
}

body .cm-home-hero__title {
  margin: 0;
  padding: 0;
  color: #fff !important;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 700;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .40);
}

body .cm-home-hero__subtitle {
  max-width: 760px;
  margin: 18px auto 36px;
  color: #fff;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.4;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .42);
}

body .cm-home-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(900px, 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .24);
}

body .cm-home-search__icon {
  display: grid;
  place-items: center;
  width: 50px;
  color: #990033;
  font-size: 19px;
}

body .cm-home-search__input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 10px;
  border: 0 !important;
  outline: 0;
  background: transparent;
  color: #35302c;
  font-size: 17px;
  line-height: 1.2;
  box-shadow: none !important;
}

body .cm-home-search__input::placeholder {
  color: #77716d;
  opacity: 1;
}

body .cm-home-search__button {
  min-width: 122px;
  height: 52px;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  background: #990033;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}

body .cm-home-search__button:hover,
body .cm-home-search__button:focus-visible {
  background: #7c0029;
  transform: translateY(-1px);
}

body .cm-home-hero__quicklinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 20px;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 1px 9px rgba(0, 0, 0, .5);
}

body .cm-home-hero__quicklinks span {
  padding: 6px 0;
  font-weight: 700;
}

body .cm-home-hero__quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 999px;
  background: rgba(25, 20, 17, .28);
  color: #fff !important;
  text-decoration: none;
  backdrop-filter: blur(3px);
}

body .cm-home-hero__quicklinks a:hover,
body .cm-home-hero__quicklinks a:focus-visible {
  background: rgba(153, 0, 51, .90);
  border-color: #fff;
}

@media (max-width: 767px) {
  body .cm-home-hero {
    min-height: 620px;
    border-radius: 0 0 20px 20px;
  }

  body .cm-home-hero__inner {
    width: min(100% - 28px, 680px);
    padding: 135px 0 52px;
  }

  body .cm-home-search {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0;
    padding: 7px;
    border-radius: 24px;
  }

  body .cm-home-search__input {
    height: 48px;
    padding-right: 8px;
    font-size: 16px;
  }

  body .cm-home-search__button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 5px;
    border-radius: 17px;
  }

  body .cm-home-hero__quicklinks {
    margin-top: 16px;
  }
}



/* Divi kan de shortcode in meerdere wrappers plaatsen. Deze wrappers mogen
   de homepagehero niet versmallen of extra witruimte geven. */
body .et_pb_module:has(> .et_pb_module_inner > .cm-home-hero),
body .et_pb_module_inner:has(> .cm-home-hero),
body .et_pb_text_inner:has(> .cm-home-hero) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body .et_pb_row:has(.cm-home-hero),
body .et_pb_column:has(.cm-home-hero),
body .et_pb_section:has(.cm-home-hero) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

/* In de Visual Builder blijft de beheerbalk zichtbaar; de hero zelf moet
   daaronder wel volledig gestyled en direct controleerbaar zijn. */
body.et-fb .cm-home-hero {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Fallback voor browsers of Divi-weergaven waarin :has() niet actief is. */
.cm-home-hero-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* =========================================================
   CasaMia v12.6.47 — Homepage hero finetuning
   ========================================================= */

/* Hero circa 80 px hoger voor meer impact. */
body .cm-home-hero {
  min-height: clamp(640px, calc(72vh + 80px), 900px);
}

@media (max-width: 980px) {
  body .cm-home-hero {
    min-height: 700px;
  }
}

@media (max-width: 767px) {
  body .cm-home-hero {
    min-height: 680px;
  }
}


/* =========================================================
   CasaMia v12.6.48 — Bussana testachtergrond
   ========================================================= */

body .cm-home-hero.has-image .cm-home-hero__overlay {
  background:
    linear-gradient(180deg, rgba(36, 31, 27, .08) 0%, rgba(36, 31, 27, .14) 38%, rgba(36, 31, 27, .38) 100%);
}

body .cm-home-hero.has-image {
  background-position: center 46%;
}

@media (max-width: 767px) {
  body .cm-home-hero.has-image {
    background-position: 58% center;
  }
}

/* =========================================================
   CasaMia v12.6.51 — bredere homepagezoekbalk
   ========================================================= */
.cm-home-hero .cm-home-search,
body .cm-home-hero .cm-home-search {
  width: min(1000px, calc(100% - 48px)) !important;
  max-width: 1000px !important;
}


/* =========================================================
   CasaMia v12.6.52 — tijdelijke knop uit Divi-header
   ========================================================= */

/* Verberg de tijdelijke knopmodule in de globale Divi-header. */
body .et-l--header .et_pb_button_module_wrapper,
body .et-l--header .et_pb_button {
  display: none !important;
}

/* Verwijder waar ondersteund ook de lege kolom van de knop. */
@supports selector(.et_pb_column:has(.et_pb_button_module_wrapper)) {
  body .et-l--header .et_pb_column:has(.et_pb_button_module_wrapper) {
    display: none !important;
  }
}

/* =========================================================
   CasaMia v12.6.53 — Homepage blok 2: Onze regio's
   Shortcode: [casamia_home_regios]
   ========================================================= */

.cm-home-regios-wrap {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
  background: #fff;
}

.cm-home-regios {
  width: 100%;
  padding: clamp(58px, 6vw, 86px) 0 clamp(52px, 5vw, 76px);
  background: linear-gradient(180deg, #fff 0%, #fdfbf8 100%);
}

.cm-home-regios__inner {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.cm-home-regios__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.cm-home-regios__heading {
  max-width: 760px;
}

.cm-home-regios__heading h2 {
  margin: 0;
  padding: 0;
  color: #990033;}

.cm-home-regios__heading p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #5f5752;}

.cm-home-regios__controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 5px;
}

.cm-home-regios__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #990033;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

.cm-home-regios__arrow:hover:not(:disabled) {
  color: #6f0025;
  transform: translateY(-1px);
}

.cm-home-regios__arrow:disabled {
  opacity: .25;
  cursor: default;
}

.cm-home-regios.is-static .cm-home-regios__controls {
  visibility: hidden;
  pointer-events: none;
}

.cm-home-regios__track {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 2px 2px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.cm-home-regios__track::-webkit-scrollbar {
  display: none;
}

.cm-home-regio-card {
  flex: 0 0 calc((100% - ((var(--cm-regio-cols, 3) - 1) * 16px)) / var(--cm-regio-cols, 3));
  min-width: 0;
  height: clamp(180px, 14vw, 220px);
  scroll-snap-align: start;
}

.cm-home-regio-card__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #e9e2d8;
  box-shadow: 0 8px 22px rgba(43, 34, 28, .11);
  color: #fff;
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease;
}

.cm-home-regio-card__link:hover,
.cm-home-regio-card__link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(43, 34, 28, .18);
}

.cm-home-regio-card__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.cm-home-regio-card__link:hover .cm-home-regio-card__image,
.cm-home-regio-card__link:focus-visible .cm-home-regio-card__image {
  transform: scale(1.045);
}

.cm-home-regio-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(30, 24, 20, .02) 30%, rgba(30, 24, 20, .75) 100%);
}

.cm-home-regio-card.no-image .cm-home-regio-card__link {
  background: linear-gradient(135deg, #d8c6b0, #9b785f);
}

.cm-home-regio-card__content {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  display: block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .38);
}

.cm-home-regio-card__content h3 {
  display: block;
  color: #fff;}

.cm-home-regio-card__content p {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .92);}

.cm-home-regios__footer {
  margin-top: 23px;
  text-align: center;
}

.cm-home-regios__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #990033;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.cm-home-regios__all span {
  font-size: 21px;
  transition: transform .18s ease;
}

.cm-home-regios__all:hover,
.cm-home-regios__all:focus-visible {
  color: #6f0025;
}

.cm-home-regios__all:hover span,
.cm-home-regios__all:focus-visible span {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .cm-home-regios {
    --cm-regio-cols: 3 !important;
  }

  .cm-home-regio-card {
    flex-basis: calc((100% - 32px) / 3);
    height: 210px;
  }
}

@media (max-width: 767px) {
  .cm-home-regios {
    padding: 46px 0 52px;
  }

  .cm-home-regios__inner {
    width: min(100% - 32px, 1320px);
  }

  .cm-home-regios__header {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
  }

  .cm-home-regios__heading p {
    margin-top: 9px;
  }

  .cm-home-regios__controls {
    gap: 9px;
    padding-top: 2px;
  }

  .cm-home-regios__arrow {
    width: 28px;
    height: 28px;
    font-size: 25px;
  }

  .cm-home-regio-card {
    flex-basis: min(82vw, 330px);
    height: 215px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .cm-home-regio-card__link,
  .cm-home-regio-card__image,
  .cm-home-regios__arrow,
  .cm-home-regios__all span {
    transition: none !important;
  }
}


/* =========================================================
   CasaMia v12.6.55 — compacte homepageblokken zonder hero-invloed
   Alleen de interne ruimte van het regioblok is verkleind.
   Divi-wrappers en de homepagehero blijven onaangetast.
   ========================================================= */

.cm-home-block-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.cm-home-regios {
  padding-top: clamp(30px, 3.2vw, 44px);
  padding-bottom: clamp(34px, 3.6vw, 48px);
}

@media (max-width: 767px) {
  .cm-home-regios {
    padding-top: 30px;
    padding-bottom: 38px;
  }
}


/* =========================================================
   CasaMia v12.6.56 — regioblok weer correct onder de hero
   Herstelt de volledige viewportbreedte van het regioblok.
   De compacte verticale ruimte uit v12.6.55 blijft behouden.
   ========================================================= */

/* v12.6.55 maakte de generieke wrapper 100% breed, terwijl het
   regioblok nog met left:50% en margin-left:-50vw werkte. Daardoor
   schoof het blok een halve pagina naar rechts. */
.cm-home-regios-wrap.cm-home-block-wrap {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: 0;
  padding: 0;
  clear: both;
}

/* Divi-modules rond dit homepageblok mogen geen extra zijmarge toevoegen. */
body .et_pb_module:has(> .et_pb_module_inner > .cm-home-regios-wrap),
body .et_pb_module_inner:has(> .cm-home-regios-wrap),
body .et_pb_text_inner:has(> .cm-home-regios-wrap) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* =========================================================
   CasaMia v12.6.57 — hero en regioblok dichter bij elkaar
   Verwijdert uitsluitend de standaard Divi-bovenruimte rond
   het regioblok in de gewone pagina-inhoud (#main-content).
   De globale koptekst en de homepagehero blijven onaangetast.
   ========================================================= */

@supports selector(#main-content .et_pb_section:has(.cm-home-regios-wrap)) {
  body.cm-home-hero-page #main-content .et_pb_section:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_row:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_column:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_module:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_module_inner:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_code_inner:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_text_inner:has(.cm-home-regios-wrap) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.cm-home-hero-page #main-content .et_pb_row:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_column:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_module:has(.cm-home-regios-wrap),
  body.cm-home-hero-page #main-content .et_pb_module_inner:has(.cm-home-regios-wrap) {
    width: 100% !important;
    max-width: none !important;
  }
}

body.cm-home-hero-page #main-content .cm-home-regios {
  padding-top: clamp(24px, 2vw, 30px);
  padding-bottom: clamp(30px, 2.6vw, 38px);
}

@media (max-width: 767px) {
  body.cm-home-hero-page #main-content .cm-home-regios {
    padding-top: 22px;
    padding-bottom: 30px;
  }
}



/* =========================================================
   CasaMia v12.6.58 — Divi-wrapper van het regioblok compact
   De bijbehorende JavaScript markeert de echte Divi-sectie,
   rij, kolom en module rond [casamia_home_regios]. Hierdoor
   verdwijnt ook in Divi 5 de standaard boven- en onderruimte.
   ========================================================= */

body.cm-home-hero-page .cm-home-regios-host {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.cm-home-hero-page .et_pb_section.cm-home-regios-host,
body.cm-home-hero-page .et_pb_row.cm-home-regios-host,
body.cm-home-hero-page .et_pb_column.cm-home-regios-host,
body.cm-home-hero-page .et_pb_module.cm-home-regios-host,
body.cm-home-hero-page .et_pb_module_inner.cm-home-regios-host,
body.cm-home-hero-page .et_pb_code_inner.cm-home-regios-host,
body.cm-home-hero-page .et_pb_text_inner.cm-home-regios-host {
  min-height: 0 !important;
}

body.cm-home-hero-page .et_pb_row.cm-home-regios-host,
body.cm-home-hero-page .et_pb_column.cm-home-regios-host,
body.cm-home-hero-page .et_pb_module.cm-home-regios-host,
body.cm-home-hero-page .et_pb_module_inner.cm-home-regios-host {
  width: 100% !important;
  max-width: none !important;
}

body.cm-home-hero-page .cm-home-regios-wrap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.cm-home-hero-page .cm-home-regios {
  padding-top: clamp(16px, 1.5vw, 22px);
}

@media (max-width: 767px) {
  body.cm-home-hero-page .cm-home-regios {
    padding-top: 16px;
  }
}


/* =========================================================
   CasaMia v12.6.59 — bovenruimte Onze regio's definitief compact
   Deze regel is niet meer afhankelijk van een body-class of
   Divi-wrapperdetectie en overschrijft daarom ook Divi 5.
   ========================================================= */
.cm-home-regios-wrap > .cm-home-regios {
  padding-top: 18px !important;
  padding-bottom: 32px !important;
}

@media (max-width: 767px) {
  .cm-home-regios-wrap > .cm-home-regios {
    padding-top: 16px !important;
    padding-bottom: 28px !important;
  }
}


/* =========================================================
   CasaMia v12.6.60 — Divi-buitenruimte rond Onze regio's verwijderd
   Werkt zonder homepage-bodyclass en ook in Divi 5.
   ========================================================= */

/* CSS-route: haal de standaard Divi-afstand weg bij alle echte
   wrappers die het regioblok bevatten. */
@supports selector(.et_pb_section:has(.cm-home-regios-wrap)) {
  body .et_pb_section:has(.cm-home-regios-wrap),
  body .et_pb_row:has(.cm-home-regios-wrap),
  body .et_pb_column:has(.cm-home-regios-wrap),
  body .et_pb_module:has(.cm-home-regios-wrap),
  body .et_pb_module_inner:has(.cm-home-regios-wrap),
  body .et_pb_code_inner:has(.cm-home-regios-wrap),
  body .et_pb_text_inner:has(.cm-home-regios-wrap) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }

  body .et_pb_row:has(.cm-home-regios-wrap),
  body .et_pb_column:has(.cm-home-regios-wrap),
  body .et_pb_module:has(.cm-home-regios-wrap),
  body .et_pb_module_inner:has(.cm-home-regios-wrap) {
    width: 100% !important;
    max-width: none !important;
  }
}

/* JavaScript-route: dezelfde correctie blijft actief wanneer Divi
   andere/generated wrappers gebruikt. */
body .cm-home-regios-host {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

body .cm-home-regios-wrap > .cm-home-regios {
  padding-top: 22px !important;
  padding-bottom: 32px !important;
}

@media (max-width: 767px) {
  body .cm-home-regios-wrap > .cm-home-regios {
    padding-top: 18px !important;
    padding-bottom: 28px !important;
  }
}

/* =========================================================
   CasaMia v12.6.61 — onderafstand van de homepagehero verwijderd
   De afstand zat aan de Divi-host van de hero, niet in het regioblok.
   Alleen de wrappers rond [casamia_home_hero] en de direct volgende
   regiowrapper worden compact gemaakt.
   ========================================================= */

body .cm-home-hero-host {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

body .et_pb_section.cm-home-hero-host,
body .et_pb_row.cm-home-hero-host,
body .et_pb_column.cm-home-hero-host,
body .et_pb_module.cm-home-hero-host,
body .et_pb_module_inner.cm-home-hero-host,
body .et_pb_code_inner.cm-home-hero-host,
body .et_pb_text_inner.cm-home-hero-host {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body .cm-home-regios-after-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@supports selector(.et_pb_section:has(.cm-home-hero-wrap)) {
  body .et_pb_section:has(.cm-home-hero-wrap),
  body .et_pb_row:has(.cm-home-hero-wrap),
  body .et_pb_column:has(.cm-home-hero-wrap),
  body .et_pb_module:has(.cm-home-hero-wrap),
  body .et_pb_module_inner:has(.cm-home-hero-wrap),
  body .et_pb_code_inner:has(.cm-home-hero-wrap),
  body .et_pb_text_inner:has(.cm-home-hero-wrap) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }
}



/* =========================================================
   CasaMia v12.6.62 — Onze regio's als vast 3 x 3 raster
   Negen regiokaarten staan op desktop in drie kolommen en
   drie rijen. De schuifpijlen en horizontale carrousel zijn weg.
   ========================================================= */

.cm-home-regios--grid .cm-home-regios__header {
  align-items: flex-start;
}

.cm-home-regios--grid .cm-home-regios__controls {
  display: none !important;
}

.cm-home-regios--grid .cm-home-regios__track.cm-home-regios__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
  width: 100%;
  padding: 2px 2px 10px;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

.cm-home-regios--grid .cm-home-regio-card {
  flex: none !important;
  width: auto !important;
  min-width: 0;
  height: clamp(180px, 14vw, 220px);
  scroll-snap-align: none;
}

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

  .cm-home-regios--grid .cm-home-regio-card {
    height: 210px;
  }
}

@media (max-width: 600px) {
  .cm-home-regios--grid .cm-home-regios__track.cm-home-regios__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cm-home-regios--grid .cm-home-regio-card {
    width: 100% !important;
    height: 215px;
  }
}

/* =========================================================
   CasaMia v12.6.63 — Homepage blok 3: Mooiste plaatsen
   Shortcode: [casamia_home_plaatsen]
   ========================================================= */

.cm-home-plaatsen-wrap {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
  background: #f8f4ee;
}

.cm-home-plaatsen {
  width: 100%;
  padding: clamp(42px, 4.5vw, 64px) 0 clamp(48px, 5vw, 70px);
  background: #f8f4ee;
}

.cm-home-plaatsen__inner {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.cm-home-plaatsen__header {
  max-width: 780px;
  margin: 0 0 28px;
}

.cm-home-plaatsen__header h2 {
  margin: 0;
  padding: 0;
  color: #990033;}

.cm-home-plaatsen__header p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #5f5752;}

.cm-home-plaatsen__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cm-home-plaats-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(43, 34, 28, .10);
  flex-direction: column;
  transition: transform .24s ease, box-shadow .24s ease;
}

.cm-home-plaats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 31px rgba(43, 34, 28, .16);
}

.cm-home-plaats-card__image-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #d8c6b0, #9b785f);
}

.cm-home-plaats-card__image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.cm-home-plaats-card:hover .cm-home-plaats-card__image-link img,
.cm-home-plaats-card__image-link:focus-visible img {
  transform: scale(1.045);
}

.cm-home-plaats-card__body {
  display: flex;
  flex: 1 1 auto;
  padding: 22px 22px 24px;
  flex-direction: column;
  align-items: flex-start;
}

.cm-home-plaats-card__regio {
  margin: 0 0 7px;
  color: #8a7467;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
}

.cm-home-plaats-card h3 {
  margin: 0;
  padding: 0;}

.cm-home-plaats-card h3 a {
  color: #990033;
  text-decoration: none;
}

.cm-home-plaats-card h3 a:hover,
.cm-home-plaats-card h3 a:focus-visible {
  color: #6f0025;
}

.cm-home-plaats-card__body > p {
  margin: 13px 0 19px;
  color: #5f5752;
  font-size: 16px;
  line-height: 1.58;
}

.cm-home-plaats-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #990033;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.cm-home-plaats-card__link span,
.cm-home-plaatsen__all span {
  font-size: 20px;
  transition: transform .18s ease;
}

.cm-home-plaats-card__link:hover,
.cm-home-plaats-card__link:focus-visible,
.cm-home-plaatsen__all:hover,
.cm-home-plaatsen__all:focus-visible {
  color: #6f0025;
}

.cm-home-plaats-card__link:hover span,
.cm-home-plaats-card__link:focus-visible span,
.cm-home-plaatsen__all:hover span,
.cm-home-plaatsen__all:focus-visible span {
  transform: translateX(4px);
}

.cm-home-plaatsen__footer {
  margin-top: 25px;
  text-align: center;
}

.cm-home-plaatsen__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #990033;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

/* Ook dit homepageblok krijgt geen extra Divi-buitenruimte. */
@supports selector(.et_pb_section:has(.cm-home-plaatsen-wrap)) {
  body .et_pb_section:has(.cm-home-plaatsen-wrap),
  body .et_pb_row:has(.cm-home-plaatsen-wrap),
  body .et_pb_column:has(.cm-home-plaatsen-wrap),
  body .et_pb_module:has(.cm-home-plaatsen-wrap),
  body .et_pb_module_inner:has(.cm-home-plaatsen-wrap),
  body .et_pb_code_inner:has(.cm-home-plaatsen-wrap),
  body .et_pb_text_inner:has(.cm-home-plaatsen-wrap) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }

  body .et_pb_row:has(.cm-home-plaatsen-wrap),
  body .et_pb_column:has(.cm-home-plaatsen-wrap),
  body .et_pb_module:has(.cm-home-plaatsen-wrap),
  body .et_pb_module_inner:has(.cm-home-plaatsen-wrap) {
    width: 100% !important;
    max-width: none !important;
  }
}

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

@media (max-width: 600px) {
  .cm-home-plaatsen {
    padding: 38px 0 48px;
  }

  .cm-home-plaatsen__inner {
    width: min(100% - 32px, 1320px);
  }

  .cm-home-plaatsen__header {
    margin-bottom: 22px;
  }

  .cm-home-plaatsen__header p {
    margin-top: 9px;
  }

  .cm-home-plaatsen__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =========================================================
   CasaMia v12.6.64 — Homepageblok: Waarom kiezen voor CasaMia
   Shortcode: [casamia_home_waarom]
   60% tekst / 40% foto; foto volgt de hoogte van de tekstkolom.
   ========================================================= */

.cm-home-waarom-wrap {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 0 -50vw;
  padding: 0;
  clear: both;
  overflow: hidden;
  background: #f8f4ee;
}

.cm-home-waarom {
  width: 100%;
  padding: clamp(44px, 4.5vw, 66px) 0;
  background: #f8f4ee;
}

.cm-home-waarom__inner {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.cm-home-waarom__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(310px, 2fr);
  align-items: stretch;
  gap: clamp(34px, 4vw, 62px);
}

.cm-home-waarom--reverse .cm-home-waarom__content {
  order: 2;
}

.cm-home-waarom--reverse .cm-home-waarom__media {
  order: 1;
}

.cm-home-waarom__content {
  display: flex;
  min-width: 0;
  padding: clamp(12px, 1.6vw, 22px) 0;
  flex-direction: column;
  justify-content: center;
}

.cm-home-waarom__content h2 {
  margin: 0 0 18px;
  padding: 0;
  color: #990033;}

.cm-home-waarom__text {
  max-width: 760px;
  color: #4f4945;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.68;
}

.cm-home-waarom__text p {
  margin: 0 0 15px;
}

.cm-home-waarom__text p:last-child {
  margin-bottom: 0;
}

.cm-home-waarom__text ul {
  display: grid;
  gap: 9px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

.cm-home-waarom__text li {
  position: relative;
  margin: 0;
  padding-left: 29px;
}

.cm-home-waarom__text li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #990033;
  font-family: "Font Awesome 6 Free";
  font-size: 16px;
  font-weight: 900;
  content: "";
}

.cm-home-waarom__media {
  position: relative;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #e3d5c6, #b99e87);
  box-shadow: 0 10px 28px rgba(43, 34, 28, .12);
}

.cm-home-waarom__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Verwijder Divi's buitenruimte rond uitsluitend dit shortcodeblok. */
@supports selector(.et_pb_section:has(.cm-home-waarom-wrap)) {
  body .et_pb_section:has(.cm-home-waarom-wrap),
  body .et_pb_row:has(.cm-home-waarom-wrap),
  body .et_pb_column:has(.cm-home-waarom-wrap),
  body .et_pb_module:has(.cm-home-waarom-wrap),
  body .et_pb_module_inner:has(.cm-home-waarom-wrap),
  body .et_pb_code_inner:has(.cm-home-waarom-wrap),
  body .et_pb_text_inner:has(.cm-home-waarom-wrap) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }

  body .et_pb_row:has(.cm-home-waarom-wrap),
  body .et_pb_column:has(.cm-home-waarom-wrap),
  body .et_pb_module:has(.cm-home-waarom-wrap),
  body .et_pb_module_inner:has(.cm-home-waarom-wrap) {
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 900px) {
  .cm-home-waarom__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .cm-home-waarom {
    padding: 38px 0 46px;
  }

  .cm-home-waarom__inner {
    width: min(100% - 32px, 1320px);
  }

  .cm-home-waarom__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cm-home-waarom__content,
  .cm-home-waarom--reverse .cm-home-waarom__content {
    order: 1;
    padding: 0;
  }

  .cm-home-waarom__media,
  .cm-home-waarom--reverse .cm-home-waarom__media {
    order: 2;
    min-height: 260px;
  }

  .cm-home-waarom__content h2 {
    margin-bottom: 14px;
  }
}

/* =========================================================
   CasaMia v12.6.68 — homepage Onze accommodaties
   Witte achtergrond, maximaal negen, drie zichtbaar en horizontaal bladeren.
   ========================================================= */
.cm-home-accommodaties-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.cm-home-accommodaties {
  width: 100%;
  margin: 0;
  padding: clamp(54px, 6vw, 84px) 0;
  background: #fff;
}

.cm-home-accommodaties__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.cm-home-accommodaties__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 34px;
}

.cm-home-accommodaties__header {
  max-width: 760px;
  margin: 0;
}

.cm-home-accommodaties__header h2 {
  margin: 0 0 12px;
  color: #990033;}

.cm-home-accommodaties__header p {
  margin: 0;
  color: #5d554f;}

.cm-home-accommodaties__nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
  padding-bottom: 4px;
}

.cm-home-accommodaties__arrow {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #990033;
  font: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.cm-home-accommodaties__arrow:hover:not(:disabled),
.cm-home-accommodaties__arrow:focus-visible:not(:disabled) {
  transform: translateX(-3px);
}

.cm-home-accommodaties__arrow--next:hover:not(:disabled),
.cm-home-accommodaties__arrow--next:focus-visible:not(:disabled) {
  transform: translateX(3px);
}

.cm-home-accommodaties__arrow:disabled {
  opacity: .28;
  cursor: default;
}

.cm-home-accommodaties__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 52px) / 3);
  grid-template-columns: none;
  gap: 26px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cm-home-accommodaties__grid::-webkit-scrollbar {
  display: none;
}

.cm-home-accommodatie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(62, 49, 40, .08);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.cm-home-accommodatie-card__image {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e7ded5;
  text-decoration: none;
}

.cm-home-accommodatie-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.cm-home-accommodatie-card:hover .cm-home-accommodatie-card__image img {
  transform: scale(1.025);
}

.cm-home-accommodatie-card__image > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #74685f;
}

.cm-home-accommodatie-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px 24px 22px;
}

.cm-home-accommodatie-card__body h3 {
  margin: 0 0 8px;
  padding: 0;}

.cm-home-accommodatie-card__body h3 a {
  color: #990033;
  text-decoration: none;
}

.cm-home-accommodatie-card__location {
  margin: 0 0 13px;
  color: #776b63;
  font-size: 14px;
  line-height: 1.45;
}

.cm-home-accommodatie-card__location i {
  margin-right: 4px;
  color: #990033;
}

.cm-home-accommodatie-card__intro {
  display: -webkit-box;
  margin: 0 0 20px;
  overflow: hidden;
  color: #554d47;
  font-size: 15px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.cm-home-accommodatie-card__link {
  margin-top: auto;
  color: #990033;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.cm-home-accommodatie-card__link span {
  display: inline-block;
  margin-left: 6px;
  transition: transform .2s ease;
}

.cm-home-accommodatie-card__link:hover span,
.cm-home-accommodatie-card__link:focus-visible span {
  transform: translateX(4px);
}

@supports selector(.et_pb_section:has(.cm-home-accommodaties-wrap)) {
  body .et_pb_section:has(.cm-home-accommodaties-wrap),
  body .et_pb_row:has(.cm-home-accommodaties-wrap),
  body .et_pb_column:has(.cm-home-accommodaties-wrap),
  body .et_pb_module:has(.cm-home-accommodaties-wrap),
  body .et_pb_module_inner:has(.cm-home-accommodaties-wrap),
  body .et_pb_code_inner:has(.cm-home-accommodaties-wrap),
  body .et_pb_text_inner:has(.cm-home-accommodaties-wrap) {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 980px) {
  .cm-home-accommodaties__grid {
    grid-auto-columns: calc((100% - 26px) / 2);
  }
}

@media (max-width: 640px) {
  .cm-home-accommodaties {
    padding: 46px 0;
  }
  .cm-home-accommodaties__inner {
    width: min(100% - 30px, 1320px);
  }
  .cm-home-accommodaties__top {
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
  }
  .cm-home-accommodaties__header p {
  }
  .cm-home-accommodaties__nav {
    gap: 12px;
  }
  .cm-home-accommodaties__arrow {
    min-width: 28px;
    font-size: 29px;
  }
  .cm-home-accommodaties__grid {
    grid-auto-columns: 88%;
    gap: 20px;
  }
}


/* =========================================================
   CasaMia v12.6.69 — Reisverhalen, Tips en Nieuws
   Drie rustige redactionele kolommen op één regel.
   ========================================================= */
.cm-home-inspiratie-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.cm-home-inspiratie {
  width: 100%;
  margin: 0;
  padding: clamp(44px, 5vw, 68px) 0;
  background: #fff;
  border-top: 1px solid rgba(62, 49, 40, .08);
  border-bottom: 1px solid rgba(62, 49, 40, .08);
}

.cm-home-inspiratie__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.cm-home-inspiratie__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.cm-home-inspiratie-card {
  min-width: 0;
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(62, 49, 40, .10);
}

.cm-home-inspiratie-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.cm-home-inspiratie-card__content {
  min-height: 112px;
  margin: 0 0 17px;
}

.cm-home-inspiratie-card h3 {
  margin: 0 0 8px;
  padding: 0;
  color: #3e3128;}

.cm-home-inspiratie-card p {
  margin: 0 0 2px;
  color: #7a716b;}

.cm-home-inspiratie-card__overview {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #990033;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  text-decoration: none;
}

.cm-home-inspiratie-card__overview span {
  transition: transform .2s ease;
}

.cm-home-inspiratie-card__overview:hover span,
.cm-home-inspiratie-card__overview:focus-visible span {
  transform: translateX(4px);
}

.cm-home-inspiratie-card__image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(135deg, #eee5dc, #d9cbbb);
  text-decoration: none;
}

.cm-home-inspiratie-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.cm-home-inspiratie-card:hover .cm-home-inspiratie-card__image img {
  transform: scale(1.025);
}

.cm-home-inspiratie-card__image.no-image .cm-home-inspiratie-card__placeholder-title {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  place-items: center;
  color: #76675d;
}

@supports selector(.et_pb_section:has(.cm-home-inspiratie-wrap)) {
  body .et_pb_section:has(.cm-home-inspiratie-wrap),
  body .et_pb_row:has(.cm-home-inspiratie-wrap),
  body .et_pb_column:has(.cm-home-inspiratie-wrap),
  body .et_pb_module:has(.cm-home-inspiratie-wrap),
  body .et_pb_module_inner:has(.cm-home-inspiratie-wrap),
  body .et_pb_code_inner:has(.cm-home-inspiratie-wrap),
  body .et_pb_text_inner:has(.cm-home-inspiratie-wrap) {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

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

  .cm-home-inspiratie-card:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .cm-home-inspiratie-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
  }
}

@media (max-width: 640px) {
  .cm-home-inspiratie {
    padding: 40px 0;
  }

  .cm-home-inspiratie__inner {
    width: min(100% - 30px, 1320px);
  }

  .cm-home-inspiratie__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cm-home-inspiratie-card,
  .cm-home-inspiratie-card:nth-child(2),
  .cm-home-inspiratie-card:last-child {
    grid-column: auto;
    max-width: none;
    padding: 0 0 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(62, 49, 40, .10);
  }

  .cm-home-inspiratie-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .cm-home-inspiratie-card__content {
    min-height: 0;
  }
}

/* =========================================================
   CasaMia v12.6.71 — nieuw transparant logo in de header
   ========================================================= */
body #main-header #logo,
body .et-l--header .et_pb_menu__logo img {
  width: auto !important;
  height: auto !important;
  max-width: 210px !important;
  max-height: 84px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}

body .et-l--header .et_pb_menu__logo-wrap,
body .et-l--header .et_pb_menu__logo {
  width: 225px !important;
  min-width: 225px !important;
  max-width: 225px !important;
  overflow: visible !important;
}

@media (max-width: 980px) {
  body #main-header #logo,
  body .et-l--header .et_pb_menu__logo img {
    max-width: 165px !important;
    max-height: 64px !important;
  }

  body .et-l--header .et_pb_menu__logo-wrap,
  body .et-l--header .et_pb_menu__logo {
    width: 175px !important;
    min-width: 175px !important;
    max-width: 175px !important;
  }
}


/* =========================================================
   CasaMia v12.6.73 — witte header boven de homepagehero
   De bestaande Divi-header staat weer los van de hero, net als
   op de regiopagina. Logo en menu gebruiken daardoor opnieuw
   de normale globale headeropmaak.
   ========================================================= */
body.cm-home-hero-page #main-header,
body.et-fb:has(.cm-home-hero) #main-header,
body.cm-home-hero-page .et-l--header,
body.et-fb:has(.cm-home-hero) .et-l--header {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: 100% !important;
  margin: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.cm-home-hero-page .et-l--header .et_pb_section,
body.et-fb:has(.cm-home-hero) .et-l--header .et_pb_section {
  background-color: #fff !important;
  background-image: none !important;
}

/* =========================================================
   CasaMia v12.6.75 — regiokaarten met compacter wit tekstvlak op de homepage
   Zachte beige sectie, rustige foto's en tekst onder het beeld.
   ========================================================= */
.cm-home-regios-wrap,
.cm-home-regios,
body.cm-home-hero-page #main-content .cm-home-regios {
  background: #f7f1e8 !important;
}

.cm-home-regios {
  padding-top: clamp(42px, 4.5vw, 62px) !important;
  padding-bottom: clamp(48px, 5vw, 70px) !important;
}

.cm-home-regios__header {
  margin-bottom: 30px !important;
}

.cm-home-regios__heading {
  max-width: 690px;
}

.cm-home-regios__heading h2 {
  color: #990033 !important;}

.cm-home-regios__heading p {
  color: #625a54 !important;}

.cm-home-regios--grid .cm-home-regios__track.cm-home-regios__grid {
  gap: 24px 22px !important;
  padding: 0 2px 8px !important;
  align-items: start;
}

.cm-home-regios--grid .cm-home-regio-card,
.cm-home-regio-card {
  height: auto !important;
  min-height: 0;
  align-self: start;
}

.cm-home-regio-card__link {
  position: relative;
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(81, 64, 52, .08);
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(61, 46, 35, .09) !important;
  color: #433a35 !important;
  text-decoration: none !important;
  isolation: auto !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
}

.cm-home-regio-card__link:hover,
.cm-home-regio-card__link:focus-visible {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 30px rgba(61, 46, 35, .14) !important;
}

.cm-home-regio-card__link:focus-visible {
  outline: 3px solid rgba(153, 0, 51, .28);
  outline-offset: 3px;
}

.cm-home-regio-card__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: clamp(150px, 12vw, 178px);
  overflow: hidden;
  background: #e6ddd1;
}

.cm-home-regio-card__image {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  filter: saturate(.86) contrast(.97) brightness(1.02);
  transform: scale(1.001);
  transition: transform .55s ease, filter .28s ease !important;
}

.cm-home-regio-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(246, 230, 206, .07);
}

.cm-home-regio-card__link:hover .cm-home-regio-card__image,
.cm-home-regio-card__link:focus-visible .cm-home-regio-card__image {
  transform: scale(1.035) !important;
  filter: saturate(.92) contrast(.98) brightness(1.02);
}

.cm-home-regio-card__shade {
  display: none !important;
}

.cm-home-regio-card.no-image .cm-home-regio-card__media {
  background: linear-gradient(145deg, #eadfce 0%, #d5c2aa 100%);
}

.cm-home-regio-card__content {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 18px 14px;
  text-shadow: none !important;
}

.cm-home-regio-card__content h3 {
  display: block;
  margin: 0;
  padding: 0;
  color: #990033 !important;
}

.cm-home-regio-card__content p {
  display: block;
  min-height: 0;
  margin: 6px 0 0;
  color: #625a54 !important;}

.cm-home-regio-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding-top: 0;
  color: #990033;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.cm-home-regio-card__cta > span {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}

.cm-home-regio-card__link:hover .cm-home-regio-card__cta > span,
.cm-home-regio-card__link:focus-visible .cm-home-regio-card__cta > span {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .cm-home-regio-card__media {
    height: 172px;
  }
}

@media (max-width: 600px) {
  .cm-home-regios {
    padding-top: 38px !important;
    padding-bottom: 46px !important;
  }

  .cm-home-regios--grid .cm-home-regios__track.cm-home-regios__grid {
    gap: 18px !important;
  }

  .cm-home-regio-card__media {
    height: min(52vw, 190px);
  }

  .cm-home-regio-card__content {
    padding: 15px 16px 16px;
  }

  .cm-home-regio-card__content p {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cm-home-regio-card__cta > span {
    transition: none !important;
  }
}



/* =========================================================
   CasaMia v12.6.76 — minder verticale ruimte tussen regiokaarten
   + beheerbare kleuren per homepaginaregel via Homepage-inhoud.
   ========================================================= */
.cm-home-regios--grid .cm-home-regios__track.cm-home-regios__grid {
  row-gap: 18px !important;
  column-gap: 22px !important;
}

body .cm-home-hero__title {
  color: var(--cm-home-hero-title-color, #fff) !important;
}

body .cm-home-hero__subtitle {
  color: var(--cm-home-hero-subtitle-color, #fff) !important;
}

.cm-home-regios-wrap,
.cm-home-regios,
body.cm-home-hero-page #main-content .cm-home-regios {
  background: var(--cm-home-regios-bg, #f7f1e8) !important;
}

.cm-home-regios__heading h2 {
  color: var(--cm-home-regios-title-color, #990033) !important;}

.cm-home-regios__heading p {
  color: var(--cm-home-regios-intro-color, #625a54) !important;}

.cm-home-waarom-wrap,
.cm-home-waarom {
  background: var(--cm-home-waarom-bg, #f8f4ee) !important;
}

.cm-home-waarom__content h2 {
  color: var(--cm-home-waarom-title-color, #990033) !important;}

.cm-home-waarom__text {
  color: var(--cm-home-waarom-text-color, #4f4945) !important;
}

.cm-home-plaatsen-wrap,
.cm-home-plaatsen {
  background: var(--cm-home-plaatsen-bg, #f8f4ee) !important;
}

.cm-home-plaatsen__header h2 {
  color: var(--cm-home-plaatsen-title-color, #990033) !important;}

.cm-home-plaatsen__header p {
  color: var(--cm-home-plaatsen-intro-color, #5f5752) !important;}

.cm-home-accommodaties {
  background: var(--cm-home-accommodaties-bg, #ffffff) !important;
}

.cm-home-accommodaties__header h2 {
  color: var(--cm-home-accommodaties-title-color, #990033) !important;}

.cm-home-accommodaties__header p {
  color: var(--cm-home-accommodaties-intro-color, #5d554f) !important;}

.cm-home-inspiratie {
  background: var(--cm-home-inspiratie-bg, #ffffff) !important;
}

.cm-home-inspiratie-card h3 {
  color: var(--cm-home-inspiratie-title-color, #3e3128) !important;}

.cm-home-inspiratie-card p {
  color: var(--cm-home-inspiratie-intro-color, #7a716b) !important;}

@media (max-width: 600px) {
  .cm-home-regios--grid .cm-home-regios__track.cm-home-regios__grid {
    gap: 14px !important;
  }
}


/* =========================================================
   CasaMia v12.6.82 — Zoekuitklap boven regioblok houden
   De homepage-zoeker mag openklappen over het volgende blok
   heen zonder dat "Onze regio's" eroverheen valt.
   ========================================================= */
body .cm-home-hero-wrap,
body .cm-home-hero,
body .cm-home-hero__inner {
  position: relative;
  overflow: visible !important;
}

body .cm-home-hero-wrap,
body .cm-home-hero {
  z-index: 30;
}

body .cm-home-hero__inner,
body .cm-home-hero .cm-filter-search,
body .cm-home-hero .cm-filter-search__field,
body .cm-home-hero .cm-filter-search__panel {
  z-index: 35;
}

body.cm-home-hero-page .cm-home-regios-host,
body.cm-home-hero-page #main-content .cm-home-regios,
body.cm-home-hero-page #main-content .cm-home-regios-wrap {
  position: relative;
  z-index: 1;
}


/* =========================================================
   CasaMia v12.6.95 — Vakantiewoningen tekst breed, kaarten oud formaat
   - Het Italiëgevoel blijft 40% foto / 60% tekst.
   - Kop en introductietekst van Onze vakantiewoningen gebruiken de
     volledige normale inhoudsbreedte.
   - De navigatiepijlen staan direct onder de tekst en boven de kaarten.
   - De accommodatiekaarten zijn hersteld naar hun oude compacte maat.
   ========================================================= */
body .cm-home-waarom--reverse .cm-home-waarom__grid {
  grid-template-columns: minmax(310px, 2fr) minmax(0, 3fr);
}

body .cm-home-accommodaties__inner {
  width: min(1320px, calc(100% - 48px));
  max-width: 1320px;
}

body .cm-home-accommodaties__top {
  display: block;
  margin-bottom: 0;
}

body .cm-home-accommodaties__header {
  width: 100%;
  max-width: none;
}

body .cm-home-accommodaties__header p {
  width: 100%;
  max-width: none;}

body .cm-home-accommodaties__nav {
  justify-content: center;
  width: 100%;
  margin: 12px 0 24px;
  padding: 0;
}

@media (max-width: 900px) {
  body .cm-home-waarom--reverse .cm-home-waarom__grid {
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  }
}

@media (max-width: 767px) {
  body .cm-home-waarom--reverse .cm-home-waarom__grid {
    grid-template-columns: 1fr;
  }

  body .cm-home-accommodaties__inner {
    width: min(100% - 30px, 1320px);
  }

  body .cm-home-accommodaties__nav {
    margin: 10px 0 20px;
  }
}


/* =========================================================
   CasaMia v12.7.2 — Homepage typografie gestandaardiseerd
   Hoofdtitels gebruiken H2, kaarttitels H3 en intro's de
   gewone alineatypografie. Lettertype, grootte en regelhoogte
   komen daardoor uit Divi > Algemene instellingen > Typografie.
   De hero blijft bewust een afzonderlijke visuele H1.
   ========================================================= */


/* =========================================================
   CasaMia v12.7.3 — Homepage regels gelijk en compacter
   - Alle inhoudsregels gebruiken dezelfde kleinere boven- en onderruimte.
   - Divi-secties rond de shortcodes voegen geen extra witruimte meer toe.
   - Kop, intro en inhoud hebben overal dezelfde compacte tussenafstand.
   ========================================================= */
@supports selector(.et_pb_section:has(.cm-home-block-wrap)) {
  body.cm-home-hero-page #main-content .et_pb_section:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_row:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_column:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_module:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_module_inner:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_code_inner:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_text_inner:has(.cm-home-block-wrap) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }

  body.cm-home-hero-page #main-content .et_pb_row:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_column:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_module:has(.cm-home-block-wrap),
  body.cm-home-hero-page #main-content .et_pb_module_inner:has(.cm-home-block-wrap) {
    width: 100% !important;
    max-width: none !important;
  }
}

body.cm-home-hero-page #main-content .cm-home-regios,
body.cm-home-hero-page #main-content .cm-home-plaatsen,
body.cm-home-hero-page #main-content .cm-home-waarom,
body.cm-home-hero-page #main-content .cm-home-accommodaties,
body.cm-home-hero-page #main-content .cm-home-inspiratie {
  padding-top: clamp(26px, 2.4vw, 34px) !important;
  padding-bottom: clamp(26px, 2.4vw, 34px) !important;
}

body.cm-home-hero-page #main-content .cm-home-regios__header,
body.cm-home-hero-page #main-content .cm-home-plaatsen__header,
body.cm-home-hero-page #main-content .cm-home-accommodaties__top {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

body.cm-home-hero-page #main-content .cm-home-regios__heading h2,
body.cm-home-hero-page #main-content .cm-home-plaatsen__header h2,
body.cm-home-hero-page #main-content .cm-home-waarom__content h2,
body.cm-home-hero-page #main-content .cm-home-accommodaties__header h2 {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
@media (min-width: 981px), (min-width: 768px) and (orientation: landscape) {
  body:not(.et-fb) .cm-regio-page .cm-regio-responsive-cards .cm-carousel-prev,
  body:not(.et-fb) .cm-regio-page .cm-regio-responsive-cards .cm-carousel-next {
    display: none !important;
  }
}

body.cm-home-hero-page #main-content .cm-home-regios__heading p,
body.cm-home-hero-page #main-content .cm-home-plaatsen__header p,
body.cm-home-hero-page #main-content .cm-home-accommodaties__header p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.cm-home-hero-page #main-content .cm-home-accommodaties__nav {
  margin-top: -6px !important;
  margin-bottom: 18px !important;
}

body.cm-home-hero-page #main-content .cm-home-inspiratie-card h3 {
  margin-bottom: 8px !important;
}

@media (max-width: 767px) {
  body.cm-home-hero-page #main-content .cm-home-regios,
  body.cm-home-hero-page #main-content .cm-home-plaatsen,
  body.cm-home-hero-page #main-content .cm-home-waarom,
  body.cm-home-hero-page #main-content .cm-home-accommodaties,
  body.cm-home-hero-page #main-content .cm-home-inspiratie {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }
}

/* =========================================================
   CasaMia v12.7.4 — Lagere, evenwichtig uitgelijnde homepagehero
   + regiokop over de volledige inhoudsbreedte.
   - Hero op desktop teruggebracht naar een compacte hoogte.
   - Afstand boven de hero-tekst en onder het zoekblok is gelijk.
   - De titel van Onze regio's mag de volledige blokbreedte gebruiken.
   - Een bewust lege regio-intro wordt niet getoond.
   ========================================================= */
body .cm-home-hero {
  min-height: 500px !important;
}

body .cm-home-hero__inner {
  box-sizing: border-box;
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

body.cm-home-hero-page #main-content .cm-home-regios__header,
body.cm-home-hero-page #main-content .cm-home-regios__heading,
body.cm-home-hero-page #main-content .cm-home-regios__heading h2 {
  width: 100% !important;
  max-width: none !important;
}

body.cm-home-hero-page #main-content .cm-home-regios__header {
  display: block !important;
}

body.cm-home-hero-page #main-content .cm-home-regios__heading p:empty {
  display: none !important;
}

@media (max-width: 980px) {
  body .cm-home-hero {
    min-height: 540px !important;
  }

  body .cm-home-hero__inner {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }
}

@media (max-width: 767px) {
  body .cm-home-hero {
    min-height: 620px !important;
  }

  body .cm-home-hero__inner {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
}



/* =========================================================
   CasaMia v12.7.5 — Typografie detailpagina's gestandaardiseerd
   Regio, accommodatie en verhuurobject volgen de globale Divi-typografie:
   H1 voor hero/paginatitel, H2 voor hoofdblokken, H3 voor kaarten en
   onderonderdelen, gewone alineatypografie voor intro's en lopende tekst.
   Lokale vaste lettertypes, groottes, regelhoogtes en gewichten zijn in de
   betrokken componenten uitgeschakeld; kleur en layout blijven behouden.
   ========================================================= */


/* =========================================================
   CasaMia v12.7.6 — Accommodatiepagina compacter en gelijkmatig
   - Hero-label "Accommodatie" verwijderd.
   - Huurprijstitels gebruiken H2 en de globale Divi-typografie.
   - Alle hoofdblokken krijgen dezelfde compacte verticale ruimte
     als de inhoudsregels op de homepage.
   - Extra Divi-witruimte rond de shortcodes wordt verwijderd.
   ========================================================= */

@supports selector(.et_pb_section:has(.cm-acco-section)) {
  :is(body.single-accommodatie, body.single-accommodaties) #main-content .et_pb_section:has(:is(
    .cm-acco-section,
    .cm-prijsoptie2,
    .cm-faciliteiten-v1,
    .cm-omgeving-v1,
    .cm-acco-related-accommodations,
    .cm-acco-locaties-regio-v3,
    .cm-gastenboek,
    .cm-contactblok-v1
  )),
  :is(body.single-accommodatie, body.single-accommodaties) #main-content .et_pb_row:has(:is(
    .cm-acco-section,
    .cm-prijsoptie2,
    .cm-faciliteiten-v1,
    .cm-omgeving-v1,
    .cm-acco-related-accommodations,
    .cm-acco-locaties-regio-v3,
    .cm-gastenboek,
    .cm-contactblok-v1
  )),
  :is(body.single-accommodatie, body.single-accommodaties) #main-content .et_pb_column:has(:is(
    .cm-acco-section,
    .cm-prijsoptie2,
    .cm-faciliteiten-v1,
    .cm-omgeving-v1,
    .cm-acco-related-accommodations,
    .cm-acco-locaties-regio-v3,
    .cm-gastenboek,
    .cm-contactblok-v1
  )),
  :is(body.single-accommodatie, body.single-accommodaties) #main-content .et_pb_module:has(:is(
    .cm-acco-section,
    .cm-prijsoptie2,
    .cm-faciliteiten-v1,
    .cm-omgeving-v1,
    .cm-acco-related-accommodations,
    .cm-acco-locaties-regio-v3,
    .cm-gastenboek,
    .cm-contactblok-v1
  )),
  :is(body.single-accommodatie, body.single-accommodaties) #main-content .et_pb_module_inner:has(:is(
    .cm-acco-section,
    .cm-prijsoptie2,
    .cm-faciliteiten-v1,
    .cm-omgeving-v1,
    .cm-acco-related-accommodations,
    .cm-acco-locaties-regio-v3,
    .cm-gastenboek,
    .cm-contactblok-v1
  )),
  :is(body.single-accommodatie, body.single-accommodaties) #main-content .et_pb_code_inner:has(:is(
    .cm-acco-section,
    .cm-prijsoptie2,
    .cm-faciliteiten-v1,
    .cm-omgeving-v1,
    .cm-acco-related-accommodations,
    .cm-acco-locaties-regio-v3,
    .cm-gastenboek,
    .cm-contactblok-v1
  )),
  :is(body.single-accommodatie, body.single-accommodaties) #main-content .et_pb_text_inner:has(:is(
    .cm-acco-section,
    .cm-prijsoptie2,
    .cm-faciliteiten-v1,
    .cm-omgeving-v1,
    .cm-acco-related-accommodations,
    .cm-acco-locaties-regio-v3,
    .cm-gastenboek,
    .cm-contactblok-v1
  )) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }
}

:is(body.single-accommodatie, body.single-accommodaties) #main-content :is(
  .cm-acco-section,
  .cm-prijsoptie2,
  .cm-faciliteiten-v1,
  .cm-omgeving-v1,
  .cm-acco-related-accommodations,
  .cm-acco-locaties-regio-v3,
  .cm-gastenboek,
  .cm-contactblok-v1
) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: clamp(26px, 2.4vw, 34px) !important;
  padding-bottom: clamp(26px, 2.4vw, 34px) !important;
}

:is(body.single-accommodatie, body.single-accommodaties) #main-content .cm-prijsoptie2-subtitle {
  width: 100% !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  text-align: left !important;
  color: #990033 !important;
}

:is(body.single-accommodatie, body.single-accommodaties) #main-content :is(
  .cm-acco-section-head,
  .cm-section-head,
  .cm-verhuurobjecten-head,
  .cm-card-carousel-head,
  .cm-regio-section-head
) {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

:is(body.single-accommodatie, body.single-accommodaties) #main-content :is(
  .cm-acco-section h2,
  .cm-section-head h2,
  .cm-faciliteiten-v1__title,
  .cm-omgeving-v1__title,
  .cm-contactblok-title
) {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

@media (max-width: 767px) {
  :is(body.single-accommodatie, body.single-accommodaties) #main-content :is(
    .cm-acco-section,
    .cm-prijsoptie2,
    .cm-faciliteiten-v1,
    .cm-omgeving-v1,
    .cm-acco-related-accommodations,
    .cm-acco-locaties-regio-v3,
    .cm-gastenboek,
    .cm-contactblok-v1
  ) {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }
}

/* =========================================================
   CasaMia v12.7.8 — Globale Theme Builder-header leidend
   Losse accommodatie- en verhuurobjectpagina’s hebben geen eigen
   headerhoogte, padding, rijbreedte of logomaat meer. Daardoor gebruikt
   ieder paginatype exact dezelfde globale Divi-headerinstellingen.
   ========================================================= */

/* =========================================================
   CasaMia v12.7.13 — hero-buttons accommodatie/object
   ========================================================= */
body:not(.et-fb) .cm-acco-hero .cm-acco-hero-actions .cm-button-primary {
  background: #990033;
  color: #fff !important;
}
body:not(.et-fb) .cm-acco-hero .cm-acco-hero-actions .cm-button-primary:hover,
body:not(.et-fb) .cm-acco-hero .cm-acco-hero-actions .cm-button-primary:focus-visible {
  background: #760027;
  color: #fff !important;
}


/* =========================================================
   CasaMia v12.7.17 — regiohero primaire knop CasaMia-rood
   ========================================================= */
body .cm-regio-hero .cm-regio-btn-primary {
  background: #990033 !important;
  border-color: #990033 !important;
  color: #fff !important;
}
body .cm-regio-hero .cm-regio-btn-primary:hover,
body .cm-regio-hero .cm-regio-btn-primary:focus-visible {
  background: #760027 !important;
  border-color: #760027 !important;
  color: #fff !important;
}


/* =========================================================
   CasaMia v12.7.25 — functionele, modernere ronde pijlen
   Toegepast op verhuurobject-, accommodatie- en regioblokken
   ========================================================= */
body:not(.et-fb) {
  --cm-modern-arrow-color: #990033;
  --cm-modern-arrow-bg: #ffffff;
  --cm-modern-arrow-bg-hover: #faf6f1;
  --cm-modern-arrow-border: #e6d9cf;
  --cm-modern-arrow-shadow: 0 8px 20px rgba(62, 49, 40, 0.08);
  --cm-modern-arrow-shadow-hover: 0 10px 24px rgba(62, 49, 40, 0.14);
}

body:not(.et-fb) .cm-cards-test__arrow,
body:not(.et-fb) .cm-acco-related-arrow,
body:not(.et-fb) .cm-acco-location-arrow,
body:not(.et-fb) .cm-home-accommodaties__arrow {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid var(--cm-modern-arrow-border) !important;
  border-radius: 999px !important;
  background: var(--cm-modern-arrow-bg) !important;
  box-shadow: var(--cm-modern-arrow-shadow) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease !important;
}

body:not(.et-fb) .cm-cards-test__arrow,
body:not(.et-fb) .cm-home-accommodaties__arrow {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
}

body:not(.et-fb) .cm-acco-related-arrow,
body:not(.et-fb) .cm-acco-location-arrow {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
}

body:not(.et-fb) .cm-cards-test__arrow img {
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body:not(.et-fb) .cm-cards-test__arrow::before,
body:not(.et-fb) .cm-acco-related-arrow::before,
body:not(.et-fb) .cm-acco-location-arrow::before,
body:not(.et-fb) .cm-home-accommodaties__arrow::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--cm-modern-arrow-color);
  border-right: 2px solid var(--cm-modern-arrow-color);
  transition: border-color .18s ease, transform .18s ease;
}

body:not(.et-fb) .cm-cards-test__arrow--prev::before,
body:not(.et-fb) .cm-carousel-prev.cm-acco-related-arrow::before,
body:not(.et-fb) .cm-carousel-prev.cm-acco-location-arrow::before,
body:not(.et-fb) .cm-home-accommodaties__arrow--prev::before {
  transform: rotate(-135deg);
  margin-left: 4px;
}

body:not(.et-fb) .cm-cards-test__arrow--next::before,
body:not(.et-fb) .cm-carousel-next.cm-acco-related-arrow::before,
body:not(.et-fb) .cm-carousel-next.cm-acco-location-arrow::before,
body:not(.et-fb) .cm-home-accommodaties__arrow--next::before {
  transform: rotate(45deg);
  margin-left: -4px;
}

body:not(.et-fb) .cm-cards-test__arrow:hover,
body:not(.et-fb) .cm-cards-test__arrow:focus-visible,
body:not(.et-fb) .cm-acco-related-arrow:hover,
body:not(.et-fb) .cm-acco-related-arrow:focus-visible,
body:not(.et-fb) .cm-acco-location-arrow:hover,
body:not(.et-fb) .cm-acco-location-arrow:focus-visible,
body:not(.et-fb) .cm-home-accommodaties__arrow:hover:not(:disabled),
body:not(.et-fb) .cm-home-accommodaties__arrow:focus-visible:not(:disabled) {
  background: var(--cm-modern-arrow-bg-hover) !important;
  border-color: #d8c7ba !important;
  box-shadow: var(--cm-modern-arrow-shadow-hover) !important;
  transform: translateY(-1px) !important;
}

body:not(.et-fb) .cm-cards-test__arrow:disabled,
body:not(.et-fb) .cm-acco-related-arrow:disabled,
body:not(.et-fb) .cm-acco-location-arrow:disabled,
body:not(.et-fb) .cm-home-accommodaties__arrow:disabled {
  opacity: .38 !important;
  cursor: default !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  body:not(.et-fb) .cm-cards-test__arrow,
  body:not(.et-fb) .cm-home-accommodaties__arrow {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  body:not(.et-fb) .cm-acco-related-arrow,
  body:not(.et-fb) .cm-acco-location-arrow {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  body:not(.et-fb) .cm-cards-test__arrow::before,
  body:not(.et-fb) .cm-acco-related-arrow::before,
  body:not(.et-fb) .cm-acco-location-arrow::before,
  body:not(.et-fb) .cm-home-accommodaties__arrow::before {
    width: 10px;
    height: 10px;
  }
}


/* =========================================================
   CasaMia v12.7.26 — correcte dunne pijlen met schacht
   Herstelt de hoekvorm uit v12.7.25 naar echte links/rechts-pijlen
   ========================================================= */
body:not(.et-fb) .cm-cards-test__arrow::before,
body:not(.et-fb) .cm-acco-related-arrow::before,
body:not(.et-fb) .cm-acco-location-arrow::before,
body:not(.et-fb) .cm-home-accommodaties__arrow::before {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  border-top: 2px solid var(--cm-modern-arrow-color) !important;
  border-right: 2px solid var(--cm-modern-arrow-color) !important;
  box-sizing: border-box !important;
}

body:not(.et-fb) .cm-cards-test__arrow::after,
body:not(.et-fb) .cm-acco-related-arrow::after,
body:not(.et-fb) .cm-acco-location-arrow::after,
body:not(.et-fb) .cm-home-accommodaties__arrow::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  width: 18px !important;
  height: 2px !important;
  margin-top: -1px !important;
  border-radius: 999px !important;
  background: var(--cm-modern-arrow-color) !important;
}

body:not(.et-fb) .cm-cards-test__arrow--prev::before,
body:not(.et-fb) .cm-carousel-prev.cm-acco-related-arrow::before,
body:not(.et-fb) .cm-carousel-prev.cm-acco-location-arrow::before,
body:not(.et-fb) .cm-home-accommodaties__arrow--prev::before {
  transform: translate(-8px, -50%) rotate(-135deg) !important;
}

body:not(.et-fb) .cm-cards-test__arrow--prev::after,
body:not(.et-fb) .cm-carousel-prev.cm-acco-related-arrow::after,
body:not(.et-fb) .cm-carousel-prev.cm-acco-location-arrow::after,
body:not(.et-fb) .cm-home-accommodaties__arrow--prev::after {
  left: 50% !important;
  transform: translateX(-5px) !important;
}

body:not(.et-fb) .cm-cards-test__arrow--next::before,
body:not(.et-fb) .cm-carousel-next.cm-acco-related-arrow::before,
body:not(.et-fb) .cm-carousel-next.cm-acco-location-arrow::before,
body:not(.et-fb) .cm-home-accommodaties__arrow--next::before {
  transform: translate(-2px, -50%) rotate(45deg) !important;
}

body:not(.et-fb) .cm-cards-test__arrow--next::after,
body:not(.et-fb) .cm-carousel-next.cm-acco-related-arrow::after,
body:not(.et-fb) .cm-carousel-next.cm-acco-location-arrow::after,
body:not(.et-fb) .cm-home-accommodaties__arrow--next::after {
  right: 50% !important;
  transform: translateX(5px) !important;
}

@media (max-width: 767px) {
  body:not(.et-fb) .cm-cards-test__arrow::after,
  body:not(.et-fb) .cm-acco-related-arrow::after,
  body:not(.et-fb) .cm-acco-location-arrow::after,
  body:not(.et-fb) .cm-home-accommodaties__arrow::after {
    width: 16px !important;
  }
}


/* =========================================================
   CasaMia v12.7.27 — regiopijlen correct links/rechts
   Regioblokken gebruiken cm-carousel-prev/next zonder
   de extra --prev/--next-klassen van andere carrousels.
   ========================================================= */
body:not(.et-fb) .cm-carousel-prev.cm-cards-test__arrow::before {
  transform: translate(-8px, -50%) rotate(-135deg) !important;
}
body:not(.et-fb) .cm-carousel-prev.cm-cards-test__arrow::after {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-5px) !important;
}
body:not(.et-fb) .cm-carousel-next.cm-cards-test__arrow::before {
  transform: translate(-2px, -50%) rotate(45deg) !important;
}
body:not(.et-fb) .cm-carousel-next.cm-cards-test__arrow::after {
  right: 50% !important;
  left: auto !important;
  transform: translateX(5px) !important;
}


/* =========================================================
   CasaMia v12.7.30 — homepagezoekblok exact gecentreerd
   Het zoekblok centreert op de volledige viewport en niet op
   de smallere tekstkolom van de homepagehero.
   ========================================================= */
body .cm-home-hero .cm-filter-search {
  left: 50% !important;
  width: min(1380px, calc(100vw - 48px)) !important;
  max-width: 1380px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 767px) {
  body .cm-home-hero .cm-filter-search {
    width: min(100%, calc(100vw - 28px)) !important;
  }
}


/* v12.7.42 – hero-iconen: laadpaal vervangen, minder ruimte onder icoon */
body:not(.et-fb) .cm-acco-hero-features-wrap .cm-feature-bar-icon:has(.cm-hero-feature-image){margin:0 auto 3px !important;}
body:not(.et-fb) .cm-acco-hero-features-wrap .cm-feature-bar-value{margin:0 0 1px !important;}
body:not(.et-fb) .cm-acco-hero-features-wrap .cm-feature-bar-label{margin:0 !important;}
body:not(.et-fb) .cm-acco-hero-features-wrap .cm-hero-feature-image{filter:drop-shadow(0 1px 2px rgba(0,0,0,.25)) !important;}


/* =========================================================
   CasaMia v12.7.50 — globale header weer sticky
   Werkt voor zowel de standaard Divi-header als de Theme Builder-header.
   ========================================================= */
body:not(.et-fb) #main-header,
body:not(.et-fb) .et-l--header {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 0 !important;
  z-index: 999999 !important;
  width: 100% !important;
}

/* Voorkom dat de WordPress-beheerbalk de sticky header afdekt. */
body.admin-bar:not(.et-fb) #main-header,
body.admin-bar:not(.et-fb) .et-l--header {
  top: 32px !important;
}

/* Een subtiele scheiding blijft zichtbaar tijdens het scrollen. */
body:not(.et-fb) #main-header,
body:not(.et-fb) .et-l--header > .et_builder_inner_content,
body:not(.et-fb) .et-l--header .et_pb_section:first-child {
  box-shadow: 0 3px 14px rgba(35, 27, 22, 0.10) !important;
}

@media (max-width: 782px) {
  body.admin-bar:not(.et-fb) #main-header,
  body.admin-bar:not(.et-fb) .et-l--header {
    top: 46px !important;
  }
}

/* =========================================================
   CasaMia v12.7.91-R8 — tablet en telefoon responsive finetuning
   - iPad liggend: homepagehero-titel kleiner/breder zodat hij weer
     op één regel past.
   - iPad staand / smallere tablets: zoekblok herschikt naar 3 + 2.
   - Telefoon: hero en zoekblok compacter.
   - De Divi Theme Builder-header wordt bewust niet meer algemeen
     geforceerd; zichtbaarheid en indeling blijven per headerrij geregeld.
   ========================================================= */
@media (min-width: 981px) and (max-width: 1400px) {
  body .cm-home-hero__inner {
    width: min(1240px, calc(100% - 44px));
    padding: 140px 0 76px;
  }

  body .cm-home-hero__title {
    font-size: clamp(52px, 5.7vw, 74px);
    line-height: 1.06;
  }

  body .cm-home-hero__subtitle {
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  body .cm-home-hero {
    min-height: 640px;
  }

  body .cm-home-hero__inner {
    width: min(calc(100% - 36px), 1040px);
    padding: 118px 0 64px;
  }

  body .cm-home-hero__title {
    font-size: clamp(46px, 6vw, 66px);
    line-height: 1.08;
  }

  body .cm-home-hero__subtitle {
    margin: 16px auto 26px;
    font-size: clamp(18px, 2.5vw, 22px);
  }

  body .cm-filter-search,
  body .cm-home-hero .cm-filter-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(calc(100vw - 34px), 1040px) !important;
    gap: 12px;
    padding: 16px;
  }

  body .cm-filter-search__field--facilities {
    grid-column: 1 / 2;
  }

  body .cm-filter-search__submit {
    grid-column: 2 / -1;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  body .cm-home-hero {
    min-height: 0 !important;
  }

  body .cm-home-hero__inner {
    width: min(calc(100% - 24px), 680px);
    padding: 82px 0 30px;
  }

  body .cm-home-hero__title {
    font-size: clamp(40px, 11vw, 64px);
    line-height: 1.08;
  }

  body .cm-home-hero__subtitle {
    margin: 14px auto 22px;
    font-size: clamp(17px, 4.8vw, 24px);
  }

  body .cm-filter-search,
  body .cm-home-hero .cm-filter-search {
    width: min(calc(100vw - 20px), 560px) !important;
    gap: 10px;
    padding: 14px;
  }

  body .cm-filter-search__label {
    margin-bottom: 6px;
  }

  body .cm-filter-search__trigger,
  body .cm-filter-search__more,
  body .cm-filter-search__submit {
    height: 46px;
    min-height: 46px;
  }

  body .cm-filter-search__submit {
    margin-top: 4px;
  }
}


/* =========================================================
   CasaMia v12.7.91-R9/R14 — menu inklapbaar en scrollbaar
   - Submenu's zijn standaard gesloten.
   - Regio's en onderliggende accommodaties klappen afzonderlijk open.
   - Het menu krijgt een eigen scrollgebied binnen het telefoonscherm.
   ========================================================= */
@media (max-width: 980px) {
  body:not(.et-fb) .et-l--header .et_mobile_menu {
    max-height: var(--cm-mobile-menu-max-height, calc(100dvh - 130px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;
  }

  body:not(.et-fb) .et-l--header .et_mobile_menu li.menu-item-has-children {
    position: relative !important;
  }

  body:not(.et-fb) .et-l--header .et_mobile_menu li.menu-item-has-children > a {
    padding-right: 58px !important;
  }

  body:not(.et-fb) .et-l--header .et_mobile_menu li.menu-item-has-children > .sub-menu {
    display: none !important;
  }

  body:not(.et-fb) .et-l--header .et_mobile_menu li.menu-item-has-children.cm-submenu-open > .sub-menu {
    display: block !important;
  }

  body:not(.et-fb) .et-l--header .cm-mobile-submenu-toggle {
    position: absolute !important;
    top: 4px !important;
    right: 8px !important;
    z-index: 3 !important;
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #990033 !important;
    cursor: pointer !important;
    box-shadow: none !important;
  }

  body:not(.et-fb) .et-l--header .cm-mobile-submenu-toggle::before {
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: translateY(-2px) rotate(45deg) !important;
    transition: transform .18s ease !important;
  }

  body:not(.et-fb) .et-l--header li.cm-submenu-open > .cm-mobile-submenu-toggle::before {
    transform: translateY(2px) rotate(225deg) !important;
  }

  body:not(.et-fb) .et-l--header .cm-mobile-submenu-toggle:focus-visible {
    outline: 2px solid #990033 !important;
    outline-offset: 2px !important;
  }
}



/* =========================================================
   CasaMia v12.7.91-R13 — paginalink zichtbaar na submenu openen
   - Zodra een mobiel submenu openstaat verschijnt naast de tekst een
     klein pijltje naar rechts.
   - Tik op tekst/pijltje volgt de gekoppelde pagina; het losse pijltje
     rechts blijft uitsluitend open- en dichtklappen.
   ========================================================= */
@media (max-width: 980px) {
  body:not(.et-fb) .et-l--header .cm-mobile-page-link-cue {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin-left: 10px !important;
    color: #990033 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    vertical-align: middle !important;
  }

  body:not(.et-fb) .et-l--header li.cm-submenu-open > a > .cm-mobile-page-link-cue {
    display: inline-flex !important;
  }
}


/* =========================================================
   CasaMia v12.7.91-R15 — oude iPad staand zonder dubbele header
   - Verwijdert de R14-regel die headerrijen zichtbaar forceerde.
   - Divi-zichtbaarheid blijft leidend: verborgen tabletrijen blijven weg.
   - Alleen het geopende mobiele menu wordt volbreed onder de zichtbare rij.
   ========================================================= */
@media (min-width: 768px) and (max-width: 980px) {
  body:not(.et-fb) .et-l--header .et_pb_hidden_tablet {
    display: none !important;
  }

  body:not(.et-fb) .et-l--header .et_pb_row {
    position: relative !important;
  }

  body:not(.et-fb) .et-l--header .et_pb_menu,
  body:not(.et-fb) .et-l--header .et_pb_menu_inner_container,
  body:not(.et-fb) .et-l--header .et_pb_menu__wrap,
  body:not(.et-fb) .et-l--header .et_mobile_nav_menu,
  body:not(.et-fb) .et-l--header .mobile_nav {
    position: static !important;
  }

  body:not(.et-fb) .et-l--header .et_mobile_menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    z-index: 999999 !important;
  }
}

@media (max-width: 980px) {
  body:not(.et-fb) .et-l--header .et_mobile_menu li > a {
    box-sizing: border-box !important;
  }

  body:not(.et-fb) .et-l--header .cm-mobile-submenu-toggle {
    -webkit-appearance: none !important;
    appearance: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  body:not(.et-fb) .et-l--header .cm-mobile-submenu-toggle::before {
    display: block !important;
    content: "" !important;
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 2px solid #990033 !important;
    border-bottom: 2px solid #990033 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body:not(.et-fb) .et-l--header .cm-mobile-page-link-cue {
    font-size: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
  }

  body:not(.et-fb) .et-l--header .cm-mobile-page-link-cue::before {
    display: block !important;
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2px solid #990033 !important;
    border-right: 2px solid #990033 !important;
    transform: rotate(45deg) !important;
  }
}


/* =========================================================
   CasaMia v12.7.91-R16 — mobiel/tablet menu als accordion
   - Op ieder menuniveau kan nog maar één regio tegelijk openstaan.
   - Openen van een andere regio sluit de eerder geopende regio.
   - Voorkomt lange gestapelde accommodatielijsten op telefoon en iPad.
   ========================================================= */

/* =========================================================
   CasaMia v12.7.91-R17 — homepage tekst op telefoon inklapbaar
   - Alleen op telefoon wordt de lopende tekst begrensd tot maximaal
     ongeveer een half scherm.
   - Geen intern scrollvak: Lees verder klapt de volledige tekst open.
   - Tablet en desktop blijven volledig ongewijzigd.
   ========================================================= */
.cm-home-waarom__readmore {
  display: none;
}

@media (max-width: 767px) {
  .cm-home-waarom__text-wrap {
    position: relative;
  }

  .cm-home-waarom__text-wrap.is-collapsible .cm-home-waarom__text {
    position: relative;
  }

  .cm-home-waarom__text-wrap.is-collapsible .cm-home-waarom__text.is-collapsed {
    max-height: 50vh;
    overflow: hidden;
  }

  @supports (max-height: 50svh) {
    .cm-home-waarom__text-wrap.is-collapsible .cm-home-waarom__text.is-collapsed {
      max-height: 50svh;
    }
  }

  .cm-home-waarom__text-wrap.is-collapsible .cm-home-waarom__text.is-collapsed::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 84px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(248, 244, 238, 0), var(--cm-home-waarom-bg, #f8f4ee) 88%);
    content: "";
  }

  .cm-home-waarom__readmore:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    margin: 14px 0 0;
    padding: 8px 16px;
    border: 1px solid rgba(153, 0, 51, .28);
    border-radius: 8px;
    background: #fff;
    color: #990033;
    font: inherit;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
  }

  .cm-home-waarom__readmore::after {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
  }

  .cm-home-waarom__text-wrap.is-expanded .cm-home-waarom__readmore::after {
    transform: translateY(3px) rotate(225deg);
  }

  .cm-home-waarom__readmore:hover,
  .cm-home-waarom__readmore:focus-visible {
    border-color: #990033;
    background: #f8edf1;
  }
}

/* =========================================================
   CasaMia v12.7.91-R18 — compacte regiocarrousel op telefoon
   + ervaringen zonder overtollige witte ruimte
   - Regiokaarten worden op telefoon één-voor-één horizontaal veegbaar.
   - Een deel van de volgende kaart blijft zichtbaar als veegaanwijzing.
   - Navigatiepijlen, bolletjes en 'Bekijk alle regio’s' worden mobiel getoond.
   - Tablet en desktop behouden het bestaande raster.
   ========================================================= */
.cm-home-regios__mobile-nav,
.cm-home-regios__footer--mobile {
  display: none;
}

@media (max-width: 600px) {
  body.cm-home-hero-page #main-content .cm-home-regios {
    padding-top: 30px !important;
    padding-bottom: 34px !important;
  }

  body.cm-home-hero-page #main-content .cm-home-regios__header {
    margin-bottom: 18px !important;
  }

  .cm-home-regios--grid .cm-home-regios__track.cm-home-regios__grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    width: calc(100% + 16px) !important;
    margin-right: -16px !important;
    padding: 2px 16px 8px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 0 !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cm-home-regios--grid .cm-home-regios__track.cm-home-regios__grid::-webkit-scrollbar {
    display: none;
  }

  .cm-home-regios--grid .cm-home-regio-card {
    flex: 0 0 calc(100% - 42px) !important;
    width: calc(100% - 42px) !important;
    min-width: calc(100% - 42px) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always;
  }

  .cm-home-regio-card__media {
    height: min(46vw, 176px) !important;
  }

  .cm-home-regio-card__content {
    padding: 14px 16px 15px !important;
  }

  .cm-home-regio-card__content h3 {
    margin-bottom: 0 !important;
  }

  .cm-home-regio-card__content p {
    display: -webkit-box !important;
    min-height: 0 !important;
    margin-top: 5px !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cm-home-regio-card__cta {
    margin-top: 9px !important;
  }

  .cm-home-regios__mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
  }

  .cm-home-regios__mobile-arrow {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(153, 0, 51, .24);
    border-radius: 50%;
    background: #fff;
    color: #990033;
    font: inherit;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
  }

  .cm-home-regios__mobile-arrow:disabled {
    opacity: .28;
    cursor: default;
  }

  .cm-home-regios__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 180px;
  }

  .cm-home-regios__dot {
    appearance: none;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(153, 0, 51, .28);
    cursor: pointer;
    transition: width .18s ease, border-radius .18s ease, background .18s ease;
  }

  .cm-home-regios__dot.is-active {
    width: 22px;
    border-radius: 999px;
    background: #990033;
  }

  .cm-home-regios__footer--mobile {
    display: block;
    margin-top: 14px;
  }

  .cm-home-regios__footer--mobile .cm-home-regios__all {
    min-height: 42px;
    padding: 7px 14px;
    border: 1px solid rgba(153, 0, 51, .22);
    border-radius: 8px;
    background: #fff;
  }

  .cm-home-regios.is-static-mobile .cm-home-regios__mobile-nav {
    display: none;
  }
}

/* =========================================================
   CasaMia v12.7.91-R19 — compact contactblok op telefoon
   - Alleen op de homepage en alleen op telefoon.
   - Kop, introductie, voordelen, formulierpadding en velden compacter.
   - Tablet en desktop blijven volledig ongewijzigd.
   ========================================================= */
@media (max-width: 767px) {
  body.cm-home-hero-page #main-content .cm-contactblok-v1 {
    margin: 24px 0 !important;
    padding: 0 12px !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-v1 .cm-contactblok-inner {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-copy {
    padding: 0 !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-eyebrow {
    margin: 0 0 8px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    letter-spacing: .11em !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-title {
    margin: 0 0 14px !important;
    font-size: clamp(34px, 9vw, 40px) !important;
    line-height: 1.08 !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-text {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-trust {
    gap: 8px !important;
    margin: 20px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-trust li {
    margin: 0 !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-trust li::before {
    margin-right: 8px !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-formwrap {
    padding: 20px !important;
    border-radius: 16px !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-form {
    gap: 14px !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-field {
    gap: 6px !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-field label {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-field input {
    min-height: 56px !important;
    padding: 10px 12px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-field textarea {
    min-height: 132px !important;
    padding: 11px 12px !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-consent {
    gap: 8px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-turnstile {
    min-height: 0 !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-button {
    min-height: 50px !important;
    padding: 11px 18px !important;
    font-size: 16px !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-privacy,
  body.cm-home-hero-page #main-content .cm-optional {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
}

/* =========================================================
   CasaMia v12.7.91-R20 — mobiel contactformulier binnen viewport
   - Herstelt de box-model fout uit R19: width:100% plus padding maakte
     het witte formulier breder dan het telefoonscherm.
   - Alle onderdelen mogen krimpen en blijven binnen de beschikbare breedte.
   - Alleen homepage en telefoon; tablet/desktop blijven ongewijzigd.
   ========================================================= */
@media (max-width: 767px) {
  body.cm-home-hero-page #main-content .cm-contactblok-v1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-v1 .cm-contactblok-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-copy,
  body.cm-home-hero-page #main-content .cm-contactblok-formwrap,
  body.cm-home-hero-page #main-content .cm-contact-form,
  body.cm-home-hero-page #main-content .cm-contact-row,
  body.cm-home-hero-page #main-content .cm-contact-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.cm-home-hero-page #main-content .cm-contact-field input,
  body.cm-home-hero-page #main-content .cm-contact-field textarea,
  body.cm-home-hero-page #main-content .cm-contactblok-button,
  body.cm-home-hero-page #main-content .cm-contact-turnstile {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.cm-home-hero-page #main-content .cm-contactblok-trust,
  body.cm-home-hero-page #main-content .cm-contactblok-trust li,
  body.cm-home-hero-page #main-content .cm-contactblok-text,
  body.cm-home-hero-page #main-content .cm-contact-field label {
    min-width: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }
}


/* =========================================================
   CasaMia v12.7.91-R21 — contactformulier telefoon werkelijk geraakt
   - Het homepagecontactblok krijgt nu een eigen elementklasse.
   - Niet meer afhankelijk van een Divi/bodyclass of #main-content.
   - Formulierkaart wordt rechtstreeks binnen de viewport gecentreerd.
   ========================================================= */
@media (max-width: 767px) {
  .cm-contactblok-v1.cm-contactblok--homepage {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    gap: 20px !important;
    padding: 22px 14px !important;
    box-sizing: border-box !important;
    border-radius: 20px !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-copy {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-eyebrow {
    margin: 0 0 7px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    letter-spacing: .10em !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-title {
    margin: 0 0 12px !important;
    font-size: clamp(32px, 8.5vw, 38px) !important;
    line-height: 1.08 !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-text {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-trust {
    width: 100% !important;
    min-width: 0 !important;
    gap: 7px !important;
    margin: 18px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-trust li {
    min-width: 0 !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-formwrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-form,
  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-row,
  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-form {
    gap: 13px !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 13px !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-field {
    gap: 5px !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-field label {
    min-width: 0 !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-field input,
  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-field textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-field input {
    min-height: 54px !important;
    padding: 10px 12px !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-field textarea {
    min-height: 128px !important;
    padding: 11px 12px !important;
    line-height: 1.4 !important;
  }

  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-consent,
  .cm-contactblok-v1.cm-contactblok--homepage .cm-contactblok-button,
  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-turnstile,
  .cm-contactblok-v1.cm-contactblok--homepage .cm-contact-privacy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}


/* =========================================================
   CasaMia v12.7.91-R23 — mobiele zoekvensters schoon boven zoekkaart
   - Alleen het geopende zoekveld blijft bovenaan zichtbaar.
   - De overige velden worden afgedekt zodat ze niet door het venster heen
     verschijnen of knoppen boven de inhoud leggen.
   - De vensters blijven zelf scrollbaar binnen de telefoonhoogte.
   ========================================================= */
@media (max-width: 760px) {
  body .cm-filter-search.cm-filter-search--panel-open {
    isolation: isolate !important;
  }

  body .cm-filter-search.cm-filter-search--panel-open::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 800;
    border-radius: inherit;
    background: rgba(255, 255, 255, .96);
    pointer-events: auto;
  }

  body .cm-filter-search.cm-filter-search--panel-open .cm-filter-search__field.is-panel-open {
    position: relative;
    z-index: 900 !important;
  }

  body .cm-filter-search.cm-filter-search--panel-open .cm-filter-search__field.is-panel-open .cm-filter-search__panel {
    z-index: 910 !important;
  }

  body .cm-filter-search__panel,
  body .cm-filter-search__field--people .cm-filter-search__panel,
  body .cm-filter-search__panel--facilities {
    max-height: calc(100dvh - 32px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}


/* =========================================================
   CasaMia v12.7.91-R27 — accommodatie mobiel verfijnd
   - Mobiele hero-intro ingekort met Lees verder / Lees minder.
   - Primaire knop persoonlijker en compacter.
   - Locatie op telefoon verborgen.
   - Kernmerken los uit de hero en als sfeervolle tegeltjes eronder.
   - Fotogalerij op telefoon als echte slider met pijlen en bolletjes.
   ========================================================= */
body:not(.et-fb) .cm-acco-mobile-tiles-wrap,
body:not(.et-fb) .cm-acco-hero-readmore,
body:not(.et-fb) .cm-acco-gallery-slider {
  display: none;
}

@media (max-width: 767px) {
  body:not(.et-fb) .cm-acco-hero {
    min-height: auto !important;
    padding-bottom: 22px !important;
    align-items: flex-end;
  }

  body:not(.et-fb) .cm-acco-hero-inner {
    width: calc(100% - 28px) !important;
  }

  body:not(.et-fb) .cm-acco-hero-content {
    max-width: none !important;
    padding: 46px 0 24px !important;
  }

  body:not(.et-fb) .cm-acco-hero h1 {
    margin-bottom: 12px !important;
    --cm-removed-font-size: clamp(40px, 11vw, 56px) !important;
    --cm-removed-line-height: 1.04 !important;
  }

  body:not(.et-fb) .cm-acco-hero-intro-wrap {
    position: relative;
    margin-bottom: 0;
  }

  body:not(.et-fb) .cm-acco-hero-intro {
    position: relative;
    max-width: none !important;
    --cm-removed-font-size: 17px !important;
    --cm-removed-line-height: 1.58 !important;
    overflow: hidden;
    transition: max-height .25s ease;
  }

  body:not(.et-fb) .cm-acco-hero-intro-wrap.is-collapsible:not(.is-expanded) .cm-acco-hero-intro {
    max-height: 8.2em;
  }

  body:not(.et-fb) .cm-acco-hero-intro-wrap.is-collapsible:not(.is-expanded) .cm-acco-hero-intro::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 52px;
    background: linear-gradient(180deg, rgba(22, 18, 14, 0) 0%, rgba(22, 18, 14, .85) 100%);
    pointer-events: none;
  }

  body:not(.et-fb) .cm-acco-hero-intro-wrap.is-expanded .cm-acco-hero-intro {
    max-height: none;
  }

  body:not(.et-fb) .cm-acco-hero-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }

  body:not(.et-fb) .cm-acco-hero-actions {
    gap: 10px;
    margin-top: 22px !important;
  }

  body:not(.et-fb) .cm-acco-hero .cm-button {
    min-height: 44px !important;
    padding: 11px 18px !important;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 999px;
  }

  body:not(.et-fb) .cm-acco-hero .cm-button-secondary {
    background: rgba(255,255,255,.14) !important;
  }

  body:not(.et-fb) .cm-acco-hero-location,
  body:not(.et-fb) .cm-acco-hero-features-wrap {
    display: none !important;
  }

  body:not(.et-fb) .cm-acco-mobile-tiles-wrap {
    display: block;
    width: calc(100% - 28px);
    margin: 18px auto 0;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar {
    width: 100%;
    margin: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(153,0,51,.10);
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(62,49,40,.08);
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-item {
    min-height: 0;
    padding: 18px 14px 16px;
    border: 1px solid rgba(153,0,51,.12) !important;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa 0%, #f8f2ec 100%);
    box-shadow: none;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-icon {
    width: 42px;
    min-height: 42px;
    margin-bottom: 8px;
    color: #990033;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-svg,
  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-hero-feature-image {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-value {
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 4px;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-label {
    max-width: none;
    font-size: 13px;
    line-height: 1.35;
  }

  body:not(.et-fb) .cm-acco-sfeer-gallery {
    margin-top: 28px !important;
  }

  body:not(.et-fb) .cm-acco-gallery-mosaic {
    display: none !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider {
    display: block;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #f8f4ee;
    box-shadow: 0 18px 38px rgba(62,49,40,.10);
  }

  body:not(.et-fb) .cm-acco-gallery-slider-track {
    display: flex;
    transition: transform .34s ease;
    will-change: transform;
  }

  body:not(.et-fb) .cm-acco-gallery-slide {
    display: block;
    min-width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8f4ee;
  }

  body:not(.et-fb) .cm-acco-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #990033;
    box-shadow: 0 10px 26px rgba(0,0,0,.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-nav--prev { left: 10px; }
  body:not(.et-fb) .cm-acco-gallery-slider-nav--next { right: 10px; }

  body:not(.et-fb) .cm-acco-gallery-slider-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(153,0,51,.22);
    cursor: pointer;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-dot.is-active {
    width: 24px;
    background: #990033;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-all {
    width: 100%;
    min-height: 46px;
    background: #990033 !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider.has-single-slide .cm-acco-gallery-slider-nav,
  body:not(.et-fb) .cm-acco-gallery-slider.has-single-slide .cm-acco-gallery-slider-dots {
    display: none !important;
  }
}


/* =========================================================
   CasaMia v12.7.91-R28 — kenmerken-carrousel + bredere galerij
   - Kenmerken onder de hero op telefoon en tablet.
   - 3 tegelijk op telefoon, 5 tegelijk op tablet.
   - Rustige automatische doorloop, swipebaar en oneindig.
   - Mobiele fotogalerij breder, zonder dots, met subtiele teller.
   ========================================================= */
@media (max-width: 980px) {
  body:not(.et-fb) .cm-acco-hero-features-wrap {
    display: none !important;
  }

  body:not(.et-fb) .cm-acco-hero {
    padding-bottom: 28px !important;
  }

  body:not(.et-fb) .cm-acco-mobile-tiles-wrap {
    display: block !important;
    width: min(100%, 1180px);
    margin: 18px auto 0;
    overflow: hidden;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-inner {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: 100%;
    transform: translate3d(0,0,0);
    transition: transform .72s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
    touch-action: pan-y;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-item {
    flex: 0 0 20% !important;
    min-width: 20% !important;
    min-height: 122px !important;
    margin: 0 !important;
    padding: 16px 9px 14px !important;
    border: 0 !important;
    border-right: 1px solid rgba(153,0,51,.12) !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg,#fff 0%,#fbf7f3 100%) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-icon {
    width: 38px !important;
    min-height: 38px !important;
    margin: 0 auto 7px !important;
    color: #990033 !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-svg,
  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-hero-feature-image {
    width: 30px !important;
    height: 30px !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-value {
    font-size: 17px !important;
    line-height: 1.12 !important;
    margin-bottom: 4px !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-label {
    max-width: none !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 767px) {
  body:not(.et-fb) .cm-acco-hero {
    padding-bottom: 22px !important;
  }

  body:not(.et-fb) .cm-acco-mobile-tiles-wrap {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-item {
    flex-basis: 33.333333% !important;
    min-width: 33.333333% !important;
    min-height: 116px !important;
    padding: 15px 8px 13px !important;
  }

  body:not(.et-fb) .cm-acco-sfeer-gallery {
    width: calc(100vw - 16px) !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw + 8px) !important;
    margin-right: calc(50% - 50vw + 8px) !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-viewport {
    width: 100% !important;
    border-radius: 18px !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slide {
    aspect-ratio: 16 / 11 !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-nav {
    width: 40px !important;
    height: 40px !important;
    font-size: 22px !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-dots {
    display: none !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(28,22,18,.72);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    backdrop-filter: blur(5px);
  }

  body:not(.et-fb) .cm-acco-gallery-slider-footer {
    margin-top: 12px !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-all {
    width: calc(100% - 12px) !important;
    margin: 0 auto !important;
  }
}


/* =========================================================
   CasaMia v12.7.91-R28A — horizontale scroll accommodatie mobiel hersteld
   - voorkomt dat de volledige pagina op telefoon naar links/rechts schuift
   - begrenst hero-onderdelen en galerij weer binnen de schermbreedte
   ========================================================= */
@media (max-width: 767px) {
  html, body {
    overflow-x: clip !important;
  }

  body:not(.et-fb) .cm-acco-mobile-tiles-wrap {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar,
  body:not(.et-fb) .cm-acco-gallery-slider,
  body:not(.et-fb) .cm-acco-gallery-slider-viewport,
  body:not(.et-fb) .cm-acco-gallery-slider-footer,
  body:not(.et-fb) .cm-acco-gallery-slider-all,
  body:not(.et-fb) .cm-acco-sfeer-gallery,
  body:not(.et-fb) .cm-acco-description,
  body:not(.et-fb) .cm-acco-verhuurobjecten,
  body:not(.et-fb) .cm-acco-other {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:not(.et-fb) .cm-acco-sfeer-gallery {
    width: calc(100% - 16px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-track {
    width: 100% !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slide {
    min-width: 100% !important;
    width: 100% !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-all {
    width: 100% !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-inner,
  body:not(.et-fb) .cm-verhuurobject-carousel-track,
  body:not(.et-fb) .cm-acco-gallery-slider-track {
    overscroll-behavior-x: contain;
  }
}


/* =========================================================
   CasaMia v12.7.91-R28E — objectkaarten ook met vinger swipen
   Telefoon en tablet. De pijlen blijven werken.
   ========================================================= */
@media (max-width: 980px) {
  body:not(.et-fb) .cm-verhuurobject-carousel[data-cm-carousel] {
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
  }

  body:not(.et-fb) .cm-verhuurobject-carousel[data-cm-carousel].is-touching {
    cursor: grabbing;
  }

  body:not(.et-fb) .cm-verhuurobject-carousel[data-cm-carousel] img {
    -webkit-user-drag: none;
    user-drag: none;
  }
}


/* =========================================================
   CasaMia v12.7.91-R28G — kleine tablet staand: compacte prijstabel
   De compacte tabel zit nu binnen hetzelfde zichtbare prijsblok.
   Daardoor kan Divi hem niet meer samen met een verborgen telefoonmodule verbergen.
   ========================================================= */
body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view {
  display: none;
}

@media (min-width: 768px) and (max-width: 820px) and (orientation: portrait) {
  body:not(.et-fb) .cm-prijsoptie2 {
    display: block !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-wide-view {
    display: none !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view {
    display: block !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2 {
    width: 100% !important;
    padding: 10px 0 !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-title {
    margin-bottom: 18px !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-list {
    gap: 10px !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-card {
    border-radius: 12px !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-toggle {
    padding: 15px 14px !important;
    gap: 12px !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-heading-text {
    display: grid !important;
    gap: 5px !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-name {
    font-size: 20px !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-table {
    table-layout: auto !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-table th,
  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-table td {
    padding: 12px 9px !important;
    font-size: 13px !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-table th {
    font-size: 14px !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-table th:first-child,
  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-table td:first-child {
    width: 46% !important;
  }

  body:not(.et-fb) .cm-prijsoptie2-portrait-compact-view .cm-prijstabel-v2-object-link {
    margin: 9px 10px 0 !important;
  }
}


/* =========================================================
   CasaMia v12.7.91-R28K — objectstijl-fotoslider op tablet staand
   - Telefoon behoudt de bestaande accommodatieslider.
   - Kleine/middelgrote tablet staand gebruikt één grote foto met
     swipe, pijlen, teller en Bekijk alle foto's.
   - Tablet liggend en desktop behouden het fotomozaïek.
   ========================================================= */
@media (min-width: 768px) and (max-width: 980px) and (orientation: portrait) {
  body:not(.et-fb) .cm-acco-sfeer-gallery {
    width: min(calc(100% - 32px), 760px) !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body:not(.et-fb) .cm-acco-gallery-mosaic {
    display: none !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-viewport {
    position: relative;
    width: 100% !important;
    overflow: hidden;
    border-radius: 22px;
    background: #f8f4ee;
    box-shadow: 0 18px 38px rgba(62,49,40,.10);
  }

  body:not(.et-fb) .cm-acco-gallery-slider-track {
    display: flex;
    width: 100% !important;
    transition: transform .34s ease;
    will-change: transform;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
  }

  body:not(.et-fb) .cm-acco-gallery-slide {
    display: block;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8f4ee;
  }

  body:not(.et-fb) .cm-acco-gallery-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  /* Zelfde duidelijke bediening als bij de objectgalerij. */
  body:not(.et-fb) .cm-acco-gallery-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 60px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    transform: translateY(-50%);
    background: rgba(0,0,0,.58);
    color: #fff;
    font-size: 42px;
    line-height: 1;
    box-shadow: none;
    backdrop-filter: blur(2px);
    cursor: pointer;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-nav--prev {
    left: 16px;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-nav--next {
    right: 16px;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-counter {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.64);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    backdrop-filter: blur(3px);
  }

  body:not(.et-fb) .cm-acco-gallery-slider-dots {
    display: none !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-footer {
    display: flex;
    justify-content: center;
    margin-top: 14px;
  }

  body:not(.et-fb) .cm-acco-gallery-slider-all {
    width: min(100%, 420px) !important;
    min-height: 48px;
    margin: 0 auto !important;
    background: #990033 !important;
  }

  body:not(.et-fb) .cm-acco-gallery-slider.has-single-slide .cm-acco-gallery-slider-nav {
    display: none !important;
  }
}

/* =========================================================
   CasaMia v12.7.91-R28T — minimale verticale ruimte tussen
   Divi pagina-blokken/rijen, sitebreed.
   Basis: R28Q. Tekstregelafstand en typografie blijven intact.
   Alleen de pagina-inhoud wordt geraakt; header/footer niet.
   ========================================================= */
body:not(.et-fb) .et-l--body .et_pb_section,
body:not(.et-fb) #main-content .et_builder_inner_content > .et_pb_section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body:not(.et-fb) .et-l--body .et_pb_row,
body:not(.et-fb) #main-content .et_pb_row {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Als een rij met één of meer modules eindigt, geen extra
   standaard Divi-ondermarge onder de laatste module laten staan. */
body:not(.et-fb) .et-l--body .et_pb_row > .et_pb_column > .et_pb_module:last-child,
body:not(.et-fb) #main-content .et_pb_row > .et_pb_column > .et_pb_module:last-child {
  margin-bottom: 0 !important;
}

/* =========================================================
   CasaMia v12.7.91-R28AB — herbouw vanaf R28Z
   1. Mobiele kenmerkenbalk: alle icoontegels exact gelijk uitgelijnd.
      De ruimte voor de eventuele subtitel bepaalt de tegelopbouw.
   2. Accommodatiegalerij: dezelfde één-grote-foto maatvoering als
      de verhuurobjectgalerij, met Bekijk alle foto's eronder.
   3. Galerijpijlen bij accommodatie én verhuurobject zijn rond en
      donker-transparant in plaats van wit.
   ========================================================= */

/* --- Kenmerken onder de hero: vaste rijen voor icoon / titel / subtitel --- */
@media (max-width: 980px) {
  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-item {
    display: grid !important;
    grid-template-rows: 50px 44px 32px !important;
    align-content: center !important;
    align-items: center !important;
    justify-items: center !important;
    min-height: 144px !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-icon {
    align-self: center !important;
    margin: 0 auto !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-value {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
    font-size: clamp(15px, 2.3vw, 20px) !important;
    line-height: 1.06 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-label {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 1px 3px 0 !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    text-align: center !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-label.is-empty {
    visibility: hidden !important;
  }
}

@media (max-width: 767px) {
  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-item {
    grid-template-rows: 50px 46px 32px !important;
    min-height: 146px !important;
  }

  body:not(.et-fb) .cm-acco-mobile-feature-bar .cm-feature-bar-value {
    font-size: clamp(16px, 4.4vw, 20px) !important;
  }
}

/* --- Accommodatiegalerij: één grote foto op alle schermformaten --- */
:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-sfeer-gallery {
  width: 100% !important;
  max-width: none !important;
  margin: 22px 0 34px !important;
  box-sizing: border-box !important;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-mosaic {
  display: none !important;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-viewport {
  position: relative !important;
  width: 100% !important;
  height: 560px !important;
  min-height: 560px !important;
  max-height: 560px !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: #f8f4ee !important;
  box-shadow: none !important;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-track {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  transition: transform .34s ease !important;
  will-change: transform;
  touch-action: pan-y;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slide {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #f8f4ee !important;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 14px !important;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-all {
  display: inline-flex !important;
  width: auto !important;
  min-width: 220px !important;
  min-height: 46px !important;
  margin: 0 auto !important;
  padding: 10px 24px !important;
  border: 1px solid rgba(153,0,51,.28) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #990033 !important;
  box-shadow: none !important;
}

:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-dots {
  display: none !important;
}

@media (max-width: 980px) {
  :is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-viewport {
    height: 460px !important;
    min-height: 460px !important;
    max-height: 460px !important;
  }
}

@media (max-width: 640px) {
  :is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-sfeer-gallery {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  :is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-viewport {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    border-radius: 18px !important;
  }

  :is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-all {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* --- Ronde, zichtbaar transparante pijlen bij beide galerijen --- */
body:not(.et-fb) .cm-acco-gallery-slider-nav,
body:not(.et-fb) .cm-gallery-hero-prev,
body:not(.et-fb) .cm-gallery-hero-next {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.62) !important;
  border-radius: 50% !important;
  background: rgba(20,16,13,.42) !important;
  color: #fff !important;
  font-size: 38px !important;
  line-height: 1 !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.12) !important;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

body:not(.et-fb) .cm-acco-gallery-slider-nav:hover,
body:not(.et-fb) .cm-gallery-hero-prev:hover,
body:not(.et-fb) .cm-gallery-hero-next:hover {
  background: rgba(20,16,13,.58) !important;
}

@media (max-width: 640px) {
  body:not(.et-fb) .cm-acco-gallery-slider-nav,
  body:not(.et-fb) .cm-gallery-hero-prev,
  body:not(.et-fb) .cm-gallery-hero-next {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    font-size: 34px !important;
  }
}

/* R28AB: accommodatieteller gelijk aan de objectgalerij: totaal aantal foto's rechtsboven. */
:is(body.single-accommodatie, body.single-accommodaties, body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-acco-gallery-slider-counter {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  bottom: auto !important;
  z-index: 7 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  background: rgba(20,16,13,.66) !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}


/* =========================================================
   CasaMia v12.7.91-R28AN — galerijen alleen responsive wijzigen
   Basis: R28AM.
   - Telefoon (t/m 767 px): nieuwere grote fotoslider.
   - Kleine tablet staand (768–980 px): nieuwere grote fotoslider.
   - Tablet liggend en desktop: oorspronkelijke galerijweergave.
   - Geen andere onderdelen gewijzigd.
   ========================================================= */

:is(body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-object-gallery-legacy {
  display: block !important;
}

:is(body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-object-gallery-mobile {
  display: none !important;
}

@media (min-width: 981px) {
  :is(body.single-accommodatie, body.single-accommodaties):not(.et-fb) #main-content #casamia-accommodatie-galerij {
    width: auto !important;
    max-width: none !important;
    margin-top: 34px !important;
    margin-bottom: 78px !important;
  }

  :is(body.single-accommodatie, body.single-accommodaties):not(.et-fb) #main-content #casamia-accommodatie-galerij .cm-acco-gallery-slider {
    display: none !important;
  }

  :is(body.single-accommodatie, body.single-accommodaties):not(.et-fb) #main-content #casamia-accommodatie-galerij .cm-acco-gallery-mosaic {
    display: grid !important;
  }
}

@media (min-width: 768px) and (max-width: 980px) and (orientation: landscape) {
  :is(body.single-accommodatie, body.single-accommodaties):not(.et-fb) #main-content #casamia-accommodatie-galerij {
    width: auto !important;
    max-width: none !important;
    margin-top: 34px !important;
    margin-bottom: 78px !important;
  }

  :is(body.single-accommodatie, body.single-accommodaties):not(.et-fb) #main-content #casamia-accommodatie-galerij .cm-acco-gallery-slider {
    display: none !important;
  }

  :is(body.single-accommodatie, body.single-accommodaties):not(.et-fb) #main-content #casamia-accommodatie-galerij .cm-acco-gallery-mosaic {
    display: grid !important;
  }
}

@media (max-width: 767px) {
  :is(body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-object-gallery-legacy {
    display: none !important;
  }

  :is(body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-object-gallery-mobile {
    display: block !important;
  }
}

@media (min-width: 768px) and (max-width: 980px) and (orientation: portrait) {
  :is(body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-object-gallery-legacy {
    display: none !important;
  }

  :is(body.single-verhuurobject, body.single-verhuurobjecten):not(.et-fb) #main-content .cm-object-gallery-mobile {
    display: block !important;
  }
}

/* R28BX TEST — collage schaalt mee; zoeker onderaan binnen de foto. */
@media (min-width: 768px) {
  body .cm-home-hero,
  body .cm-home-hero.has-image {
    min-height: 0 !important;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }
  body .cm-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: calc(100vw * 541 / 2500);
    width: 100%;
    padding: 0 !important;
  }
  body .cm-home-hero__title {
    grid-area: 1 / 1;
    align-self: start;
    width: calc(100% - 32px);
    margin: clamp(10px, 2vw, 64px) auto 0;
    font-size: clamp(22px, 2.6vw, 64px);
    line-height: 1.1;
  }
  body .cm-home-hero__subtitle {
    grid-area: 1 / 1;
    align-self: start;
    width: calc(100% - 32px);
    max-width: none;
    margin: calc(clamp(10px, 2vw, 64px) + clamp(22px, 2.6vw, 64px) * 1.1 + 6px) auto 0;
    font-size: clamp(14px, 1.2vw, 25px);
    line-height: 1.3;
  }
  body .cm-home-hero .cm-filter-search {
    grid-area: 1 / 1;
    align-self: end;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, 1.1fr);
    width: min(calc(100vw - 28px), 1380px) !important;
    max-width: 1380px;
    margin: 0 auto clamp(8px, 1.25vw, 24px);
    gap: clamp(6px, .7vw, 14px);
    padding: clamp(8px, .9vw, 18px);
  }
  body .cm-home-hero .cm-filter-search__field--facilities,
  body .cm-home-hero .cm-filter-search__submit {
    grid-column: auto;
  }
  body .cm-home-hero .cm-filter-search__label {
    margin-bottom: 4px;
    font-size: clamp(10px, .8vw, 13px);
    line-height: 1.15;
  }
  body .cm-home-hero .cm-filter-search__trigger,
  body .cm-home-hero .cm-filter-search__more,
  body .cm-home-hero .cm-filter-search__submit {
    min-width: 0;
    width: 100%;
    height: clamp(36px, 3vw, 48px);
    min-height: 36px;
    padding: 0 clamp(5px, .7vw, 14px);
    gap: 5px;
    font-size: clamp(11px, .9vw, 15px);
    line-height: 1.15;
  }
}

/* R28BY TEST — minder lege ruimte in de homepagezoekknoppen. */
@media (min-width: 768px) {
  body .cm-home-hero .cm-filter-search {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) max-content max-content;
    width: min(calc(100vw - 28px), 1120px) !important;
    max-width: 1120px;
    padding: 8px;
    gap: 8px;
  }
  body .cm-home-hero .cm-filter-search__trigger,
  body .cm-home-hero .cm-filter-search__more,
  body .cm-home-hero .cm-filter-search__submit {
    height: clamp(36px, 2.4vw, 40px);
    padding: 0 8px;
  }
  body .cm-home-hero .cm-filter-search__more,
  body .cm-home-hero .cm-filter-search__submit {
    width: auto;
  }
}

/* R28BZ — alleen de foto naast het eerste Waarom-blok. */
body .cm-home-waarom__media.cm-home-collage {
  align-self: center;
  min-height: 0;
  height: clamp(240px, 25vw, 320px);
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
body .cm-home-collage__photos {
  position: absolute;
  inset: 0 0 28px;
  overflow: hidden;
}
body .cm-home-waarom__media .cm-home-collage__card {
  position: absolute;
  inset: auto;
  left: 12%;
  top: 8%;
  width: 72%;
  height: 78%;
  margin: 0;
  border: 7px solid #fff;
  border-bottom-width: 22px;
  border-radius: 3px;
  box-sizing: border-box;
  box-shadow: 0 7px 17px rgba(43,34,28,.22);
  transform: rotate(var(--cm-card-angle));
  animation: cm-home-collage-place var(--cm-collage-duration, 64s) ease-in-out infinite;
  animation-delay: var(--cm-card-delay);
}
body .cm-home-collage__card:nth-child(3n+1) { left: 7%; top: 6%; --cm-card-angle: -7deg; }
body .cm-home-collage__card:nth-child(3n+2) { left: 19%; top: 13%; --cm-card-angle: 6deg; }
body .cm-home-collage__card:nth-child(3n) { left: 12%; top: 9%; --cm-card-angle: -2deg; }
body .cm-home-waarom__media .cm-home-collage__card img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body .cm-home-collage__pause {
  position: absolute;
  bottom: 0;
  right: 8%;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #746b65;
  font-size: 12px;
  cursor: pointer;
}
body .cm-home-collage:has(.cm-home-collage__pause input:checked) .cm-home-collage__card {
  animation-play-state: paused;
}
@keyframes cm-home-collage-place {
  0%, 3% { opacity: 0; transform: translate(30px, -18px) rotate(calc(var(--cm-card-angle) + 8deg)) scale(.96); z-index: 10; }
  10%, 65% { opacity: 1; transform: translate(0, 0) rotate(var(--cm-card-angle)) scale(1); }
  75%, 100% { opacity: 0; transform: translate(-20px, 12px) rotate(var(--cm-card-angle)) scale(.98); z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body .cm-home-collage__card { animation: none !important; }
  body .cm-home-collage__card:nth-child(n+4),
  body .cm-home-collage__pause { display: none; }
}

/* Homepage hero-copy midden boven de bestaande zoekbalk. */
body .cm-home-hero__copy { display: contents; }
@media (min-width: 768px) {
  body .cm-home-hero__copy {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
    padding-bottom: clamp(82px, 6vw, 120px);
  }
  body .cm-home-hero__copy .cm-home-hero__title { margin: 0 auto; }
  body .cm-home-hero__copy .cm-home-hero__subtitle { margin: 8px auto 0; }
}

/* Homepage fotomozaïek: 7 = 2–3–2, 8 = 3–2–3, 9 = 2–3–2–2.
   Telefoon <=600px behoudt de bestaande veegcarrousel. */
@media (min-width: 601px) {
  .cm-home-regios--mosaic .cm-home-regios__track.cm-home-regios__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  .cm-home-regios--mosaic .cm-home-regio-card {
    grid-column: span 2;
    height: clamp(180px, 17vw, 230px) !important;
    min-width: 0;
  }
  .cm-home-regios--mosaic.cm-home-regios--count-7 .cm-home-regio-card:nth-child(-n+2),
  .cm-home-regios--mosaic.cm-home-regios--count-7 .cm-home-regio-card:nth-child(n+6),
  .cm-home-regios--mosaic.cm-home-regios--count-8 .cm-home-regio-card:nth-child(4),
  .cm-home-regios--mosaic.cm-home-regios--count-8 .cm-home-regio-card:nth-child(5),
  .cm-home-regios--mosaic.cm-home-regios--count-9 .cm-home-regio-card:nth-child(-n+2),
  .cm-home-regios--mosaic.cm-home-regios--count-9 .cm-home-regio-card:nth-child(n+6) {
    grid-column: span 3;
  }
  .cm-home-regios--mosaic .cm-home-regio-card__link {
    display: block !important;
    height: 100%;
    border: 0;
    border-radius: 8px !important;
    box-shadow: none !important;
  }
  .cm-home-regios--mosaic .cm-home-regio-card__link:hover,
  .cm-home-regios--mosaic .cm-home-regio-card__link:focus-visible {
    transform: none !important;
    box-shadow: none !important;
  }
  .cm-home-regios--mosaic .cm-home-regio-card__media { height: 100%; }
  .cm-home-regios--mosaic .cm-home-regio-card__media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .42) 100%);
  }
  .cm-home-regios--mosaic .cm-home-regio-card__content {
    position: absolute !important;
    inset: auto 0 0 !important;
    padding: 18px;
    min-width: 0;
    box-sizing: border-box;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .45) !important;
  }
  .cm-home-regios--mosaic .cm-home-regio-card__content h3,
  .cm-home-regios--mosaic .cm-home-regio-card__cta { color: #fff !important; }
  .cm-home-regios--mosaic .cm-home-regio-card__content h3 {
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .cm-home-regios--mosaic .cm-home-regio-card__content p { display: none; }
}

/* Het Italië-gevoel: foto 10% kleiner, bestaande tekst/layout behouden. */
body .cm-home-waarom--extra .cm-home-waarom__media {
  transform: scale(.9);
  transform-origin: center;
}

/* Regiopagina’s: minimaal verticaal ritme, alleen shortcode-hosts. */
body:not(.et-fb) .cm-regio-page .cm-regio-section,
body:not(.et-fb) .cm-regio-page .cm-regio-section.cm-regio-responsive-cards {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
body:not(.et-fb) .cm-regio-page .cm-contactblok-v1 {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
body:not(.et-fb) :is(.et_pb_section, .et_pb_row, .et_pb_column, .et_pb_module):has(.cm-regio-page) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body:not(.et-fb) :is(.et_pb_section, .et_pb_row):has(.cm-regio-page) {
  row-gap: 12px !important;
}
body:not(.et-fb) .cm-regio-page .cm-regio-accommodaties .cm-related-cards__header,
body:not(.et-fb) .cm-regio-page .cm-regio-map-section .cm-regio-section-head {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
body:not(.et-fb) .cm-regio-page .cm-regio-accommodaties .cm-cards-test__heading h2,
body:not(.et-fb) .cm-regio-page .cm-regio-map-section .cm-regio-section-head h2 {
  color: #990033 !important;
  font-size: clamp(14px, 1.8vw, 24px) !important;
  line-height: 1.25 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

/* R28CD: CasaMia-rood bij hover in het hoofdmenu en submenu’s. */
body .et-l--header .et_pb_menu .et-menu a:hover,
body .et-l--header .et_pb_menu .et_mobile_menu a:hover,
body #main-header #top-menu a:hover,
body #main-header #mobile_menu a:hover {
    color: #990033 !important;
}

/* R28CD: accommodatie- en verhuurobjectblokken compact zoals regio’s. */
body:not(.et-fb):is(.single-accommodatie, .single-accommodaties, .single-verhuurobject, .single-verhuurobjecten) #main-content :is(.cm-acco-description, .cm-acco-verhuurobjecten, .cm-vo-cards, .cm-verhuurobjecten, .cm-prijsoptie2, .cm-prijsoptie2-block, .cm-prijstabel, .cm-prijstabel2, .cm-prijstabel-v2, .cm-object-extra-info, .cm-detail-beschrijving-sectie, .cm-faciliteiten-v1, .cm-omgeving-v1, .cm-acco-distance-section, .cm-acco-related-section, .cm-acco-related-accommodations, .cm-acco-locaties-regio-v3, .cm-related-cards, .cm-gastenboek, .cm-contactblok-v1) {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body:not(.et-fb):is(.single-accommodatie, .single-accommodaties, .single-verhuurobject, .single-verhuurobjecten) #main-content :is(.et_pb_section, .et_pb_row, .et_pb_column, .et_pb_module, .et_pb_text_inner, .et_pb_code_inner, .et_pb_module_inner):has(:is(.cm-acco-description, .cm-acco-verhuurobjecten, .cm-vo-cards, .cm-verhuurobjecten, .cm-prijsoptie2, .cm-prijsoptie2-block, .cm-prijstabel, .cm-prijstabel2, .cm-prijstabel-v2, .cm-object-extra-info, .cm-detail-beschrijving-sectie, .cm-faciliteiten-v1, .cm-omgeving-v1, .cm-acco-distance-section, .cm-acco-related-section, .cm-acco-related-accommodations, .cm-acco-locaties-regio-v3, .cm-related-cards, .cm-gastenboek, .cm-contactblok-v1)) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}
body:not(.et-fb):is(.single-accommodatie, .single-accommodaties, .single-verhuurobject, .single-verhuurobjecten) #main-content :is(.et_pb_section, .et_pb_row):has(:is(.cm-acco-description, .cm-acco-verhuurobjecten, .cm-vo-cards, .cm-verhuurobjecten, .cm-prijsoptie2, .cm-prijsoptie2-block, .cm-prijstabel, .cm-prijstabel2, .cm-prijstabel-v2, .cm-object-extra-info, .cm-detail-beschrijving-sectie, .cm-faciliteiten-v1, .cm-omgeving-v1, .cm-acco-distance-section, .cm-acco-related-section, .cm-acco-related-accommodations, .cm-acco-locaties-regio-v3, .cm-related-cards, .cm-gastenboek, .cm-contactblok-v1)) {
  row-gap: 0 !important;
}

/* Het Italië-gevoel: desktopkolommen 30% foto / 70% tekst. */
@media (min-width: 981px) {
  body .cm-home-waarom--extra .cm-home-waarom__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  }
  body .cm-home-waarom--extra.cm-home-waarom--reverse .cm-home-waarom__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  }
}

/* Het Italië-gevoel: gebruik de volledige 70%-tekstkolom op desktop. */
@media (min-width: 981px) {
  body .cm-home-waarom--extra .cm-home-waarom__text {
    max-width: none;
  }
}

/* Desktop: Home-breedte/veldverdeling en Accommodaties-hoogte voor beide zoekbalken. */
@media (min-width: 981px) {
  body .cm-home-hero .cm-filter-search,
  body .cm-acco-overzicht-hero > .cm-filter-search {
    width: min(calc(100vw - 28px), 1120px) !important;
    max-width: 1120px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) max-content max-content;
    gap: 8px;
    padding: 18px;
  }
  body .cm-home-hero .cm-filter-search__label,
  body .cm-acco-overzicht-hero > .cm-filter-search .cm-filter-search__label {
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.25;
  }
  body .cm-home-hero .cm-filter-search__trigger,
  body .cm-home-hero .cm-filter-search__more,
  body .cm-home-hero .cm-filter-search__submit,
  body .cm-acco-overzicht-hero > .cm-filter-search .cm-filter-search__trigger,
  body .cm-acco-overzicht-hero > .cm-filter-search .cm-filter-search__more,
  body .cm-acco-overzicht-hero > .cm-filter-search .cm-filter-search__submit {
    height: 48px;
    min-height: 48px;
    min-width: 0;
    padding: 0 8px;
    gap: 5px;
    font-size: 15px;
    line-height: 1.15;
  }
  body .cm-acco-overzicht-hero > .cm-filter-search .cm-filter-search__field--facilities,
  body .cm-acco-overzicht-hero > .cm-filter-search .cm-filter-search__submit {
    grid-column: auto;
  }
  body .cm-home-hero .cm-filter-search__more,
  body .cm-home-hero .cm-filter-search__submit,
  body .cm-acco-overzicht-hero > .cm-filter-search .cm-filter-search__more,
  body .cm-acco-overzicht-hero > .cm-filter-search .cm-filter-search__submit {
    width: auto;
  }
}
