/* beyond-bubbles Termine */
.bb-termine {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.2em;
}
.bb-termin {
  display: flex;
  gap: 1.4em;
  align-items: flex-start;
}
.bb-termin__blase {
  position: relative;
  flex: none;
  width: 5.2em;
  height: 5.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #111;
}
.bb-termin__blase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bb-termin-blase) center / contain no-repeat;
  rotate: var(--bb-termin-dreh, 0deg);
  mix-blend-mode: multiply;
  z-index: 0;
}
.bb-termin__tag,
.bb-termin__monat { position: relative; z-index: 1; }
.bb-termin__tag { font-size: 1.7em; font-weight: 700; }
.bb-termin__monat { font-size: 0.8em; margin-top: 0.2em; text-transform: uppercase; letter-spacing: 0.04em; }

.bb-termin__text { flex: 1; min-width: 0; }
.bb-termin__titel { margin: 0.1em 0 0.25em; font-size: 1.25em; line-height: 1.25; }
.bb-termin__titel a { color: inherit; text-decoration: none; }
.bb-termin__titel a:hover,
.bb-termin__titel a:focus-visible { text-decoration: underline; }
.bb-termin__wann { margin: 0 0 0.5em; font-size: 0.92em; opacity: 0.8; }
.bb-termin__beschreibung { margin: 0 0 0.5em; }
.bb-termin__links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 1.2em;
  font-size: 0.92em;
}
.bb-termin__links a { color: inherit; text-underline-offset: 0.2em; }

.bb-termine--vergangen .bb-termin { opacity: 0.7; }
.bb-termine-leer { font-style: italic; opacity: 0.75; }

/* Einzelne Terminseite */
.bb-termin-info {
  margin: 0 0 2em;
  padding: 1em 1.2em;
  border-left: 4px solid currentColor;
  background: rgba(0, 0, 0, 0.03);
}
.bb-termin-info p { margin: 0 0 0.5em; }
.bb-termin-info p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .bb-termin { gap: 1em; }
  .bb-termin__blase { width: 4.3em; height: 4.3em; }
}

/* Terminseite: Veroeffentlichungsdatum und Autor des Themes ausblenden
   (verwirrend neben dem eigentlichen Termindatum) */
.single-bb_termin .wp-block-group:has(> .wp-block-post-date),
.single-bb_termin .wp-block-post-date,
.single-bb_termin .wp-block-post-author,
.single-bb_termin .wp-block-post-author-name { display: none; }
