.veranstaltungs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
}

.wp-block-obb-link-blockci {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid #ccc;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.wp-block-coverci {
  height: 350px;
}

.wp-block-cover__image-backgroundci {
  height: 100%;
  object-fit: cover;
}

.wp-block-cover__inner-containerci {
  height: 100%;
}

.veranstaltungs-grid-titel {
  color: red;
  /*font-weight: bold;*/
  font-size: 0.9em;
  margin: 10px 15px 8px 15px;
}

.veranstaltungs-grid-datum {
  color: black;
  font-size: 0.70em;
  margin: 0 25px 8px 15px;
}
.obb-link-content .rahmenhoch {
  position: relative;
  min-height: 300px;
}
.obb-link-content .randhoch {
  position: absolute;
  border: 1px solid #fff;
  z-index: 10;
  pointer-events: none;
  left: 10px;
  top: 10px;
  bottom: 10px;
  right: 10px;
  width: auto;
  height: auto;
  transition: all 0.3s ease;
}

.obb-link-overlayci {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
}

/**** Header ****/
.filter-zeile {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  padding: 0;
  background: transparent;
}

.filterfeld {
  display: flex;
  flex-direction: column;
}

.filterfeld label {
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 5px;
}

.filterfeld input,
.filterfeld select {
  padding: 8px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  width: 100%;
}
.filterfeld input[type="text"] {
  border-radius: 8px; /* identisch zu .filterfeld select */
}
.filterfeld input,
.filterfeld select {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  width: 100%;
  height: 44px; /* einheitliche Höhe */
  box-sizing: border-box;
}


/**** Popup ****/
.modal_civ {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
}

.modal_civ.hidden_civ {
  display: none !important;
}

.modal-content_civ {
  background: white !important;
  padding: 30px !important;
  border-radius: 12px !important;
  max-width: 600px !important;
  width: 90% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  position: relative !important;
  box-shadow: 0 0 20px rgba(0,0,0,0.4) !important;
}

.close-button_civ {
  position: absolute !important;
  top: 15px !important;
  right: 20px !important;
  font-size: 1.6rem !important;
  cursor: pointer !important;
  color: #333 !important;
  font-weight: bold !important;
}

.modal-meta_civ {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 15px;
}

.modal-datumzeile {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 5px;
}

#modal-beschreibung_civ {
  margin-bottom: 20px;
}

.btn-anmelden_civ {
  display: inline-block;
  background-color: #f44336; /* JHS-Rot */
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.btn-anmelden_civ:hover {
  background-color: #d32f2f;
}

#modal-beschreibung_civ {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin: 15px 0 25px 0;
  white-space: pre-line; /* Falls du mit \n arbeitest */
}

#filter-daterange,
#filter-altersgruppe,
#filter-veranstaltung,
#filter-suche,
#filter-altersgruppe option,
#filter-veranstaltung option {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
#filter-daterange,
#filter-suche {
  color: black;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  appearance: none;       /* verhindert Browser-Sonderstyles */
  box-sizing: border-box;
}

#filter-daterange::placeholder,
#filter-suche::placeholder {
  color: black;            /* oder #000, je nach Wunsch */
  opacity: 1;             /* wichtig: verhindert graue Darstellung */
}

.dx-icon-event {
  display: none !important;
}

.clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #999;
  user-select: none;
}

/* Alle Linien zwischen Wochenzeilen entfernen */
.dx-calendar-body tr {
  border-bottom: none !important;
}

/* Alternativ: auch vertikale Linien zwischen Tagen entfernen */
.dx-calendar-cell {
  border: none !important;
}

/* DevExtreme Font auf Roboto setzen */
.dx-dropdowneditor,
.dx-calendar,
.dx-calendar-caption,
.dx-calendar-cell,
.dx-calendar-body {
  font-family: 'Roboto', sans-serif !important;
  font-size: .8rem;

}

.dx-calendar .dx-widget .dx-calendar-caption th,
.dx-calendar .dx-widget .dx-calendar-body th {
  text-align: center !important;
}

/* DevExtreme Kalenderüberschriften zentrieren */
.dx-calendar th {
  text-align: center !important;
  text-transform: none !important; /* optional: entfernt UPPERCASE */
  letter-spacing: normal !important; /* optional: entfernt Abstand */
}



/* Linie über und unter Monatsnamen ausblenden */
.dx-calendar-header,
.dx-calendar-body {
  border-top: none !important;
  border-bottom: none !important;
}
.dx-calendar .dx-widget {
  border-top: none !important;
  border-bottom: none !important;
}
.dx-button-mode-outlined
{
    border-color:#fff !important;
}

/* Heute (aktuelles Datum) NICHT hervorheben */
.dx-calendar-cell.dx-calendar-today {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: normal !important;
  color: inherit !important;
}
