
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: #000000;
  font-weight: 500;
}

.header-one__main-menu {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 calc(100%);
	flex: 0 0 calc(100%);
}

.content-main a {
	color: var(--body-link-color);
	text-decoration: underline #c4d759;
}

.simple-lang-flag {
	position: fixed;
	top: 30%;
	right: 0;
	z-index: 9999;
	background: transparent;
	display: flex;
	align-items: center;
	transition: transform 0.2s ease;
	display: none !important;
}

.simple-lang-flag .simple-lang-icon {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	width: 84px;
}

.simple-lang-flag .simple-lang-img-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  justify-content: center; /* horizontal zentrieren */
}

.menu-bar {
	height: 32px;
	width: 25px;
	position: absolute;
	cursor: pointer;
	top: 50%;
	right: 0;
	margin-top: -16px;
}

.gsc-button.medium {
  text-decoration: none;
}

.gsc-button.medium:hover {
	background-color: rgb(192, 192, 192) !important;
	color: #000 !important;
}

h3, .h3 {
	font-weight: 500;
	font-size: 20px;
	text-decoration: underline;
}

.text-right {
  text-align: right;
}

.header-one__content {
  padding: 0 15px;
  max-width: 1580px;
  margin: 0 auto;
}

.gsc-heading__title {
	letter-spacing: 1.0px;
	font-size: 45px;
}

header .site-branding-logo {
	padding: 12px 0 24px 0;
	display: inline-block;
	height: auto;
	max-width: 330px;
}

.header-one__left {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 360px;
	flex: 0 0 360px;
	padding-right: 30px;
}

.header-one__right {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	-webkit-box-flex: 0;
	-ms-flex: 0 0 calc(100% - 360px);
	flex: 0 0 calc(100% - 360px);
}

.swiper {
  width: 100%;
  height: 70vh;              /* feste Höhe */
  background: #000;          /* Hintergrund falls Ränder */
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img,
.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* wie background-size: cover */
  object-position: center;   /* wie background-position: center */
}

/* Pfeile (Next / Prev) */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;   /* weiß */
}

/* Inaktive Dots */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5) !important;
}

/* Aktiver Dot */
.swiper-pagination-bullet-active {
  background: #fff !important;
}

/* nur für deine Bubble Heading */
.bubble-heading .gsc-heading__title span::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-right: 5px;
	background: url("img/icon-speak.png") no-repeat center center;
	background-size: contain;
	vertical-align: middle;
	margin-top: -20px;
}

.bubble-heading-facebook .gsc-heading__title span::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-right: 5px;
	background: url("img/BLRA-Blase-highres_FB.png") no-repeat center center;
	background-size: contain;
	vertical-align: middle;
	margin-top: -20px;
}

.bubble-heading-youtube .gsc-heading__title span::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-right: 5px;
	background: url("img/BLRA-Blase-highres_YT.png") no-repeat center center;
	background-size: contain;
	vertical-align: middle;
	margin-top: -20px;
}

.bubble-heading-instgram .gsc-heading__title span::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-right: 5px;
	background: url("img/BLRA-Blase-highres_Instgram.png") no-repeat center center;
	background-size: contain;
	vertical-align: middle;
	margin-top: -20px;
}

.footer-column {
	padding: 20px;
}

.footer-column .column-inner {
	background-color: rgb(223, 223, 223);
	padding: 40px;
	height: 100%;
}

.margin-top-30 {
	margin-top: 30px;
}

.margin-bottom-0 {
	margin-bottom: 0px;
}

.socialbuttonimg {
	opacity: 0.5;
	width: 100px;
	height: 98px;
}

.socialbuttonlink {
	display: inline-block;
	margin-left: 2px;
	margin-right: 2px;
}

.socialbuttonlink:hover > .socialbuttonimg {
  opacity: 1;
}

.ShowPinButton {
  display: flex;
  padding: 15px;
  cursor: pointer;
  border-top: 1px solid #c4d55a;
  border-bottom: 1px solid #c4d55a;
  border-left: 1px solid #c4d55a;
  text-decoration: none !important;
}

/* Erster Button → dickerer Top-Border */
.ShowPinButton:first-of-type {
	border-top-width: 0;
}

/* Letzter Button → dickerer Bottom-Border */
.ShowPinButton:last-of-type {
  border-bottom-width: 2px;
}

.ShowPinButton.beratungsstelle {
	border-right: 3px solid #c4d55a;
}

.ShowPinButton.shg {
	border-right: 3px solid #c4d55a;
}

.shg-list-name {
	width: 60%;
}

.shg-list-plz {
	width: 40%;
}

.pinlist-toggle {
	display: flex;
	align-items: center;
	gap: .5rem;
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid #c4d55a;
	background: #c4d55a;
	color: #000;
	cursor: pointer;
}

.ShowPinButtonSearch {
	width: 100%;
	display: inline-block;
	height: 100%;
	min-width: 100%;
}

#pinlist {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
  padding: 0;
}

#pinlist.open {
	max-height: 400px !important;
	overflow: scroll;
	border-bottom: 1px solid rgb(196, 213, 90);
}

.pinlist-toggle .chevron {
  margin-left: .5rem;
  transition: transform .25s ease;
}
.pinlist-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.negative-margin-bottom-20perc {
	margin-bottom: -20%;
}

.footerdatalinks {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 30px;
	position: relative;
	flex-wrap: wrap;
}

