
/* Gymful Video Modal height fallback repair */
.gymful-video-modal-swiper {
  --vm-slide-height: clamp(420px, 56vw, 760px);
  --vm-nav-gap: 28px;
  --vm-bullet-width: 44px;
  --vm-bullet-height: 3px;
  --vm-bullet-gap: 8px;
  --vm-bullet-radius: 999px;
  --vm-bullet-color: #8A8A8A;
  --vm-bullet-active-color: #000000;
}

.gymful-video-modal-swiper__card {
  min-height: 0;
  height: var(--vm-slide-height);
}

.gymful-video-modal-swiper__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gymful-video-modal-swiper__media img,
.gymful-video-modal-swiper__media video,
.gymful-video-modal-swiper__media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


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

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

.gymful-video-modal-swiper {
  --vm-center-lift: 5px;
  position: relative;
  width: 100%;
  overflow: visible;
}

.gymful-video-modal-swiper--full-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.gymful-video-modal-swiper__viewport {
  width: 100%;
  overflow: visible !important;
}

.gymful-video-modal-swiper .swiper-wrapper,
.gymful-video-modal-swiper .swiper-slide {
  overflow: visible !important;
}

.gymful-video-modal-swiper__slide {
  height: auto;
  flex-shrink: 0;
}

.gymful-video-modal-swiper__card {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #111;
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(.19, 1, .22, 1), box-shadow 0.55s cubic-bezier(.19, 1, .22, 1);
  isolation: isolate;
}

.gymful-video-modal-swiper__slide.swiper-slide-active .gymful-video-modal-swiper__card,
.gymful-video-modal-swiper__slide.is-active .gymful-video-modal-swiper__card {
  transform: translateY(calc(var(--vm-center-lift) * -1));
}

.gymful-video-modal-swiper__media,
.gymful-video-modal-swiper__media img,
.gymful-video-modal-swiper__media video,
.gymful-video-modal-swiper__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gymful-video-modal-swiper__media img,
.gymful-video-modal-swiper__media video {
  display: block;
  object-fit: cover;
  object-position: center center;
}

.gymful-video-modal-swiper__media iframe {
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(.19, 1, .22, 1);
}

.gymful-video-modal-swiper__video {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(.19, 1, .22, 1);
}

.gymful-video-modal-swiper__slide.swiper-slide-active .gymful-video-modal-swiper__video,
.gymful-video-modal-swiper__slide.is-active .gymful-video-modal-swiper__video,
.gymful-video-modal-swiper__slide.swiper-slide-active .gymful-video-modal-swiper__iframe,
.gymful-video-modal-swiper__slide.is-active .gymful-video-modal-swiper__iframe {
  opacity: 1;
}

.gymful-video-modal-swiper__overlay,
.gymful-video-modal-swiper__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.gymful-video-modal-swiper__gradient {
  top: auto;
  height: 45%;
}

.gymful-video-modal-swiper__button {
  position: absolute !important;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  isolation: isolate;
  text-decoration: none !important;
  border-style: solid;
  border-width: 1px;
  line-height: 1;
  transition: color 0.35s cubic-bezier(.19, 1, .22, 1), border-color 0.35s cubic-bezier(.19, 1, .22, 1), transform 0.35s cubic-bezier(.19, 1, .22, 1);
}

.gymful-video-modal-swiper__button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  clip-path: circle(0% at 0% 100%);
  pointer-events: none;
  will-change: clip-path;
  transition: clip-path 0.82s cubic-bezier(.19, 1, .22, 1);
}

.gymful-video-modal-swiper__button:hover::before,
.gymful-video-modal-swiper__button:focus::before {
  clip-path: circle(155% at 0% 100%);
}

.gymful-video-modal-swiper__button-content {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gymful-video-modal-swiper__button-icon,
.gymful-video-modal-swiper__button-text {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
}

.gymful-video-modal-swiper__button-icon {
  line-height: 1 !important;
  transition: transform 0.35s cubic-bezier(.19, 1, .22, 1);
}

.gymful-video-modal-swiper__button-icon svg,
.gymful-video-modal-swiper__button-icon i {
  display: block;
  width: 1em;
  height: 1em;
}

.gymful-video-modal-swiper__button:hover .gymful-video-modal-swiper__button-icon,
.gymful-video-modal-swiper__button:focus .gymful-video-modal-swiper__button-icon {
  transform: translateX(3px);
}

.gymful-video-modal-swiper__button-content.is-reversed .gymful-video-modal-swiper__button-icon {
  order: -1;
}

.gymful-video-modal-swiper__navigation,
.gymful-video-modal-swiper__controls,
.gymful-video-modal-swiper .offer-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(--vm-nav-gap, 28px) !important;
  flex-wrap: nowrap !important;
}

