:root {
  --primary-600:           
;
}

/* ── Vertical Hero Slider ────────────────────────────── */
.embla-vertical-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.embla-vertical-slider .embla__viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.embla-vertical-slider .embla__container {
  display: flex;
  flex-direction: column;
  /* height is the sum of all slides — let it overflow */
  height: auto;
  /* We will translate the container vertically to show slides */
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}

.embla-vertical-slider .embla__slide {
  /* Fill the embla viewport rather than the full viewport height.
     This keeps slide sizing consistent with the embla__viewport height
     (which may be set dynamically), avoids clipping, and improves
     swipe/drag responsiveness. */
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.embla-vertical-slider .embla__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dot indicators */
.embla-vertical-slider .embla__dots {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.embla__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.embla__dot.is-selected {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
}

/* Make hero layout stretch so slider naturally fills the hero area
   without requiring explicit JS heights. */
.home-hero {
  align-items: stretch; /* allow children to fill vertical space */
}

.home-hero .image {
  display: flex;
  flex: 1 1 auto;
  min-height: 0; /* allow flex child to shrink properly */
}

/* Splide / slider rules: make the slider and slides fill the .image area */
/* #hero-slider,
.splide__track,
.splide__list {
  height: 100%;
}

.splide__slide {
  height: 100%;
  display: flex;
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */

/* Ensure container transform/transition remain for our custom sliding fallback */
.embla-vertical-slider .embla__container {
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}
