/* Text panel. Alignment is controlled by the Center text switcher in Elementor. */
.ebp-text-1 {
  box-sizing: border-box;
  margin-block: 0;
  /* padding-block: var(--spacing-84); */
  color: var(--clr-ink);
  background-color: var(--clr-tide);
  font-family: var(--font-primary);
}

.ebp-text-1__inner {
  box-sizing: border-box;
  width: 100%;
  /* max-width: 53.5rem; */
  margin-inline: auto;
  padding-inline: var(--spacing-28);
}

.ebp-text-1__heading {
  position: relative;
  margin: 0 0 var(--spacing-28);
  padding-bottom: 0.875rem;
  color: var(--clr-ink);
  font-family: var(--font-primary);
  font-size: var(--fs-48);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

/* Draw the short rule shown below the heading in the design. */
.ebp-text-1__heading::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6.25rem;
  height: 1px;
  background-color: currentColor;
  content: "";
  opacity: 0.5;
  transform: translateX(-50%);
}

.ebp-text-1__content {
  font-size: var(--fs-24);
  line-height: 1.25;
  max-width: 72.688rem;
  margin-inline: auto;
}

.ebp-text-1__content h3 {
  margin-block-end: 0.8em;
  font-size: var(--fs-36);
}

/* .ebp-text-1__content h2 {
  font-size: var(--fs-48) !important;
} */

/* Remove editor-added margins from the outer edges of the text. */
.ebp-text-1__content > :first-child {
  margin-top: 0;
}

.ebp-text-1__content > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .ebp-text-1 {
    padding-block: var(--spacing-56);
  }

  .ebp-text-1__inner {
    padding-inline: var(--spacing-20);
  }
}
