.wl-hero {
  position: relative;
  padding: var(--space-edge);
  margin-top: calc(-1 * var(--header-height));
}

.wl-hero__inner {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 2 * var(--space-edge));
  border-radius: var(--radius-hero-top) var(--radius-hero-top) var(--radius-hero-bottom) var(--radius-hero-bottom);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-invert);
  background: var(--color-bg-dark);
  padding: var(--space-lg) calc(var(--space-page-fluid) - var(--space-edge));
}

.wl-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
}

.wl-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.7;
}

.wl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 43.75%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.wl-hero__content {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.wl-hero__eyebrow {
  margin: 0;
  font-size: var(--fs-kicker);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.wl-hero__title {
  margin: 0;
  color: var(--color-text-invert);
}

.wl-hero__title mark,
.wl-hero__title .accent {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0 20px;
  border-radius: var(--radius-pill);
}

.wl-hero__title--rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  max-width: 100%;
}

.wl-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  row-gap: 10px;
  max-width: 100%;
}

.wl-hero__title-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wl-hero__title-icon {
  width: var(--hero-icon);
  height: var(--hero-icon);
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wl-hero__title-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wl-hero__title-text {
  font-size: var(--fs-h1);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.wl-hero__title-text mark,
.wl-hero__title-text .accent {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0 20px;
  border-radius: var(--radius-pill);
}

.wl-hero__sub {
  font-size: var(--fs-h1);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.wl-hero__desc {
  max-width: 800px;
  font-size: var(--fs-base);
  line-height: var(--lh-body);
}

.wl-hero__content .wl-btn-row {
  justify-content: center;
}

.wl-hero__logos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-sm);
  overflow: hidden;
  pointer-events: none;
}

.wl-hero__logos-track {
  display: flex;
  width: max-content;
  animation: wl-marquee var(--marquee-duration) linear infinite;
}

.wl-hero__logos-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-right: var(--space-sm);
  flex: 0 0 auto;
}

.wl-hero__logo {
  flex: 0 0 auto;
  opacity: 0.57;
  filter: brightness(0) invert(1);
}

.wl-hero__logo img {
  height: 72px;
  width: auto;
}

@media (max-width: 768px) {
  .wl-hero {
    padding: 0;
  }

  .wl-hero__inner {
    min-height: 0;
    padding: var(--space-lg) var(--space-page-fluid);
    padding-top: calc(var(--header-height) + var(--space-md));
    border-radius: 0;
    align-items: flex-start;
  }

  .wl-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%);
  }

  .wl-hero__content {
    gap: var(--space-xs);
  }

  .wl-hero__title--rows {
    gap: var(--space-xs);
    row-gap: 10px;
  }

  .wl-hero__title-row {
    gap: 15px;
  }

  .wl-hero__logo img {
    height: 48px;
  }

  .wl-hero__content .wl-btn-row {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .wl-hero__content .wl-btn {
    width: auto;
  }

  .wl-hero__content .wl-btn__label {
    white-space: normal;
  }
}


.wl-hero__title p {
  margin: 0
}

@keyframes wl-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .wl-hero__logos-track {
    animation: none;
  }
}

.wl-hero__content-inner p {
    margin: 0;
}
p.wl-hero__eyebrow {
    margin-bottom: 10px;
}