/* Custom hero slider (replaces non-functional LayerSlider export) */
.cc-hero-slider {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 1280 / 609;
  overflow: hidden;
  background: #0b1622;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1280 / 609) {
  .cc-hero-slider {
    height: 0;
    padding-bottom: 47.578%; /* 609/1280 */
  }
}

.cc-hero-track {
  position: absolute;
  inset: 0;
}

.cc-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease-in-out;
  z-index: 1;
}

.cc-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.cc-hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.cc-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Mobile-only supplemental caption (mirrors original theme behavior,
   since some slide art crops out its baked-in text on narrow screens) */
.cc-hero-mobile-caption {
  display: none;
}

@media (max-width: 767px) {
  .cc-hero-mobile-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  }

  .cc-hero-mobile-caption-sub {
    color: #e5e5e5;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  .cc-hero-mobile-caption-title {
    color: #ffffff;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
  }
}

/* Arrows */
.cc-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 33, 71, 0.55);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease;
}

.cc-hero-arrow:hover {
  background: #fdc800;
  color: #002147;
}

.cc-hero-prev { left: 16px; }
.cc-hero-next { right: 16px; }

@media (max-width: 575px) {
  .cc-hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

/* Dot navigation */
.cc-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.cc-hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.cc-hero-dot.is-active {
  background: #ffffff;
}

.cc-hero-dot:hover {
  border-color: #fdc800;
}

.cc-hero-dot.is-active:hover {
  background: #fdc800;
}
