.carousels + .carousels {
  display: none;
}
.template-home .carousels .carousel-featured .item h1 {
	word-break: break-word;
}

/* TeMa - Commissie informatieblok */

.tema-committee-info {
    background-color: #F1F5F9;
    border-radius: 10px;
    padding: 24px;
    color: #24364B;
    margin: 20px 0;
}

.tema-committee-info .info-item {
    padding: 0 0 16px 0;
    margin: 0 0 16px 0;
    border-bottom: 1px solid #D8E0E9;
}

.tema-committee-info .info-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.tema-committee-info .info-label {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #24364B;
}

.tema-committee-info .info-value {
    font-size: 16px;
    margin: 0;
    color: #24364B;
}


/* EVENEMENTENOVERZICHT */

/* Alleen overzichtspagina in een raster */
body.module-events main .inner-container .row > section.col:has(> article) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

/* Paginatitel */
body.module-events main section.col:has(> article) > h1 {
  grid-column: 1 / -1;
}

/* Donkerblauwe evenementkaartjes */
body.module-events main section.col > article {
  padding: 20px;
  border: 1px solid #2b3d4f;
  border-radius: 10px;
  background: #2b3d4f !important;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  color: white !important;
}

/* Titels */
body.module-events main section.col > article h3 {
  min-height: 60px;
  color: white !important;
}

/* Witte tekst, datum en categorie */
body.module-events main section.col > article .meta,
body.module-events main section.col > article .meta *,
body.module-events main section.col > article span,
body.module-events main section.col > article a,
body.module-events main section.col > article i {
  color: white !important;
  font-weight: 600 !important;
}

/* Foto over volledige breedte */
body.module-events article .details .col-4 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body.module-events article .details img {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
}

/* Beschrijving op kaartjes verbergen */
body.module-events article .details p {
  display: none !important;
}

/* Mobiele weergave */
@media (max-width: 767px) {
  body.module-events main .inner-container .row > section.col:has(> article) {
    grid-template-columns: 1fr;
  }
}


/* INDIVIDUELE EVENEMENTPAGINA */

/* Standaardindeling herstellen */
body.module-events main .inner-container .row > section.col:not(:has(> article)) {
  display: block !important;
}

/* Foto verbergen */
body.module-events main section.col:not(:has(> article)) > figure {
  display: none !important;
}

/* Beschrijving direct onder titel */
body.module-events main section.col:not(:has(> article)) > p {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 12px 0 16px !important;
}

/* Paginanavigatie over volledige breedte */
body.module-events main section.col:has(> article) > :not(article):not(h1) {
  grid-column: 1 / -1;
}

/* Evenementkaartjes netjes naast elkaar */
body.module-events main section.col:has(> article) > article {
  grid-column: auto !important;
}
