/*YOP POLL*/
.yop-poll-container {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  font-family: inherit;
}

.yop-poll-answers li {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: background 0.2s;
}

.yop-poll-answers li:hover {
  background: #f5f5f5;
}
/*SIDEBAR STYLING*/
.sidebar-column .fusion-li-item .fusion-li-text {
  margin-left: 6px; /* enger rücken */
  height: 100vh;
}

button.css-ubse8v div.css-y31tiq,
div.css-y31tiq {
    display: none !important;
}

/*===========
= LINKBOXES =
===========*/
/* Die ganze Box */
.linkbox {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* erzwingt 16:9 */
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease; /* Hover-Skalierung */
}

.linkbox:hover {
  transform: scale(1.1);
}

/* Overlay nur auf inner wrapper */
.linkbox .fusion-column-wrapper {
  position: relative; /* damit ::after relativ dazu ist */
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  border: 0.5px solid black;
}

/* Unteres Drittel Overlay */
.linkbox .fusion-column-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 33%; /* unteres Drittel */
  background: rgba(255,255,255,0.7);
  transition: background 0.3s ease;
  pointer-events: none;
}

.linkbox .fusion-column-wrapper:hover::after {
  background: rgba(255,255,255,0.85);
}

/* Text zentriert im Overlay */
.linkbox .fusion-column-wrapper .fusion-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 33%; /* Overlay-Höhe */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
  font-weight: 600;
  z-index: 1;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.linkbox .fusion-column-wrapper .fusion-text p {
  margin: 0;
}

:root {
  --font-base: clamp(15px, 1.1vw, 17px);
  --font-h6: clamp(16px, 1.2vw, 18px);
  --font-h5: clamp(18px, 1.5vw, 21px);
  --font-h4: clamp(20px, 1.8vw, 24px);
  --font-h3: clamp(24px, 2.2vw, 30px);
  --font-h2: clamp(30px, 2.8vw, 38px);
  --font-h1: clamp(36px, 3.5vw, 48px);
}

body {
  font-size: var(--font-base);
  line-height: 1.6;
  color: #222;
  font-family: "Inter", "Roboto", "Segoe UI", sans-serif;
}

h1 {
  font-size: var(--font-h1);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h2 {
  font-size: var(--font-h2);
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h3 {
  font-size: var(--font-h3);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h4 {
  font-size: var(--font-h4);
  line-height: 1.35;
  margin-bottom: 0.4em;
}

h5 {
  font-size: var(--font-h5);
  line-height: 1.4;
  margin-bottom: 0.3em;
}

h6 {
  font-size: var(--font-h6);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.3em;
}
h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }
h4 { font-size: var(--font-h4); }
h5 { font-size: var(--font-h5); }
h6 { font-size: var(--font-h6); }

/* Die ganze Box */
.linkbox {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* erzwingt 16:9 */
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease; /* Hover-Skalierung */
}

.linkbox:hover {
  transform: scale(1.1);
}

/* Overlay nur auf inner wrapper */
.linkbox .fusion-column-wrapper {
  position: relative; /* damit ::after relativ dazu ist */
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
}

/* Unteres Drittel Overlay */
.linkbox .fusion-column-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 33%; /* unteres Drittel */
  background: rgba(255,255,255,0.7);
  transition: background 0.3s ease;
  pointer-events: none;
}

.linkbox .fusion-column-wrapper:hover::after {
  background: rgba(255,255,255,0.85);
}

/* Text zentriert im Overlay */
.linkbox .fusion-column-wrapper .fusion-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 33%; /* Overlay-Höhe */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
  font-weight: 600;
  z-index: 1;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1;
}

.linkbox .fusion-column-wrapper .fusion-text p {
  margin: 0;
}

.schwarzes-brett {
  aspect-ratio: 4 / 3;
  color: #fff !important;
  transition: transform 0.3s ease !important;
  margin: 30px 30px 0 15px !important;
  border-radius: 15px !important;	
}
.schwarzes-brett:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease !important;
}
/* ==========
 * SUCHE
 * ========*/

/* 1. Grauer Hintergrund für die Lupe */
div.fusion-search-button.search-button {
    background-color: #EDEDED;
    border: none; /* optional, falls Rahmen stören */
	border-radius: 5px 0 0 5px;
    color: #000; /* Farbe der Lupe */
    font-family: 'FontAwesome'; /* sicherstellen, dass das Icon richtig angezeigt wird */
}

/* 2. Rechtsbündiger Placeholder im Suchfeld */
.fusion-search-field input::placeholder {
    text-align: left;
	color: #767676 !important;
	text-indent: 5px !important;
}

/* 3. Optional: Text im Suchfeld selbst auch rechtsbündig */
.fusion-search-field input {
    text-align: left;
}
/* === Suchfeld-Placeholder leicht nach rechts verschieben === */
.fusion-search-field .fusion-live-search-input::placeholder {
  color: #767676 !important;
  padding-left: 6px; /* funktioniert bei Avada! */
  text-indent: 6px;  /* fallback für ältere Browser */
}

