/* header Abstand oben und unten entfernen */
.ast-site-identity {
     padding: 0em 0!important; 
}

a:hover {
  text-decoration: underline; /* Fügt die Unterstreichung hinzu, wenn der Mauszeiger über dem Link ist */
}
.menu-item:hover {
    text-decoration: underline;
}
/* sticky header for transparent header version */
.main-header-bar {
	top: 0;
	position: fixed;
	width: 100%!important;
	z-index: 1000; /* Ensures header stays on top of other content */
}

/* Add padding to the Mobile-Menu content to prevent it from being hidden behind the sticky header */
body {
    padding-top: 40px; /* Adjust this value based on your header's height */
}
.ast-header-break-point #ast-mobile-header {
    margin-top: 38px;
		position: fixed;
		width: 100%;
}


/* Erstellername bei Suchergebnissen ausblenden */
.search .entry-header {
    margin-bottom: 1em;
    display: none;
}


/* Button Style BFSG - BEGINN */
.custom-dorfstiftung-btn {
  display: inline-block;
  background-color: #c52f2f; /* dein Rotton */
  color: #ffffff;
  text-decoration: none;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: normal;
  letter-spacing: 3px;
  padding: 10px 40px;
  transition: background-color 0.2s ease-in-out;
  text-transform: uppercase;
}
.custom-dorfstiftung-btn:hover,
.custom-dorfstiftung-btn:focus {
  background-color: #8f051e; /* dunklerer Rotton beim Hover */
  color: #ffffff;
}
.custom-dorfstiftung-btn:focus {
  outline: 3px solid #333;
  outline-offset: 3px; /* Barrierefreiheit: sichtbarer Tastaturfokus */
}
/* Button Style BFSG - ENDE */



/* Text in Info Card als Blocktext darstellen
.hfe-infocard-text-wrap {
    text-align: justify;
} */

/* Bilder bei Projekte nur Oben abgerundet */
.elementor-widget-image-box .elementor-image-box-img img {
    border-radius: 10px 10px 0px 0px;
}

/* Typografie */
h4 {
    margin-bottom: 10px !important;
}




/* Remove padding to the main content to prevent it from being hidden behind the sticky header */
/* Desktop */
@media (min-width: 1025px) {
  .site-content {
    padding-top: 50px;
  }
}
/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .site-content {
    padding-top: 38px;
  }
}
/* Smartphone */
@media (max-width: 767px) {
  .site-content {
    padding-top: 38px;
  }
}