.ebp-custom-hero-1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42rem;
  overflow: hidden;
  text-align: center;
}

.ebp-custom-hero-1--overlay {
  position: absolute;
  inset: 0;

  z-index: 1;
  pointer-events: none;
}

/* .ebp-custom-hero-1-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
} */

.ebp-custom-hero-1-image {
  height: calc(100lvh - 0.938rem) !important;
  object-fit: cover;
  overflow: visible;
}

.ebp-custom-hero-1-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  max-width: 49rem;
}

.ebp-custom-hero-1-sub-heading {
  margin: 0 0 1rem;
  text-transform: uppercase;
  font-weight: 500;
}

.ebp-custom-hero-1-heading {
  margin: 0 0 1rem;
  /* max-width: 49rem; */
  margin-inline: auto;
}

.ebp-custom-hero-1-rich-text {
  /* max-width: 49rem; */
  margin: 0 auto;
}

.ebp-custom-hero-1-rich-text p {
  margin: 0 0 3rem !important;
  /* max-width: 37.875rem; */
  margin-inline: auto;
  font-size: var(--fs-24);
}

.ebp-custom-hero-1-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* .ebp-custom-hero-1-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: 1px solid currentColor;
} */

.ebp-custom-hero-1-trustpilot {
  margin-top: 2rem;
}

.ebp-custom-hero-1-trustpilot-image {
  display: inline-block;
  max-width: 5.625rem !important;
  height: auto;
}

.ebp-custom-hero-1-button-primary {
  background-color: var(--color-button);
  color: var(--color-background);
}

.ebp-custom-hero-1-trustpilot {
  position: absolute;
  bottom: 3rem;
  z-index: 9;
}

.ebp-custom-hero-1 {
  border-bottom: 0.938rem solid var(--color-accent);
}

@media (max-width: 575px) {
  .ebp-custom-hero-1-content {
    padding-inline: 1rem;
    width: 100%;
  }
  .ebp-custom-hero-1-image {
    object-fit: cover;
    object-position: 80% 0;
    height: 80lvh !important;
  }
}
