.doctor-page {
  background:
    radial-gradient(circle at 0 18%, rgba(22, 167, 201, .08), transparent 22%),
    radial-gradient(circle at 100% 46%, rgba(13, 59, 115, .05), transparent 24%),
    #fff;
  color: var(--text);
}
.doctor-page .wrap {
  width: min(100% - 96px, 1320px);
}
.nav-link.active {
  color: var(--teal-dark);
  background: var(--soft);
}
.doctor-page h1,
.doctor-page h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}
.doctor-page b,
.doctor-page strong {
  color: var(--teal-dark);
}
.doctor-line {
  width: 68px;
  height: 4px;
  margin: 12px 0 24px;
  border-radius: 999px;
  background: var(--teal);
}
.doctor-line.centered {
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.doctor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 136px);
  padding: 56px 0;
}
.doctor-intro h1 {
  font-size: clamp(54px, 5vw, 78px);
  line-height: .95;
  margin-top: 8px;
}
.doctor-intro > p {
  max-width: 760px;
  margin-bottom: 22px;
  padding-left: 18px;
  border-left: 4px solid #e8f5fb;
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
}
.continuity-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  margin-top: 30px;
  padding: 30px;
  border: 1px solid #dfe8f3;
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 30px rgba(13, 59, 115, .08);
}
.continuity-card > .fa {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d8edf5;
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 36px;
}
.continuity-card span {
  color: var(--teal-dark);
  font-family: var(--font-subtitle);
  font-size: 20px;
  font-weight: 700;
}
.continuity-card h2 {
  max-width: 470px;
  font-size: 34px;
  line-height: 1.05;
}
.continuity-card p {
  margin: 18px 0;
  line-height: 1.65;
}
.continuity-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.continuity-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}
.continuity-card li::before {
  content: "\f00c";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-family: FontAwesome;
  font-size: 12px;
}

.doctor-profile-card,
.doctor-id-card,
.education-section,
.promise-section,
.allies-section,
.location-section,
.doctor-footer {
  border: 1px solid #dfe8f3;
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(13, 59, 115, .08);
}
.doctor-profile-card {
  overflow: hidden;
}
.doctor-photo-panel {
  min-height: 410px;
  display: flex;
  align-items: end;
  justify-content: center;
  background:
    radial-gradient(circle at 74% 18%, rgba(22, 167, 201, .12), transparent 24%),
    linear-gradient(180deg, rgba(245,251,255,.86), rgba(255,255,255,.95));
}
.doctor-photo-panel img {
  width: min(72%, 360px);
  max-height: 390px;
  object-fit: contain;
}
.doctor-profile-copy {
  padding: 24px 42px 28px;
  text-align: center;
}
.doctor-profile-copy h2 {
  font-family: var(--font-subtitle);
  font-size: 29px;
  line-height: 1.1;
}
.doctor-profile-copy p {
  color: var(--teal-dark);
  font-size: 17px;
  font-weight: 700;
}
.doctor-profile-copy > span {
  display: block;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 500;
}
.doctor-profile-copy ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
  font-size: 14px;
}
.doctor-profile-copy li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
}
.doctor-profile-copy .fa {
  color: var(--teal-dark);
}
.signature-strip {
  padding: 22px 32px 28px;
  background: linear-gradient(90deg, var(--teal-dark), var(--navy));
  color: #fff;
  text-align: center;
}
.signature-strip p {
  margin-bottom: 12px;
  font-family: var(--font-subtitle);
  font-size: 18px;
  font-style: italic;
}
.signature-strip img {
  width: 210px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.doctor-id-card {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 54px;
  padding: 36px;
  margin-bottom: 58px;
}
.id-photo img {
  width: 100%;
  height: 470px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--soft);
}
.id-photo article {
  margin-top: 14px;
  padding: 24px;
  border-radius: 10px;
  background: var(--soft);
}
.id-photo article .fa {
  color: var(--teal-dark);
  font-size: 34px;
}
.id-photo h3,
.formation-box h3 {
  color: var(--navy);
  font-family: var(--font-subtitle);
}
.id-content h2 {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1;
}
.subtitle {
  color: var(--teal-dark);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.registry {
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
}
.registry span {
  display: inline-block;
  width: 1px;
  height: 18px;
  margin: 0 18px;
  vertical-align: middle;
  background: #b7c9d9;
}
.profile-points {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 24px 0 28px;
  list-style: none;
}
.profile-points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
}
.profile-points .fa {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe6ef;
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 22px;
}
.formation-box {
  padding: 28px;
  border-top: 2px solid #cae4ed;
  border-bottom: 2px solid #cae4ed;
}
.formation-box h3 {
  margin-bottom: 14px;
  font-size: 24px;
}
.formation-box h3 .fa {
  color: var(--teal-dark);
  margin-right: 10px;
}
.formation-box ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.formation-box li::before {
  content: "\f00c";
  color: var(--teal-dark);
  font-family: FontAwesome;
  margin-right: 10px;
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
}
.social-row a {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
}
.social-row .fa {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe6ef;
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 28px;
}

