/* ============================================
   Testimonial Centered Block
   ============================================ */
button svg polygon {
    fill: #7ECDFF;
}
.block-testimonial-centered {
  background-color: #e8f4f8;
  padding: 80px 60px;
  transition: background-color 0.3s ease;
}

.block-testimonial-centered--inner-wrapper {
  width: 100%;
}

/* Main wrapper - arrows on sides */
.testimonial-centered-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  margin-bottom: 40px;
}

/* Carousel Container */
.testimonial-centered--content {
  flex: 1;
  max-width: 800px;
  overflow: hidden;
}

.testi-centered-slider {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-centered--slide {
  min-width: 100%;
  flex-shrink: 0;
  text-align: center;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Quote Styling */
.testimonial-centered--quote {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 30px 0;
  padding: 0;
  font-weight: 500;
  color: #1a1a1a;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Author Info */
.testimonial-centered--author-info {
  margin-top: 25px;
}

.testimonial-centered--author {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 5px 0;
  line-height: 1.4;
}

.testimonial-centered--author_position {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

.testimonial-centered--small_print {
  font-size: 12px;
  color: #888;
  margin: 8px 0 0 0;
  line-height: 1.4;
}

/* Arrow Buttons */
.testi-centered-nav-btn {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.3s ease;
}

.testi-centered-nav-btn svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}

.testi-centered-nav-btn svg path,
.testi-centered-nav-btn svg line,
.testi-centered-nav-btn svg polyline {
  stroke: #7ba3c0;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.testi-centered-nav-btn:hover svg path,
.testi-centered-nav-btn:hover svg line,
.testi-centered-nav-btn:hover svg polyline {
  stroke: #5a8ba8;
}

.testi-centered-nav-btn:active svg path,
.testi-centered-nav-btn:active svg line,
.testi-centered-nav-btn:active svg polyline {
  stroke: #3d6c92;
}

/* Pagination Counter - ALWAYS BELOW */
.testimonial-centered--pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

.pagination-counter {
  font-size: 16px;
  color: #7ECDFF;
  font-weight: 500;
  letter-spacing: 1px;
}

.current-slide,
.total-slides {
  display: inline;
}

/* ============================================
   TABLET (768px and below)
   ============================================ */
@media (max-width: 768px) {
	
button.testi-centered-nav-btn.js-carousel-button-next {
    position: absolute;
    bottom: -35px;
    top: auto;
    right: 0;
}
button.testi-centered-nav-btn.js-carousel-button-prev {
    position: absolute;
    bottom: -35px;
    top: auto;
    left: 0;
}
  .block-testimonial-centered {
    padding: 80px 30px;
  }

  .testimonial-centered-wrapper {
    gap: 20px;
    margin-bottom: 30px;
  }

  .testi-centered-nav-btn svg {
    width: 28px;
    height: 28px;
  }

  .testimonial-centered--quote {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .testimonial-centered--author {
    font-size: 15px;
  }

  .testimonial-centered--author_position {
    font-size: 13px;
  }
}

/* ============================================
   MOBILE (640px and below)
   ============================================ */
@media (max-width: 640px) {
	
button.testi-centered-nav-btn.js-carousel-button-next {
    position: absolute;
    bottom: -35px;
    top: auto;
    right: 0;
}
button.testi-centered-nav-btn.js-carousel-button-prev {
    position: absolute;
    bottom: -35px;
    top: auto;
    left: 0;
}
  .block-testimonial-centered {
    padding: 80px 15px !important;
  }

  .block-testimonial-centered--inner-wrapper {
    width: 100%;
  }

  .testimonial-centered-wrapper {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 100%;
  }

  .testimonial-centered--content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .testi-centered-slider {
    display: flex;
    width: 100%;
  }

  .testimonial-centered--slide {
    min-width: 100%;
    flex-shrink: 0;
    width: 100%;
    padding: 0;
  }

  .testi-centered-nav-btn {
    position: relative;
    order: unset;
  }

  .js-carousel-button-prev {
    order: 2;
  }

  .js-carousel-button-next {
    order: 3;
  }

  .testimonial-centered-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .js-carousel-button-prev,
  .js-carousel-button-next {
    display: inline-flex;
    margin: 0 10px;
  }

  .testimonial-centered--quote {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .testimonial-centered--author-info {
    padding: 0 10px;
	margin-bottom:40px;
  }

  .testimonial-centered--author {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .testimonial-centered--author_position {
    font-size: 12px;
  }

  .testimonial-centered--small_print {
    font-size: 11px;
  }

  .pagination-counter {
    font-size: 14px;
  }

  .testi-centered-nav-btn svg {
    width: 24px;
    height: 24px;
  }
}