.gymful-video-modal-swiper__arrow,
.gymful-video-modal-swiper__play {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #000;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  line-height: 0 !important;
  box-shadow: none !important;
  outline: none;
  flex: 0 0 auto !important;
}

.gymful-video-modal-swiper__arrow:hover,
.gymful-video-modal-swiper__arrow:focus,
.gymful-video-modal-swiper__arrow:active,
.gymful-video-modal-swiper__play:hover,
.gymful-video-modal-swiper__play:focus,
.gymful-video-modal-swiper__play:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.gymful-video-modal-swiper__arrow::before,
.gymful-video-modal-swiper__arrow::after,
.gymful-video-modal-swiper__play::before,
.gymful-video-modal-swiper__play::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
}

.gymful-video-modal-swiper__arrow svg,
.gymful-video-modal-swiper__play svg {
  display: block;
  overflow: visible;
}

.gymful-video-modal-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(--vm-bullet-gap, 8px) !important;
  flex: 0 0 auto !important;
}

.gymful-video-modal-swiper__pagination .swiper-pagination-bullet {
  display: block;
  width: var(--vm-bullet-width, 44px) !important;
  height: var(--vm-bullet-height, 3px) !important;
  margin: 0 !important;
  opacity: 1 !important;
  border-radius: var(--vm-bullet-radius, 999px) !important;
  background: var(--vm-bullet-color, #8A8A8A) !important;
}

.gymful-video-modal-swiper__pagination .swiper-pagination-bullet-active {
  background: var(--vm-bullet-active-color, #000000) !important;
}

.gymful-video-modal-swiper__play .icon-play { display: inline-flex; }
.gymful-video-modal-swiper__play .icon-pause { display: none; }
.gymful-video-modal-swiper__play.is-playing .icon-play { display: none; }
.gymful-video-modal-swiper__play.is-playing .icon-pause { display: inline-flex; }

/* Optional bottom-left content block (v1.0.7) */
.gymful-video-modal-swiper {
  --vm-content-left: 32px;
  --vm-content-bottom: 32px;
}

.gymful-video-modal-swiper__content {
  position: absolute;
  left: var(--vm-content-left, 32px);
  bottom: var(--vm-content-bottom, 32px);
  z-index: 5;
  max-width: min(760px, calc(100% - 220px));
  color: #fff;
  pointer-events: none;
}

.gymful-video-modal-swiper__content-heading {
  margin: 0 0 12px 0;
  color: #fff;
  font-family: "Cerebri Sans", Cerebri, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.gymful-video-modal-swiper__content-text {
  margin: 0;
  color: #fff;
  font-family: "Cerebri Sans", Cerebri, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

.gymful-video-modal-swiper__content-items-wrap {
  margin-top: 12px;
  color: #fff;
  font-family: "Cerebri Sans", Cerebri, Arial, sans-serif;
  line-height: 1.35;
}

.gymful-video-modal-swiper__content-items-label {
  display: block;
  font-family: "Cerebri Sans", Cerebri, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: #fff;
}

.gymful-video-modal-swiper__content-items {
  display: block;
  font-family: "Cerebri Sans", Cerebri, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  color: #fff;
}

@media (max-width: 767px) {
  .gymful-video-modal-swiper {
    --vm-content-left: 22px;
    --vm-content-bottom: 86px;
  }

  .gymful-video-modal-swiper__content {
    left: var(--vm-content-left, 22px);
    right: 22px;
    bottom: var(--vm-content-bottom, 86px);
    max-width: calc(100% - 44px);
  }

  .gymful-video-modal-swiper__content-heading {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .gymful-video-modal-swiper__content-text {
    font-size: 14px;
    line-height: 1.4;
  }

  .gymful-video-modal-swiper__content-items-wrap {
    margin-top: 10px;
  }

  .gymful-video-modal-swiper__slide--has-content .gymful-video-modal-swiper__button {
    left: var(--vm-content-left, 22px) !important;
    right: auto !important;
    bottom: 24px !important;
    justify-content: flex-start;
  }
}
