.gymful-active-cards-showcase {
  --gacs-card-height: 580px;
  --gacs-gap: 8px;
  --gacs-track-padding-top: 0px;
  --gacs-track-padding-right: 0px;
  --gacs-track-padding-bottom: 0px;
  --gacs-track-padding-left: 0px;
  --gacs-card-radius: 10px;
  --gacs-inactive-flex: 1;
  --gacs-active-flex: 2.1;
  --gacs-active-lift: 10px;
  --gacs-duration: 650ms;
  --gacs-media-fit: cover;
  --gacs-media-position: center center;
  --gacs-media-scale: 1;
  --gacs-media-scale-active: 1.03;
  --gacs-overlay-color: rgba(0, 0, 0, 0.15);
  --gacs-gradient-color: rgba(0, 0, 0, 0.72);
  --gacs-gradient-height: 55%;
  --gacs-text-color: #fff;
  --gacs-content-padding-top: 26px;
  --gacs-content-padding-right: 26px;
  --gacs-content-padding-bottom: 28px;
  --gacs-content-padding-left: 26px;
  --gacs-active-text-max: 760px;
  --gacs-mobile-slide-width: 82vw;
  --gacs-pagination-color: rgba(255,255,255,.45);
  --gacs-pagination-active-color: #C6B04F;
  width: 100%;
  position: relative;
  isolation: isolate;
}

.gymful-active-cards-showcase .gacs-viewport {
  touch-action: pan-y;
}


.gacs-full-bleed-yes .gymful-active-cards-showcase {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.gymful-active-cards-showcase * {
  box-sizing: border-box;
}

.gymful-active-cards-showcase .gacs-viewport {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: var(--gacs-track-padding-top) var(--gacs-track-padding-right) var(--gacs-track-padding-bottom) var(--gacs-track-padding-left);
}

.gymful-active-cards-showcase .gacs-track {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: var(--gacs-gap);
  transform: translate3d(0,0,0);
  will-change: transform;
}

.gymful-active-cards-showcase .gacs-card {
  position: relative;
  display: block;
  min-width: 0;
  height: var(--gacs-card-height);
  flex: var(--gacs-inactive-flex) 1 0;
  border-radius: var(--gacs-card-radius);
  overflow: hidden;
  color: var(--gacs-text-color);
  text-decoration: none;
  background: #111;
  transform: translateY(0) translateZ(0);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    flex var(--gacs-duration) cubic-bezier(.19, 1, .22, 1),
    transform var(--gacs-duration) cubic-bezier(.19, 1, .22, 1),
    box-shadow var(--gacs-duration) cubic-bezier(.19, 1, .22, 1);
}

.gymful-active-cards-showcase .gacs-card:focus-visible {
  outline: 2px solid #C6B04F;
  outline-offset: 4px;
}

.gymful-active-cards-showcase.gacs-is-desktop .gacs-card.is-active,
.gymful-active-cards-showcase:not(.gacs-is-mobile) .gacs-card.is-active {
  flex-grow: var(--gacs-active-flex);
  transform: translateY(calc(var(--gacs-active-lift) * -1)) translateZ(0);
  z-index: 2;
}

.gymful-active-cards-showcase .gacs-media,
.gymful-active-cards-showcase .gacs-image,
.gymful-active-cards-showcase .gacs-video,
.gymful-active-cards-showcase .gacs-overlay {
  position: absolute;
  inset: 0;
}

.gymful-active-cards-showcase .gacs-image,
.gymful-active-cards-showcase .gacs-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--gacs-media-fit);
  object-position: var(--gacs-media-position);
  transform: scale(var(--gacs-media-scale));
  transition: transform calc(var(--gacs-duration) + 200ms) cubic-bezier(.19, 1, .22, 1), opacity .35s ease;
}

.gymful-active-cards-showcase .gacs-video {
  opacity: 0;
  pointer-events: none;
}

.gymful-active-cards-showcase .gacs-card.is-active .gacs-video,
.gymful-active-cards-showcase .gacs-card:hover .gacs-video {
  opacity: 1;
}

.gymful-active-cards-showcase .gacs-card.is-active .gacs-image,
.gymful-active-cards-showcase .gacs-card.is-active .gacs-video,
.gymful-active-cards-showcase .gacs-card:hover .gacs-image,
.gymful-active-cards-showcase .gacs-card:hover .gacs-video {
  transform: scale(var(--gacs-media-scale-active));
}

.gymful-active-cards-showcase .gacs-overlay {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, var(--gacs-gradient-color) 0%, rgba(0,0,0,0) var(--gacs-gradient-height)),
    var(--gacs-overlay-color);
}

.gymful-active-cards-showcase .gacs-content {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--gacs-content-padding-top) var(--gacs-content-padding-right) var(--gacs-content-padding-bottom) var(--gacs-content-padding-left);
  color: var(--gacs-text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.gymful-active-cards-showcase .gacs-step {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--gacs-text-color);
  opacity: .9;
}

