/*
Theme Name: Strauss
Template: hello-elementor
Author: Anne Buciu
Version: 1.0
Description: Child Theme für Hello Elementor
*/

body.dialog-lightbox-body {
  overflow: hidden;
}

.custom-post-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}


.custom-post-grid .post-icon{
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
    color: var(--e-global-color-accent);
}

.post-title{
    text-indent: 30px;
    margin: 0;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
    color: var(--e-global-color-accent);
}

.custom-post-grid .grid-item {
  border: 1px solid transparent; 
  min-height: 100px;
  max-width: 229px;
  overflow: hidden;
  position: relative;
}

.custom-post-grid .grid-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.custom-post-grid .post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
}

.custom-post-grid img {
  max-width: 229px;
  height: auto;
  display: block;
}


/* Tablet */
@media(max-width: 1024px) {
  .custom-post-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }

  .custom-post-grid .grid-item {
    flex: 0 0 auto;
  }

  .custom-post-grid .grid-item:empty {
    display: none;
  }
}

/* Mobile */
@media(max-width: 767px) {
 .custom-post-grid {
           display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.custom-post-grid .post-meta{
  padding-top: 10px;
}
}

/* Zustand vor Animation */
/* Zustand vor Animation */
.zoom-in {
    transform: scale(0.96);
    opacity: 0;
    transition: transform 1.3s ease-out, opacity 1.3s ease-out;
}

.zoom-in.loaded {
    transform: scale(1);
    opacity: 1;
}

.zoom-out {
    transform: scale(1.04);
    opacity: 1;
    transition: transform 1.3s ease-out, opacity 1.3s ease-out;
}

.zoom-out.loaded {
    transform: scale(1);
    opacity: 1;
}

.img-zoom {
  position: relative;
  overflow: hidden;
  transition: transform 600ms ease-in-out;
}

.img-zoom:hover {
  transform: scale(1.08);
}

.acf-gallery-slider.swiper.produkt-slider{
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
    
.produkt-slider .swiper-counter{
  text-transform: uppercase;
    display: flex;
    gap: 30px;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
}

.produkt-slider .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produkt-slider .swiper-slide {
    aspect-ratio: 3 / 4; 
    overflow: hidden;
}

.custom-swiper-wrapper {
    cursor: pointer; 
}

/* Mobile */
@media(max-width: 767px) {
.acf-gallery-slider.swiper.produkt-slider{
  gap: 20px;
}
body.home #custom-header{
  background-color: var( --e-global-color-secondary );
}
}

.close-post-popup,
.close-details-popup{
  cursor: pointer;
}

.produkt-infos-grid{
  display: flex;
  gap: 50;
}
