.legacy-block{padding-block:clamp(40px,7vw,92px)}
.legacy-block h2{margin:0 0 .5em}.legacy-block p{line-height:1.6}
.legacy-sage{background:#e1eae4;color:#102d41}
.legacy-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,5vw,80px);align-items:center}
.legacy-photo{display:block;width:100%;height:auto;border-radius:8px}
.legacy-stat{display:block;font-size:clamp(3rem,7vw,5.75rem);font-weight:600;line-height:1.05;color:#102d41}
.legacy-links{display:flex;flex-wrap:wrap;gap:14px 24px;margin-top:20px}
.legacy-links a,.legacy-card a{color:inherit;text-decoration:underline;text-underline-offset:.22em}
.legacy-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}
.legacy-card{background:#fff;color:#102d41;border:1px solid #d7e0db;border-radius:8px;overflow:hidden}
.legacy-card img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.legacy-card div{padding:20px}.legacy-card h3{margin:0;font-size:1.2rem;line-height:1.35}
.legacy-map{display:block;width:100%;height:clamp(260px,40vw,420px);margin-top:24px;border:0;border-radius:8px}
.legacy-badges{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:clamp(14px,4vw,36px);padding:0;margin:28px 0 0}
.legacy-badges img{display:block;width:clamp(64px,13vw,112px);height:auto}
.legacy-episode .video-launch,.legacy-episode .inline-video-player{width:100%}
.legacy-episode .video-launch img{width:100%;aspect-ratio:16/9;object-fit:cover}
@media(max-width:720px){.legacy-split,.legacy-articles{grid-template-columns:1fr}}

/* Keep office and surgery directions distinct at every screen size. */
.visit-scottsdale .visit-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: 28px;
}
.visit-location {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c8d7cf;
  border-radius: 12px;
}
.visit-location-copy { padding: clamp(20px, 3vw, 34px); }
.visit-location .visit-location-kind {
  margin: 0 0 6px;
  color: #435d54;
  font-size: .875rem;
  font-weight: 600;
}
.visit-location h3 { margin: 0 0 12px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.visit-location address { font-style: normal; line-height: 1.55; }
.visit-location .button { margin-top: 18px; }
.visit-location .legacy-map {
  height: clamp(250px, 25vw, 340px);
  margin: 0;
  border-radius: 0;
  border-top: 1px solid #c8d7cf;
}
.visit-scottsdale .legacy-badges {
  border-top: 1px solid #c8d7cf;
  padding-top: 24px;
}
.visit-scottsdale .legacy-badges img { width: clamp(64px, 9vw, 90px); }
@media (max-width: 720px) {
  .visit-scottsdale .visit-locations { grid-template-columns: 1fr; }
}

/* Match the shared content grid and section rhythm. */
.robotics-feature h2 { max-width: 24ch; }
.robotics-proof { margin-block: 20px; line-height: 1.5; }
.robotics-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; }
.surgeon-copy .legacy-badges, .restored-depth .legacy-badges {
  justify-content: flex-start;
  gap: 16px;
  margin: 16px 0;
}
.surgeon-copy .legacy-badges img, .restored-depth .legacy-badges img { width: 56px; }
.featured-education .legacy-articles { margin-bottom: 0; }
.featured-education .legacy-card { border-radius: 8px; }
.featured-education .legacy-card a { display: block; height: 100%; text-decoration: none; }
.featured-education .legacy-card a:focus-visible { outline: 3px solid #355f52; outline-offset: -3px; }
.featured-education .legacy-card a:hover h3 { text-decoration: underline; text-underline-offset: .22em; }
.featured-education .legacy-card a > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.article-arrow { flex: none; }
.location-picker { min-inline-size: 0; border: 0; margin: 20px 0 0; padding: 0; }
.location-picker input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}
.location-picker label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 6px 10px 0;
  padding: 8px 14px;
  border: 1px solid #435d54;
  border-radius: 4px;
  cursor: pointer;
}
.location-picker input:checked + label { background: #102d41; color: white; }
.location-picker input:focus-visible + label { outline: 3px solid #355f52; outline-offset: 3px; }
.location-panels .visit-location {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-rows: auto;
}
.location-panels .legacy-map { border-top: 0; border-inline-start: 1px solid #c8d7cf; }
.location-picker:has(#location-jrc:checked) .visit-location:nth-child(2),
.location-picker:has(#location-scrs:checked) .visit-location:nth-child(1) { display: none; }
@media (max-width: 720px) {
  .location-panels .visit-location { grid-template-columns: 1fr; }
  .location-panels .legacy-map { border-inline-start: 0; border-top: 1px solid #c8d7cf; }
}

/* Give the practice history heading and biography distinct spacing. */
#practice-history h2 { margin-bottom: 1.25rem; }
#practice-history h3 { margin-bottom: .65rem; }
#practice-history p + p { margin-top: .85rem; }
