/*
Theme Name: Hello Biz Child
Theme URI: https://github.com/elementor/hello-biz-child/
Description: Hello Biz Child is a child theme of Hello Biz, created by Elementor team
Author: Elementor Team
Template: hello-biz
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.0.1
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-biz-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready, style-variations
*/


/* =========================================================
   Base Typography
========================================================= */

body{
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background:#F9FAFD;
}

p{
  font-size: var(--e-global-typography-text-font-size);
}

ul{
  margin-top: -10px;
  margin-bottom: 10px;
  font-size: var(--e-global-typography-text-font-size);
}

.no-list ul{
  list-style: none;
  padding-left: 20px;
}


/* =========================================================
   Links
========================================================= */

.elementor p a,
.elementor-field-option a{
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s;
}

.elementor p a:hover,
.elementor-field-option a:hover{
  text-underline-offset: 2px;
}


/* =========================================================
   Elementor Components
========================================================= */

/* Accordion */
.e-n-accordion .e-child p,
.e-n-accordion .e-child li{
  font-size: 90% !important;
  line-height: 1.4em;
}

/* Quote */
.quote{
  font-family: var(--e-global-typography-5b629a4-font-family), sans-serif;
  font-size: var(--e-global-typography-5b629a4-font-size);
}

/* Swiper Image Sizing */
.elementor-element .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image,
.elementor-lightbox .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image{
  max-width: 800px;
  width: 800px !important;
}


/* =========================================================
   Global Layout Background
========================================================= */

#page,
#content,
.site{
  background: transparent;
}

/* Container Width Overrides */
.page-header .entry-title,
.site-footer .footer-inner,
.site-header .header-inner,
body:not([class*=elementor-page-]) .site-main{
 /* max-width: 1280px; */
}


/* =========================================================
   Header (Hello Biz / EHP)
========================================================= */

.manos-header header .ehp-header__elements-container,
footer{
 /* max-width: var(--content-width) !important; */
  margin: auto;
}

header.ehp-header.has-behavior-onscroll-scroll-up.has-align-link-start{
  padding: 0;
}

.ehp-header__elements-container{
  padding: 10px;
  grid-template-columns: 1fr auto 0fr !important;
}

.ehp-header__menu{
  margin: 0;
}

/* Dropdown */
ul.ehp-header__dropdown.has-layout-horizontal.has-shape-default.shape-type-submenu{
  flex-direction: column;
  background: #ffffff !important;
  padding: 15px;
  border-radius: 20px;
  gap: 15px;
}

ul.ehp-header__dropdown.has-layout-vertical.has-shape-sharp.shape-type-submenu {
    top: 35px;
}




/* =========================================================
   Forms (EHP)
========================================================= */

.ehp-form__field-group.is-field-type-ehp-acceptance.is-field-group-ds{
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 10px;
}


/* =========================================================
   Footer
========================================================= */

[data-elementor-type="ehp-footer"]{
  padding-top: 60px;
  /* background-image: url("https://redesign.manos-dresden.de/wp-content/uploads/2026/02/punkt.png"); */
  background-position: center center;
  background-repeat: repeat;
  background-size: 30px auto;
}

[data-elementor-type="ehp-footer"] a{
  text-decoration: none !important;
}

[data-elementor-type="ehp-footer"] img{
  mix-blend-mode: multiply;
}

.elementor-page-23 [data-elementor-type="ehp-footer"]{
  /* background: transparent; */
}


/* =========================================================
   Minimal Search
========================================================= */

.minimal-search input[type="search"]{
  width: 100%;
  max-width: 520px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0;
  outline: none;
}

.minimal-search input[type="search"]:focus{
  border-color: rgba(0,0,0,.35);
}


/* =========================================================
   Landing Layout with Sidebar
========================================================= */

.site-main.landing-with-sidebar{
  background: #F9FAFD;
  padding: 48px 0;
}

