/* Home hero slider. One slide renders exactly like the original static banner;
   the stacking/animation only kicks in from two slides up. --tzd is the
   transition length set by the admin. */
.tiz-hero { position: relative; overflow: hidden; --tzd: 600ms; }
.tiz-hero .tiz-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity var(--tzd) ease, transform var(--tzd) cubic-bezier(.4,0,.2,1), visibility 0s linear var(--tzd);
}
/* the first slide keeps its place in the flow so the block keeps its height */
.tiz-hero .tiz-slide.tiz-sizer { position: relative; }
.tiz-hero .tiz-slide.on { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 2; }
.tiz-hero img { display: block; width: 100%; height: auto; }
.tiz-hero .tiz-hero-link { display: block; }

/* ---- slide ---- */
.tiz-anim-slide .tiz-slide.from-end   { transform: translateX(100%); }
.tiz-anim-slide .tiz-slide.from-start { transform: translateX(-100%); }
.tiz-anim-slide .tiz-slide.to-start   { transform: translateX(-100%); opacity: 1; }
.tiz-anim-slide .tiz-slide.to-end     { transform: translateX(100%);  opacity: 1; }
/* ---- fade ---- */
.tiz-anim-fade .tiz-slide { transform: none !important; }
/* ---- zoom ---- */
.tiz-anim-zoom .tiz-slide.from-end,
.tiz-anim-zoom .tiz-slide.from-start { transform: scale(1.08); }
.tiz-anim-zoom .tiz-slide.to-start,
.tiz-anim-zoom .tiz-slide.to-end     { transform: scale(.94); opacity: 0; }
/* ---- none ---- */
.tiz-anim-none .tiz-slide { transition: none; transform: none !important; }

/* ---- arrows ---- */
.tiz-hero-arr {
  position: absolute; top: 50%; z-index: 5;
  width: 44px; height: 44px;
  transform: translateY(-50%);
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: #1d1b1e;
  font-size: 26px; line-height: 1;
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.16);
  transition: opacity .25s ease, background-color .2s ease, transform .2s ease;
}
.tiz-hero:hover .tiz-hero-arr,
.tiz-hero-arr:focus-visible { opacity: 1; }
.tiz-hero-arr:hover { background: #fff; }
.tiz-prev { inset-inline-start: 18px; }
.tiz-next { inset-inline-end: 18px; }

/* ---- dots ---- */
.tiz-hero-dots {
  position: absolute; inset-inline: 0; bottom: 14px; z-index: 5;
  display: flex; justify-content: center; gap: 8px;
}
.tiz-dot {
  width: 9px; height: 9px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  cursor: pointer;
  transition: background-color .2s ease, width .2s ease;
}
.tiz-dot.on { width: 24px; border-radius: 999px; background: #A82459; }

@media (max-width: 767px) {
  .tiz-hero-arr { width: 36px; height: 36px; font-size: 22px; opacity: 1; background: rgba(255,255,255,.8); }
  .tiz-prev { inset-inline-start: 8px; }
  .tiz-next { inset-inline-end: 8px; }
  .tiz-hero-dots { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tiz-hero .tiz-slide { transition: opacity 1ms linear, visibility 0s; transform: none !important; }
}

.tiz-hero-arr.tiz-arr-off{opacity:.25;pointer-events:none}
