/**
 * Themify builder motion + carousel styles (from live tb_inline_styles)
 */

.tb_animation_on {
  overflow-x: hidden;
}

.themify_builder .wow {
  visibility: hidden;
  animation-fill-mode: both;
}

/* Studio headline: no wow hide/slide — prevents left jump before sticky locks */
.themify_builder_content-22 .tb_bkry574.wow {
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
}

[data-tf-animation] {
  will-change: transform, opacity, visibility;
}

.themify_builder .tf_lax_done {
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-sticky-active].tb_sticky_scroll_active {
  z-index: 1;
}

/* Prevent builder sticky modules from floating over header on phones/tablets */
@media (max-width: 1023px) {
  .tb_sticky_scroll_active {
    position: static !important;
    width: auto !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }

  .tb_sticky_scroll_active + *,
  [data-sticky-active] {
    min-height: 0 !important;
  }
}

[data-sticky-active].tb_sticky_scroll_active .hide-on-stick {
  display: none;
}

/* Swiper / carousel */
.tf_swiper-container {
  overflow: hidden;
  position: relative;
}

.tf_swiper-wrapper {
  display: flex;
  transition: transform 0.6s ease;
}

.tf_swiper-slide {
  flex-shrink: 0;
  width: 100%;
}

.tf_swiper-slide.is-active {
  opacity: 1;
}

/* Inline video modules */
.wp-video-shortcode[data-hide-controls],
video[data-hide-controls] {
  pointer-events: none;
}

video[data-hide-controls]::-webkit-media-controls {
  display: none !important;
}

/* Lightbox */
.tf-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.tf-lightbox-overlay img {
  max-width: min(95vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ── Contact form response + Turnstile slot ── */
.n92-form-response {
  font-size: 0.85rem;
  font-weight: 700;
  color: #7ac943;
  margin-top: 0.75rem;
}

.n92-form-response.is-error {
  color: #ff3377;
}

.n92-turnstile-slot {
  margin-top: 0.5rem;
}
