/* Richard's R3.9 review, 30 October 2026: footer and five-doctor cards. */
.footer .footer-grid a[href^="tel:"] {
  justify-content: flex-start;
  padding-inline: 0;
  text-indent: 0;
  gap: 0;
}
.footer .footer-grid a[href^="tel:"]::before {
  position: static;
  margin-left: 0;
  margin-right: .35em;
  filter: brightness(0) invert(1);
}

/* One vertical content column within every card, at every screen size.
   The established responsive outer grid and whole-card links remain intact. */
.doctor-grid.five-doctors .doctor-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  grid-template-columns: none;
}
.doctor-grid.five-doctors .doctor-card > picture.oc-responsive-picture {
  width: 7.5rem;
  height: 7.5rem;
  max-width: calc(100% - 2rem);
  flex: 0 0 auto;
  align-self: flex-start;
  margin: 1rem 1rem 0;
}
.doctor-grid.five-doctors .doctor-card > .doctor-text {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  padding: .85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.doctor-grid.five-doctors .doctor-card .doctor-name {
  width: 100%;
  margin-top: 0;
}
.doctor-grid.five-doctors .doctor-card .oc-profile-link-label {
  margin-top: auto;
  padding-top: .5rem;
}
/* Keep the compact portrait also when the site's large-text mode is enabled. */
body.oc-large-text .doctor-grid.five-doctors .doctor-card > picture.oc-responsive-picture {
  width: 7.5rem;
  height: 7.5rem;
  margin: 1rem 1rem 0;
}
