/* Doctors: four portraits at their own size, the name and the post under each, the year practice began as the one fact. */
.brxe-section.st-doctors { display: block; width: 100%; padding: var(--space-3xl) 0; background: var(--color-paper); font-family: var(--font-body); font-weight: 400; color: var(--color-ink); }
.brxe-container.st-doctors__inner { display: block; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--section-inset); }
.brxe-block.st-doctors__head { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.brxe-heading.st-doctors__title {
  max-width: 18ch; margin: 0;
  font-family: var(--font-display); font-size: var(--text-section); font-weight: var(--display-weight); font-synthesis: none;
  letter-spacing: var(--tracking-display); line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; min-width: 0; color: var(--color-ink);
}
.st-doctors .brxe-shortcode { min-width: 0; }

/* Doctor mini-cards after the DentaCare reference: a raised card, the portrait at the left, name, post and year beside it. */
.st-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.st-doc { margin: 0; min-width: 0; }
.st-doc__link {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "photo name" "photo role" "photo since";
  align-content: center; column-gap: var(--space-md); row-gap: var(--space-3xs); height: 100%;
  padding: var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card);
  background: var(--color-card); color: var(--color-ink); text-decoration: none;
  transition: border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
a.st-doc__link:active { transform: scale(0.985); }
.st-doc__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { a.st-doc__link:hover { border-color: var(--color-accent); } }

/* Concentric radii: the card's 24 px minus its 12 px padding leaves 12 px for the portrait inside it. */
.st-doc__photo { grid-area: photo; display: block; width: 112px; }
.st-doc__img { display: block; width: 112px; height: 112px; object-fit: cover; border-radius: calc(var(--radius-card) - var(--space-sm)); }
.st-doc__role { grid-area: role; }
.st-doc__since { grid-area: since; }

.st-doc__name {
  grid-area: name; align-self: end;
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-strong); font-synthesis: none;
  letter-spacing: var(--tracking-display); line-height: 1.2; overflow-wrap: break-word; min-width: 0;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: var(--rule-hair); text-underline-offset: 0.18em;
  transition: text-decoration-color var(--dur-micro) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .st-doc__link:hover .st-doc__name { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
}
.st-doc__role { font-size: var(--text-sm); line-height: 1.4; color: var(--color-ink-2); }
.st-doc__since { align-self: start; margin-top: var(--space-2xs); font-size: var(--text-sm); font-weight: var(--weight-strong); font-variant-numeric: tabular-nums; line-height: 1.3; color: var(--color-accent); }

@media (prefers-reduced-motion: reduce) { .st-doc__link { transition: none; } a.st-doc__link:active { transform: none; } }
@media (max-width: 60rem) {
  .st-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .brxe-block.st-doctors__head { margin-bottom: var(--space-xl); }
  .st-docs { grid-template-columns: minmax(0, 1fr); }
  .st-doc__photo, .st-doc__img { width: 88px; height: 88px; }
}
