@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");

:root {
  --wit-hero-red: #910000;
  --wit-hero-text: #ffffff;
  --wit-hero-container: 1420px;
}

.wit-hero-slider-wrap,
.wit-hero-slider-wrap *,
.wit-hero-slider-wrap *::before,
.wit-hero-slider-wrap *::after {
  box-sizing: border-box;
}

.wit-hero-slider-wrap {
  position: relative;
  left: 50%;
#  width: 100vw;
  width: 100%;
#  max-width: 100vw;
  max-width: 100%;
#  margin-left: -50vw;
  margin-left: -50%;
  overflow: hidden;
  background: #111111;
}

.wit-hero-slider {
  width: 100%;
  min-height: clamp(520px, 85vh, 760px);
  height: auto;
  font-family: "Roboto", sans-serif;
}

.wit-hero-slider__inner,
.wit-hero-slider__item {
  min-height: inherit;
}

.wit-hero-slider__item {
  position: relative;
  overflow: hidden;
  --wit-hero-slide-text: #ffffff;
  --wit-hero-slide-muted: rgba(255, 255, 255, 0.9);
  --wit-hero-slide-eyebrow: rgba(255, 255, 255, 0.82);
  color: var(--wit-hero-slide-text);
}

.wit-hero-slider__item--light {
  --wit-hero-slide-text: rgba(0, 0, 0, 0.95);
  --wit-hero-slide-muted: rgba(0, 0, 0, 0.78);
  --wit-hero-slide-eyebrow: rgba(0, 0, 0, 0.68);
  color: var(--wit-hero-slide-text);
}

.wit-hero-slider__image {
  position: absolute;
  top: 0;
  right: -90%;
  bottom: 0;
  left: auto;
  width: 220%;
  height: 100%;
  object-fit: cover;
  object-position: var(--wit-hero-object-position-mobile, right center);
}

.wit-hero-slider__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.62) 72%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.26) 54%, rgba(0, 0, 0, 0.12) 100%);
}

.wit-hero-slider__item--light .wit-hero-slider__shade {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.56) 72%, rgba(255, 255, 255, 0.92) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0.06) 100%);
}

.wit-hero-slider__content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: min(100%, var(--wit-hero-container));
  min-height: inherit;
  margin: 0 auto;
  padding: 96px 22px 112px;
}

.wit-hero-slider__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  /* max-width: 800px; */
  overflow-wrap: anywhere;
  /* background-color: blue; */
}

.wit-hero-slider p {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  line-height: 140%;
  max-width: 70vw;
}
.wit-hero-slider p strong{
  font-weight: 800;
}

.wit-hero-slider__eyebrow {
  margin: 0 0 14px;
  color: var(--wit-hero-slide-eyebrow);
  font-size: clamp(0.78rem, 0.72rem + 0.25vw, 0.95rem);
  font-weight: 900 !important;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wit-hero-slider h1,
.wit-hero-slider__title {
  max-width: 12ch;
  margin: 0 0 18px;
  color: var(--wit-hero-slide-text);
  font-family: "Roboto", sans-serif;
  font-size: clamp(40px, 4.2vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  /* background-color: green; */
}

.wit-hero-slider h1 span, .wit-hero-slider h2 span {
  font-size: inherit;
  font-weight: 700;
}

.wit-hero-slider__lead {
  max-width: 100%;
  margin: 0;
  color: var(--wit-hero-slide-muted);
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 300;
  line-height: 1.2;
}

.wit-hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(24px, 4vw, 38px);
}

.wit-hero-slider__button,
.wit-hero-slider__link {
  display: block;
  min-height: 48px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.wit-hero-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: #1a1a1a;
}

.wit-hero-slider__button::after {
  content: "→";
  display: inline-block;
  line-height: 1;
}

.wit-hero-slider__button:hover {
  border-color: var(--wit-hero-red);
  background: var(--wit-hero-red);
  color: #ffffff;
  transform: translateY(-1px);
}

.wit-hero-slider__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 2px solid var(--wit-hero-red);
  border-radius: 8px;
  background: var(--wit-hero-red);
  color: #ffffff;
}

.wit-hero-slider__link:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #1a1a1a;
}

.wit-hero-slider__item--light .wit-hero-slider__button {
  border-color: rgba(0, 0, 0, 0.95);
  background: rgba(0, 0, 0, 0.95);
  color: #ffffff;
}

.wit-hero-slider__item--light .wit-hero-slider__button:hover {
  border-color: var(--wit-hero-red);
  background: var(--wit-hero-red);
  color: #ffffff;
}

.wit-hero-slider__button:focus-visible,
.wit-hero-slider__link:focus-visible,
.wit-hero-slider__indicators [data-bs-target]:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(145, 0, 0, 0.72);
}

.wit-hero-slider__indicators {
  right: 22px;
  bottom: 26px;
  left: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.wit-hero-slider__indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.48);
  opacity: 1;
  transition: width 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.wit-hero-slider__indicators .active {
  width: 54px;
  background-color: #ffffff;
}

@media (max-width: 767.98px) {
  .wit-hero-slider__image {
    right: -35%;
    width: 155%;
  }

  .wit-hero-slider__actions,
  .wit-hero-slider__button,
  .wit-hero-slider__link {
    width: 100%;
  }

  .wit-hero-slider__link {
    justify-content: center;
  }
}

@media (max-width: 530px) {
  .wit-hero-slider__image {
    right: -90%;
    width: 275%;
  }
}

@media (min-width: 768px) {
  .wit-hero-slider {
    min-height: clamp(500px, 70vh, 760px);
  }

  .wit-hero-slider__shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 38%, rgba(0, 0, 0, 0.12) 78%, rgba(0, 0, 0, 0.08) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.24) 100%);
  }

  .wit-hero-slider__item--light .wit-hero-slider__shade {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.24) 42%, rgba(255, 255, 255, 0.04) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.18) 100%);
  }

  .wit-hero-slider__image {
    inset: 0;
    width: 100%;
    object-position: var(--wit-hero-object-position, calc(50% + 20%) center);
  }

  .wit-hero-slider__content-wrap {
    align-items: center;
    padding: 72px 32px 88px;
  }

  .wit-hero-slider__content {
    width: 65%;
    max-width: 65%;
  }

  .wit-hero-slider h1, .wit-hero-slider h2,
    .wit-hero-slider__title {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .wit-hero-slider {
    min-height: clamp(560px, 78vh, 860px);
  }

  .wit-hero-slider h1,
  .wit-hero-slider__title {
    font-size: 60px;
  }

  .wit-hero-slider__lead {
    font-size: 30px;
  }

  .wit-hero-slider__content-wrap {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (max-width: 420px) {
  .wit-hero-slider__content-wrap {
    padding-bottom: 112px;
  }

  .wit-hero-slider__link {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wit-hero-slider *,
  .wit-hero-slider *::before,
  .wit-hero-slider *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
