/* AUREA — page banner carousel (shared by every AUREA site; canonical
   copy lives in aurea-design/carousel-kit/ and is deployed identically
   to all sites — do not fork per site).
   Neon frame per shell-spec section 10: gold->purple gradient border
   (border-box technique) + outer glow.

   Layout rules (unified fix, user re-report 2026-11-30):
   1. NO OVERLAP, EVER: the prev/next arrows and the dots live in a
      control strip BELOW the slide image — the carousel root reserves
      padding-bottom for it — so controls can never cover headline /
      sub copy, whether the copy is an HTML overlay (.hc-copy) or art
      baked into the banner image. Arrows are never mid-side again.
   2. READABLE COPY: .hc-copy carries a two-layer scrim (bottom-up +
      left-to-right dark gradients) strong enough that white headline
      text stays readable over bright artwork, plus text shadows. The
      old single gradient faded to fully transparent exactly where the
      kicker/title sit — that was the readability bug. */
.hero-carousel {
  position: relative;
  margin: 24px 0 4px;
  padding-bottom: 46px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(#0A0F1E, #0A0F1E) padding-box,
    linear-gradient(135deg, rgba(255,215,0,.55), rgba(138,43,226,.55) 52%, rgba(255,215,0,.30)) border-box;
  box-shadow: 0 0 16px rgba(138,43,226,.16), 0 0 8px rgba(255,215,0,.08),
    0 10px 28px rgba(0,0,0,.36), inset 0 0 24px rgba(138,43,226,.05);
}
.hc-track { display: flex; transition: transform .55s ease; }
.hc-slide { flex: 0 0 100%; display: block; position: relative; }
.hc-slide img { display: block; width: 100%; height: auto; }
/* HTML text overlay (policy 2026-11-29): slide copy is real HTML text
   translated by each site's i18n — never baked into the image. The
   two-layer scrim keeps text readable over any background art,
   including bright/golden artwork behind the headline. */
.hc-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 56px 84px 44px;
  display: flex; flex-direction: column; gap: 10px;
  background:
    linear-gradient(to top, rgba(5,8,18,.94) 0%, rgba(5,8,18,.84) 42%, rgba(5,8,18,.55) 74%, rgba(5,8,18,.34) 100%),
    linear-gradient(96deg, rgba(5,8,18,.52) 0%, rgba(5,8,18,.20) 55%, rgba(5,8,18,0) 85%);
  pointer-events: none;
}
.hc-kicker {
  align-self: flex-start;
  font-size: 13px; font-weight: 800; letter-spacing: .14em;
  color: #FFD700; text-transform: uppercase;
  border: 1px solid rgba(255,215,0,.55); border-radius: 999px;
  padding: 5px 12px; background: rgba(7,11,22,.62);
}
.hc-title {
  font-size: clamp(26px, 4.2vw, 52px); font-weight: 800; line-height: 1.12;
  color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.8), 0 1px 3px rgba(0,0,0,.85);
  max-width: 20em;
}
.hc-sub {
  font-size: clamp(14px, 1.6vw, 20px); font-weight: 500; line-height: 1.45;
  color: #D6DBF2; text-shadow: 0 1px 8px rgba(0,0,0,.8), 0 1px 2px rgba(0,0,0,.85);
  max-width: 44em;
}
/* Arrows + dots live in the control strip BELOW the slide image
   (the carousel reserves padding-bottom for it), vertically centred
   in the strip, so they can never cover headline / sub copy. */
.hc-arrow {
  position: absolute; top: auto; bottom: 7px; transform: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,215,0,.5);
  background: rgba(7,11,22,.55); color: #FFD700;
  font-size: 19px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  z-index: 2; padding: 0;
}
.hc-arrow:hover, .hc-arrow:focus-visible { background: rgba(7,11,22,.85); }
.hc-prev { left: 12px; }
.hc-next { right: 12px; }
.hc-dots {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 18px; display: flex; gap: 8px; z-index: 2;
}
.hc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.28); padding: 0; cursor: pointer;
}
.hc-dot.is-active {
  background: #FFD700; border-color: #FFD700;
  box-shadow: 0 0 8px rgba(255,215,0,.7);
}
@media (max-width: 560px) {
  .hero-carousel { border-radius: 16px; margin-top: 18px; padding-bottom: 42px; }
  .hc-arrow { width: 30px; height: 30px; font-size: 18px; bottom: 6px; }
  .hc-prev { left: 8px; }
  .hc-next { right: 8px; }
  .hc-dots { bottom: 17px; gap: 7px; }
  .hc-dot { width: 8px; height: 8px; }
  .hc-copy { padding: 30px 18px 26px; gap: 7px; }
  .hc-kicker { font-size: 11px; padding: 4px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-track { transition: none; }
}
