.teacher-profile-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px}
.teacher-profile-facts dd{overflow-wrap:anywhere}
.teacher-profile-facts dd a{text-decoration:underline;text-underline-offset:4px}
.teacher-about{margin-top:28px;padding:22px 24px;background:var(--canvas);border-radius:16px;max-width:100%}
.example-site .teacher-about h3{font-size:17px;letter-spacing:-.02em;margin:0 0 9px}
.teacher-about p{max-width:880px;font-size:15px;line-height:1.7;color:var(--ink)}
.teacher-courses-table-wrap{margin:24px 0 0}
.teacher-courses-table{table-layout:fixed;font-size:15px}
.teacher-courses-table th:first-child{width:46%}
.teacher-courses-table th:nth-child(2){width:28%}
.teacher-courses-table td{line-height:1.55;overflow-wrap:anywhere}
.teacher-course-name{font-weight:550}
.teacher-course-name a{text-decoration:underline;text-underline-offset:4px}
.teacher-course-role-detail{display:block;margin-top:5px;font-size:12px;line-height:1.5;color:var(--muted);font-weight:400}
.teacher-school{display:flex;align-items:center;gap:9px;min-width:0}
.teacher-school-icon{display:block;flex:none;width:28px;height:28px;object-fit:contain}
.teacher-school-link{text-underline-offset:4px}
.teacher-school-mobile{display:none}
.teacher-mobile-label{display:none}
.teacher-stack-note{font-size:14px;line-height:1.6;color:var(--muted);max-width:760px;margin:18px 0 0}
.teacher-stack-tags>*{display:inline-flex;align-items:center;background:var(--canvas,#f4f4f1);padding:10px 15px;border-radius:12px;font-size:14px;line-height:1.5;transition:background .15s}
.teacher-stack-tags>a:hover{background:var(--brand-soft);text-decoration:none}
.teacher-socials{margin-top:24px;display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.teacher-socials-label{font-size:13px;color:var(--muted)}
.teacher-socials-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.teacher-social-icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:var(--paper);font-size:14px;font-weight:700;line-height:1;letter-spacing:-.04em}
.teacher-social-icon:hover{background:var(--canvas);border-color:var(--ink)}
@media(max-width:760px){.teacher-profile-facts{grid-template-columns:1fr 1fr}.teacher-school-link{display:none}.teacher-school-mobile{display:inline}}
@media(max-width:520px){
  .teacher-profile-facts{grid-template-columns:1fr}
  .teacher-about{padding:20px}
  .teacher-courses-table-wrap{overflow:hidden}
  .teacher-courses-table,.teacher-courses-table tbody{display:block;min-width:0}
  .teacher-courses-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
  .teacher-courses-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);border-bottom:1px solid var(--line)}
  .teacher-courses-table tbody tr:last-child{border-bottom:0}
  .teacher-courses-table td{display:block;min-width:0!important;border:0;padding:8px 16px;font-size:14px}
  .teacher-courses-table td:first-child{padding:16px 16px 8px}
  .teacher-courses-table td:last-child{padding-bottom:16px;overflow-wrap:normal}
  .teacher-mobile-label{display:block;margin-bottom:6px;font-size:12px;line-height:1.4;color:var(--muted)}
}