.footerdatalinks .footerlinkbutton {
	padding-left: 10px;
	padding-right: 10px;
}

.footerdatalinks .footerlinkbuttonspende {
	position: absolute;
	right: 0;
}

.footerdatalinks .footerlinkbuttonspende::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-right: 5px;
	background: url("img/icon-speak.png") no-repeat center center;
	background-size: contain;
	vertical-align: middle;
	margin-top: -20px;
}

/* Youtube Styles */
.yt-grid { display:grid; gap:16px; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }
.yt-card {
	color: var(--body-link-color);
	overflow: hidden;
	text-decoration: none;
	display: block;
}
.yt-thumb { aspect-ratio:16/9; width:100%; object-fit:cover; display:block; }
.yt-body { padding:12px; }
.yt-title {
	margin: 0 0 6px;
}
.yt-meta {
	color: #6a6a6a;
	font-size: 12px;
}
.yt-card:focus,.yt-card:hover { border-color:#3a3a3a; }

.yt-videos-1 .yt-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill,minmax(100%,1fr));
	border: 1px solid #e6e6e6;
}

/* Class for Header Images */
.headerimg img {
	width: 100%;
	max-width: none;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 1.5rem;             /* Abstand zwischen Logos */
  padding: 1rem 0;
}

.footer-logo.logo-small {
  max-width: 100px;
}

.footer-logo.logo-medium {
  max-width: 150px;
}

.footer-logo.logo-big {
  max-width: 300px;
}

.footer-logo {
  max-width: 300px;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer-logo img {
	max-width: 300px;
	height: auto;
	object-fit: contain;
	transition: transform 0.2s ease;
	width: 100%;
	min-width: 100px;
}

.footer-logo img:hover {
  transform: scale(1.05);  /* leichter Hover-Effekt */
}

.service-one__icon {
	display: none;
}

/* breadcrumb Node */
.breadcrumb-links ol {
  list-style: none; /* Entfernt die Aufzählungspunkte */
  padding: 0; /* Entfernt zusätzlichen Innenabstand */
  margin: 0; /* Entfernt zusätzlichen Außenabstand */
  display: flex; /* Richtet die Elemente in einer Zeile aus */
  gap: 5px; /* Fügt Abstand zwischen den Breadcrumb-Elementen ein */
}

.breadcrumb-links li {
  display: inline; /* Macht die Listenelemente inline, um sie in einer Zeile darzustellen */
  margin: 0; /* Entfernt jeglichen Abstand */
}

.breadcrumb-links span {
  margin: 0 5px; /* Fügt Abstand um das Trennzeichen `»` hinzu */
  color: #000; /* Farbe des Trennzeichens anpassen, falls nötig */
}

.breadcrumb-links a {
  text-decoration: none; /* Entfernt Unterstreichungen von Links */
  color: inherit; /* Übernimmt die Schriftfarbe des übergeordneten Elements */
}

.breadcrumb-container {
	padding-bottom: 0;
	max-width: 1580px;
	padding-left: 0;
	padding-right: 0;
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}

.gbb-row .bb-inner {
	padding-top: 60px;
	padding-bottom: 60px;
}

.shg-name {
	font-size: 26px;
	font-weight: normal;
	line-height: 32px;
	border-bottom: 1px solid rgb(146, 146, 146);
}

.button-shg {
  color: #000;
  border-color: #000;
  margin-top: 35px;
}

.title-shg {
	margin-bottom: 25px;
}

.title-shg > span {
	border-bottom: 1px solid rgb(146, 146, 146);
}

.shg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 50px;
}

.shg-grid-item {
	background: #F9F9F9;
	padding: 30px;
	z-index: 11;
}

.partner-grid {
  margin-bottom: 50px;
}

