/*
Theme Name: Astra Child
Template: astra
*/

.page-id-89 header,
.page-id-89 footer {
  display: none;
}





/* ======== BASIC ========= */
.kraniche-delete-button {display: none !important;}
.content-area.primary {
    margin-top:0 !important;
}
/* 
.entry-content > *:nth-child(2) {
    margin-bottom: 30px;
  }
 */
img {max-width:100%}

.entry-content h1 {margin-bottom: 30px;}
.entry-content h2 {margin-bottom: 30px;margin-top: 30px;}
.entry-content h1 + h2 {margin-top: -25px;}
.entry-content h3 {margin-bottom: 15px;margin-top: 30px;}
.entry-content h4 {margin-bottom: 15px;margin-top: 15px;}
.entry-content h5 {}



p {
  max-width: 750px;
  margin: 0 auto;
  margin-bottom: 15px !important;
}


@media (max-width: 544px) {

.kt-inside-inner-col > h1,
.kt-inside-inner-col > h2,
.kt-inside-inner-col > h3,
.kt-inside-inner-col > h4,
.kt-inside-inner-col > h5,
.kt-inside-inner-col > p { padding-left:15px;padding-right:15px;}
}


/*======================== */
/* ======= HEADER ======== */
/*======================== */
  .site-primary-header-wrap > .ast-builder-grid-row {
    padding: 30px 0;
  }

  .site-branding {
    padding: 0 !important;
  }


header .custom-logo-link img {
	max-width:100%
}

.site-header-focus-item,
.site-logo-img,
.site-header-section>div:first-child {padding:0;}

.ast-logo-title-inline .ast-site-identity {
	display:block;
}


  .site-header-primary-section-right {
    display: flex;
        flex-direction: column-reverse;
        align-content: flex-end;
        justify-content: space-between;
        align-items: flex-end;
}
.site-header-primary-section-right aside.header-widget-area {
	padding:0;
}
@media (max-width: 544px) {
	.site-primary-header-wrap > .ast-builder-grid-row {
		padding: 45px 0 20px;
	}
	.site-header-primary-section-right aside.header-widget-area {
		position:absolute;
		top:15px;
		left:20px;
		right:20px;
	}
	.site-header-primary-section-right aside.header-widget-area .wp-block-list {
	width:100%
	}
	.site-header-primary-section-right aside.header-widget-area .wp-block-list li {
		display:flex;
		flex-wrap: nowrap;
        justify-content: space-between;
		
	}
	.site-header-primary-section-right aside.header-widget-area .wp-block-list li a {
		font-size:14px;
	}
}


.site-header-primary-section-right .wp-block-list {
text-align: right;
font-size: 16px !important;
line-height: 20px;
}
.site-header-primary-section-right .wp-block-list a {color: #959595 !important;transition: 0.3s ease-in-out;}
.site-header-primary-section-right .wp-block-list a:hover {color: #ffac00 !important;}

.site-header-section>div:first-child {
  padding-right: 0px;
}


.main-header-menu > .menu-item > .menu-link, 
#astra-footer-menu > .menu-item > .menu-link {
  line-height: normal;
  padding: 10px 3px;
  margin: 0 15px;
}
.main-header-menu > .menu-item > .menu-link:hover, 
#astra-footer-menu > .menu-item > .menu-link:hover {

}

.main-header-menu > .menu-item > .menu-link::after,
#astra-footer-menu > .menu-item > .menu-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #ffac00; 
  transition: width 0.3s ease;
}

.main-header-menu > .menu-item > .menu-link:hover:after,
#astra-footer-menu > .menu-item > .menu-link:hover:after {
  width: 100%;
}

.main-header-menu > .menu-item > .menu-link:last-child, 
#astra-footer-menu > .menu-item > .menu-link:last-child {
  margin-right: 0;
  font-weight: 700;
  position: relative;
}
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle.main-header-menu-toggle {
	margin-right:  -0.5em;
}

.ast-mobile-header-wrap .ast-mobile-header-content, 
.ast-desktop-header-content {
	background:var(--ast-global-color-4);
	border-top: 2px solid var(--ast-global-color-2);
	padding:15px 30px;
	box-shadow: rgba(38, 57, 77, 0.4) 0px 20px 30px -10px;
}
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
	padding:5px 0;
	margin:0;
}
.ast-button-wrap .menu-toggle:focus {
	outline:none;
	border:0px !important;
}


/*     Slieder      */
.n2-section-smartslider .km-slider-shadow h2,
.n2-section-smartslider .km-slider-shadow h3,
.n2-section-smartslider .km-slider-shadow h4,
.n2-section-smartslider .km-slider-shadow a,
.n2-section-smartslider .km-slider-shadow p,
.km-slider-shadow {
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5) !important;
}




/*======================== */
/* ======= CONTENT ======= */
/*======================== */
.wp-block-kadence-column,
.kt-row-column-wrap {
  padding: 30px 0;
}
.wp-block-kadence-column.alignfull {
  padding: 60px 0;
}

