.ebp-custom-full-image-2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 42rem; */
  overflow: hidden;
  text-align: center;
}

.ebp-custom-full-image-2--container {
  position: relative;
}

.ebp-custom-full-image-2--container--overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(243, 238, 231, 0.2);
  z-index: 1;
  pointer-events: none;
}

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

.ebp-custom-full-image-2-image {
  /* height: 100lvh !important; */
  object-fit: cover;
}

.ebp-custom-full-image-2-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
}

.ebp-custom-full-image-2-sub-heading {
  margin: 0 0 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ebp-custom-full-image-2-heading {
  margin: 1.5rem 0 2.5rem;
  max-width: 49rem;
  margin-inline: auto;
}

.ebp-custom-full-image-2-rich-text {
  max-width: 49rem;
  margin: 0 auto;
}

.ebp-custom-full-image-2-rich-text p {
  margin: 0 0 1.5rem;
  max-width: 37.875rem;
  margin-inline: auto;
}

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

/* .ebp-custom-full-image-2-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-full-image-2-trustpilot {
  margin-top: 2rem;
}

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

.ebp-custom-full-image-2-button-primary {
  background-color: var(--color-button);
  color: var(--color-background);
}

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