.partner-grid > .field__items {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.partner-grid .field__item {
  flex: 0 1 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-grid .field__item img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.aufmacherbild-wrapper {
	margin-bottom: 50px;
}

.aufmacherbild-wrapper .aufmacherbild {
  width: 100%;
}

.aufmacherbild-wrapper .bildunterschrift {
  font-size: 16px;
  font-weight: 600;
}

.aufmacherbild-wrapper .bildquelle {
	font-size: 12px;
}

.rueckblick-wrapper {
	padding-top: 50px;
	padding-bottom: 50px;
}

.rueckblick-wrapper .field--name-field-datum {
	font-size: 24px;
}

.rueckblick-wrapper .field--name-field-teaser {
	font-weight: 600;
	padding-top: 10px;
	padding-bottom: 10px;
}

.my-photoswipe-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.my-photoswipe-gallery a img {
  width: 100%;
  height: 200px; /* feste Höhe */
  object-fit: cover;
}

.pswp__custom-caption {
	color: white;
	text-align: center;
	font-size: 19px;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 1000;
}

.pswp__custom-caption a {
    color: white;
}

.rueckblicke-row {
	padding-top: 0;
}

.views-infinite-scroll-content-wrapper .rueckblicke-row:nth-child(n+2) {
  padding-top: 0;
}

.rueckblicke-item {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 1rem;
	align-items: start;
	margin-bottom: calc(var(--bs-gutter-x) * 2);
}

.rueckblicke-info-title {
	font-weight: 600;
	margin-bottom: 20px;
}

.rueckblicke-info-title a {
  text-decoration: none;
}

.rueckblicke-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
}

.button-bottom-right {
  align-self: flex-end;
  margin-top: auto;
  text-align: right;
}

.rueckblicke-info-button {
	color: #000;
	border-color: #000;
	margin: 0;
}

.neues-aus-bayern-left {
	text-align: left;
	padding-bottom: 30px;
	border-bottom: 1px solid rgb(192, 192, 192);
}

.neues-aus-bayern-right {
	text-align: right;
	padding-bottom: 30px;
	border-bottom: 1px solid rgb(192, 192, 192);
}

.neues-aus-bayern-item {
	padding-bottom: 50px;
}

.neues-aus-bayern-front {
	color: #000;
	padding-bottom: 60px;
}

.neues-aus-bayern-front-row {
  display: flex;
}

.neues-aus-bayern-front .neues-aus-bayern-title {
	color: #000;
}

.neues-aus-bayern-front .neues-aus-bayern-text {
	color: #000;
	width: calc(100% - 20%);
	display: inline-block;
}

.neues-aus-bayern-front .neues-aus-bayern-pic-front {
	width: 20%;
	display: inline-block;
}

.neues-aus-bayern-front .neues-aus-bayern-text p:first-of-type {
	display: block;
}

.neues-aus-bayern-front .neues-aus-bayern-text p:not(:first-of-type) {
  display: none;
}

.veranstaltung-front-bild {
	overflow: hidden;
	position: relative;
}

.veranstaltung-front-bild img {
	transition: transform 0.3s ease;
	width: 100%;
}

.veranstaltung-front-bild:hover img {
	transform: scale(1.05);
	transition: transform 0.3s ease;
}

.rueckblicke-vorschau-bild {
	overflow: hidden;
	position: relative;
}

.rueckblicke-vorschau-bild img {
	transition: transform 0.3s ease;
	width: 100%;
}

.rueckblicke-vorschau-bild:hover img {
	transform: scale(1.05);
	transition: transform 0.3s ease;
}

.neues-aus-bayern-front-small {
	color: #000;
	padding-bottom: 0;
}

.neues-aus-bayern-front-small .neues-aus-bayern-title {
	color: #000;
}

.neues-aus-bayern-front-small .neues-aus-bayern-text {
	color: #000;
}

.rueckblicke-item-front {
	color: #000;
}

.rueckblicke-item-front .rueckblicke-info-title {
	color: #000;
	padding-top: 10px;
}

.rueckblicke-item-front .rueckblicke-info-title a {
	color: #000;
	font-weight: 400;
	font-size: 28px;
	line-height: 34px;
	padding-bottom: 15px;
	text-decoration: none;
}

.yt-grid a {
	text-decoration: none;
}

.rueckblicke-item-front .rueckblicke-info-text {
	color: #000;
}

.rueckblicke-item-front .rueckblicke-info {
	display: block;
}

.button-bottom-left {
	position: absolute;
	bottom: 0;
}

.more-news-front-button {
	background: rgb(197, 215, 89);
	color: #000;
	border-color: #000;
}

.neues-aus-bayern-title {
	font-weight: 400;
	font-size: 32px;
	line-height: 40px;
	padding-bottom: 15px;
}

.neues-aus-bayern-datum {
  display: inline;
}

.neues-aus-bayern-text p:first-of-type {
  display: inline;
}

.neues-aus-bayern-text {
	padding-top: 10px;
}

.sprechblase-wrapper {
	max-width: 150px;
	width: 150px;
	position: relative;
	min-height: 150px;
}

.sprechblase-text {
	z-index: 100;
	position: relative;
	padding-top: 40px;
	text-align: center;
}

.sprechblase-img {
	z-index: 99;
	position: absolute;
	top: 0;
	max-width: 100%;
}

.veranstaltung-intern {
	padding-top: 60px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1250px;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 60px;
}

.veranstaltung-intern .js-form-item-datenschutz label {
  grid-column: 1 / span 2;
  margin-bottom: 15px;
}

.veranstaltung-intern .js-form-item-datenschutz {
	display: grid;
	grid-template-columns: 50px 1fr;
	grid-template-rows: auto auto;
	margin-bottom: 50px;
}

.veranstaltung-intern .description {
	max-width: calc(100% - 50px);
	display: inline-block;
	padding-top: 5px;
}

.veranstaltung-intern #edit-datenschutz {
	margin-left: 0px;
	margin-right: 15px;
}

.veranstaltung-intern h3 {
	text-decoration: none;
	font-size: 24px;
	padding-bottom: 30px;
}

.form-required { 
  background-image: none !important;
}

/* Stern hinter dem Pflichtfeld-Marker (span.form-required) */
.form-required::after,
.js-form-required::after { /* für Labels, die nur .js-form-required haben */
  content: " *";
  color: #d00;          /* Rot */
  font-weight: 700;     /* fett, damit’s klar sichtbar ist */
  line-height: 1;
  margin-left: 0.15em;  /* kleiner Abstand zum Text */
}

.veranstaltung-titel-wrapper {
	display: flex;
	height: 150px;
}