.landing-wrap{
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 980px){
  .landing-wrap{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Content: white, no border */
.landing-content{
  background:#fff;
  border: 0;
  border-radius: 0;
  padding: 32px;
}

/* Sidebar container transparent */
.landing-sidebar{
  background: transparent;
}

.sidebar-title{
  margin: 0 0 14px;
  color:#000;
  font-size: 28px;
  line-height: 1.1;
}


/* =========================================================
   Sidebar Latest Posts Cards
========================================================= */

.latest-posts{
  display: grid;
  gap: 14px;
}

.post-card{
  background:#fff;
  border: 0;
  border-radius: 0;
}

.post-card-link{
  display:block;
  padding: 18px 18px 16px;
  text-decoration:none;
  color:#000;
  transition: all 0.3s;
}

.post-card-link:hover{
  box-shadow: 0 8px 22px rgba(16,24,40,0.08);
}

.page-id-18637 .post-card-link{
  box-shadow: 0 8px 22px rgba(16,24,40,0.10);
}

.post-date{
  display:block;
  margin-bottom: 10px;
  font-size: 12px;
  opacity: .75;
  color:#000;
}

.post-card-title{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
  color:#000;
}

.post-card-excerpt{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: .9;
  color:#000;
}


/* =========================================================
   Blog (Single Post)
========================================================= */

/* H1 */
.blog-article h1{
  font-size: clamp(32px, 4vw, 38px) !Important;
}

/* ---------------------------------------------------------
   Hero Layout (Text links, Bild rechts)
--------------------------------------------------------- */

.blog-hero{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
}

/* Wenn KEIN Bild vorhanden */
.blog-hero.no-image{
  grid-template-columns: 1fr;
}

/* Falls doch ein Bild da ist */
.blog-hero.has-image .blog-hero-right{
  display: block;
}

/* Datum */
.blog-date-top{
  margin-bottom: 10px;
  font-size: 13px;
  opacity: .65;
}

/* Kategorien */
.blog-categories{
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Excerpt */
.blog-excerpt{
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.55;
  opacity: .9;
}

/* Featured Image */
.blog-featured-image img{
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------------------------------
   Meta Labels (Kategorien & Tags)
--------------------------------------------------------- */

.meta-label{
  background: #EEF2F6;
  color: #000 !important;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.2;
  display: inline-block;
  text-decoration: none;
}

.meta-label:hover{
  background: #e2e8ef;
}

/* Tags unter dem Inhalt */
.blog-tags-bottom{
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 980px){
  .blog-hero{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Blog Carousel (Snap Fix)
========================================================= */

.latest-posts-carousel{
  position: relative;
}

.latest-posts-track{
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 50px 100px 60px;
}

/* Hide scrollbars */
.latest-posts-track{
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.latest-posts-track::-webkit-scrollbar{
  display: none;
}

/* Spacer = real snap start */
.carousel-spacer{
  flex: 0 0 160px;
  scroll-snap-align: start;
}

/* Cards */
.latest-post-card{
  flex: 0 0 420px;
  scroll-snap-align: start;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}

/* Thumbnail */
.latest-post-thumb img{
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.latest-post-thumb--placeholder{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.06);
}

/* Content */
.latest-post-content{
  padding: 26px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.latest-post-title{
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  color: #000 !important
}

.latest-post-title a{
  text-decoration: none;
  color: #000 !important
}

.latest-post-excerpt{
  margin: 0;
  opacity: .85;
  flex: 1;
}

/* Button */
.latest-post-button{
  margin-top: 20px;
  align-self: flex-start;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid #000;
  color: #000 !important;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}

.latest-post-button:hover{
  background: #000;
  color: #fff;
}

/* Nav Buttons */
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.carousel-prev{ left: 40px; }
.carousel-next{ right: 40px; }

.carousel-btn:hover{
  background: #000;
  color: #fff;
}


/* =========================================================
   Category Archive (ohne Sidebar, wie Sidebar-Cards)
========================================================= */

.site-main.archive-clean{
  background: #F9FAFD;
  padding: 48px 0;
}

.page-header .entry-title, .site-footer .footer-inner, .site-header .header-inner, body:not([class*=elementor-page-]) .site-main {
    max-width: 1300px;
}

.archive-wrap{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.archive-header{
  margin-bottom: 22px;
}

.archive-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  color: #000;
}

.archive-description{
  opacity: .8;
  color: #000;
}

/* Grid für Karten */
.archive-cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px){
  .archive-cards{
    grid-template-columns: 1fr;
  }
}

/* Links im Archiv immer schwarz */
.archive-clean a{
  color: #000;
}

/* Titel im Archiv kleiner als Sidebar und nicht blau */
.archive-clean .post-card-title{
  font-size: 20px;
  line-height: 1.25;
}

/* Optional: Karten etwas luftiger */
.archive-clean .post-card-link{
  padding: 22px 22px 20px;
}


/* Link soll keine eigene Hover-Box werfen */
.archive-clean .archive-card-link:hover,
.archive-clean .post-card-link:hover{
  box-shadow: none !important;
}

/* Hover nur auf der Card */
.archive-clean .archive-card:hover,
.archive-clean .post-card:hover{
  box-shadow: 0 8px 22px rgba(16,24,40,0.08);
}


/* =========================================================
   Archive Pagination (weiße Boxen)
========================================================= */

.archive-pagination{
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.archive-pagination .page-numbers{
  background: #fff;
  color: #000;
  text-decoration: none;
  padding: 10px 14px;
  display: inline-block;
  border-radius: 0;
  box-shadow: 0 8px 22px rgba(16,24,40,0.08);
}

.archive-pagination .page-numbers:hover{
  box-shadow: 0 10px 26px rgba(16,24,40,0.12);
}

.archive-pagination .page-numbers.current{
  background: #EEF2F6;
  box-shadow: 0 8px 22px rgba(16,24,40,0.08);
}

.archive-pagination .page-numbers.dots{
  box-shadow: none;
  background: transparent;
  padding: 10px 6px;
}



/* =========================================================
   Mobile Header Overrides
========================================================= */

@media only screen and (max-width: 767px){

  header.ehp-header.has-behavior-onscroll-scroll-up.has-align-link-start.has-blur-background{
    margin: 10px;
    width: calc(100% - 20px);
  }

  .elementor-element.elementor-widget.elementor-widget-ehp-header .ehp-header__elements-container{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .ehp-header__ctas-container.has-responsive-width-default.ehp-header__ctas-container.has-responsive-width-default{
    display: none;
    width: 0;
  }

  nav.has-submenu-layout-vertical.ehp-header__navigation{
    margin-top: -10px !important;
    box-shadow: 0 5px 10px -10px #0000003b;
  }

  .ehp-header[data-responsive-breakpoint=mobile-portrait] .menu-item.menu-item-has-children{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  li.menu-item-object-custom.menu-item-has-children{
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
  }

  ul.ehp-header__dropdown.has-layout-vertical.has-shape-sharp.shape-type-submenu{
    margin: 20px 0;
  }

  button.ehp-header__item.ehp-header__dropdown-toggle{
    margin: 0 !important;
  }

}
