.swiper-slide img {
  border-radius: 0 !important;
  overflow: hidden;

}

.kundenstimme-slide {
  --radius: 12px;
  border-radius: 10px;
  --shadow: 0 1px 0 rgba(16, 24, 40, .04);
  display: flex;
  align-items: flex-start;
  padding: var(--card-pad) calc(var(--card-pad) + 4px);
  border-radius: var(--radius);   /* keep radius */
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden; /* ✅ white edge issue fix */
}

.kundenstimme-slide p:empty{
  display: none;
}

.kundenstimme-slide .inner-gallery-slider .swiper-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit; /* ✅ follow parent */
}


.kundenstimme-slide>.swiper,
.kundenstimme-slide .videocon {
  position: relative;
  height: 100%;
  /*aspect-ratio: 16 / 9;*/
  overflow: hidden;
  background: #f6f7f9;
}

@media (min-width: 775px){
  .kundenstimme-slide>.swiper,
.kundenstimme-slide .videocon {
  position: relative;
  max-width: 460px;
  flex: 0 0 42%;

  height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f6f7f9;
}
}

.kundenstimme-slide .inner-gallery-slider .swiper-slide>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kundenstimme-slide .videocon iframe,
.kundenstimme-slide .videocon video {
  width: 100%;
  height: 100%;
  display: block;
}


.kundenstimme-slide .inner-gallery-slider::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}


.kundenstimme-slide .quote.con {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 44px;
  align-self: stretch;
}

.kundenstimme-slide .projekt-datum {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  color: #3D3D3D;
}

.kundenstimme-slide .title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
}

.kundenstimme-slide .contents {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
}

/*Swiper pagination */
.swiper-pagination {
  position: relative;
  margin-top: 56px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 2px solid #9ca3af;
  background: transparent;
  opacity: 1;
  margin: 0 6px !important;
}

 .kundenstimmen-slider .swiper-pagination-bullet-active {
  background: #111827;
  border-color: #111827;
}

.kundenstimme-slide>.swiper,
.kundenstimme-slide .inner-gallery-slider,
.kundenstimme-slide .inner-gallery-slider .swiper-slide,
.posts-slider .swiper-slide {
  border-radius: 0 !important;

}


.kundenstimme-slide .inner-gallery-slider .swiper-slide>img,
.posts-slider .swiper-slide img {
  border-radius: 0 !important;
}

.swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  border-color: #3D3D3D;
}

.swiper-pagination-bullet-active {
  background: #3D3D3D;
}
 .image-overlay-wrapper {
            display: flex;
        }
@media (min-width: 776px){
 .image-overlay-wrapper {
            display: inline-block;
        }
}




        .image-overlay-wrapper img {
            display: block;
            width: 100%;
            height: auto;
        }

        .image-overlay-wrapper .zoom-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            /* perfect center adjust */
            font-size: 28px;
            color: white;
            width: 200px;
            /* icon ka size */
            height: 200px;
            border-radius: 50%;
            padding: 10px;
            opacity: 1;
            transition: opacity 0.3s ease;
            cursor: pointer;
        }

        .image-overlay-wrapper:hover .zoom-icon {
            opacity: 1;
        }
        /* Force correct width for Kundenstimmen slider only */
}
.swiper.kundenstimmen-slider .swiper-slide {
  width: 100% !important;      /* content ke hisaab se */
  max-width: 100% !important;  /* container ke andar hi rahe */
  box-sizing: border-box;
}
.image-overlay-wrapper {
    position: static !important;
}
/* Only this page */
body.postid-5381 #lightbox .lb-outerContainer{
  width: 70vw !important;
  height: 90vh !important;
  max-width: 70vw !important;
  max-height: 90vh !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.postid-5381 #lightbox .lb-container{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  overflow: hidden !important;
  position: relative !important;
}
body.postid-5381 #lightbox img.lb-image{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* fill = crop possible */
  display: block !important;
}
body.postid-5381 #lightboxOverlay{ background: rgba(0,0,0,.9) !important; }







@media (max-width: 775px) {

  /* Card */
  .kundenstimme-slide {
    flex-direction: column;
    padding: 0;
    align-items: stretch;
    overflow: hidden;
  }


  .kundenstimme-slide>.swiper,
  .kundenstimme-slide .videocon {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0;
    overflow: hidden;
  }


  .kundenstimme-slide .inner-gallery-slider {
    height: 100% !important;
  }

  .kundenstimme-slide .inner-gallery-slider .swiper-wrapper,
  .kundenstimme-slide .inner-gallery-slider .swiper-slide {
    height: 100% !important;
  }

  .kundenstimme-slide .inner-gallery-slider .swiper-slide>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }


  .kundenstimme-slide .quote.con {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }


  .kundenstimme-slide p:empty {
    display: none;
  }

  .swiper-slide {
    padding: 0 !important;
  }
}


.lb-caption{
  display: none !important;
}

.lb-close {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    background-color: #000;
    background-image: url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/images/close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 17px;
    cursor: pointer;
    border: 3px solid white;
    border-radius: 50%;
}

.lb-closeContainer{
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 9999;
}

.lb-data .lb-details{
  width: 100%;
  text-align: center;
}

.downloads-box{
  display: flex;
  justify-content: center;
  gap: 10px;
}

.downloads-box .choices{
  width: 100%;
}

.downloads-box p{
  width: 100%;
}


.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    background: #fff;
    width: 80%;
    max-width: 800px;
    padding: 20px;
}

.close-video-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 28px;
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    background-color: #000;
    background-image: url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/images/close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 17px;
    cursor: pointer;
    border: 3px solid white;
    border-radius: 50%;
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 450px;
}

.video-thumbnail {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.videocon .zoom-icon {
    position: absolute;
    top: 0;
    object-fit: contain;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
}


.choices[data-type*=select-one] {
    position: relative;
}

.choices[data-type*=select-one]::after {
    content: "";
    position: absolute;
    right: 11.5px;
    top: 50%;
    margin-top: -5px; /* half of height */
    pointer-events: none;

    height: 13px;
    width: 13px;
    right: 20px;

    background: url('../assets/dowonloadic.svg') no-repeat center center;
    background-size: contain;
         border-style: none;
     border-color: none;

}

.choices__inner{
  border: #BCBCBC;
  background: linear-gradient(#FFFFFF, #D4D4D4);
}
.choices{
  border-radius: 10px;
}

.videocon a br {
    display: none !important;
}

.choices__item.choices__placeholder.choices__item--selectable{
  color: #000;
  opacity: 1;
}