.veranstaltung-titel-wrapper .title {
	width: calc(100% - 150px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.veranstaltung-content {
}

.veranstaltung-content .field--name-field-beschreibung {
  padding-left: 150px;
}

.veranstaltung-content .veranstaltung-info-head {
  padding-left: 150px;
}

.infosleft {
	text-align: left;
	padding-left: 150px;
}

.infosleft ul {
  padding-left: 0;
}

.infosleft li {
  list-style: none;
}

.infosleft li::before {
	content: '';
	display: inline-block;
	height: 10px;
	width: 10px;
	background-image: url('img/kreis.png');
	background-size: cover;
	margin-right: 5px;
}

.veranstaltung-download {
	color: #000;
	border-color: #000;
	margin-top: 30px;
}

:root{
  --bubble-w: 140px;                 /* Bildgröße */
  --bubble-h: 140px;
  --gap-x: 20px;
  --panel-w: calc(100% - (var(--bubble-w) + var(--gap-x)));
  --panel-py: 14px;
  --panel-px: 18px;
  --panel-h-max: 150px;

  /* Bilder für Bubble (grau/aktiv-grün) */
  --bubble-img: url("img/icon-speak-inactive.png");
  --bubble-img-active: url("img/icon-speak.png");

  /* Panel-Farben */
  --panel-bg: #e7e7e7;               /* GRAU: Standard */
  --panel-bg-active: #c7d94b;        /* GRÜN: Hover/Aktiv */
  --panel-outline: 1px solid rgba(0,0,0,.12);
  --panel-outline-active: 6px solid rgba(0,0,0,.08);
  --panel-border: 1px solid rgba(0,0,0,.25);
}

/* Front */

.veranstaltung-front {
  display: flex;
}

.veranstaltung-front-cal-bubble {
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	background: transparent;
	background-image: var(--bubble-img);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	display: grid;
	place-items: center;
	position: relative;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	margin-top: 10px;
}

.veranstaltung-front-text {
	width: calc(100% - 50px);
	padding-left: 10px;
	padding-top: 10px;
}

.veranstaltung-front-datum {
  color: #000;
}

.veranstaltung-front-title {
  color: #000;
}

.veranstaltung-front-title a {
  color: #000;
  text-decoration: none;
}

/* ========================
   Layout
======================== */
#events-json-dump {
	display: none;
}

#events-cal .cal {
  margin-bottom: 60px;
}

.cal-year{
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .02em;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 10px;
}

.cal-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 25px;
  row-gap: 25px;
  align-items: end;
  padding-top: 15px;
}

.cal-month{
  position: relative;
  min-height: var(--bubble-h);
  background: transparent;
}

/* ========================
   Bubble (mit Bildern)
======================== */
.cal-bubble{
  width: var(--bubble-w);
  height: var(--bubble-h);
  padding: 0;
  border: 0;
  cursor: pointer;

  background: transparent;
  background-image: var(--bubble-img);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  display: grid;
  place-items: center;
  position: relative;

  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.cal-bubble.is-active,
.cal-month:hover .cal-bubble,
.cal-month:focus-within .cal-bubble{
  background-image: var(--bubble-img-active);
}

.cal-bubble:focus-visible{
  outline: 2px solid #111;
  outline-offset: 3px;
}

.cal-bubble-text{
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #111;
  display: inline-block;
  text-align: center;
  line-height: 1.1;
}

/* ========================
   Events-Panel (immer sichtbar; nur Farbe wechselt)
======================== */
.cal-events{
  list-style: none;
  margin: 0;
  padding: 0;
  width: var(--panel-w);

  position: absolute;
  left: calc(var(--bubble-w) + var(--gap-x));
  bottom: 0;

  background: var(--panel-bg);            /* GRAU standard */
  outline: var(--panel-outline);
  border: var(--panel-border);
  box-shadow: 0 1px 0 rgba(0,0,0,.05) inset;

  opacity: 1;                              /* immer sichtbar */
  transform: none;
  pointer-events: auto;

  max-height: var(--panel-h-max);
  overflow: auto;
}

.cal-events a {
	color: rgb(75, 75, 75);
	text-decoration: none;
}

.cal-events a:hover {
	text-decoration: underline;
}

.cal-events li {
	line-height: 1.55;
	border-bottom: 1px solid rgba(0,0,0,.15);
	padding: 10px var(--panel-px);
}

.cal-events li:last-child{ border-bottom: 0; }

.cal-date{
  font-weight: 700;
  margin-right: .6rem;
  white-space: nowrap;
}

/* Hover/Aktiv: GRÜN */
.cal-month:hover .cal-events,
.cal-month:focus-within .cal-events,
.cal-events.is-visible{
  outline: var(--panel-outline-active);
  box-shadow: 0 1px 0 rgba(0,0,0,.08) inset;
}

.cal-events li:hover {
  background: var(--panel-bg-active);
}

.breadcrumb-nav {
	margin-bottom: 25px;
	margin-top: 8px;
	color: rgb(87, 86, 86);
}

.webform-submission-form .form-item label {
	display: block;
}

.title {
	text-align: center;
	font-size: 36px;
}

.vorstand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.vorstand-item-col {
	margin-bottom: 30px;
}

.vorstand-item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 4px;
	-webkit-box-shadow: 0px 10px 60px 0 rgba(0, 0, 0, 0.07);
	box-shadow: 0px 10px 60px 0 rgba(0, 0, 0, 0.07);
	overflow: hidden;
	height: 100%;
}

.vorstand-bild {
	width: 100%;
}

.vorstand-bild-video {
	width: 100%;
	cursor: pointer;
}

.vorstand-bild-video:hover {
  -webkit-filter: blur(3px) grayscale(50%);
  filter: blur(3px) grayscale(50%);
}

.vorstand-bild-outer {
	position: relative;
}

