/* === EVENT CALENDAR LAYOUT === */
.event-calendar-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.calendar-column {
  flex: 1;
  min-width: 300px;
}

.event-list-column {
  flex: 1;
  min-width: 300px;
}

/* === EVENT LIST === */
.event-list-column h2 {
  background-color: #f0f4f8;
  padding: 16px 8px;
  border-radius: 6px;
  margin: 0 0 10px 0;
  font-size: 1.3em;
  color: #333;
  text-align: center;
  font-weight: bold;
}

.event-list-column .list_info,
.event_overview .list_info {
  font-size: 0.8em;
  margin: 4px 7px 0;
}

h3.list_title {
  font-size: 1em;
  text-align: left;
  margin: 0 0 15px 0;
  line-height: 1.1em;
  padding-left: 0;
}

/* === CALENDAR NAVIGATION === */
.calendar-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: #f0f4f8;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Buttons (⏪ / ⏩) */
.calendar-nav-button,
.calendar-nav-button.disabled {
  background-color: #3b88c3;
  color: #fff;
  padding: 6px 10px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.4em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 0.2s ease-in-out;
}

.calendar-nav-button:hover {
  background-color: #2f6ea3;
  color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.calendar-nav-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Monatsauswahl (hart zentriert) */
.calendar-month-form {
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

.calendar-month-select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 2px solid #3b88c3;
  background-color: #eaf3fb;
  color: #003366;
  font-weight: bold;
  font-size: 0.95em;
  text-align: center;
  min-width: 160px;
  line-height: 1.4em;
  vertical-align: middle;
  position: relative;
  top: -1px; /* kleiner Nudge nach oben für perfekte Zentrierung */
  transition: all 0.2s ease-in-out;
}

.calendar-month-select:hover,
.calendar-month-select:focus {
  border-color: #2f6ea3;
  background-color: #dbe9f6;
  outline: none;
}

/* === CALENDAR TABLE === */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.75em;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.calendar-table th,
.calendar-table td {
  border: 1px solid #ddd;
  padding: 6px;
  height: 40px;
  vertical-align: middle;
}

.calendar-table thead {
  background-color: #dbe5f1;
}

.calendar-table td.today {
  background-color: #e0f7fa;
  border: 2px solid #0073aa;
  font-weight: bold;
}

/* === EVENT DOTS === */
.event-dot {
  display: inline-block;
  margin-top: 4px;
  font-size: 1em;
  text-decoration: none;
}

/* === EVENT DAY LIST === */
.event-day-list {
  list-style: none;
  padding: 0;
}

.event-day-list li {
  background: #f9f9f9;
  margin-bottom: 10px;
  padding: 10px;
  border-left: 4px solid #0073aa;
  border-radius: 4px;
}


/* Navigation-Bar: alles vertikal zentrieren */
.calendar-nav-bar {
  display: flex;
  align-items: center;      /* sorgt für vertikale Zentrierung aller Kinder */
  justify-content: center;
  gap: 20px;
  background-color: #f0f4f8;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Buttons mit Emoji-Bild */
.calendar-nav-button {
  background-color: #3b88c3;
  color: #fff;
  padding: 10px;
  width:25px;
  height:25px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.4em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 0.2s ease-in-out;
}



/* Hover einheitlich */
.calendar-nav-button:hover {
  background-color: #2f6ea3;
  color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

/* Formular in der Mitte: direkt über Struktur */
.calendar-nav-bar > form {
  margin: 0;                 /* Browser-Default entfernen */
  padding: 0;
  display: flex;
  align-items: center;       /* Select mit Buttons ausrichten */
}

/* Select im Formular */
.calendar-nav-bar > form > select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 2px solid #3b88c3;
  background-color: #eaf3fb;
  color: #003366;
  font-weight: bold;
  font-size: 0.95em;
  text-align: center;
  min-width: 160px;
  line-height: 1.4em;
  vertical-align: middle;
}

.calendar-nav-bar a {
  color:#fff!important;
}

/* === EVENT DAY ITEM === */
.event-day-item {
  display: flex;               /* Bild und Text nebeneinander */
  align-items: flex-start;     /* obere Kante ausrichten */
  gap: 15px;                   /* Abstand zwischen Bild und Text */
}

/* Thumbnail-Bild */
.event-day-thumb img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .event-day-thumb img {
    max-width: 75px;
  }
}


/* Textbereich */
.event-day-content {
  flex: 1;                     /* nimmt restliche Breite ein */
  display: flex;
  flex-direction: column;
  justify-content: center;     /* Text vertikal mittig zum Bild */
}


h3.list_title a{
line-height:1.5em;
}

