/* StartBlok Hero / Swiper v12
   Dedicated rules only. Intentionally isolated from legacy hero overrides. */

.sb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080908;
}

.sb-hero .sb-hero-swiper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sb-hero .sb-hero-swiper > .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.sb-hero .sb-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background: #080908;
}

/* Disable the legacy ::after overlay; v8 owns its layers explicitly. */
.sb-hero .sb-hero-slide::after {
  content: none !important;
  display: none !important;
}

.sb-hero-slide__background,
.sb-hero-slide__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sb-hero-slide__background {
  z-index: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
}

.sb-hero-slide__overlay {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, .03) 0%, rgba(0, 0, 0, .26) 62%, rgba(0, 0, 0, .46) 100%),
    linear-gradient(180deg, rgba(5, 6, 5, .30), rgba(5, 6, 5, .52));
}

.sb-hero-slide--digital .sb-hero-slide__overlay {
  background:
    radial-gradient(circle at 50% 43%, rgba(0, 0, 0, .03), rgba(0, 0, 0, .42) 78%),
    linear-gradient(90deg, rgba(4, 5, 4, .58), rgba(4, 5, 4, .30) 50%, rgba(4, 5, 4, .55));
}

.sb-hero-slide--sport-health .sb-hero-slide__overlay {
  background:
    radial-gradient(circle at 50% 43%, rgba(0, 0, 0, .04), rgba(0, 0, 0, .48) 78%),
    linear-gradient(90deg, rgba(4, 5, 4, .60), rgba(4, 5, 4, .34) 50%, rgba(4, 5, 4, .60));
}

.sb-hero-slide--sport-business {
  /* Keep the slide itself dark: the photo is intentionally smaller on desktop. */
  background: #080908;
}

.sb-hero-slide--sport-business .sb-hero-slide__background {
  inset: 0;
  left: auto;
  top: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* V21: full-hero image, no reduced frame that cuts the new photo. */
  filter: saturate(.90) contrast(1.05) brightness(.58);
  transform: none;
  transform-origin: center center;
  -webkit-mask-image: none;
  mask-image: none;
}

.sb-hero-slide--sport-business .sb-hero-slide__overlay {
  /* V20: darker veil for the new gym image while keeping the copy readable. */
  background:
    radial-gradient(ellipse 58% 52% at 50% 45%, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .18) 50%, rgba(0, 0, 0, .32) 78%, rgba(0, 0, 0, .48) 100%),
    linear-gradient(180deg, rgba(4, 5, 4, .26), rgba(4, 5, 4, .54)),
    linear-gradient(90deg, rgba(4, 5, 4, .30), rgba(4, 5, 4, .16) 50%, rgba(4, 5, 4, .32));
}

.sb-hero-slide__inner {
  position: relative;
  z-index: 4;
  width: min(100% - 10rem, 1180px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.sb-hero-slide__content {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease .08s, transform .55s cubic-bezier(.2,.75,.25,1) .08s;
}

.sb-hero-slide:first-child .sb-hero-slide__content,
.sb-hero-slide.swiper-slide-active .sb-hero-slide__content {
  opacity: 1;
  transform: translateY(0);
}

.sb-hero-slide__content h1 {
  margin: 0 auto;
  max-width: 850px;
  color: #fff;
  font-size: clamp(3rem, 5vw, 4.25rem);
  line-height: 1.08;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .58);
}

.sb-hero-slide__content h1 span {
  color: #cfff04;
}

.sb-hero-slide__content p {
  max-width: 790px;
  margin: 1.35rem auto 2.25rem;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .62);
}

.sb-hero-slide__content p strong {
  color: #fff;
}

.sb-hero-slide__content .blck-btn {
  margin-inline: auto;
}