.vorstand-bild-outer.has-video {
	cursor: pointer;
}

.vorstand-bild-outer .vorstand-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* füllt den Rahmen wie das Bild */
  opacity: 0;
  transition: opacity 250ms ease-out;
  z-index: 1;
}

.vorstand-bild-outer.has-video:hover .vorstand-video {
  opacity: 1;
}

/* Optional: Bild leicht ausblenden, wenn Video läuft */
.vorstand-bild-outer.has-video:hover .vorstand-bild-video {
  opacity: 0;
  transition: opacity 250ms ease-out;
}

.vorstand-info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
	padding: 10px;
	box-sizing: border-box;
	height: 100%;
}

.vorstand-info-top {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vorstand-name {
	font-size: 24px;
	font-weight: normal;
	padding-top: 20px;
}

.vorstand-name h2 {
	font-size: 24px;
	font-weight: normal;
}

.vorstand-kontakt {
  background: url(img/icon-speak.png) no-repeat left bottom;
  background-size: 50px;
  padding-left: 55px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.vorstand-kontakt a {
	color: #575656;
}

.footer-row {
	
}

#webform-submission-contact-node-131-add-form #edit-datenschutz {
  margin-left: 0px;
  margin-right: 15px;
}

#webform-submission-contact-node-131-add-form .js-form-item-datenschutz {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto auto;
  margin-bottom: 25px;
}

#webform-submission-contact-node-131-add-form .js-form-item-datenschutz label {
	grid-column: 1 / span 2;
	margin-bottom: 15px;
}

#webform-submission-contact-node-131-add-form .js-form-item-newsletter {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto auto;
  margin-bottom: 50px;
}

#webform-submission-contact-node-131-add-form .js-form-item-newsletter label {
	grid-column: 1 / span 2;
	margin-bottom: 15px;
}

#edit-datenschutz {
  min-height: 40px;
  display: inline-block;
  max-width: 40px;
}

#edit-newsletter {
  min-height: 40px;
  display: inline-block;
  max-width: 40px;
}

#edit-spendenquittung {
  min-height: 40px;
  display: inline-block;
  max-width: 40px;
}

#webform-submission-contact-node-131-add-form .description {
	max-width: calc(100% - 50px);
	display: inline-block;
	padding-top: 5px;
}

#webform-submission-formular-mitglied-werden-node-134-add-form #edit-datenschutz {
  margin-left: 0px;
  margin-right: 15px;
}

#webform-submission-formular-mitglied-werden-node-134-add-form .js-form-item-datenschutz {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto auto;
  margin-bottom: 50px;
}

#webform-submission-formular-mitglied-werden-node-134-add-form .js-form-item-datenschutz label {
	grid-column: 1 / span 2;
	margin-bottom: 15px;
}

#webform-submission-formular-mitglied-werden-node-134-add-form .description {
  max-width: calc(100% - 50px);
  display: inline-block;
  padding-top: 5px;
}

#webform-submission-spenden-node-136-add-form #edit-flexbox-05 {
  max-width: 600px;
}

#webform-submission-spenden-node-136-add-form #edit-betrag-in-eu {
  max-width: 200px;
}

#webform-submission-spenden-node-136-add-form #edit-datenschutz {
  margin-left: 0px;
  margin-right: 15px;
}

#webform-submission-spenden-node-136-add-form #edit-spendenquittung {
  margin-left: 0px;
  margin-right: 15px;
}

#webform-submission-spenden-node-136-add-form .js-form-item-datenschutz {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto auto;
  margin-bottom: 50px;
}

#webform-submission-spenden-node-136-add-form .js-form-item-datenschutz label {
	grid-column: 1 / span 2;
	margin-bottom: 15px;
}

#webform-submission-spenden-node-136-add-form .js-form-item-spendenquittung {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto auto;
  margin-bottom: 50px;
}

#webform-submission-spenden-node-136-add-form .js-form-item-spendenquittung label {
	grid-column: 1 / span 2;
	margin-bottom: 15px;
}

#webform-submission-spenden-node-136-add-form .description {
  max-width: calc(100% - 50px);
  display: inline-block;
  padding-top: 5px;
}

#webform-submission-spenden-node-136-add-form .js-form-item-zahlungsintervall {
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: auto auto;
  margin-bottom: 10px;
}

#webform-submission-spenden-node-136-add-form .js-form-item-zahlungsintervall label {
	max-width: calc(100% - 50px);
	display: inline-block;
	padding-top: 15px;
	padding-left: 15px;
	margin-top: 0;
}

#footer {
	color: rgb(75, 75, 75);
	font-size: 16px;
	background: none !important;
}

#footer .text-medium {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.44;
	color: rgb(75, 75, 75);
}

#footer a {
	color: rgb(75, 75, 75);
}

#footer a:hover, #footer a:focus {
	color: rgb(0,0,0);
}

#footer .gbb-row-wrapper .bb-container {
	position: relative;
	z-index: 2;
	padding-top: 40px;
	border-top: 1px solid #dee2e6 !important;
}

#footer .bb-inner {
	padding-top: 0 !important;
	padding-bottom: 50px !important;
}

/* Glossar */
.byrow-glossar {
  margin: 2rem 0;
  max-width: 800px;
}

.byrow-glossar-eintrag {
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
}

