/**
 * Standalone home hero carousel (replaces Slider Revolution export markup).
 */

.royal-hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: clamp(280px, 56vw, 690px);
  overflow: hidden;
  background: #0f0f2d;
  isolation: isolate;
}

.royal-hero-viewport {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 56vw, 690px);
}

.royal-hero-track {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.royal-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
  z-index: 1;
}

.royal-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.royal-hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.royal-hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    rgba(15, 15, 45, 0.72),
    rgba(15, 15, 45, 0.55)
  );
  pointer-events: none;
}

.royal-hero-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
  padding-left: clamp(28px, 6vw, 56px);
  box-sizing: border-box;
}

.royal-hero-slide-copy h1 {
  margin: 0;
  max-width: 14ch;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 65px);
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* Dot pagination */
.royal-hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vw, 36px);
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.royal-hero-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease,
    background 0.25s ease;
}

.royal-hero-dot:hover,
.royal-hero-dot:focus-visible {
  border-color: rgba(255, 255, 255, 0.85);
  outline: none;
}

.royal-hero-dot.is-active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.08);
}

@media (max-width: 767px) {
  .royal-hero-slide-copy {
    align-items: flex-end;
    padding-bottom: clamp(72px, 22vw, 120px);
  }
}
