/* sb-composites 1.0.0 */

.sb-cs,
#top #wrap_all .sb-cs {
  --sb-cs-mt-now: var(--sb-cs-mt, 0px);
  --sb-cs-mb-now: var(--sb-cs-mb, 0px);
  --sb-cs-gg-now: var(--sb-cs-gg, 64px);
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: var(--sb-cs-mt-now);
  margin-bottom: var(--sb-cs-mb-now);
  margin-left: 0;
  margin-right: 0;
}

/* The white text box overhangs the image; the slider must not clip it. */
.sb-cs .sb-cs__swiper,
#top #wrap_all .sb-cs .sb-cs__swiper {
  overflow: visible;
}

.sb-cs .sb-cs__arrow,
#top #wrap_all .sb-cs .sb-cs__arrow,
.sb-cs .sb-cs__ctrl,
#top #wrap_all .sb-cs .sb-cs__ctrl {
  user-select: none;
}

.sb-cs .sb-cs__arrow:focus-visible,
#top #wrap_all .sb-cs .sb-cs__arrow:focus-visible,
.sb-cs .sb-cs__ctrl:focus-visible,
#top #wrap_all .sb-cs .sb-cs__ctrl:focus-visible {
  outline-width: 2px;
  outline-style: solid;
  outline-color: currentColor;
  outline-offset: 2px;
}

.sb-cs .sb-cs__galleries,
#top #wrap_all .sb-cs .sb-cs__galleries {
  display: block;
  margin-top: var(--sb-cs-gg-now);
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}

.sb-cs:not(.sb-cs--has-galleries) .sb-cs__galleries,
#top #wrap_all .sb-cs:not(.sb-cs--has-galleries) .sb-cs__galleries {
  display: none;
}

.sb-cs .sb-cs__gallery,
#top #wrap_all .sb-cs .sb-cs__gallery {
  display: block;
}

.sb-cs .sb-cs__gallery:not(.sb-cs__gallery--active),
#top #wrap_all .sb-cs .sb-cs__gallery:not(.sb-cs__gallery--active) {
  display: none;
}

/* Responsive ramp: reads the inline tokens, never re-declares them */
@media (max-width: 1199px) {
  .sb-cs--scale,
  #top #wrap_all .sb-cs--scale {
    --sb-cs-mt-now: calc(var(--sb-cs-mt, 0px) * 0.75);
  }
}

@media (max-width: 989px) {
  .sb-cs,
  #top #wrap_all .sb-cs {
    --sb-cs-gg-now: var(--sb-cs-gg-m, 32px);
  }

  /* the big side arrows go on mobile, as on the original slider */
  .sb-cs .sb-cs__arrow,
  #top #wrap_all .sb-cs .sb-cs__arrow {
    display: none;
  }
}

@media (max-width: 899px) {
  .sb-cs--scale,
  #top #wrap_all .sb-cs--scale {
    --sb-cs-mt-now: calc(var(--sb-cs-mt, 0px) * 0.6);
  }
}