.byrow-glossar-begriff {
	background: none;
	border: none;
	text-align: left;
	width: 100%;
	cursor: pointer;
	font-weight: 500;
	color: rgb(0, 0, 0);
	font-family: var(--modins-heading-font-family);
	font-size: 28px;
	line-height: 32px;
	padding: 0 0 10px 0;
	min-height: 75px;
	word-wrap: break-word;
}

.byrow-glossar-begriff:focus {
  outline: 2px solid #00558c;
}

.byrow-glossar-erklaerung {
	margin-top: 0.5rem;
	font-size: 18px;
	line-height: 1.5;
	color: #333;
}

.fb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.fb-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	text-decoration: none !important;
	color: #1c1e21 !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.breadcrumb-content-inner {
  margin-bottom: 0;
}

.fb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.fb-thumb {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.fb-body {
  padding: 15px;
}

.fb-text {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #050505;
}

.fb-meta {
  font-size: 13px;
  color: #65676b;
}

.fb-loading,
.fb-empty,
.fb-error {
  text-align: center;
  color: #65676b;
  padding: 30px 10px;
}

/* Basislayout bleibt gleich */
.fb-grid {
  display: grid;
  gap: 20px;
}

/* Standard (z. B. für andere Seiten) */
.fb-posts:not(.fb-posts-front) .fb-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* --- FRONT-VARIANTE --- */
.fb-posts-front .fb-grid {
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: auto;
	border: 1px solid #e6e6e6;
	padding: 1rem;
	border-radius: 0 0 16px 16px;
}

/* Der erste Post bekommt volle Breite */
.fb-posts-front .fb-card:first-child {
  grid-column: 1 / -1;
}

/* Optional: der erste darf größer wirken */
.fb-posts-front .fb-card:first-child .fb-thumb {
  aspect-ratio: 16 / 9;
  max-height: 400px;
  object-fit: cover;
}

/* Alle Karten NACH der ersten werden quadratisch */
.fb-posts-front .fb-card:not(:first-child) {
  aspect-ratio: 1 / 1;
}

/* Responsive Variante */
@media (max-width: 768px) {
  .fb-posts-front .fb-grid {
    grid-template-columns: 1fr;
  }
}

/* Grid */
.ig-grid {
  display: grid;
  gap: 18px;
}

/* Standard-Layout */
.ig-posts:not(.ig-posts-front) .ig-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Front-Layout: 1. Karte breit, 2+3 halb */
.ig-posts-front .ig-grid {
	grid-template-columns: 1fr 1fr;
	border: 1px solid #e6e6e6;
	padding: 1rem;
	border-radius: 0 0 16px 16px;
}
.ig-posts-front .ig-card:first-child {
  grid-column: 1 / -1; /* volle Breite */
}

/* Card */
.ig-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none !important;
	color: #111 !important;
	border: 1px solid #e6e6e6;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	transition: transform .15s ease, box-shadow .15s ease;
}
.ig-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

/* Media oben: quadratisch wie Instagram */
.ig-media {
  position: relative;
  background: #f7f7f7;
}
.ig-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;   /* Quadrat */
  object-fit: cover;
  display: block;
}

/* Video-Badge */
.ig-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  border-radius: 8px;
}

/* Body */
.ig-body {
  padding: 12px 14px;
}
.ig-text {
  font-size: 14px;
  line-height: 1.45;
  color: #111;
  margin: 0 0 6px;
}
.ig-meta {
  font-size: 12px;
  color: #8e8e8e;
}

/* Status */
.ig-loading, .ig-empty, .ig-error {
  text-align: center;
  color: #8e8e8e;
  padding: 24px 8px;
}

/* Responsive: auf kleinen Bildschirmen 1 Spalte */
@media (max-width: 768px) {
  .ig-posts-front .ig-grid { grid-template-columns: 1fr; }
}

.to-top {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0));
  left: auto;
  bottom: calc(20px + env(safe-area-inset-bottom, 0));
  top: auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  z-index: 9999;
  background: rgb(223, 223, 223);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity .18s ease,
    transform .18s ease,
    background .18s ease;
}

.to-top svg {
  display: block;
  width: 24px;
  height: 24px;
}

.to-top:hover,
.to-top:focus-visible {
  border: 1px solid #000;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Reduced motion users */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .to-top { transition: none; }
}

/* Youtube Video Embed */
.field--name-field-youtube-video .field__label {
	display: none;
}

.field--name-field-youtube-video .field__items .field__item {
  text-align: center;
}

.byrow-video-block-wrapper {
	margin: 2rem 0 2rem 0;
	position: relative;
	max-width: 100%;
}

.byrow-video-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	min-height: 60px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* Vorschau-Bild */
.byrow-video-placeholder {
	position: relative;
	cursor: pointer;
	display: inline-block;
	max-width: 1280px;
	line-height: 0;
	overflow: hidden;
}