/* One particle canvas for the whole hero: no duplicate canvases per slide. */
.sb-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  opacity: .90;
  /* V10: particles stay quiet behind the copy, but are no longer almost erased. */
  -webkit-mask-image: radial-gradient(ellipse 36% 44% at 50% 48%, rgba(0,0,0,.18) 0 26%, rgba(0,0,0,.58) 48%, #000 72%);
  mask-image: radial-gradient(ellipse 36% 44% at 50% 48%, rgba(0,0,0,.18) 0 26%, rgba(0,0,0,.58) 48%, #000 72%);
}

@media (min-width: 901px) {
  .sb-hero-particles:not([hidden]) {
    display: block;
  }
}

.sb-hero-particles > canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  pointer-events: none !important;
}

.sb-hero .sb-hero-prev,
.sb-hero .sb-hero-next {
  z-index: 7;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 50%;
  background: rgba(7, 8, 7, .48);
  color: #cfff04;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}

.sb-hero .sb-hero-prev { left: 30px; }
.sb-hero .sb-hero-next { right: 30px; }

.sb-hero .sb-hero-prev::after,
.sb-hero .sb-hero-next::after {
  font-size: 1.15rem;
  font-weight: 900;
}

@media (hover: hover) and (pointer: fine) {
  .sb-hero .sb-hero-prev:hover,
  .sb-hero .sb-hero-next:hover {
    transform: scale(1.06);
    background: #cfff04;
    border-color: #cfff04;
    color: #080908;
  }
}

.sb-hero .sb-hero-pagination {
  z-index: 7;
  bottom: 28px !important;
}

.sb-hero .sb-hero-pagination .swiper-pagination-bullet {
  width: 26px;
  height: 4px;
  margin: 0 5px !important;
  border-radius: 999px;
  background: #fff;
  opacity: .42;
  transition: width .22s ease, opacity .22s ease, background-color .22s ease;
}

.sb-hero .sb-hero-pagination .swiper-pagination-bullet-active {
  width: 40px;
  background: #cfff04;
  opacity: 1;
}

@media (max-width: 900px) {
  .sb-hero-slide__inner {
    width: min(100% - 5rem, 820px);
  }

  /* V18: more vertical breathing room when the hero title wraps to 3 lines. */
  .sb-hero-slide__content h1 {
    line-height: 1.13;
  }

  .sb-hero-particles {
    display: none;
  }

  .sb-hero-slide--sport-business .sb-hero-slide__background {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center center;
    filter: saturate(.92) contrast(1.04) brightness(.60);
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 680px) {
  .sb-hero-slide__inner {
    width: calc(100% - 2rem);
  }

  .sb-hero-slide__content {
    width: 100%;
    padding: 1rem .7rem 3rem;
  }

  .sb-hero-slide__content h1 {
    max-width: 11.5ch;
    font-size: clamp(2.05rem, 9.8vw, 3rem);
    line-height: 1.11;
  }

  .sb-hero-slide__content p {
    max-width: 31rem;
    margin: 1rem auto 1.7rem;
    font-size: clamp(.96rem, 4.1vw, 1.08rem);
    line-height: 1.55;
  }

  .sb-hero-slide--sport-business .sb-hero-slide__overlay {
    background:
      radial-gradient(ellipse 64% 58% at 50% 40%, rgba(0,0,0,.14), rgba(0,0,0,.24) 54%, rgba(0,0,0,.46) 100%),
      linear-gradient(180deg, rgba(5,6,5,.34), rgba(5,6,5,.72));
  }

  .sb-hero .sb-hero-prev,
  .sb-hero .sb-hero-next {
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }

  .sb-hero .sb-hero-prev { left: 10px; }
  .sb-hero .sb-hero-next { right: 10px; }
  .sb-hero .sb-hero-pagination { bottom: 18px !important; }
}

@media (max-width: 480px) {
  .sb-hero .sb-hero-prev,
  .sb-hero .sb-hero-next {
    display: none;
  }

  .sb-hero-slide__content {
    padding-inline: .35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-hero-slide__content {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sb-hero-particles {
    display: none;
  }
}