/* Für Browser-Spezifika (Avada überschreibt oft über webkit) */
.fusion-search-field .fusion-live-search-input::-webkit-input-placeholder {
  padding-left: 60px;
  text-indent: 60px;
}

.fusion-search-field .fusion-live-search-input::-moz-placeholder {
  padding-left: 60px;
  text-indent: 60px;
}

.fusion-search-field .fusion-live-search-input:-ms-input-placeholder {
  padding-left: 60px;
  text-indent: 60px;
}

/* ===========
 * EILMELDUNG
 * =========*/

/* Gesamtcontainer – volle Breite innerhalb der Sidebar, Margin außen, Padding innen */
.eilmeldung-blogmodul-container {
    width: 100% !important;           /* volle Breite */
    max-width: 100% !important;       /* überschreibt Avada-Restriktionen */
    box-sizing: border-box;           /* Padding wird zur Breite dazugerechnet */
  	margin: 30px 2.5rem 0 15px !important;       /* Abstand oben/unten */
    padding: 30px !important;         /* Innenabstand */
    border-radius: 15px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;           /* Beiträge untereinander */
    background: #fff;                 /* optional, falls Hintergrundfarbe */
}

/* Entfernt Avada-Padding & -Margin der Column Wrapper */
.eilmeldung-blogmodul-container .fusion-column-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Blogmodul selbst */
.eilmeldung-blogmodul-container .fusion-blog-shortcode,
.eilmeldung-blogmodul-container .eilmledung-blogmodul {
    margin: 0 !important;
    padding: 0 !important;
}

/* Einzelner Beitrag */
.eilmeldung-blogmodul-container article {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Hauptüberschrift (Beitragstitel) */
.eilmeldung-blogmodul-container .blog-shortcode-post-title a {
    font-weight: 800;
    color: #d32f2f;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
    font-size: inherit !important; /* übernimmt Avada-H5 */
}

/* Hover-Effekt auf der Überschrift */
.eilmeldung-blogmodul-container .blog-shortcode-post-title a:hover {
    color: #b71c1c;
}

/* Abschnittsüberschriften h3/h4 */
.eilmeldung-blogmodul-container h3,
.eilmeldung-blogmodul-container h4 {
    color: #444;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 25px;
}

/* Textabschnitte */
.eilmeldung-blogmodul-container .fusion-post-content-container p {
    font-size: 1.1rem;
    color: #222;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 8px;
}

/* Entfernt überflüssige Clearfixes */
.eilmeldung-blogmodul-container .fusion-clearfix {
    display: none !important;
}

/* Optional: Trennung bei mehreren Beiträgen */
.eilmeldung-blogmodul-container article + article {
    border-top: 2px solid #ffe082;
    margin-top: 20px;
    padding-top: 20px;
}

/* === FOOTER === */
/* Footer-Spalte als Flexbox in einer Reihe und vertikal zentriert */
.footer-container .footer-column {
    display: flex;
    flex-direction: row;       /* Elemente nebeneinander */
    align-items: center;       /* vertikal zentriert */
    justify-content: space-between; /* optional: linksbündig, kann auf center oder space-between geändert werden */
    padding: 0 !important;
    margin: 0 !important;
    gap: 1rem; /* Abstand zwischen Elementen */
}

/* Alle Textblöcke im Footer */
.footer-container .footer-column .fusion-text {
    color: #faf9f6; /* gewünschte Textfarbe */
    margin: 0;
    padding: 0;
}
.footer-container .footer-column .fusion-text p {
	margin-top: 24px;
	margin-bottom: 0;
}
/* Alle Links im Footer */
.footer-container .footer-column .fusion-text a {
    color: #B32821; /* gewünschte Linkfarbe */
}

/* Spezieller Textblock "@herrstadtgraf" */
.footer-container .footer-column .herrstadtgraf,
.footer-container .footer-column .herrstadtgraf p {
    color: #2c2c2c;
    padding: 0 !important;
    margin: 0 !important;
	display: flex;
	text-align: right;
}

#mc-948a6a8e8cd15db324902317a630b853 .mc-content:not(:first-of-type),
#mc-948a6a8e8cd15db324902317a630b853 .my-calendar-navigation:not(:first-of-type),
#mc-948a6a8e8cd15db324902317a630b853 .mc-main nav:not(:first-of-type),
#mc-948a6a8e8cd15db324902317a630b853 .mc-main h2:not(:first-of-type) {
    display: none;
}

div.fusion-text p a {
	color: var(--primary_color);
	text-decoration: underline;
}

/* ==============================
   Stage.bio Widget CSS
   ============================== */
.stage-wrapper,
#stage-widget {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