/* Overlay */
.byrow-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  color: rgb(75,75,75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover-Effekt */
.byrow-video-placeholder:hover .byrow-video-overlay,
.byrow-video-placeholder:focus .byrow-video-overlay {
  opacity: 1;
}

.byrow-video-overlay p {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	line-height: 1.2rem;
}

.byrow-video-overlay .byrow-video-privacy-hint-wrapper {
	max-width: 780px;
	background-color: #fff;
	border-radius: 15px;
	border: 1px solid #000;
	padding: 25px;
}

/* Button */
.byrow-video-overlay .byrow-load-video {
	background: #fff;
	color: #000;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s ease;
	border: 2px solid #cc0000;
	padding: 15px;
	margin-top: 10px;
	margin-bottom: 15px;
}

.byrow-video-overlay .byrow-load-video:hover {
  background: #e1e1e1;
}

/* Eingebettetes Video */
.byrow-video-embed-container {
	margin-top: 1rem;
	aspect-ratio: 16 / 9;
	width: 100%;
	max-width: 1280px;
	position: relative;
	display: inline-block;
}

.byrow-video-embed-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.max-1200 {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/* --- Instagram Header Styles --- */
.ig-header {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 1.5rem 1em;
	flex-wrap: wrap;
	border: 1px solid #e6e6e6;
	border-radius: 16px 16px 0 0;
}

.ig-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
  background-color: #fafafa;
  flex-shrink: 0;
}

.ig-header-body {
  flex: 1 1 250px;
  min-width: 220px;
}

.ig-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ig-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
}

.ig-username {
  font-size: 1rem;
  color: #888;
}

.ig-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0.6rem 0;
}

.ig-stats span {
  font-size: 0.95rem;
  color: #444;
}

.ig-stats strong {
  font-weight: 600;
  color: #000;
  margin-right: 4px;
}

.ig-bio {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
  margin-top: 0.3rem;
  white-space: pre-wrap;
}

/* --- Follow Button --- */
.ig-actions {
	margin-left: auto;
	margin-right: auto;
}

.ig-follow-btn {
	display: inline-block;
	background-color: #0095f6;
	color: #fff !important;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.5rem 1.2rem;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.ig-follow-btn:hover {
  background-color: #007acc;
}

.ig-follow-btn:active {
  transform: scale(0.97);
}

/* --- Mobile Anpassungen --- */
@media (max-width: 600px) {
  .ig-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ig-avatar {
    width: 90px;
    height: 90px;
  }

  .ig-header-body {
    order: 2;
  }

  .ig-actions {
    order: 3;
    margin-left: 0;
    margin-top: 0.8rem;
  }

  .ig-stats {
    justify-content: center;
    gap: 1rem;
  }
}

/* === Facebook Page Header – v2 Polished === */

.fb-header {
	position: relative;
	border: 1px solid #e6e6e6;
	border-radius: 16px 16px 0 0;
	overflow: hidden;
	background: #fff;
}

/* Cover */
.fb-cover{
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #f0f2f5;
  position: relative;
}
.fb-cover::after{ /* leichte Abdunklung unten für Lesbarkeit */
  content:"";
  position:absolute;left:0;right:0;bottom:0;height:36px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 100%);
  pointer-events:none;
}

/* Action-Buttons sitzen oben rechts auf dem Cover */
.fb-actions{
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.fb-like-btn,.fb-share-btn{
  display:inline-block;
  padding:.5rem .8rem;
  border-radius:10px;
  font-weight:700;
  font-size:.92rem;
  text-decoration:none;
  transition:background-color .15s ease, transform .08s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.fb-like-btn {
	background: #1877F2;
	color: #fff !important;
	text-decoration: none !important;
}
.fb-like-btn:hover{ background:#166FE5; }
.fb-share-btn {
	background: #eef4ff;
	color: #1877F2 !important;
	text-decoration: none !important;
}
.fb-share-btn:hover{ background:#e1edff; }
.fb-like-btn:active,.fb-share-btn:active{ transform: scale(.98); }

/* Infoleiste unter dem Cover */
.fb-head-inner{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 0 16px 16px;
  align-items: center;
}

/* Avatar halb ins Cover gezogen */
.fb-avatar {
  width: 108px;
  height: 108px;
  border-radius: 12px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  background: #fff;

  position: relative;
  top: 0;
  transform: translateY(-50%); /* hebt den Avatar um die Hälfte seiner Höhe */
}

/* Textblock rechts neben Avatar */
.fb-header-body{ min-width: 240px; }

.fb-title{
  display:flex;
  align-items:center;
  gap:.5rem;
  margin-top: 6px;
  margin-bottom: 4px;
}
.fb-name{
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  color:#1d2129;
  /* bei extrem langen Namen schöne Ellipse statt hässlichem Wrap */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Zahlenreihe */
.fb-stats{
  display:flex;
  flex-wrap:wrap;
  gap: 18px;
  color:#606770;
  font-size:.95rem;
  margin-top: 2px;
}
.fb-stats span{ display:flex; align-items:center; gap:6px; }
.fb-stats strong{ color:#1d2129; font-weight:700; }

/* About – kompakte, gut lesbare Copy */
.fb-about{
  margin-top: 6px;
  color:#3a3a3a;
  font-size:.95rem;
  line-height: 1.45;
  max-width: 60ch;             /* angenehm kurze Zeile */
  word-break: break-word;
  hyphens: auto;
}

/* Grid & Wrapper kannst du behalten; hier nur feine Anpassung */
.fb-wrap{ max-width: 980px; margin: 0 auto; }

.fb-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1rem;
}

/* ==== YouTube Widget Header ==== */
.yt-wrap {
  font-family: "Roboto", Arial, sans-serif;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* --- Header mit Banner --- */
.yt-header {
	position: relative;
	overflow: hidden;
	border: 1px solid #e6e6e6;
}

.yt-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* --- Kanalinfos --- */
.yt-head-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem 0.5rem;
  flex-wrap: wrap;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, #fff 60%);
  margin-top: 60px; /* Abstand zum Banner */
}

/* Avatar schwebt über dem Banner */
.yt-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transform: translateY(-40%);
  background: #fff;
  margin-bottom: -20px;
}

/* Text-Infos */
.yt-info {
  flex: 1 1 200px;
  min-width: 220px;
}
.yt-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: #0f0f0f;
}
.yt-handle {
  color: #606060;
  font-size: 0.9rem;
  margin-top: 0.1rem;
}
.yt-stats {
  font-size: 0.9rem;
  color: #606060;
  margin-top: 0.3rem;
}
.yt-desc {
	margin-top: 0.6rem;
	font-size: 0.9rem;
	color: #303030;
	line-height: 1.45;
	max-width: 65ch;
	display: none;
}

/* Subscribe-Button */
.yt-btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	background: #ff0000;
	color: #fff !important;
	font-weight: 600;
	font-size: .9rem;
	padding: .4rem .9rem;
	border-radius: 20px;
	text-decoration: none !important;
	margin-top: .7rem;
	transition: background .2s ease;
}
.yt-btn:hover {
  background: #e00000;
}
.yt-btn img {
  width: 18px;
  height: 18px;
}

/* ==== Video Grid ==== */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  padding: 1rem;
}
.yt-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: transform .1s ease, box-shadow .2s ease;
}
.yt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}
.yt-thumb {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.yt-body {
  padding: .6rem .8rem;
}
.yt-vid-title {
  font-size: .95rem;
  font-weight: 500;
  margin: 0 0 .3rem;
}
.yt-meta {
  font-size: .8rem;
  color: #666;
}

/* ==== Misc ==== */
.yt-loading,
.yt-error {
  padding: 1rem;
  text-align: center;
  color: #555;
}

/* ==== Responsive ==== */
@media (max-width: 600px) {
  .yt-banner { height: 100px; }
  .yt-head-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 50px;
  }
  .yt-avatar {
    transform: translateY(-35%);
    margin-bottom: -1rem;
  }
  .yt-desc {
    max-width: 90%;
    margin: 0.5rem auto;
  }
  .yt-grid { padding: .8rem; gap: .8rem; }
}


