/* Webraan Hero Slider — sits where the theme's .wr-hero__devices image was (it keeps that class for size and float). */
.wrhs {
  --wrhs-neon: #3d8bff;
  --wrhs-hot: #ff2e63;
  --wrhs-radius: var(--wr-radius-lg, 24px);
  display: block;
  direction: rtl;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.wrhs__stage {
  position: relative;
  aspect-ratio: var(--wrhs-ratio, 3 / 2);
  border-radius: var(--wrhs-radius);
  overflow: hidden;
  touch-action: pan-y;
  transform: perspective(1100px) rotateX(var(--wrhs-rx, 0deg)) rotateY(var(--wrhs-ry, 0deg));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.wrhs.is-hover .wrhs__stage { transition-duration: .12s; }
.wrhs.is-deck .wrhs__stage { overflow: visible; }
.wrhs__track { position: absolute; inset: 0; perspective: 1200px; }
.wrhs__slide {
  position: absolute;
  inset: 0;
  border-radius: var(--wrhs-radius);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  backface-visibility: hidden;
}
.wrhs__slide.is-active,
.wrhs__slide.is-entering { opacity: 1; visibility: visible; z-index: 1; }
.wrhs__slide.is-entering { z-index: 2; }
.wrhs__link { display: block; width: 100%; height: 100%; }
.wrhs__pic { display: block; width: 100%; height: 100%; }
/* Phones: a slide's own mobile banner sets the frame when the slides have one. */
@media (max-width: 767px) {
  .wrhs.has-mobile .wrhs__stage { aspect-ratio: var(--wrhs-ratio-m, var(--wrhs-ratio, 3 / 2)); }
}
.wrhs__img,
.wrhs__shard img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  pointer-events: none;
}
.wrhs__slide.is-active .wrhs__img { animation: wrhs-drift calc(var(--wrhs-interval, 5s) + 1.5s) ease-out both; }
@keyframes wrhs-drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Cursor-following light */
.wrhs__sheen {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: var(--wrhs-radius);
  background: radial-gradient(circle at var(--wrhs-mx, 50%) var(--wrhs-my, 40%), rgba(255, 255, 255, .28), transparent 45%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity .35s;
}
.wrhs.is-hover .wrhs__sheen { opacity: 1; }

/* Transition layer */
.wrhs__fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.wrhs__shard { position: absolute; inset: 0; will-change: transform, opacity, filter; }
.wrhs__fx.is-3d { perspective: 1000px; background: radial-gradient(circle at 50% 50%, #0d2a6b, #040915 75%); }
.wrhs__fx.is-checker { perspective: 1000px; }
.wrhs__cell { position: absolute; transform-style: preserve-3d; }
.wrhs__fx.is-checker .wrhs__face { box-shadow: 0 6px 14px rgba(4, 9, 21, .35); }
.wrhs__face { position: absolute; inset: 0; background-repeat: no-repeat; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.wrhs__band {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 44%, rgba(120, 180, 255, .18) 47%, rgba(255, 255, 255, .55) 50%, rgba(255, 46, 99, .2) 53%, transparent 56%);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}
.wrhs__scan {
  position: absolute;
  top: -5%;
  bottom: -5%;
  width: 3px;
  inset-inline-start: 0;
  background: linear-gradient(180deg, transparent, #fff 20%, var(--wrhs-neon) 50%, #fff 80%, transparent);
  box-shadow: 0 0 14px 4px var(--wrhs-neon), 0 0 40px 10px rgba(61, 139, 255, .45);
  border-radius: 3px;
}
.wrhs__ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 18px 6px var(--wrhs-neon), inset 0 0 18px 4px rgba(255, 46, 99, .55);
  transform: translate(-50%, -50%) scale(0);
}

/* Pagination: one thin line per slide; the active one fills with the autoplay progress. */
.wrhs__nav { position: relative; z-index: 6; display: flex; justify-content: center; margin: 16px auto 0; }
.wrhs .wrhs__dots { display: flex; align-items: center; gap: 6px; width: min(100%, 260px); }
.wrhs button { all: unset; box-sizing: border-box; cursor: pointer; }
.wrhs button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.wrhs .wrhs__dot {
  position: relative;
  flex: 1 1 0;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
  transition: background .25s;
}
.wrhs .wrhs__dot::before { content: ""; position: absolute; inset: -10px 0; } /* touch target */
.wrhs .wrhs__dot:hover { background: rgba(255, 255, 255, .4); }
.wrhs .wrhs__dot i {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right center;
}
.wrhs .wrhs__dot.is-active i { transform: scaleX(var(--p, 0)); }
.wrhs:not([data-autoplay="1"]) .wrhs__dot.is-active i { transform: scaleX(1); }
.wrhs__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .wrhs__stage { transform: none !important; transition: none; }
  .wrhs__slide.is-active .wrhs__img { animation: none; }
}

/* With the slider, the hero shows only the banner: no floating cards or orbs. */
.wr-hero__visual--slider :is(.wr-hero__float-card, .wr-hero__orb) { display: none !important; }
