/* ==========================================================================
   Carousel runtime layer
   Activates the Elementor Swiper carousels that the static scrape left frozen:
   infinite loop, auto-advance, left/right arrows, visible gap between slides.
   No copy, links or DOM text are changed.
   ========================================================================== */

.swiper.cr-ready {
  position: relative;
}

/* keep the arrows fully inside the visible carousel box */
.cr-ready.cr-has-arrows .swiper-wrapper {
  overflow: visible;
}

.cr-ready .swiper-slide {
  box-sizing: border-box;
}

.cr-ready .swiper-slide > figure {
  margin: 0;
}

/* continuous glide mode (model strip) must move at constant speed */
.cr-glide .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* --- arrows ------------------------------------------------------------- */
.cr-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #C90808;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.cr-nav svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  transition: fill 0.18s ease;
}

.cr-nav-prev { left: 12px; }
.cr-nav-next { right: 12px; }

.cr-nav:hover {
  transform: translateY(-50%) scale(1.09);
  background: #252323;
}

.cr-nav:hover svg { fill: #ffffff; }

.cr-nav:focus-visible {
  outline: 2px solid #C90808;
  outline-offset: 2px;
}

.cr-nav.cr-disabled,
.swiper-button-disabled.cr-nav {
  opacity: 0.32;
  cursor: default;
}

/* --- model strip: black band so the inter-slide gap is visible ----------- */
.elementor-element-0f9b769 {
  background-image: linear-gradient(#000000, #000000) !important;
}

.elementor-element-0f9b769 .swiper-slide {
  padding: 8px 0;
}

.elementor-element-0f9b769 .swiper-slide-inner {
  border-radius: 12px;
  overflow: hidden;
}

.elementor-element-0f9b769 .cr-nav {
  width: 38px;
  height: 38px;
}

/* --- own dots (so the count always matches the real slides) -------------- */
.cr-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.cr-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(37, 35, 35, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.cr-dot:hover {
  background: rgba(201, 8, 8, 0.65);
}

.cr-dot-active {
  background: #C90808;
  transform: scale(1.3);
}

.cr-dot:focus-visible {
  outline: 2px solid #C90808;
  outline-offset: 2px;
}

/* dots on dark sections */
.cr-dots-on-dark .cr-dot {
  background: rgba(255, 255, 255, 0.35);
}

.cr-dots-on-dark .cr-dot-active {
  background: #ffffff;
}

/* --- mobile ------------------------------------------------------------- */
@media (max-width: 767px) {
  .cr-nav {
    width: 36px;
    height: 36px;
  }

  .cr-nav-prev { left: 6px; }
  .cr-nav-next { right: 6px; }

  .elementor-element-0f9b769 .swiper-slide {
    padding: 6px 0;
  }
}

/* --- reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .cr-glide .swiper-wrapper {
    transition-duration: 0ms !important;
  }
}