/* --- Mobile Tweaks --- */
@media (max-width: 700px){
  .fb-cover{ height: 150px; }
  .fb-actions{ right: 12px; top: 12px; }
  .fb-head-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .fb-avatar{ margin: -48px auto 0; }
  .fb-name{ white-space: normal; }           /* auf Mobile lieber umbrechen */
  .fb-stats{ justify-content: center; gap: 12px; }
  .fb-about{ margin-left:auto; margin-right:auto; }
}


@media (min-width: 1024.1px) and (max-width: 1199px) {
  .navigation .gva_menu > li > a {
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
  }
  
  .header-one__main-menu {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 calc(100% - 200px);
	flex: 0 0 calc(100% - 200px);
  }
}

@media (min-width: 1024.1px) {
  .navigation .gva_menu .sub-menu {
    top: 101%;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: absolute;
    min-width: 260px;
    background-color: var(--submenu-bg-color);
    z-index: 999;
    left: 0;
    padding: 0 20px;
    visibility: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    color: var(--submenu-color);
  }
}

@media (min-width: 1200px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    padding: 0 15px;
    max-width: 1580px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
	.neues-aus-bayern-front-item {
		margin-bottom: 35px;
	}
	.veranstaltung-item-front {
		margin-bottom: 35px;
	}
	.rueckblicke-item-front {
		margin-bottom: 35px;
	}
	.cal-grid {
		grid-template-columns: 1fr; /* nur 1 Spalte */
	}
	
	.search-one__box {
		display: none;
	}
	
  .gva-offcanvas-mobile .gva-navigation .gva_menu > li > a {
    line-height: 32px;
    font-size: 20px;
    font-weight: 500;
    color: #000 !important;
    font-family: var(--modins-heading-font-family);
  }
  
  .gva-offcanvas-mobile .gva-navigation .gva_menu > li ul.menu.sub-menu li a {
    font-size: 17px;
    line-height: 26px;
    color: #696969 !important;
  }
}

@media (max-width: 991px) {
	.neues-aus-bayern-pic-front {
		margin-top: 35px;
	}
	.cal-events {
		width: calc(var(--panel-w) - 20px);
	}
	.rueckblicke-item {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 767px) {
	.footerdatalinks .footerlinkbuttonspende {
		position: relative;
		flex-basis: 100%;
		padding-top: 20px;
		text-align: center;
	}
	
	.cal-bubble {
		width: calc(var(--bubble-w) - 40px);
		height: calc(var(--bubble-h) - 40px);
	}
	
	.cal-month {
	  min-height: calc(var(--bubble-h) - 40px);
	}
	
	.cal-events {
		width: calc(var(--panel-w));
		max-height: calc(var(--panel-h-max) - 40px);
		left: calc(var(--bubble-w) + var(--gap-x) - 40px);
	}
	
	.rueckblicke-item {
		grid-template-columns: 1fr;
	}
	
	.text-center-sm {
		text-align: center;
	}
}

@media (max-width: 575px) {
	.neues-aus-bayern-left {
		display: flex;
		gap: 1rem;
		align-items: start;
		flex-direction: column;
	}

	.neues-aus-bayern-right {
		display: flex;
		gap: 1rem;
		align-items: start;
		flex-direction: column-reverse;
	}
}