.clean-image-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--clean-image-hero-bg, #000);
  color: var(--clean-image-hero-text, #fff);
}

.clean-image-hero__link,
.clean-image-hero__picture,
.clean-image-hero__image {
  display: block;
  width: 100%;
}

.clean-image-hero__link {
  color: inherit;
  text-decoration: none;
}

.clean-image-hero__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.clean-image-hero .clean-image-hero__image {
  max-width: none;
  height: var(--clean-image-hero-height-desktop, auto);
  min-height: inherit;
  opacity: var(--clean-image-hero-image-opacity, 1);
  filter: var(--clean-image-hero-filter, none);
  object-fit: var(--clean-image-hero-fit, cover);
  object-position: var(--clean-image-hero-position-desktop, center center);
}

.clean-image-hero__overlay,
.clean-image-hero__content {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.clean-image-hero__overlay {
  background: var(--clean-image-hero-overlay, #000);
  opacity: var(--clean-image-hero-overlay-opacity, 0.18);
  z-index: 2;
}

.clean-image-hero__content {
  align-items: center;
  display: flex;
  padding: var(--clean-image-hero-content-padding, 64px);
  z-index: 3;
}

.clean-image-hero--x-left .clean-image-hero__content {
  justify-content: flex-start;
  text-align: left;
}

.clean-image-hero--x-center .clean-image-hero__content {
  justify-content: center;
  text-align: center;
}

.clean-image-hero--x-right .clean-image-hero__content {
  justify-content: flex-end;
  text-align: right;
}

.clean-image-hero--y-top .clean-image-hero__content {
  align-items: flex-start;
}

.clean-image-hero--y-middle .clean-image-hero__content {
  align-items: center;
}

.clean-image-hero--y-bottom .clean-image-hero__content {
  align-items: flex-end;
}

.clean-image-hero__content-inner {
  display: grid;
  gap: 1rem;
  max-width: min(100%, var(--clean-image-hero-content-width, 760px));
  pointer-events: auto;
}

.clean-image-hero__kicker,
.clean-image-hero__headline,
.clean-image-hero__copy {
  color: var(--clean-image-hero-text, #fff);
  margin: 0;
}

.clean-image-hero__kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.clean-image-hero__headline {
  font-size: clamp(2.5rem, 5.8vw, 6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.clean-image-hero__copy {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 44rem;
}

.clean-image-hero--x-center .clean-image-hero__copy {
  margin-left: auto;
  margin-right: auto;
}

.clean-image-hero--x-right .clean-image-hero__copy {
  margin-left: auto;
}

.clean-image-hero__cta {
  align-items: center;
  background: var(--clean-image-hero-cta-bg, #fff);
  border: 1px solid var(--clean-image-hero-cta-border, #fff);
  border-radius: 8px;
  color: var(--clean-image-hero-cta-text, #000);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.65rem;
  justify-self: flex-start;
  line-height: 1;
  margin-top: 0.75rem;
  min-height: 48px;
  padding: 0.95rem 1.25rem;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: fit-content;
}

.clean-image-hero--x-center .clean-image-hero__cta {
  justify-self: center;
}

.clean-image-hero--x-right .clean-image-hero__cta {
  justify-self: flex-end;
}

.clean-image-hero__cta:hover,
.clean-image-hero__cta:focus-visible {
  background: var(--clean-image-hero-cta-hover-bg, #000);
  border-color: var(--clean-image-hero-cta-hover-border, #000);
  color: var(--clean-image-hero-cta-hover-text, #fff);
  text-decoration: none;
  transform: translateY(-2px);
}

.clean-image-hero__cta-icon {
  display: block;
  flex: 0 0 auto;
  height: 0.75rem;
  width: 0.75rem;
}

@media (max-width: 767px) {
  .clean-image-hero .clean-image-hero__image {
    height: var(--clean-image-hero-height-mobile, auto);
    object-position: var(--clean-image-hero-position-mobile, center center);
  }

  .clean-image-hero__content {
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--clean-image-hero-mobile-padding, 28px);
  }

  .clean-image-hero--mobile-left .clean-image-hero__content {
    text-align: left;
  }

  .clean-image-hero--mobile-center .clean-image-hero__content {
    justify-content: center;
    text-align: center;
  }

  .clean-image-hero--mobile-right .clean-image-hero__content {
    justify-content: flex-end;
    text-align: right;
  }

  .clean-image-hero__content-inner {
    gap: 0.8rem;
  }

  .clean-image-hero__headline {
    font-size: clamp(2rem, 11vw, 3.25rem);
    line-height: 1;
  }

  .clean-image-hero__copy {
    font-size: 1rem;
  }

  .clean-image-hero--mobile-center .clean-image-hero__copy {
    margin-left: auto;
    margin-right: auto;
  }

  .clean-image-hero--mobile-right .clean-image-hero__copy {
    margin-left: auto;
  }

  .clean-image-hero--mobile-left .clean-image-hero__cta {
    justify-self: flex-start;
  }

  .clean-image-hero--mobile-center .clean-image-hero__cta {
    justify-self: center;
  }

  .clean-image-hero--mobile-right .clean-image-hero__cta {
    justify-self: flex-end;
  }
}
