.teacher-profile{max-width:1180px}.teacher-profile .profile-hero{display:flex;gap:24px;align-items:center;background:#163f36;color:#fff;padding:clamp(24px,4vw,42px);border-radius:24px}.profile-intro{flex:1;min-width:0}.profile-hero h1{overflow-wrap:anywhere;line-height:1.15}.profile-hero p{color:#deeee4}.profile-avatar{display:grid;place-items:center;flex-shrink:0;width:88px;height:100px;border-radius:20px;background:#f1dfb0;color:#163f36;font:54px Georgia,serif}.profile-hero .button{background:#f1dfb0;color:#163f36;white-space:nowrap;text-decoration:none;font-weight:700}.profile-tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.profile-tags span{font-size:12px;background:#eef4ee;color:#275345;border-radius:20px;padding:6px 12px;overflow-wrap:anywhere}.profile-hero .profile-tags span{background:#ffffff15;color:#f3f7ec;border:1px solid #ffffff30}.profile-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;margin-top:26px}.profile-layout>div,.profile-layout aside{min-width:0}.profile-panel,.profile-class{padding:24px;border:1px solid #dce5df;border-radius:18px;background:#fff;margin-bottom:24px;overflow-wrap:anywhere}.teacher-profile h2{font-size:23px;margin:0 0 16px}.teacher-profile h3{font-size:19px;margin:14px 0}.profile-copy{line-height:1.75}.profile-heading{padding:8px 0}.profile-class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-class{display:flex;flex-direction:column;min-width:0;padding:20px}.profile-class>p{font-size:14px;color:#53665e}.profile-class dl{display:grid;gap:10px;margin:16px 0}.profile-class dl>div{display:flex;gap:10px;justify-content:space-between;font-size:13px}.teacher-profile dt{color:#53665e}.teacher-profile dd{margin:0;overflow-wrap:anywhere}.profile-class footer{margin-top:auto;border-top:1px solid #e4ece5;padding-top:16px}.profile-class .button{display:block;text-align:center;text-decoration:none}.profile-fee{font-size:22px;font-weight:700}.profile-fee small{font-size:12px;font-weight:400}.profile-hour{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #e4ece5;font-size:13px}.profile-note{font-size:12px;color:#53665e}.profile-community{background:#f5f1e6}.profile-report{display:block;font-size:13px;margin:0 12px 24px}.profile-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.profile-classes{scroll-margin-top:90px}@media(max-width:950px){.teacher-profile .profile-hero{flex-wrap:wrap}.profile-layout{grid-template-columns:1fr}}@media(max-width:560px){.profile-avatar{width:60px;height:70px;font-size:38px}.teacher-profile .profile-hero{gap:16px}.profile-intro{flex-basis:65%}.profile-class-grid{grid-template-columns:1fr}.profile-panel{padding:20px}.profile-gallery{grid-template-columns:1fr}}

.teacher-profile .profile-hero{position:relative;isolation:isolate;overflow:hidden;min-height:240px}.profile-hero .profile-banner{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;margin:0;border-radius:inherit}.profile-banner-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,39,33,.92),rgba(10,39,33,.75) 55%,rgba(10,39,33,.55))}.profile-hero--branded .profile-tags span{background:#163f36cc}.profile-hero--branded .profile-avatar{background:#fff}.profile-avatar img{width:100%;height:100%;object-fit:contain;border-radius:inherit;background:#fff;padding:6px;box-sizing:border-box}.teacher-profile video{width:100%;max-height:450px;border-radius:12px}.staff-photo{width:96px;height:96px;object-fit:cover;border-radius:50%}