.wp-block-kadence-column .kt-row-column-wrap > .wp-block-kadence-column,
.wp-block-kadence-column .kt-row-column-wrap > .wp-block-kadence-column .kt-inside-inner-col {padding: 0;height: 100%;}



/*  Bild Blog Part   */
.km-block-img:has(.kt-row-column-wrap) {

}
.km-block-img {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: rgba(38, 57, 77, 0.4) 0px 20px 30px -10px;
  padding: 15px;
  height: 100%;
  background: #fff;
}
.km-block-img .wp-block-image.size-large {
  margin-top: -15px !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
}



/*   Full width img  */
.wp-block-cover,
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover h4,
.wp-block-cover label {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7),
  0 0 10px rgba(0, 0, 0, 0.5);
}
.wp-block-cover p {
  color: #fff !important;
  
}

.kt-blocks-info-box-link-wrap {
	background:none;
}




/*======================== */
/* ======= FOOTER ======== */
/*======================== */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
  background-image: url(footer-background.jpg);
  background-repeat: no-repeat;
  background-size: 150%;
  background-position: left top;
  padding: 0 0;
  color: #fff;

animation: moveBackground 120s linear infinite;
padding-left: 20px;
padding-right: 20px;

}

@keyframes moveBackground {
  0% {
      background-position: left top;
  }
  50% {
      background-position: right center;
  }
  100% {
    background-position: left top;
}
}

@media (max-width: 921px) {
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
  background-size: cover
	}
	
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
	grid-template-columns: repeat(4, 1fr);
}


.site-primary-footer-wrap[data-section="section-primary-footer-builder"] a {
  color: #ffac00;
}

.site-footer-section {
  z-index: 10;
}
.site-footer-section .footer-widget-area {
  padding: 60px 0;
}

.site-footer-primary-section-1 {
  position: relative;
  height: 100%;

}
.site-footer-primary-section-1::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -60px;
  left: -30%;
  width: calc(120% + 100%);
  height: calc(100% + 120px);
  background-image: url(https://kleine-mandarine.de/wp-content/uploads/2025/04/Deko-Becher-v2.png);
  background-repeat: no-repeat;
  background-size: contain;
}


.site-below-footer-wrap[data-section="section-below-footer-builder"],
.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
  min-height: 10px !important;
  padding: 0;
}
.site-below-footer-wrap {
  padding: 5px 0;
}

.site-below-footer-inner-wrap .ast-footer-copyright p {
  margin: 0 !important;
  padding: 10px 0;
  font-size: 14px;
}

.footer-widget-area[data-section="section-footer-menu"] .astra-footer-horizontal-menu {
  justify-content: flex-end;
}
.footer-widget-area[data-section="section-footer-menu"] .astra-footer-horizontal-menu a {
  font-size: 14px;
}


.site-footer .site-footer-primary-section-4 {
    position: relative;
	overflow: visible;
}

.site-footer .site-footer-primary-section-4 iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: calc(100% + (50vw - 600px));
    height: 100%;
	max-width: none
}

@media (max-width: 1200px) {
	.site-footer .site-footer-primary-section-4 iframe {
    width: calc(100% + 20px);
	}
	
}


@media (max-width: 921px) {
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   grid-template-rows: auto auto;
  }
 
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-primary-section-1 {
   display: none !important;
  }
 
  /* Wichtig: sichere Reihenfolge über Grid-Area */
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-primary-section-2 {
   grid-column: span 1;
   grid-row: 1;
  }
 
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-primary-section-3 {
   grid-column: span 1;
   grid-row: 1;
  }
 
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-primary-section-4 {
   grid-column: 1 / -1; /* Volle Breite */
   grid-row: 2;
  }
  .site-footer .site-footer-primary-section-4 iframe {
   left:-20px;
   width: calc(100% + 40px);
  }

.kb-google-maps-container6070a7-1 {
		height:300px;
	}
 
  /* Optional: Padding, Abstand korrigieren */
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-tablet-stack .site-footer-section,
  .site-below-footer-wrap[data-section="section-below-footer-builder"].ast-footer-row-tablet-stack .site-footer-section {
   margin-bottom: 0px;
  }
  .footer-widget-area[data-section="section-footer-menu"] .astra-footer-tablet-vertical-menu {
  display: flex;
     flex-direction: row;
     flex-wrap: nowrap;
     justify-content: flex-end;
     align-items: center;
  }
 }
 
 .site-below-footer-wrap .footer-widget-area {
  padding:0;
 }
 
 footer .ast-builder-grid-row-2-equal {
  padding-left:20px !important;
  padding-right:20px !important;
	border:0 !important;
 }

@media (max-width: 480px) {
	footer .ast-builder-grid-row-2-equal {
		margin-bottom:45px;
	}
}
 
 