
/* Gymful scoped Swiper base repair (testimonial) */
.gymful-testimonial-swiper .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  box-sizing: content-box;
  width: 100%;
  height: 100%;
  transition-property: transform;
}

.gymful-testimonial-swiper .swiper-slide {
  flex-shrink: 0 !important;
  position: relative;
  transition-property: transform;
}

.gymful-testimonial-swiper {
  --testimonial-gap: 8px;
  --testimonial-nav-gap: 24px;
  --testimonial-bullet-width: 42px;
  --testimonial-bullet-height: 3px;
  --testimonial-bullet-gap: 10px;
  --testimonial-bullet-radius: 999px;
  --testimonial-bullet-color: rgba(0,0,0,.42);
  --testimonial-bullet-active-color: #000;
  position: relative;
  width: 100%;
  overflow: visible;
}


.gymful-testimonial-swiper .swiper {
  width: 100%;
  overflow: visible;
}

.gymful-testimonial-swiper .swiper-wrapper {
  align-items: stretch;
}

.gymful-testimonial-swiper:not(.swiper-initialized) .swiper-wrapper,
.gymful-testimonial-swiper:not(.is-swiper-enabled) .swiper-wrapper {
  display: flex;
  gap: var(--testimonial-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gymful-testimonial-swiper:not(.swiper-initialized) .swiper-wrapper::-webkit-scrollbar,
.gymful-testimonial-swiper:not(.is-swiper-enabled) .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.gymful-testimonial-swiper .swiper-slide {
  height: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.gymful-testimonial-swiper .testimonial-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
  cursor: pointer;
  background: #111;
  transform: translateY(0);
  transition-property: transform, box-shadow, border-color, background-color;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.gymful-testimonial-swiper .testimonial-card__media,
.gymful-testimonial-swiper .testimonial-card__image,
.gymful-testimonial-swiper .testimonial-card__video,
.gymful-testimonial-swiper .testimonial-card__iframe,
.gymful-testimonial-swiper .testimonial-card__video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gymful-testimonial-swiper .testimonial-card__media {
  z-index: 0;
  overflow: hidden;
}

.gymful-testimonial-swiper .testimonial-card__image,
.gymful-testimonial-swiper .testimonial-card__video,
.gymful-testimonial-swiper .testimonial-card__iframe {
  object-fit: cover;
  object-position: center;
  border: 0;
  transform: scale(1);
  transition-property: transform, filter, opacity;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.gymful-testimonial-swiper .testimonial-card__video-layer {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(.22,.61,.36,1);
}

.gymful-testimonial-swiper .testimonial-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 28%, rgba(0,0,0,.58) 100%);
  opacity: 1;
  transition: opacity 300ms cubic-bezier(.22,.61,.36,1), background 300ms cubic-bezier(.22,.61,.36,1);
}

.gymful-testimonial-swiper .testimonial-card__content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  padding-right: 78px;
}

.gymful-testimonial-swiper .testimonial-card__title,
.gymful-testimonial-swiper .testimonial-card__description {
  margin: 0;
  color: #fff;
}

.gymful-testimonial-swiper .testimonial-card__content {
  opacity: 0;
  transform: translateY(12px);
  transition-property: opacity, transform;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.gymful-testimonial-swiper .testimonial-card__description {
  max-height: none;
  opacity: 1;
  overflow: visible;
  transform: none;
  font-style: italic;
}

.gymful-testimonial-swiper .testimonial-card__button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 0;
  transition-property: transform, opacity, filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.gymful-testimonial-swiper .testimonial-card__button svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gymful-testimonial-swiper .testimonial-card__icon-active {
  display: none;
}

.gymful-testimonial-swiper .testimonial-card:hover .testimonial-card__video-layer,
.gymful-testimonial-swiper .testimonial-card.is-active .testimonial-card__video-layer,
.gymful-testimonial-swiper .swiper-slide-active .testimonial-card.is-swiper-active .testimonial-card__video-layer {
  opacity: 1;
}

.gymful-testimonial-swiper .testimonial-card:hover .testimonial-card__content,
.gymful-testimonial-swiper .testimonial-card.is-active .testimonial-card__content,
.gymful-testimonial-swiper .swiper-slide-active .testimonial-card.is-swiper-active .testimonial-card__content {
  opacity: 1;
  transform: translateY(0);
}

.gymful-testimonial-swiper .testimonial-card:hover .testimonial-card__icon-default,
.gymful-testimonial-swiper .testimonial-card.is-active .testimonial-card__icon-default,
.gymful-testimonial-swiper .swiper-slide-active .testimonial-card.is-swiper-active .testimonial-card__icon-default {
  display: none;
}

.gymful-testimonial-swiper .testimonial-card:hover .testimonial-card__icon-active,
.gymful-testimonial-swiper .testimonial-card.is-active .testimonial-card__icon-active,
.gymful-testimonial-swiper .swiper-slide-active .testimonial-card.is-swiper-active .testimonial-card__icon-active {
  display: inline-flex;
}

.gymful-testimonial-swiper .testimonial-swiper-nav,
.gymful-testimonial-swiper .testimonial-swiper-controls,
.gymful-testimonial-swiper .testimonial-navigation {
  width: fit-content !important;
  max-width: max-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--testimonial-nav-gap, 24px) !important;
  flex-wrap: nowrap !important;
}

.gymful-testimonial-swiper .testimonial-swiper-nav {
  margin-top: 28px;
}

.gymful-testimonial-swiper .testimonial-swiper-arrow,
.gymful-testimonial-swiper .testimonial-swiper-play {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  color: #000;
  flex: 0 0 auto !important;
}

.gymful-testimonial-swiper .testimonial-swiper-arrow svg,
.gymful-testimonial-swiper .testimonial-swiper-play svg {
  display: block;
}

.gymful-testimonial-swiper .testimonial-swiper-pagination {
  position: static !important;
  width: auto !important;
  max-width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--testimonial-bullet-gap) !important;
  flex: 0 0 auto !important;
}

