/* Compact team profiles, shared across public page templates. */
.re-team-section { padding: 48px 0; background: #F4F6F7; }
.re-team-section > .container { width: 100%; max-width: 1180px; padding-inline: 32px; }
.re-team-section .primary-headline { margin: 0 0 32px; color: #005338; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.2; text-align: center; }
.re-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.re-team-section .re-team-member { display: flex; flex-direction: column; align-items: center; min-width: 0; color: #005338; text-align: center; text-decoration: none; }
.re-team-photo { display: block; width: 192px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 0 18px; }
.re-team-name { font-size: 22px; font-weight: 700; line-height: 1.3; }
.re-team-role { margin-top: 8px; color: #3c4149; font-size: 18px; line-height: 1.4; }
.re-team-profile { margin-top: auto; padding-top: 12px; font-size: 18px; line-height: 1.4; text-decoration: underline; text-underline-offset: 4px; }
.re-team-member:hover .re-team-name { text-decoration: underline; text-underline-offset: 4px; }
.re-team-section .re-team-member:hover { text-decoration: none; }
.re-team-member:focus-visible { outline: 3px solid #005338; outline-offset: 8px; }
[id^="re-team-"] { scroll-margin-top: 130px; }
@media (max-width: 991px) { .re-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .re-team-section { padding-block: 32px; }
  .re-team-section > .container { padding-inline: 18px; }
  .re-team-grid { gap: 28px 18px; }
  .re-team-photo { width: 144px; }
}
/* Keep the complete city menu usable as the matrix grows. */
.location-menu-link .desktop-mega-menu { max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
