/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jul 21 2026 | 15:42:27 */
/* Wrapper */
.rf-events-wrap {
  width: 100%;
}

/* Filterleiste */
.rf-events-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
	justify-content:center;
}

/* Filterfelder */
.rf-events-filters select {
  min-height: 50px!important;
  padding: 0 15px;
  border: 2px solid #1D1D1D;
  background: #D8CFC8;
  color: #1D1D1D;
  font-size: 16px;
  border-radius: 10px;
  transition: all .3s ease;
  padding: 0 10px;
}

/* Filter-Button */
.rf-events-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 50px;
  padding: 0 10px;
  border: 2px solid #1D1D1D;
  background: #1D1D1D;
  color: #D8CFC8;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  border-radius: 10px;
  cursor: pointer;
  transition: all .3s ease;
}

.rf-events-filters select:hover {
  border: 2px solid #1D1D1D;
  background: #1D1D1D;
  color: #fff;
  transition: all .3s ease;
}

.rf-events-filters button:hover {
  background-color:transparent;
  color: #1D1D1D;
}

/* Grid */
.rf-events-grid {
  display: grid;
  gap: 25px;
}

/* Karte */
.rf-event-card {
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  background: #ECE7E2;
  border-radius: 10px;
  overflow: hidden;
  /* border: 2px solid #D8CFC8; */
  transition: all .3s ease;
}

.rf-event-card:hover {
/*  border: 2px solid #1D1D1D;*/
  transition: all .3s ease;
  background: #F4F0EB;
  transform:scale(0.98);
}

.rf-event-card.js-rf-card-link {
  cursor: pointer;
}

/* Bild */
.rf-event-image {
  display: block;
  height: 100%;
}

.rf-event-image img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

/* Inhalt */
.rf-event-content {
  display: flex;
  flex-direction: column;
  padding: 20px 20px;
  gap: 15px;
}

/* Datum */
.rf-event-date {
  font-size: 18px;
  line-height: 1.3;
  color: #1D1D1D;
  font-weight: 500;
}

.rf-date-separator,
.rf-date-end {
  display: inline;
}

/* Location */
.rf-event-location {
  font-size: 18px;
  line-height: 1.3;
  color: #ED3700;
  font-weight: 500;
}

/* Titel */
.rf-event-title {
  margin: 0;
  font-size: clamp(25px, 30px, 40px);
  line-height: 1.1;
  color: #1D1D1D;
  font-weight: 700;
}

/* Teaser + Button immer unten */
.rf-event-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-top: auto;
  width: 100%;
}

/* Teaser */
.rf-event-teaser {
  flex: 1 1 0;
  min-width: 0;
  font-size: 18px;
  line-height: 1.3;
  color: #1D1D1D;
  margin: 0;
}

/* Kartenbutton */
.rf-event-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  max-width: 100%;
  min-height: 50px;
  padding: 10px 10px;
  background: #1D1D1D;
  color: #D8CFC8;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid #1D1D1D;
  font-weight: 700;
  font-style: italic;
  transition: all .3s ease;
  text-align:center;
	line-height:1.3;
	margin-left: auto;
	font-size:18px;
}

/* Kartenbutton Hover */
.rf-event-button:hover {
  background-color: transparent;
  color: #1D1D1D;
  border: 2px solid #1D1D1D; 
}

/* Mehr laden / CTA Wrap */
.rf-events-more,
.rf-events-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* Mehr/Alle laden Button */
.rf-events-more-button,
.rf-events-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  max-width: 80%;
  height: 50px;
  padding: 0 10px;
  background: transparent;
  color: #1D1D1D;
  text-decoration: none;
  border: 2px solid #1D1D1D;
  border-radius: 10px;
  font-weight: 700;
  font-style: italic;
  transition: all .3s ease;
		font-size:18px;
}

/* Mehr/Alle laden Button Hover */
.rf-events-more-button:hover,
.rf-events-cta-button:hover {
  background-color: #1D1D1D;
  color: #D8CFC8;
}

