/* Termin-Layout */
.termin-wrapper {
  width: 100%;
}

.termin {
  display: grid;
  grid-template-columns: 100px 1fr 220px;
  gap: 20px;
  padding: 18px 18px;
  margin-bottom: 18px;
  border: 1px solid rgb(234, 238, 229);
  border-radius: 0px;
  background: #fff;
  
}

.datum {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: rgb(119, 128, 107);
  font-family: "LifeSavers";
}

.infos h3 {
  margin: 0 0 10px 0;
  font-size: 23px;
  line-height: 1.3;
}

.infos {
  font-weight: 300!important;
}

.infos strong {
  font-weight: 600!important;
}

a.ics-link, a.bzv-next-event-more {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 0px;
  background: rgb(234, 238, 229);
  color: rgb(56, 85, 58);
  border: 1ps solid rgb(40, 95, 44);
  text-decoration: none;
  font-weight: 600;
}

a.ics-link:hover, a.bzv-next-event-more:hover {
  background: #CED1CA;
}

a.bzv-mehr-erfahren {
  margin-bottom: 10px;
  display: block;
  color: rgb(56, 85, 58);
  font-weight: 600!important;
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 10px!important;
  object-fit: cover;
}



.bzv-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    opacity: 0;
}

.bzv-content.is-active {
    max-height: 1000px; /* Ein ausreichend hoher Wert */
    opacity: 1;
}

/* Optional: Ein kleiner Abstand nach innen, damit es nicht klebt */
.bzv-content-inner {
    padding: 15px 0;
}


/* Kategorie-Filter */
.bzv-termine-filter {
    margin-bottom: 30px;
}

.bzv-termine-filter select {
    border: 1px solid rgb(234, 238, 229);
    background: rgb(234, 238, 229);
    color: rgb(56, 85, 58);
    height: 40px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.2s ease;
}


.bzv-termine-filter-links {
    margin-bottom: 20px;
}
.bzv-termine-filter-links a {
    display: inline-block;
    margin-right: 10px;
    padding: 4px 20px;
    background: transparent;
    color: #333;
    text-decoration: none;
    border-radius: 0px;
    transition: background 0.2s, color 0.2s;
}
.bzv-termine-filter-links a:hover {
    background: rgb(234, 238, 229);
}
.bzv-termine-filter-links a.active {
    background: rgb(234, 238, 229);
}



@media (min-width: 1200px) { 
 
.termin {
  grid-template-columns: 100px 1fr 320px;
}

}



/* Responsive (Tablet/Mobil) */
@media (max-width: 900px) {
  .termin {
    grid-template-columns: 1fr;
  }
  .image {
    order: -1;
  }
}