
body.termine .mod_eventlist {
  --termine-ink: #512016;
  --termine-ink-soft: #70472e;
  --termine-gold: #a47b3c;
  --termine-gold-light: #d8bd83;
  --termine-card: rgba(255, 248, 228, 0.82);
  color: var(--termine-ink);
  max-width: 500px;
}

/* Datumszeile */
body.termine .mod_eventlist > .header {
  position: relative;
  margin: 0 0 -0.1rem;
  padding: 0.8rem 1.25rem 0.65rem;
  color: #fff7e5;
  background: linear-gradient(110deg, #80542e, #a98249 70%, #b8955b);
  border: 1px solid rgba(255, 245, 218, 0.65);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 3px 8px rgba(58, 31, 15, 0.12);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0rem;
  line-height: 1.1;
  letter-spacing: 0.025em;
}

body.termine .mod_eventlist > .header .day,
body.termine .mod_eventlist > .header .date,
body.termine .mod_eventlist > .header .time {
  color: inherit;
}

body.termine .mod_eventlist > .header .date {
  font-weight: 600;
}

/* Veranstaltungskarte */
body.termine .mod_eventlist .event {
  position: relative;
  margin: 0 0 1.8rem;
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--termine-card);
  border: 1px solid rgba(164, 123, 60, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0 0 5px 5px;
  box-shadow:
    0 5px 15px rgba(58, 31, 15, 0.14),
    inset 0 0 0 3px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(3px);
}

/* Goldener Akzent links */
body.termine .mod_eventlist .event::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    #d8bd83,
    #a47b3c 55%,
    #d8bd83
  );
  border-radius: 0 0 0 4px;
}

/* Veranstaltungstitel */
body.termine .mod_eventlist .event h2 {
  margin: 0 0 0.65rem;
  color: #542016;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.0rem, 2.0vw, 1.2rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.005em;
}

/* Veranstaltungsort */
body.termine .mod_eventlist .event .location {
position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5em;
  padding: 0.4rem;
  color: #603b25;
  background: rgba(255, 247, 224, 0.78);
  border-left: 3px solid #a47b3c;
  border-radius: 3px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Standort-Pin */
body.termine .mod_eventlist .event .location::before {
  content: "";
  position: relative;
  flex: 0 0 0.72rem;
  width: 0.72rem;
  height: 0.72rem;
  margin: -0.25rem 0.15rem 0;
  background: #956b30;
  border: 2px solid #956b30;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0.85);
  box-shadow: inset 0 0 0 2px #fff2d4;
}

/* Beschreibung */
body.termine .mod_eventlist .event .content-text {
  margin: 0;
  color: var(--termine-ink);
  font-size: 0.96rem;
  line-height: 1.65;
}

body.termine .mod_eventlist .event .content-text p {
  margin: 0 0 0.75rem;
}

body.termine .mod_eventlist .event .content-text p:last-child {
  margin-bottom: 0;
}

/* Links in der Beschreibung */
body.termine .mod_eventlist .event .content-text a {
  color: #70451e;
  text-decoration-color: rgba(164, 123, 60, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

body.termine .mod_eventlist .event .content-text a:hover {
  color: #8b5727;
  text-decoration-color: currentColor;
}

/* Seitennavigation */
body.termine .mod_eventlist .pagination {
  margin: 1.5rem 0;
  text-align: center;
}

body.termine .mod_eventlist .pagination a,
body.termine .mod_eventlist .pagination span {
  display: inline-block;
  margin: 0.2rem;
  padding: 0.45rem 0.75rem;
  color: var(--termine-ink);
  background: var(--termine-card);
  border: 1px solid rgba(164, 123, 60, 0.6);
  border-radius: 3px;
  text-decoration: none;
}

body.termine .mod_eventlist .pagination a:hover {
  background: rgba(255, 248, 228, 0.95);
}

/* Mobile Darstellung */
@media (max-width: 600px) {
  body.termine .mod_eventlist > .header {
    padding: 0.7rem 0.9rem 0.6rem;

  }

  body.termine .mod_eventlist .event {
    margin-bottom: 1.4rem;
    padding: 0.95rem 0.9rem 1rem 1.05rem;
  }

  body.termine .mod_eventlist .event h2 {

  }

  body.termine .mod_eventlist .event .location {
    gap: 0.6rem;
    padding: 0.65rem 0.7rem;
    font-size: 0.9rem;
  }

  body.termine .mod_eventlist .event .content-text {
    font-size: 0.94rem;
  }
}
