.directory-page { background:#e9eee2; }
.teacher-directory-shell { padding:44px 0 24px; }
.teacher-kicker { color:#2d6950; font-size:12px; font-weight:700; letter-spacing:.1em; }
.teacher-directory-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.teacher-directory-heading h1 { color:#193e34; font-size:clamp(30px,4vw,46px); margin:12px 0; line-height:1.3; }
.teacher-directory-heading p { margin:0; color:#52685b; font-size:15px; }
.teacher-directory-heading .home-button { background:#193e34; color:#f7f0df; border-radius:12px; flex-shrink:0; }
.teacher-filters { background:#dce5d4; border:1px solid #c5d1ba; padding:20px; border-radius:14px; display:grid; grid-template-columns:2fr 1fr auto; gap:16px; align-items:end; }
.teacher-filters label { display:grid; gap:7px; color:#193e34; font-size:13px; font-weight:650; }
.teacher-filters input,.teacher-filters select { width:100%; min-height:46px; padding:11px 13px; border:1px solid #a6b99b; border-radius:9px; background:#f7f5ed; color:#193e34; font:inherit; }
.teacher-filters button { min-height:46px; border:1px solid #a6b99b; border-radius:9px; padding:10px 18px; background:transparent; color:#193e34; font:inherit; cursor:pointer; }
.teacher-result-count { color:#52685b; font-size:13px; margin:22px 0 16px; }
.teacher-directory-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.teacher-card { border:1px solid #ccd5c2; border-radius:15px; background:#f1eee2; overflow:hidden; min-width:0; }
.teacher-image-link { display:block; text-decoration:none; }
.teacher-photo { position:relative; height:225px; overflow:hidden; display:grid; place-items:center; background:radial-gradient(circle at 70% 20%,#ead5ad70,transparent 55%),linear-gradient(145deg,#d5dfc9,#b9ccae); }
.teacher-photo::before,.teacher-photo::after { content:''; position:absolute; width:100px; height:140px; border:1px solid #76906f55; border-radius:50px 8px 8px 8px; transform:rotate(20deg); right:-25px; bottom:-25px; }
.teacher-photo::after { right:5px; bottom:-45px; transform:rotate(-10deg); }
.teacher-monogram { color:#385e43; font-size:64px; font-family:serif; line-height:1; }
.teacher-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 26%; z-index:1; }
.teacher-card-body { padding:19px; }
.teacher-card h2 { font-size:20px; margin:0 0 12px; }
.teacher-card h2 a { color:#193e34; text-decoration:none; }
.teacher-tags { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 14px; }
.teacher-tags span { background:#dfe7d5; border-radius:5px; padding:4px 8px; color:#345d40; font-size:12px; }
.teacher-education { font-size:12px; color:#465e4b; line-height:1.8; min-height:43px; margin:10px 0; }
.teacher-description { font-size:13px; color:#566a58; line-height:1.85; min-height:72px; margin:12px 0; }
.teacher-facts { font-size:11px; line-height:1.7; padding-top:12px; border-top:1px solid #d3dcc9; color:#52664c; margin:0; min-height:49px; }
.teacher-empty { grid-column:1/-1; padding:45px 0; color:#52685b; text-align:center; }
.teacher-breadcrumb { display:inline-flex; color:#2d6950; font-size:13px; margin-bottom:26px; padding:10px 0; text-decoration:none; }
.teacher-profile-layout { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr); gap:44px; align-items:start; }
.teacher-photo-large { height:auto; aspect-ratio:3/4; border-radius:100px 18px 18px 18px; border:1px solid #b9c9ad; }
.teacher-photo-large .teacher-monogram { font-size:100px; }
.teacher-profile-body h1 { color:#193e34; font-size:40px; line-height:1.3; margin:12px 0 18px; }
.teacher-profile-intro { color:#52685b; font-size:16px; line-height:1.9; margin:18px 0 24px; }
.teacher-profile-facts { margin:0; border-top:1px solid #c5d1ba; }
.teacher-profile-facts>div { display:grid; grid-template-columns:100px minmax(0,1fr); gap:16px; padding:16px 0; border-bottom:1px solid #c5d1ba; font-size:14px; line-height:1.7; }
.teacher-profile-facts dt { color:#52685b; }.teacher-profile-facts dd { margin:0; color:#193e34; }
.teacher-profile-next { padding:24px; border-radius:14px; background:#dce5d4; margin-top:28px; }
.teacher-profile-next h2 { font-size:22px; margin:0 0 10px; color:#193e34; }.teacher-profile-next p { font-size:14px; margin:0 0 18px; color:#52685b; }
.teacher-profile-next .home-button { background:#193e34; color:#f7f0df; border-radius:10px; }
.directory-page a:focus-visible,.directory-page button:focus-visible,.directory-page input:focus-visible,.directory-page select:focus-visible { outline:3px solid #1976d2; outline-offset:4px; }
@media(max-width:1050px) { .teacher-directory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.teacher-profile-layout { gap:28px; } }
@media(max-width:760px) { .teacher-directory-shell { padding-top:28px; }.teacher-directory-heading { align-items:start; flex-direction:column; gap:18px; }.teacher-filters { grid-template-columns:1fr 1fr; gap:12px; padding:16px; }.teacher-filters label:first-child { grid-column:1/-1; }.teacher-filters button { align-self:end; }.teacher-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }.teacher-photo { height:210px; }.teacher-card-body { padding:15px; }.teacher-profile-layout { grid-template-columns:1fr; gap:28px; }.teacher-photo-large { height:auto; max-width:360px; width:100%; margin:auto; }.teacher-profile-body h1 { font-size:34px; } }
@media(max-width:420px) { .teacher-directory-grid { grid-template-columns:1fr; }.teacher-photo { height:290px; }.teacher-photo-large { height:auto; }.teacher-profile-facts>div { grid-template-columns:82px minmax(0,1fr); gap:10px; }.teacher-profile-next { padding:20px; } }
