/* Split Hero */
.split-hero {
  --sh-bg: #2D5F8B;
  --sh-text: #FFFFFF;
  --sh-btn-bg: #4CBD97;
  --sh-btn-text: #162D53;
  --sh-box-color: #FFFFFF;
  --sh-box-opacity: 20%;
  --sh-box-text: #FFFFFF;

  --sh-align: left;

  display: grid;
  text-align: left;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 560px;
  background: var(--sh-bg);
  color: var(--sh-text);
  font-family: neue-haas-grotesk-text, "Neue Haas Grotesk Text Pro", Helvetica, Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.split-hero *,
.split-hero *::before,
.split-hero *::after {
  box-sizing: border-box;
}

/* ---------- Left: content ---------- */
.split-hero__content {
  display: flex;
  align-items: center;
  padding: 64px 48px 64px max(24px, calc((100vw - 1200px) / 2));
}

.split-hero__content-inner {
  width: 100%;
  max-width: 600px;
}

.split-hero__eyebrow {
  text-align: var(--sh-align);
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--sh-text);
}

.split-hero__heading {
  text-align: var(--sh-align);
  margin: 0 0 28px;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--sh-text);
}

.split-hero__body {
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--sh-text);
}

.split-hero__body p,
.split-hero__subheading p,
.split-hero__support p,
.split-hero__box-text p {
  margin: 0;
}

.split-hero__body p + p,
.split-hero__box-text p + p {
  margin-top: 12px;
}

.split-hero__subheading {
  text-align: var(--sh-align);
  margin: 0 0 20px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--sh-text);
}

/* ---------- CTAs ---------- */
.split-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
}

.split-hero__btn {
  display: inline-block;
  padding: 18px 36px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.split-hero__btn--primary {
  background: var(--sh-btn-bg);
  color: var(--sh-btn-text);
  border-color: var(--sh-btn-bg);
}

.split-hero__btn--primary:hover,
.split-hero__btn--primary:focus-visible {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.split-hero__btn--secondary {
  background: transparent;
  color: var(--sh-text);
  border-color: var(--sh-text);
}

.split-hero__btn--secondary:hover,
.split-hero__btn--secondary:focus-visible {
  background: var(--sh-text);
  color: var(--sh-bg);
}

.split-hero__btn:focus-visible {
  outline: 3px solid var(--sh-text);
  outline-offset: 3px;
}

/* ---------- Support text ---------- */
.split-hero__support {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--sh-text);
}

.split-hero__support a {
  color: var(--sh-text);
  text-decoration: underline;
}

/* ---------- Info box ---------- */
.split-hero__box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 4px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--sh-box-text);
}

.split-hero__box-icon {
  flex: 0 0 auto;
  display: block;
  width: 24px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.split-hero__box-text {
  min-width: 0;
}

/* Use the editor's color + opacity when the browser supports color-mix */
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .split-hero__box {
    background: color-mix(in srgb, var(--sh-box-color) var(--sh-box-opacity), transparent);
  }
}

/* ---------- Right: image ---------- */
.split-hero__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.split-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .split-hero__content {
    padding: 56px 32px 56px 32px;
  }
  .split-hero__btn {
    padding: 16px 28px;
    font-size: 18px;
  }
}

/* ---------- Mobile: stack ---------- */
@media (max-width: 767px) {
  .split-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .split-hero__media {
    min-height: 0;
    height: 300px;
  }

  .split-hero--img-top .split-hero__media {
    order: -1;
  }

  .split-hero__content {
    padding: 40px 20px 48px;
  }

  .split-hero__content-inner {
    max-width: none;
  }

  .split-hero__eyebrow {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .split-hero__heading {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .split-hero__body {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .split-hero__subheading {
    font-size: 20px;
  }

  .split-hero__ctas {
    flex-direction: column;
  }

  .split-hero__btn {
    width: 100%;
    font-size: 18px;
    padding: 16px 20px;
  }

  .split-hero__box {
    display: flex;
    width: 100%;
  }
}

