/* Scoped team directory. Add verified records to the page array to extend the grid. */
.team-page h1, .team-page h2 { letter-spacing: -.035em; }
.team-page h2 { font-size: clamp(26px,3vw,34px); line-height: 1.3; margin-bottom: 16px; }
.team-page p { margin-bottom: 16px; }
.team-page a:focus-visible, .team-page button:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 4px; }
.team-hero { padding: 22px 0 38px; background: var(--light); border-bottom: 1px solid var(--border); }
.team-breadcrumb ol { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0 0 26px; font-size: 13px; }
.team-breadcrumb li + li::before { content: '/'; margin-right: 12px; }
.team-breadcrumb a { color: var(--primary-dark); }
.team-page .team-eyebrow { color: var(--primary-dark); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 12px; }
.team-page h1 { font-size: clamp(30px,3.8vw,44px); line-height: 1.2; margin-bottom: 16px; }
.team-page h1 span { color: var(--primary-dark); }
.team-page .team-hero-copy { max-width: 770px; font-size: 16px; margin: 0; }
.team-directory { padding: 48px 0; }
.team-intro { max-width: 780px; margin-bottom: 26px; }
.team-member-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.team-member { min-width: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--white); transition: border-color .2s ease, transform .2s ease; }
.team-member-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.team-member-avatar { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; background: #edf6ef; border-bottom: 1px solid #dce9e0; }
.team-member-avatar span { display: inline-flex; align-items: center; justify-content: center; width: 100px; height: 100px; border: 1px solid #c8dfd0; border-radius: 50%; color: var(--primary-dark); font: 700 34px/1 var(--font-heading); background: var(--light); }
.team-member-copy { padding: 22px; }
.team-member h3 { font-size: 21px; line-height: 1.35; margin-bottom: 8px; }
.team-page .team-member-designation { color: var(--primary-dark); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.team-page .team-member-role { color: var(--dark); font-size: 13px; margin-bottom: 8px; }
.team-page .team-member-qualification { font-size: 12px; margin-bottom: 16px; }
.team-page .team-member-bio { font-size: 14px; line-height: 1.75; margin: 16px 0 0; }
.team-member h4 { font-size: 12px; font-weight: 700; margin: 20px 0 10px; }
.team-member-areas { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.team-member-areas li { font-size: 11px; padding: 5px 8px; border-radius: 4px; background: var(--light); color: var(--primary-dark); }
.team-final-section { padding: 0 0 48px; }
.team-final { display: grid; grid-template-columns: 1.15fr 1fr; gap: 38px; align-items: center; padding: 30px; border-radius: 10px; background: #edf6ef; }
.team-final h2 { font-size: clamp(25px,2.6vw,32px); }
.team-final p { margin: 0; }
.team-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.team-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 18px; color: var(--white); background: var(--primary-dark); border: 1px solid var(--primary-dark); border-radius: 7px; font-size: 14px; font-weight: 600; text-align: center; }
.team-button:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }
.team-button-secondary { background: var(--white); color: var(--dark); border-color: #ccd9d0; }
.team-button-secondary:hover { background: #edf6ef; color: var(--primary-dark); border-color: var(--primary-dark); }
.team-contacts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.team-contacts a { color: var(--dark); font-size: 13px; overflow-wrap: anywhere; }
.team-contacts a:hover { text-decoration: underline; }
@media (hover: hover) and (min-width: 992px) { .team-member:hover { border-color: #98cba9; transform: translateY(-3px); } }
@media (max-width: 1199.98px) { .team-member-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .team-final { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 767.98px) {
 .team-hero { padding: 18px 0 28px; }
 .team-breadcrumb ol { font-size: 12px; margin-bottom: 22px; }
 .team-page h1 { font-size: clamp(29px,7.8vw,36px); }
 .team-page .team-hero-copy { font-size: 15px; }
 .team-page .team-eyebrow { font-size: 11px; }
 .team-directory { padding: 32px 0; }
 .team-member-grid { grid-template-columns: 1fr; gap: 22px; }
 .team-member-copy { padding: 22px; }
 .team-member-avatar { aspect-ratio: 4 / 3; }
 .team-member-photo { aspect-ratio: 4 / 5; }
 .team-member-avatar span { width: 90px; height: 90px; font-size: 30px; }
 .team-final-section { padding-bottom: 32px; }
 .team-final { padding: 24px 20px; }
 .team-actions { flex-direction: column; align-items: stretch; gap: 10px; }
 .team-button { width: 100%; }
 .team-contacts { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .team-member { transition: none; } .team-member:hover { transform: none; } }