.gymful-testimonial-swiper .testimonial-swiper-pagination .swiper-pagination-bullet {
  width: var(--testimonial-bullet-width) !important;
  height: var(--testimonial-bullet-height) !important;
  border-radius: var(--testimonial-bullet-radius) !important;
  background: var(--testimonial-bullet-color) !important;
  opacity: 1 !important;
  margin: 0 !important;
}

.gymful-testimonial-swiper .testimonial-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--testimonial-bullet-active-color) !important;
}

.gymful-testimonial-swiper .testimonial-swiper-play .icon-play { display: inline-flex; }
.gymful-testimonial-swiper .testimonial-swiper-play .icon-pause { display: none; }
.gymful-testimonial-swiper .testimonial-swiper-play.is-playing .icon-play { display: none; }
.gymful-testimonial-swiper .testimonial-swiper-play.is-playing .icon-pause { display: inline-flex; }


/* Responsive overflow repair: keep desktop full-bleed, but prevent page-level horizontal scroll on tablet/mobile. */
.gymful-testimonial-swiper,
.gymful-testimonial-swiper *,
.gymful-testimonial-swiper *::before,
.gymful-testimonial-swiper *::after {
  box-sizing: border-box;
}

.gymful-testimonial-swiper,
.gymful-testimonial-swiper .swiper {
  min-width: 0;
  max-width: 100%;
}

.gymful-testimonial-swiper .swiper {
  min-width: 0;
}

/* Use the viewport breakout only on desktop. On responsive breakpoints the widget stays inside its Elementor container. */
@media (min-width: 1025px) {
  .gymful-testimonial-swiper.is-full-bleed {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  @supports (width: 100dvw) {
    .gymful-testimonial-swiper.is-full-bleed {
      width: 100dvw;
      margin-left: calc(50% - 50dvw);
      margin-right: calc(50% - 50dvw);
    }
  }
}

@media (max-width: 1024px) {
  .gymful-testimonial-swiper,
  .gymful-testimonial-swiper.is-full-bleed {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .gymful-testimonial-swiper .swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .gymful-testimonial-swiper .swiper-wrapper {
    max-width: none;
  }

  .gymful-testimonial-swiper .swiper-slide {
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 767px) {
  .gymful-testimonial-swiper .swiper-slide {
    max-width: calc(100vw - 20px);
  }

  .gymful-testimonial-swiper .testimonial-swiper-nav,
  .gymful-testimonial-swiper .testimonial-swiper-controls,
  .gymful-testimonial-swiper .testimonial-navigation {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .gymful-testimonial-swiper .testimonial-swiper-pagination {
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    overflow: hidden;
  }

  .gymful-testimonial-swiper .testimonial-swiper-pagination .swiper-pagination-bullet {
    flex: 1 1 auto !important;
    min-width: 8px !important;
  }
}