.education-section,
.promise-section,
.allies-section,
.location-section,
.doctor-footer {
  margin-bottom: 58px;
  padding: 42px;
}
.education-section {
  margin-top: 12px;
}
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}
.education-grid h2 {
  margin-bottom: 20px;
  font-family: var(--font-subtitle);
  font-size: 30px;
}
.education-grid h2 .fa {
  color: var(--teal-dark);
  margin-right: 12px;
}
.education-grid ul {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.education-grid li {
  padding-bottom: 18px;
  border-bottom: 1px solid #e2ebf2;
}
.education-grid li::before {
  content: "\f105";
  color: var(--teal-dark);
  font-family: FontAwesome;
  margin-right: 12px;
}
.education-grid li b {
  color: var(--navy);
}
.education-grid li span {
  display: block;
  margin-left: 28px;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 34px;
  border: 1px solid #dfe8f3;
  border-radius: 10px;
  overflow: hidden;
}
.metric-row article {
  min-height: 130px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 18px;
  text-align: center;
  border-right: 1px solid #dfe8f3;
}
.metric-row article:last-child { border-right: 0; }
.metric-row .fa {
  color: var(--teal-dark);
  font-size: 36px;
}
.metric-row b {
  color: var(--navy);
}
.metric-row span {
  font-size: 13px;
}

.promise-copy {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 10px;
  background: var(--soft);
}
.promise-copy > .fa {
  color: var(--teal-dark);
  font-size: 84px;
}
.promise-copy h2 {
  font-family: var(--font-subtitle);
  font-size: 31px;
}
.team-title {
  margin: 34px 0 26px;
  text-align: center;
  font-family: var(--font-subtitle) !important;
  font-size: 34px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.team-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
}
.team-grid img {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
}
.team-grid h3 {
  color: var(--navy);
  font-family: var(--font-subtitle);
  font-size: 20px;
}
.team-grid span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}
.team-grid p {
  font-size: 13px;
}
.team-grid .fa {
  color: var(--teal-dark);
  font-size: 34px;
}

.family-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 58px;
  padding: 46px;
  border-radius: 12px;
  background: var(--soft);
  overflow: hidden;
}
.family-copy h2 {
  font-size: clamp(40px, 4vw, 60px);
  line-height: .98;
}
.family-copy h2 span {
  color: var(--teal-dark);
  font-family: var(--font-subtitle);
  font-style: italic;
}
.success-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  margin: 26px 0;
}
.success-row article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
}
.success-row .fa {
  color: var(--teal-dark);
  font-size: 32px;
}
.success-row b {
  color: var(--teal-dark);
  font-size: 34px;
}
.success-row span {
  font-size: 13px;
}
.family-copy ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.family-copy li {
  padding-left: 28px;
  border-left: 3px solid #c9e8f1;
}
.family-section > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

.allies-section,
.location-section {
  text-align: center;
}
.allies-section h2,
.location-section h2 {
  font-size: clamp(42px, 4vw, 64px);
}
.allies-section > p {
  max-width: 850px;
  margin: 0 auto 34px;
  font-size: 18px;
  line-height: 1.7;
}
.allies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid #dfe8f3;
  border-radius: 12px;
  overflow: hidden;
}
.allies-grid article {
  min-height: 180px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid #dfe8f3;
}
.allies-grid article:last-child { border-right: 0; }
.allies-grid b {
  color: var(--navy);
  font-size: 24px;
}
.allies-note {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px !important;
}
.allies-note .fa {
  color: var(--teal-dark);
  font-size: 28px;
}

.location-section .marker {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe8f3;
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 36px;
}
.address-card {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 26px;
  margin: 24px auto;
  padding: 24px 46px;
  border-radius: 12px;
  background: var(--soft);
  text-align: left;
}
.address-card .fa {
  color: var(--teal-dark);
  font-size: 64px;
  text-align: center;
}
.address-card p {
  color: var(--navy);
  font-family: var(--font-subtitle);
  font-size: 31px;
  line-height: 1.2;
}
.address-card span {
  color: var(--teal-dark);
}
.contact-cards {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 auto;
}
.contact-cards article {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 34px;
  border: 1px solid #dfe8f3;
  border-radius: 12px;
}
.contact-cards .fa {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--soft);
  font-size: 38px;
}
.contact-cards h3 {
  color: var(--navy);
  font-family: var(--font-subtitle);
  font-size: 27px;
  text-transform: uppercase;
}
.contact-cards a {
  color: var(--navy);
  font-family: var(--font-subtitle);
  font-size: 32px;
  font-weight: 700;
}
.blue-banner {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 24px;
  margin: 24px auto 0;
  padding: 24px 34px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  text-align: left;
}
.blue-banner .fa {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  font-size: 32px;
}
.blue-banner span {
  color: #7be3f3;
}

