/* =========================================================
   CasaMia v12.6.89 — compactere ruimte tussen regio’s
   ========================================================= */
.cm-acco-overzicht-page,
.cm-acco-overzicht-page * {
  box-sizing: border-box;
}

.cm-acco-overzicht-page {
  --cm-ao-red: #990033;
  --cm-ao-red-dark: #760027;
  --cm-ao-orange: #c96e3a;
  --cm-ao-beige: #f7f1e8;
  --cm-ao-text: #3e3128;
  --cm-ao-muted: #6f655e;
  --cm-ao-border: #e4d7cb;
  color: var(--cm-ao-text);
  background: #fff;
}

.cm-acco-overzicht-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.cm-acco-overzicht-hero {
  padding: clamp(34px, 4vw, 54px) 0 clamp(36px, 4vw, 54px);
  border-bottom: 1px solid #eadfd5;
  background:
    radial-gradient(circle at 18% 18%, rgba(201, 110, 58, .08), transparent 30%),
    linear-gradient(135deg, #fbf8f3 0%, var(--cm-ao-beige) 100%);
  text-align: center;
}

.cm-acco-overzicht-hero.no-eyebrow {
  padding-top: clamp(30px, 3.5vw, 46px);
}

.cm-acco-overzicht-eyebrow {
  margin: 0 0 12px;
  color: var(--cm-ao-orange);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.cm-acco-overzicht-hero h1 {
  margin: 0;
  color: var(--cm-ao-red);
}

.cm-acco-overzicht-intro {
  max-width: 780px;
  margin: 14px auto 0;
  color: var(--cm-ao-muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.65;
}

.cm-acco-overzicht-intro p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.cm-acco-overzicht-region {
  padding: clamp(32px, 3.2vw, 42px) 0 clamp(34px, 3.4vw, 46px);
}

.cm-acco-overzicht-region.is-light {
  background: #fff;
}

.cm-acco-overzicht-region.is-beige {
  background: var(--cm-ao-beige);
}

.cm-acco-overzicht-region__head {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  margin-bottom: 30px;
}

.cm-acco-overzicht-region__image {
  display: block;
  height: 190px;
  overflow: hidden;
  border-radius: 16px;
  background: #eadfd5;
  box-shadow: 0 12px 30px rgba(62, 49, 40, .10);
}

.cm-acco-overzicht-region__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.cm-acco-overzicht-region__image:hover img {
  transform: scale(1.025);
}

.cm-acco-overzicht-region__image > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(153, 0, 51, .38);
  font-size: 44px;
  background: linear-gradient(135deg, #efe4d9, #fbf7f2);
}


.cm-acco-overzicht-region__copy h2 {
  margin: 0;
  color: var(--cm-ao-red);
}

.cm-acco-overzicht-region__copy h3 {
  margin: 8px 0 0;
  color: var(--cm-ao-text);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.2;
  font-weight: 500;
}

.cm-acco-overzicht-region__copy > p:not(.cm-acco-overzicht-region__label) {
  max-width: 760px;
  margin: 13px 0 0;
  color: var(--cm-ao-muted);
  font-size: 15px;
  line-height: 1.7;
}

.cm-acco-overzicht-region__link,
.cm-acco-overzicht-region__link:visited {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--cm-ao-red) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.cm-acco-overzicht-region__link:hover,
.cm-acco-overzicht-region__link:focus-visible {
  color: var(--cm-ao-red-dark) !important;
}

.cm-acco-overzicht-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cm-acco-overzicht-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cm-ao-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(62, 49, 40, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cm-acco-overzicht-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(62, 49, 40, .13);
}

.cm-acco-overzicht-card__image {
  display: block;
  height: 225px;
  overflow: hidden;
  background: #e9ded3;
}

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

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

.cm-acco-overzicht-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(153, 0, 51, .35);
  font-size: 40px;
  background: linear-gradient(135deg, #efe5db, #faf6f1);
}

.cm-acco-overzicht-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.cm-acco-overzicht-card__type {
  align-self: flex-start;
  margin: 0 0 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--cm-ao-beige);
  color: var(--cm-ao-red);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cm-acco-overzicht-card h3 {
  margin: 0;
  color: var(--cm-ao-red);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 500;
}

.cm-acco-overzicht-card h3 a,
.cm-acco-overzicht-card h3 a:visited {
  color: inherit !important;
  text-decoration: none;
}

.cm-acco-overzicht-card__location {
  margin: 8px 0 0;
  color: var(--cm-ao-muted);
  font-size: 13px;
  line-height: 1.4;
}

.cm-acco-overzicht-card__location i {
  color: var(--cm-ao-red);
}

.cm-acco-overzicht-card__intro {
  display: -webkit-box;
  min-height: 70px;
  margin: 13px 0 0;
  overflow: hidden;
  color: var(--cm-ao-muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cm-acco-overzicht-card__button,
.cm-acco-overzicht-card__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 43px;
  margin-top: auto;
  padding: 10px 15px;
  border-radius: 7px;
  background: var(--cm-ao-red);
  color: #fff !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
}

.cm-acco-overzicht-card__button:hover,
.cm-acco-overzicht-card__button:focus-visible {
  background: var(--cm-ao-red-dark);
  color: #fff !important;
}

.cm-acco-overzicht-region__footer {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.cm-acco-overzicht-region__all,
.cm-acco-overzicht-region__all:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 11px 21px;
  border: 1px solid var(--cm-ao-red);
  border-radius: 7px;
  background: transparent;
  color: var(--cm-ao-red) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}


.cm-acco-overzicht-region__all--header {
  margin: 0 auto;
  white-space: nowrap;
}

.cm-acco-overzicht-region__all:hover,
.cm-acco-overzicht-region__all:focus-visible {
  background: var(--cm-ao-red);
  color: #fff !important;
}

.cm-acco-overzicht-empty {
  padding: 28px;
  border: 1px solid var(--cm-ao-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .75);
  color: var(--cm-ao-muted);
  text-align: center;
}

.cm-acco-overzicht-empty h2,
.cm-acco-overzicht-empty p {
  margin-top: 0;
}

.cm-acco-overzicht-empty a,
.cm-acco-overzicht-empty a:visited {
  color: var(--cm-ao-red) !important;
  font-weight: 800;
}

@media (max-width: 980px) {
  .cm-acco-overzicht-region__head {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .cm-acco-overzicht-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cm-acco-overzicht-shell {
    width: min(100% - 30px, 1180px);
  }

  .cm-acco-overzicht-region__head,
  .cm-acco-overzicht-cards {
    grid-template-columns: 1fr;
  }

  .cm-acco-overzicht-region__image {
    height: 235px;
  }

  .cm-acco-overzicht-card__image {
    height: 245px;
  }
}


@media (max-width: 720px) {
  .cm-acco-overzicht-region {
    padding-top: 30px;
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cm-acco-overzicht-region__image img,
  .cm-acco-overzicht-card,
  .cm-acco-overzicht-card__image img {
    transition: none !important;
  }
}

/* =========================================================
   CasaMia v12.7.91-R28AH — desktop regio-blokken compacter
   Alleen de algemene pagina Accommodaties.
   ========================================================= */
@media (min-width: 981px) {
  .cm-acco-overzicht-page .cm-acco-overzicht-region {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .cm-acco-overzicht-page .cm-acco-overzicht-region__head {
    margin-bottom: 12px;
  }

  body:not(.et-fb) .cm-acco-overzicht-page .cm-acco-overzicht-region__carousel.cm-regio-section,
  body:not(.et-fb) .cm-acco-overzicht-page .cm-acco-overzicht-region__carousel.cm-regio-accommodaties {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body:not(.et-fb) .cm-acco-overzicht-page .cm-acco-overzicht-region__carousel .cm-card-carousel-head {
    margin-bottom: 12px !important;
  }

  body:not(.et-fb) .cm-acco-overzicht-page .cm-acco-overzicht-region__carousel .cm-regio-card-carousel-wrap {
    padding-bottom: 0 !important;
  }
}

/* =========================================================
   CasaMia v12.7.91-R28AK — standaard paginatitel en regio-koppen hoger
   Alleen de algemene pagina Accommodaties.
   ========================================================= */
.cm-acco-overzicht-page .cm-acco-overzicht-region__copy {
  align-self: start;
}


/* =========================================================
   CasaMia v12.7.91-R28AM — desktop intro/zoekblok compacter
   Alleen de algemene pagina Accommodaties.
   ========================================================= */
@media (min-width: 981px) {
  .cm-acco-overzicht-page .cm-acco-overzicht-hero.no-eyebrow {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .cm-acco-overzicht-page .cm-acco-overzicht-intro {
    margin-top: 10px;
  }

  .cm-acco-overzicht-page .cm-acco-overzicht-hero > .cm-filter-search {
    margin-top: 18px;
  }
}

/* Uitgelichte afbeelding achter titel en bestaande zoekbalk. */
.cm-acco-overzicht-hero.has-background-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cm-acco-overzicht-hero.has-background-image #cm-acco-overzicht-title,
.cm-acco-overzicht-hero.has-background-image .cm-acco-overzicht-eyebrow,
.cm-acco-overzicht-hero.has-background-image .cm-acco-overzicht-intro,
.cm-acco-overzicht-hero.has-background-image .cm-acco-overzicht-intro p {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
