/* Inner-page masthead. The existing Divi modules supply the headings. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--primary);
  padding-block: clamp(56px, 7vw, 94px) !important;
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border: 55px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.page-hero .et_pb_row {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero .et_pb_title_container h1 {
  margin: 0;
  padding: 0;
  color: var(--white) !important;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}

.page-hero p,
.page-hero .et_pb_text {
  color: rgba(255, 255, 255, .93);
  text-align: center;
}

/* Standard bilingual pages. The columns stack Welsh first on smaller screens. */
.page-content-section {
  padding-block: clamp(46px, 7vw, 82px) !important;
  background: var(--background);
}

.page-content-section > .et_pb_row {
  max-width: 1080px;
}

.bilingual-content-row {
  display: flex;
  align-items: flex-start;
}

.bilingual-content-row > .et_pb_column {
  min-width: 0;
}

.bilingual-content-card {
  padding: 0;
  background: transparent;
}

.bilingual-content-card h2,
.bilingual-content-card h3 {
  margin: 0 0 16px;
  font-size: clamp(23px, 2.5vw, 30px);
}

.bilingual-content-card h2::after,
.bilingual-content-card h3::after {
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: var(--accent);
  content: "";
}

.bilingual-content-card p,
.bilingual-content-card li {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.8;
}

.bilingual-content-card a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bilingual-content-card ul,
.bilingual-content-card ol {
  padding-left: 1.4em;
}

@media (min-width: 981px) {
  .bilingual-content-row > .et_pb_column:first-child {
    padding-right: 38px;
  }

  .bilingual-content-row > .et_pb_column:last-child {
    padding-left: 38px;
    border-left: 1px solid var(--border);
  }
}

.global-contact-cta-section {
  padding-block: 58px !important;
  background: var(--primary);
}

.global-contact-cta-section h2 {
  color: var(--white);
  font-size: clamp(29px, 3vw, 36px);
}

.global-contact-cta-section p {
  color: rgba(255, 255, 255, .9);
}

.global-contact-cta-section .et_pb_button {
  border: 2px solid var(--white) !important;
  border-radius: 7px !important;
  background: var(--white) !important;
  color: var(--primary) !important;
  font-weight: 700;
}

.global-contact-cta-section .et_pb_button:hover {
  border-color: var(--white) !important;
  background: transparent !important;
  color: var(--white) !important;
}

