#slider.cc-heroCarousel a {
  background: transparent;
  color: inherit;
}

#slider.cc-heroCarousel .cc-heroCarousel__title {
  color: #fff;
}

#slider.cc-heroCarousel .owl-nav .owl-prev,
#slider.cc-heroCarousel .owl-nav .owl-next {
  background: rgba(255, 255, 255, 0.92) !important;
  border-radius: 999px !important;
  float: none !important;
  padding: 14px 16px !important;
  color: var(--cc-bx-ink) !important;
}

#slider.cc-heroCarousel .owl-nav div:hover {
  background: #fff !important;
}

#slider.cc-heroCarousel .owl-nav button {
  border: 0;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

#slider.cc-heroCarousel .owl-nav button .fa {
  font-size: 23px;
}

/* Homepage hero carousel — Bixoto light banner */

.cc-heroCarousel {
  position: relative;
  background: var(--cc-bx-surface);
  margin: 0 0 40px 0 !important;
  border-radius: var(--cc-bx-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cc-bx-border);
  box-shadow: var(--cc-bx-shadow);
}

#slider.cc-heroCarousel {
  margin-bottom: 40px !important;
}

.cc-heroCarousel__stage {
  touch-action: pan-y;
}

.cc-heroCarousel__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.cc-heroCarousel__progressBar {
  display: block;
  height: 100%;
  background: var(--cc-bx-accent);
  transition: width 0.08s linear;
}

.cc-heroCarousel__stage {
  position: relative;
  min-height: clamp(220px, 32vw, 520px);
}

.cc-heroCarousel__slide {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: #fff;
  background: var(--cc-bx-surface);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.65s ease, visibility 0.65s ease, transform 0.85s ease;
  z-index: 0;
}

.cc-heroCarousel__slide.isActive {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.cc-heroCarousel__img {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 520px);
  object-fit: cover;
  object-position: center;
}

.cc-heroCarousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 42%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
}

.cc-heroCarousel__copy {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: min(560px, 88%);
  height: 100%;
  padding: clamp(28px, 5vw, 60px);
  box-sizing: border-box;
}

.cc-heroCarousel__slide.isActive .cc-heroCarousel__copy {
  animation: ccHeroCopyIn 0.75s ease 0.12s both;
}

.cc-heroCarousel__eyebrow {
  font-family: var(--cc-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.cc-heroCarousel__title {
  font-family: var(--cc-font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.cc-heroCarousel__subtitle {
  font-family: var(--cc-font-sans);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
}

.cc-heroCarousel__cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--cc-bx-radius-sm);
  font-family: var(--cc-font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
  background: var(--cc-bx-accent);
  transition: background 0.2s ease;
}

.cc-heroCarousel__slide:hover .cc-heroCarousel__cta {
  background: var(--cc-bx-accent-hover);
  color: #fff;
}

.cc-heroCarousel__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.cc-heroCarousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.cc-heroCarousel__dot.isActive {
  width: 22px;
  background: var(--cc-bx-accent);
}

.cc-heroCarousel .owl-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.cc-heroCarousel .owl-nav .owl-prev,
.cc-heroCarousel .owl-nav .owl-next {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 14px 16px;
  margin: 0;
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  color: var(--cc-bx-ink);
}

.cc-heroCarousel:hover .owl-nav .owl-prev,
.cc-heroCarousel:hover .owl-nav .owl-next {
  opacity: 1;
}

.cc-heroCarousel .owl-nav .owl-prev { left: 16px; float: none; }
.cc-heroCarousel .owl-nav .owl-next { right: 16px; float: none; left: auto; }

.cc-heroCarousel .owl-nav div:hover {
  background: #fff;
}

@keyframes ccHeroCopyIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 960px) {
  #slider.cc-heroCarousel,
  .cc-heroCarousel {
    display: block !important;
    margin-bottom: 28px !important;
    border-radius: var(--cc-bx-radius);
  }

  .cc-heroCarousel__stage,
  .cc-heroCarousel__img {
    min-height: 280px;
    height: min(58vw, 360px);
  }

  .cc-heroCarousel__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.72) 100%
    );
  }

  .cc-heroCarousel__copy {
    width: 100%;
    max-width: none;
    padding: 20px 16px 44px 16px;
    justify-content: flex-end;
    gap: 6px;
  }

  .cc-heroCarousel__eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .cc-heroCarousel__title {
    font-size: clamp(22px, 6.5vw, 28px);
    line-height: 1.12;
    max-width: 18ch;
  }

  .cc-heroCarousel__subtitle {
    font-size: 13px;
    line-height: 1.45;
    max-width: 32ch;
  }

  .cc-heroCarousel__cta {
    margin-top: 6px;
    padding: 10px 16px;
    font-size: 13px;
  }

  /* Hide carousel arrows on mobile — swipe + dots only */
  .cc-heroCarousel .owl-nav {
    display: none;
  }

  .cc-heroCarousel__dots {
    bottom: 12px;
  }

  .content .inside .cc-homeBanners {
    margin-top: 4px;
  }
}

@media screen and (max-width: 480px) {
  .cc-heroCarousel__stage,
  .cc-heroCarousel__img {
    min-height: 260px;
    height: 300px;
  }

  .cc-heroCarousel__copy {
    padding: 16px 14px 48px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-heroCarousel__slide,
  .cc-heroCarousel__cta,
  .cc-heroCarousel__dot,
  .cc-heroCarousel__progressBar,
  .cc-heroCarousel .owl-nav div { transition: none; }
  .cc-heroCarousel__slide.isActive .cc-heroCarousel__copy { animation: none; }
}