.gymful-active-cards-showcase .gacs-heading {
  margin: 0;
  color: var(--gacs-text-color);
  font-size: clamp(24px, 2.1vw, 36px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gymful-active-cards-showcase .gacs-compact-text,
.gymful-active-cards-showcase .gacs-active-text {
  color: var(--gacs-text-color);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  margin-top: 12px;
  max-width: var(--gacs-active-text-max);
}

.gymful-active-cards-showcase .gacs-active-text {
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  overflow: hidden;
  transition:
    opacity .42s cubic-bezier(.19, 1, .22, 1),
    transform .42s cubic-bezier(.19, 1, .22, 1),
    max-height .42s cubic-bezier(.19, 1, .22, 1);
}

.gymful-active-cards-showcase .gacs-card.is-active .gacs-active-text {
  opacity: 1;
  transform: translateY(0);
  max-height: 220px;
}

.gymful-active-cards-showcase .gacs-card.is-active .gacs-compact-text {
  display: none;
}

.gymful-active-cards-showcase .gacs-card:not(.is-active) .gacs-active-text {
  display: block;
}

.gymful-active-cards-showcase .gacs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  position: relative;
  z-index: 4;
}

.gymful-active-cards-showcase .swiper-pagination-bullet {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gacs-pagination-color);
  opacity: 1;
}

.gymful-active-cards-showcase .swiper-pagination-bullet-active {
  background: var(--gacs-pagination-active-color);
}

/* Mobile / tablet mode */
.gymful-active-cards-showcase.gacs-is-mobile .gacs-viewport {
  overflow: hidden;
  padding-top: calc(var(--gacs-track-padding-top) + var(--gacs-active-lift));
  padding-right: var(--gacs-track-padding-right);
  padding-bottom: var(--gacs-track-padding-bottom);
  padding-left: var(--gacs-track-padding-left);
}

.gymful-active-cards-showcase.gacs-is-mobile .gacs-track {
  gap: 0;
  align-items: stretch;
  width: auto;
}

.gymful-active-cards-showcase.gacs-is-mobile .gacs-card {
  flex: 0 0 var(--gacs-mobile-slide-width);
  width: var(--gacs-mobile-slide-width);
  max-width: var(--gacs-mobile-slide-width);
  min-width: var(--gacs-mobile-slide-width);
  margin-right: 0;
  flex-shrink: 0;
  transform: translateY(0) translateZ(0);
}

.gymful-active-cards-showcase.gacs-is-mobile .gacs-card.is-active {
  transform: translateY(calc(var(--gacs-active-lift) * -1)) translateZ(0);
}

.gymful-active-cards-showcase.gacs-is-mobile .gacs-card .gacs-active-text,
.gymful-active-cards-showcase.gacs-is-mobile .gacs-card.swiper-slide-active .gacs-active-text {
  opacity: 1;
  transform: translateY(0);
  max-height: 220px;
}

/* Graceful fallback when Swiper is not available yet or fails to initialize. */
.gymful-active-cards-showcase.gacs-is-mobile.gacs-no-swiper .gacs-viewport,
.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-loading .gacs-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.gymful-active-cards-showcase.gacs-is-mobile.gacs-no-swiper .gacs-track,
.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-loading .gacs-track {
  gap: var(--gacs-gap);
}

.gymful-active-cards-showcase.gacs-is-mobile.gacs-no-swiper .gacs-card,
.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-loading .gacs-card {
  scroll-snap-align: start;
}


.gymful-active-cards-showcase.gacs-is-mobile.gacs-no-swiper .gacs-viewport::-webkit-scrollbar,
.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-loading .gacs-viewport::-webkit-scrollbar {
  display: none;
}

.gymful-active-cards-showcase.gacs-is-mobile.gacs-no-swiper .gacs-viewport,
.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-loading .gacs-viewport {
  scrollbar-width: none;
}

@media (max-width: 767px) {
  .gymful-active-cards-showcase {
    --gacs-content-padding-top: 22px;
    --gacs-content-padding-right: 22px;
    --gacs-content-padding-bottom: 24px;
    --gacs-content-padding-left: 22px;
  }

  .gymful-active-cards-showcase .gacs-content {
    align-items: flex-start;
    text-align: left;
  }

  .gymful-active-cards-showcase .gacs-heading {
    font-size: clamp(24px, 8vw, 34px);
  }

  .gymful-active-cards-showcase .gacs-compact-text,
  .gymful-active-cards-showcase .gacs-active-text {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gymful-active-cards-showcase .gacs-card,
  .gymful-active-cards-showcase .gacs-image,
  .gymful-active-cards-showcase .gacs-video,
  .gymful-active-cards-showcase .gacs-active-text {
    transition: none !important;
  }
}


/* v1.0.2 mobile Swiper repair
   Root never received Swiper's internal .swiper-initialized class, so fallback
   scroll-snap styles could remain active and fight Swiper on responsive. */
.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-ready .gacs-viewport {
  overflow: hidden !important;
  touch-action: pan-y !important;
}

.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-ready .gacs-track {
  display: flex !important;
  gap: 0 !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: auto !important;
  scrollbar-width: auto !important;
  width: auto !important;
  max-width: none !important;
}

.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-ready .gacs-card {
  scroll-snap-align: none !important;
  flex: 0 0 var(--gacs-mobile-slide-width) !important;
  width: var(--gacs-mobile-slide-width) !important;
  max-width: var(--gacs-mobile-slide-width) !important;
  min-width: var(--gacs-mobile-slide-width) !important;
}

.gymful-active-cards-showcase.gacs-is-mobile.gacs-no-swiper .gacs-track,
.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-loading .gacs-track {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
}

.gymful-active-cards-showcase.gacs-is-mobile.gacs-no-swiper .gacs-card,
.gymful-active-cards-showcase.gacs-is-mobile.gacs-swiper-loading .gacs-card {
  scroll-snap-align: start !important;
}
