/* Shared dimensions for every page hero; imagery and content remain page-specific. */
.matched-hero.matched-hero {
  width: 100%;
  height: 720px;
  min-height: 720px;
  box-sizing: border-box;
  border-bottom: 3px solid #eea724;
}

.matched-hero.hero-split {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 32px max(24px, calc((100vw - 1160px) / 2));
}

.matched-hero.ty-hero img {
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 1;
  flex-shrink: 0;
}

.matched-hero.hero-profile .hero-grid {
  padding-top: 32px;
  padding-bottom: 32px;
  gap: 32px;
}

.matched-hero.hero-profile h1 { font-size: clamp(3rem, 5vw, 4.8rem); }
.matched-hero.hero-profile .hero-photo { margin: 0; }
.matched-hero.hero-profile .hero-photo img {
  width: 100%;
  height: 420px;
  min-height: 0;
  object-fit: cover;
}

@media (max-width: 768px) {
  .matched-hero.matched-hero {
    height: 680px;
    min-height: 680px;
  }

  /* Compact dense introductions without shrinking tap targets or hiding copy. */
  .matched-hero.hero-split {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
  }
  .matched-hero.hero-split .hero-left,
  .matched-hero.hero-split .hero-right { flex: 0 0 auto; }
  .matched-hero.hero-split h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem) !important;
    margin: 0 0 10px;
  }
  .matched-hero.hero-split .badge-np {
    font-size: .75rem;
    padding: 4px 8px;
    margin-bottom: 8px;
  }
  .matched-hero.hero-split .lead {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .matched-hero.hero-split .btn-large {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 1rem;
  }
  .matched-hero.hero-split .hero-phone {
    font-size: 1rem;
    margin-top: 8px;
  }
  .matched-hero.hero-split .hero-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
  }
  .matched-hero.hero-split .hero-note {
    margin-top: 4px;
    padding: 8px;
    font-size: .85rem;
  }
  .matched-hero.hero-split .hero-right {
    min-height: 0;
    max-width: none;
    width: 100%;
    padding: 12px;
    margin: 0;
  }
  .matched-hero.hero-split .hero-right-inner > i { display: none; }
  .matched-hero.hero-split .hero-card-title {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }
  .matched-hero.hero-split .hero-card-copy,
  .matched-hero.hero-split .hero-panel {
    font-size: .85rem;
    line-height: 1.4;
  }
  .matched-hero.hero-split .hero-card-copy { margin-bottom: 6px; }
  .matched-hero.hero-split .hero-panel { padding: 8px; margin-top: 6px; }
  .matched-hero.hero-dense { padding: 20px 0; }
  .matched-hero.hero-dense h1 { font-size: 2rem !important; margin: 12px 0; }
  .matched-hero.hero-dense .lead { font-size: 1rem; line-height: 1.5; }
  .matched-hero.hero-dense .hero-actions { margin-top: 14px; gap: 8px; }
  .matched-hero.hero-dense .hero-actions .btn { padding: 10px 14px; }
  .matched-hero.hero-dense .hero-badge { gap: 6px; }
  .matched-hero.hero-profile .hero-grid { gap: 16px; padding-block: 20px; }
  .matched-hero.hero-profile h1 { margin: 12px 0; }
  .matched-hero.hero-profile .hero-photo img { height: 200px; }
}

@media (max-width: 360px) {
  .matched-hero.matched-hero {
    height: 760px;
    min-height: 760px;
  }
  .matched-hero.hero-dense h1 { font-size: 1.75rem !important; }
  .matched-hero.hero-dense .hero-badge .pill {
    padding: 6px 10px;
    font-size: .8rem;
    line-height: 1.4;
  }
}
