/* ===== GENERAL ===== */
.line-clamp-2 {
  display: -webkit-box;
  line-clamp: 2; /* standard property for compatibility */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  line-clamp: 3; /* standard property for compatibility */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* ===== HERO SLIDER ===== */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

/* entering */
.hero-slide.enter-from-right {
  opacity: 1;
  transform: translateX(100%);
}
.hero-slide.enter-from-left {
  opacity: 1;
  transform: translateX(-100%);
}

/* exiting */
.hero-slide.exit-to-left {
  opacity: 0;
  transform: translateX(-100%);
}
.hero-slide.exit-to-right {
  opacity: 0;
  transform: translateX(100%);
}

/* ===== HERO OVERLAY ===== */
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0)
  );
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  color: white;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-overlay {
    padding: 4rem;
    max-width: 55%;
  }
}

.hero-overlay h1 {
  font-size: 1.9rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .hero-overlay h1 {
    font-size: 2.5rem;
  }
}

.hero-overlay p {
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* Hero Dots */
.hero-dot {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.hero-dot:hover {
  transform: scale(1.4);
}

/* Hero Arrows */
.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;

  opacity: 0.85;
}

.hero-arrow svg {
  width: 18px;
  height: 18px;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.hero-arrow:active {
  transform: scale(0.95);
}
