/* One tabbed compass occupies the right half of the hero. */
.hero:has(> .compass-grid),
.home-hero:has(> .compass-grid),
.hero-with-compass {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
}
.hero > .compass-grid,
.home-hero > .compass-grid,
.hero-with-compass > .compass-grid {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
}
.compass-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}
.compass-tabs button {
  min-height: 48px;
  padding: 10px 8px;
  border: 1px solid #cbd5dc;
  border-radius: 10px;
  background: #fff;
  color: #15374a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.compass-tabs button[aria-selected="true"] {
  background: #e5eef5;
  border-color: #15374a;
}
.compass-tabs button:focus-visible {
  outline: 2px solid #15374a;
  outline-offset: 2px;
}
.compass-panel[hidden] {
  display: none !important;
}
.compass-panel > .eyebrow {
  display: none;
}
.compass-panel {
  padding: 16px !important;
}
.compass-panel h2 {
  font-size: 24px !important;
}
.compass-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
  margin: 8px 0 12px !important;
}
.compass-options button {
  min-width: 0;
  min-height: 52px !important;
  padding: 10px !important;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.home-hero:has(> .compass-grid) h1 {
  font-size: clamp(28px, 3vw, 48px) !important;
}
.home-hero:has(> .compass-grid) .home-title-first {
  white-space: normal;
}
.home-hero:has(> .compass-grid) h1 > span:last-child {
  font-size: inherit;
}
@media (max-width: 850px) {
  .hero:has(> .compass-grid),
  .home-hero:has(> .compass-grid),
  .hero-with-compass {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
}
@media (max-width: 359px) {
  .compass-options {
    grid-template-columns: minmax(0, 1fr);
  }
}