.doctor-footer {
  display: grid;
  grid-template-columns: .9fr 1.1fr .9fr;
  gap: 52px;
  margin-bottom: 40px;
}
.doctor-footer img {
  width: 220px;
  margin-bottom: 18px;
}
.doctor-footer h3 {
  color: var(--navy);
  font-family: var(--font-subtitle);
  font-size: 24px;
  text-transform: uppercase;
}
.doctor-footer ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.doctor-footer li::before {
  content: "\f105";
  color: var(--teal-dark);
  font-family: FontAwesome;
  margin-right: 10px;
}
.footer-brand {
  display: grid;
  gap: 14px;
}
.footer-brand p {
  color: var(--navy);
  font-family: var(--font-subtitle);
  font-size: 23px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 26px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-weight: 700;
}

/* Visual polish for the doctor profile page */
.doctor-page {
  padding-bottom: 42px;
}
.doctor-hero {
  gap: clamp(46px, 5vw, 86px);
  min-height: 760px;
  padding: 72px 0 84px;
}
.doctor-intro {
  max-width: 760px;
}
.doctor-intro h1 {
  font-size: clamp(62px, 5.5vw, 90px);
}
.doctor-intro > p {
  margin-bottom: 18px;
  padding: 18px 0 18px 24px;
  border-left-color: #d8f1f7;
  background: linear-gradient(90deg, rgba(245,251,255,.9), rgba(255,255,255,0));
}
.continuity-card {
  grid-template-columns: 86px 1fr;
  padding: 34px 36px;
  border-color: #cfe2ee;
  box-shadow: 0 22px 48px rgba(13, 59, 115, .11);
}
.continuity-card h2 {
  max-width: 560px;
}
.continuity-card ul {
  gap: 14px 28px;
}
.doctor-profile-card {
  max-width: 560px;
  margin-left: auto;
  border-color: #cfe2ee;
  box-shadow: 0 28px 60px rgba(13, 59, 115, .14);
}
.doctor-photo-panel {
  min-height: 0;
  padding: 14px 14px 0;
  background: linear-gradient(180deg, #f5fbff, #fff);
}
.doctor-photo-panel img {
  width: 100%;
  height: 438px;
  max-height: none;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  object-position: center 18%;
}
.doctor-profile-copy {
  padding: 28px 46px 30px;
}
.doctor-profile-copy ul {
  width: min(100%, 450px);
  margin: 0 auto;
  gap: 12px;
}
.signature-strip {
  padding: 24px 34px 30px;
}
.signature-strip img {
  width: 180px;
}
.education-section,
.promise-section,
.allies-section,
.location-section,
.doctor-footer {
  margin-bottom: 76px;
  padding: clamp(34px, 4vw, 58px);
  border-color: #d4e5f0;
  box-shadow: 0 24px 54px rgba(13, 59, 115, .08);
}
.education-grid {
  gap: 34px;
}
.education-grid article {
  padding: 28px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, rgba(245,251,255,.72));
}
.education-grid h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.education-grid h2 .fa {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  border-radius: 50%;
  background: #eaf8fc;
}
.metric-row {
  gap: 0;
  margin-top: 38px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e6f0f7;
}
.metric-row article {
  min-height: 142px;
}
.promise-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,251,255,.7)),
    #fff;
}
.promise-copy {
  grid-template-columns: 100px 1fr;
  padding: 34px 42px;
  background: linear-gradient(90deg, #eef9fd, #f8fcff);
}
.promise-copy > .fa {
  font-size: 78px;
}
.team-title {
  margin: 48px 0 34px;
  font-size: clamp(36px, 3.5vw, 48px);
}
.team-grid {
  gap: 22px;
}
.team-grid article {
  min-height: 370px;
  padding: 22px 18px 26px;
  border: 1px solid #dcebf4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(13, 59, 115, .07);
}
.team-grid img {
  width: 150px;
  height: 150px;
  border: 8px solid #f2fbff;
  box-shadow: 0 12px 24px rgba(13, 59, 115, .1);
}
.team-grid article:first-child img {
  object-fit: contain;
  object-position: center bottom;
  padding: 8px 8px 0;
}
.team-grid h3 {
  min-height: 52px;
  display: flex;
  align-items: end;
  justify-content: center;
  margin-top: 4px;
}
.team-grid p {
  max-width: 220px;
  line-height: 1.55;
}
.family-section {
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: clamp(36px, 4.5vw, 64px);
  background:
    radial-gradient(circle at 92% 18%, rgba(22,167,201,.16), transparent 24%),
    linear-gradient(135deg, #eef9fd 0%, #f7fcff 52%, #fff 100%);
  box-shadow: 0 26px 58px rgba(13, 59, 115, .09);
}
.family-copy h2 {
  font-size: clamp(46px, 4.4vw, 72px);
}
.success-row {
  grid-template-columns: minmax(190px, .8fr) minmax(260px, 1.2fr);
}
.success-row article {
  min-height: 112px;
  border: 1px solid #e0edf5;
  box-shadow: 0 14px 28px rgba(13, 59, 115, .06);
}
.family-copy ul {
  gap: 18px;
}
.family-copy li {
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.55;
}
.family-section > img {
  min-height: 560px;
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(13, 59, 115, .14);
  object-position: center;
}
.allies-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(22,167,201,.12), transparent 24%),
    #fff;
}
.allies-grid {
  gap: 14px;
  padding: 14px;
  border: 0;
  background: #f5fbff;
}
.allies-grid article {
  min-height: 188px;
  border: 1px solid #dcebf4 !important;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(13, 59, 115, .06);
}
.allies-grid b {
  font-size: 25px;
}
.location-section {
  background:
    radial-gradient(circle at 50% 12%, rgba(22,167,201,.1), transparent 18%),
    #fff;
}
.address-card,
.contact-cards article {
  border: 1px solid #d8e8f2;
  box-shadow: 0 16px 34px rgba(13, 59, 115, .07);
}
.contact-cards article {
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-cards article:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(13, 59, 115, .11);
}
.blue-banner {
  width: min(100%, 980px);
  background: linear-gradient(90deg, #0d3b73, #078eaa);
  box-shadow: 0 18px 36px rgba(13, 59, 115, .18);
}
.doctor-footer {
  background: linear-gradient(135deg, #f8fcff, #fff);
}
.footer-cta {
  background: linear-gradient(90deg, var(--teal), var(--navy));
  box-shadow: 0 14px 28px rgba(13, 59, 115, .16);
}

@media (max-width: 1350px) {
  .doctor-profile-card {
    max-width: 720px;
    margin: 0 auto;
  }
  .metric-row,
  .team-grid,
  .allies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .allies-grid article,
  .metric-row article {
    border-bottom: 1px solid #dfe8f3;
  }
  .family-section,
  .doctor-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .doctor-page .wrap {
    width: min(100% - 48px, 1320px);
  }
  .doctor-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 700px) {
  html,
  body {
    overflow-x: hidden;
  }
  .doctor-page,
  .doctor-page .wrap,
  .doctor-hero,
  .doctor-intro,
  .doctor-profile-card,
  .continuity-card,
  .education-section,
  .promise-section,
  .family-section,
  .allies-section,
  .location-section,
  .doctor-footer {
    max-width: 100%;
    min-width: 0;
  }
  .doctor-page * {
    min-width: 0;
  }
  .doctor-page .wrap {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }
  .doctor-hero {
    display: block;
    padding: 34px 0;
  }
  .doctor-intro,
  .doctor-profile-card {
    width: 100%;
  }
  .doctor-intro h1,
  .id-content h2,
  .allies-section h2,
  .location-section h2 {
    font-size: 39px;
    line-height: 1.02;
    overflow-wrap: break-word;
  }
  .doctor-intro > p {
    padding: 16px 14px 16px 18px;
    font-size: 16px;
    line-height: 1.65;
  }
  .continuity-card,
  .doctor-id-card,
  .education-section,
  .promise-section,
  .allies-section,
  .location-section,
  .doctor-footer,
  .family-section {
    padding: 24px 18px;
  }
  .continuity-card,
  .education-grid,
  .promise-copy,
  .contact-cards,
  .address-card,
  .blue-banner {
    grid-template-columns: 1fr;
  }
  .continuity-card h2,
  .family-copy h2,
  .team-title {
    font-size: 34px;
    line-height: 1.05;
  }
  .continuity-card ul,
  .metric-row,
  .team-grid,
  .allies-grid,
  .success-row {
    grid-template-columns: 1fr;
  }
  .doctor-photo-panel {
    min-height: 0;
  }
  .doctor-photo-panel img {
    height: 345px;
    max-height: none;
  }
  .education-grid article,
  .team-grid article {
    padding: 20px 16px;
  }
  .team-grid article {
    min-height: auto;
  }
  .family-section {
    gap: 24px;
  }
  .id-photo img {
    height: 360px;
  }
  .subtitle {
    letter-spacing: .06em;
  }
  .social-row {
    gap: 18px;
  }
  .family-section > img {
    min-height: 420px;
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .address-card,
  .blue-banner {
    text-align: center;
    justify-items: center;
  }
  .address-card p,
  .contact-cards a {
    font-size: 24px;
  }
}
