/* === Corporate Profile (split hero) — 50/50 columns === */
.split_hero {
  padding: 3.5rem 7% 2.5rem; /* match page gutters */
  background: rgb(var(--bg));
}

.split_hero .split_container {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr; /* mobile: stack */
  gap: 2rem;
}

/* Desktop/tablet: perfect half/half */
@media (min-width: 960px) {
  .split_hero .split_container {
    grid-template-columns: 1fr 1fr; /* 50% / 50% */
    align-items: stretch; /* make both columns equal height */
  }
}

/* Left column: text */
.split_hero .description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  min-height: clamp(420px, 60vh, 640px); /* keeps balance with the map */
}

.split_hero .description h1 {
  font-size: clamp(2rem, 3vw + 1rem, var(--font-size-6xl));
  line-height: 1;
  margin: 0 0 0.35rem 0;
  color: rgb(var(--text));
  font-weight: 800;
  letter-spacing: -0.02em;
}
.split_hero .description h2 {
  font-size: clamp(1.125rem, 1.2vw + 0.75rem, var(--font-size-2xl));
  font-weight: 600;
  color: rgba(var(--text), 0.85);
  margin: 0 0 0.75rem 0;
}
.split_hero .description p {
  color: rgba(var(--text), 0.92);
  line-height: var(--line-height-2xl);
  margin: 0.75rem 0;
}

/* Right column: map (or image) */
.split_hero .mapwrap,
.split_hero figure {
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 60vh, 640px); /* same visual height as text side */
  margin: 0;
  border-left: 2px solid rgb(var(--gray-400));
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.1),
    0 18px 42px rgba(0, 0, 0, 0.08);
}

/* Make the media fill its box */
.split_hero .mapwrap iframe,
.split_hero figure img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover; /* for images; iframe just fills */
}

/* When stacked on smaller screens: give the right column a fixed height */
@media (max-width: 959.98px) {
  .split_hero .mapwrap,
  .split_hero figure {
    border-left: 0;
    border-top: 2px solid rgb(var(--gray-400));
    min-height: 360px;
  }
}