/* AJAX Loading */
.rf-events-wrap.is-loading {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* ============================================================
   Archiv-Karten: Texte entsättigt, Bild mit Rosa-Overlay, Button gedimmt
   ============================================================ */

/* Default: Texte entsättigt */
.rf-event-card--archive .rf-event-title,
.rf-event-card--archive .rf-event-date,
.rf-event-card--archive .rf-event-teaser,
.rf-event-card--archive .rf-event-location {
  filter: grayscale(100%);
  transition: filter .3s ease;
}

/* Rosa-Overlay über dem Bild */
.rf-event-card--archive .rf-event-image {
  position: relative;
}
.rf-event-card--archive .rf-event-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #D8CFC8;
  opacity: .4;
  pointer-events: none;
  transition: opacity .3s ease;
}

/* Button gedimmt und nicht klickbar */
.rf-event-card--archive .rf-event-button {
  opacity: .5;
  pointer-events: none;
  cursor: default;
  transition: opacity .3s ease;
}

/* Hover: Texte wieder bunt, Overlay weg */
.rf-event-card--archive:hover .rf-event-title,
.rf-event-card--archive:hover .rf-event-date,
.rf-event-card--archive:hover .rf-event-teaser,
.rf-event-card--archive:hover .rf-event-location {
  filter: none;
}
.rf-event-card--archive:hover .rf-event-image::after {
  opacity: 0;
}


/* ********** Responsiveness ********** */

/* Tablet */
@media (max-width: 980px) {
  .rf-event-card {
    grid-template-columns: 1fr;
  }

  .rf-event-image img {
    min-height: 220px;
  }

  .rf-event-content {
    padding: 22px;
  }

  .rf-event-title {
    font-size: 30px;
  }

  .rf-event-teaser {
    font-size: 18px;
	width:100%;
  }
	
  .rf-event-meta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .rf-event-card:hover {
	transform:scale(1)!important;
}
	
  .rf-event-button,
  .rf-events-more-button,
  .rf-events-cta-button {
    width: 100%;
	max-width: 80%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .rf-events-filters {
    flex-direction: column;
  }

  .rf-events-filters select,
  .rf-events-filters button {
    width: 100%;
	  min-height:50px!important;
  }

  .rf-event-title {
    font-size: 20px;
  }

  .rf-event-date,
  .rf-event-location,
  .rf-event-teaser {
    font-size: 16px;
  }
	
	  .rf-date-separator {
    display: block;
  }

  .rf-date-end {
    display: block;
  }
	
  .rf-event-button,
  .rf-events-more-button,
  .rf-events-cta-button {
    width: 100%;
	max-width: 90%;
  }
}

/* ********** Animationen ********** */

/* AJAX Loading */
.rf-events-wrap.is-loading {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 1s ease;
}

/* Nur markierte Karten animieren */
.rf-event-card.is-new {
  animation: rfEventFadeUp 1s ease both;
}

.rf-event-card.is-new:nth-child(2) {
  animation-delay: .05s;
}

.rf-event-card.is-new:nth-child(3) {
  animation-delay: .1s;
}

.rf-event-card.is-new:nth-child(4) {
  animation-delay: .15s;
}

.rf-event-card.is-new:nth-child(5) {
  animation-delay: .2s;
}

.rf-event-card.is-new:nth-child(6) {
  animation-delay: .25s;
}

@keyframes rfEventFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ********** Karten mobile Swipe ********** */

@media (max-width: 980px) {

  /* Spalte ohne Innenabstand, damit der Peek sauber sitzt */
  body .rf-events-row .et_pb_column {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Grid wird zur horizontalen Snap-Bahn */
  .rf-events-row .rf-events-grid {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Links wenig Padding, rechts mehr Padding damit letzte Karte snappen kann */
    padding-inline: 5vw 25vw;
    /* Snap-Ziel landet 5vw vom linken Rand */
    scroll-padding-left: 5%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .rf-events-row .rf-events-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  /* Karten: feste Breite, am Anfang einrasten */
  .rf-events-row .rf-events-grid .rf-event-card {
    flex: 0 0 75vw;
    width: 75vw;
    max-width: 75vw;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}