/* Light / Default Mode */
#stage-widget {
  --stage-text-color: #003064;
  --stage-link-color: #882345;
  --stage-border-color: #A2231D;
  --stage-post-background-color: #ffffff;
}
/* Light Mode: Nachladen-Button */
#stage-widget::part(load-more-button) {
  background-color: #003064;
  color: #ffffff;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
}
#stage-widget::part(load-more-button):hover {
  background-color: #882345;
  color: #ffffff;
}
/* Dark Mode */
@media (prefers-color-scheme: dark) {
  #stage-widget {
    --stage-text-color: #ffffff;
    --stage-link-color: #ffcc00;
    --stage-border-color: #555555;
    --stage-post-background-color: #1a1a1a;
  }
  #stage-widget::part(load-more-button) {
    background-color: #333333;
    color: #ffffff;
  }
  #stage-widget::part(load-more-button):hover {
    background-color: #ffcc00;
    color: #000000;
  }
}

    /* Avada Override Styles */
    .stage-widget-wrapper.avada-fix,
    .stage-widget-fixed,
    #stage-widget.avada-stage-widget {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        clear: both !important;
    }
    
    /* Verhindere Link-Styling auf dem Widget */
    a .stage-widget-wrapper,
    a #stage-widget {
        text-decoration: none !important;
        color: inherit !important;
        pointer-events: none !important;
    }
    
    /* Stelle sicher, dass Stage.bio Posts klickbar bleiben */
    #stage-widget * {
        pointer-events: auto !important;
    }
#stage-widget .stage-post {
    width: calc(33.333% - 10px); /* 3 Spalten */
    margin: 5px;
    display: inline-block;
}

#stage-widget .stage-post:nth-child(4) {
    width: calc(25% - 10px); /* 4 Spalten Variante */
}

#stage-widget::part(post) {
    min-width: 150px; /* kleiner als Standard */
    max-width: 180px;
    font-size: 0.85rem;
    padding: 6px;
    margin: 4px;
}
.stage-wrapper {
    max-width: 900px; /* schon gesetzt */
    margin: 0 auto;
}
/* Container des Buttons */
#stage-widget .css-4p4l3l {
    display: flex;
    justify-content: flex-end; /* rechtsbündig */
    flex-direction: column; /* Button + Hinweis übereinander */
    gap: 5px; /* Abstand zwischen Button & Disclaimer */
}
/*
.swiper-slide.swiper-slide-visible.swiper-slide-fully-visible.swiper-slide-active div {

    border: 1px solid blue;
	height: 50% !important;
}
.swiper-slide.swiper-slide-visible.swiper-slide-fully-visible.swiper-slide-active > div {

    border: 1px solid red;
	height: 50% !important;
}
div.css-ivzpcn div {
	height: 240px !important;
}
.swiper-wrapper div {
	max-height: 50% !important
}
*/

/* =========
 * CUSTOM CHANGELOG
 * =================*/
.nmpp-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nmpp-item {
    display: grid;
    grid-template-columns: 180px 1fr 240px; /* Status | Titel | Datum */
    align-items: center;
    padding: 4px 8px;
    border-bottom: 1px solid #e0e0e0;
}

.nmpp-status {
    font-weight: bold;
    color: #333;
}

.nmpp-title a {
    color: #0073aa;
    text-decoration: none;
}

.nmpp-title a:hover {
    text-decoration: underline;
}

.nmpp-date {
    font-size: 0.85em;
    color: #777;
}
/*
.nmpp-list {} Container der gesamten Liste
.nmpp-item {}	Einzelner Eintrag
.nmpp-status {}	Status-Label („Neue Seite“, „Beitrag aktualisiert“ etc.)
.nmpp-title {}	Titel-Link
.nmpp-date {}	Datum / Uhrzeit
.nmpp-page {} / .nmpp-post {}	Typenfilter für Page / Post
.nmpp-neue-seite, .nmpp-neuer-beitrag, .nmpp-seite-aktualisiert, .nmpp-beitrag-aktualisiert {}	Status-Klassen für gezieltes Styling
.nmpp-no-entry {}	Anzeige, wenn keine neuen Änderungen vorhanden sind
*/



/* KLICKBARE COLUMNS */
.fusion-column-anchor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* über dem Hintergrund, aber unter Text */
}

.fusion-column-wrapper {
    position: relative; /* damit das absolute Link-Element relativ zu Column ist */
    z-index: 2; /* Text bleibt sichtbar */
}

/* ===================//
// Container der Info //
// ===================*/

.edit-info-container {
    position: absolute;   /* in einer Column/Kachel platzieren */
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: #555;
    text-align: right;
    line-height: 1.2;
    pointer-events: none; /* nicht klickbar */
}

/* Datum */
.edit-info-date {
    display: block;
}

/* Autor */
.edit-info-author {
    display: block;
    font-weight: 500;
}
