/* CTM Hero Manager — additions on top of the design system's hero styles (ctm-base.css).
   Only the options the admin can change live here. */
.ctm-hero { padding-top: var(--hero-pt, 22px); }
.ctm-hero .slider { min-height: var(--hero-h, 470px); }
.ctm-hero .hero-grid.no-side { grid-template-columns: 1fr; }

/* Custom background + overlay */
.ctm-hero .s-custom .slide-bg { background-size: cover; background-position: center; }
.ctm-hero .slide-ov { position: absolute; inset: 0; pointer-events: none; }

/* Text tone (auto/light/dark) */
.ctm-hero .tone-light .slide-copy { color: #fff; }
.ctm-hero .tone-light .chip { background: rgba(255,255,255,.18); }
.ctm-hero .tone-light .btn-outline { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.ctm-hero .tone-dark .slide-copy { color: var(--navy); }
.ctm-hero .tone-dark .chip { background: rgba(11,42,91,.1); }
.ctm-hero .tone-dark .btn-outline { color: var(--navy); box-shadow: inset 0 0 0 2px rgba(11,42,91,.4); }
.ctm-hero .slide-copy .hl { color: var(--sun); }
.ctm-hero .tone-dark .slide-copy .hl { color: var(--red); }
.ctm-hero .slide-copy .sub { font-weight: 800; font-size: 19px; opacity: 1; margin: -4px 0 8px; }

/* Alignment + slides without an image */
.ctm-hero .align-center .slide-copy { text-align: center; margin-inline: auto; }
.ctm-hero .align-center .btns { justify-content: center; }
.ctm-hero .slide.no-art { grid-template-columns: 1fr; }
.ctm-hero .slide.no-art .slide-copy { max-width: 640px; }
.ctm-hero .blob picture { display: block; width: 100%; height: 100%; }

/* Red main button (the default .btn gradient) */
.ctm-hero .btn-red { --bg: var(--grad-hot); }

/* Promo card colours */
.promo-card.pc-sun { background: var(--sun-soft); }
.promo-card.pc-sun .k { color: #c2410c; }
.promo-card.pc-teal { background: var(--teal-soft); }
.promo-card.pc-teal .k { color: var(--teal); }
.promo-card.pc-pink { background: var(--pink-soft); }
.promo-card.pc-pink .k { color: var(--red); }
.promo-card.pc-sky { background: var(--sky-soft); }
.promo-card.pc-sky .k { color: var(--navy-2); }
.promo-card .promo-sub { display: block; color: var(--muted); font-weight: 700; }

/* Device visibility */
@media (min-width: 761px) { .ctm-hero .slide.hide-d { display: none; } }
@media (max-width: 760px) {
  .ctm-hero .slider { min-height: var(--hero-h-m, 560px); }
  .ctm-hero .slide.hide-m { display: none; }
}

/* Reduced motion: no morphing/bobbing, instant slide change */
@media (prefers-reduced-motion: reduce) {
  .ctm-hero .slide, .ctm-hero .slide * { transition-duration: .01ms !important; animation: none !important; }
}
