.teachers{padding-top:70px;padding-bottom:40px}
.teachers-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:36px}
.teachers .eyebrow{color:var(--wine);background:#f3e6e7}
.teachers .section-title{max-width:800px;margin-top:18px}
.teachers .intro{max-width:650px;margin-top:22px}
.teachers-arrow{width:46px;height:46px;min-height:46px;flex:0 0 46px;padding:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #dec9cd;border-radius:14px;background:transparent;color:var(--wine);font:800 13px 'Nunito',sans-serif;cursor:pointer;transition:background .2s,color .2s,opacity .2s;touch-action:manipulation}
.teachers-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.teachers-next{background:var(--wine);color:var(--cream);border-color:var(--wine)}
.teachers-arrow:hover:not(:disabled){background:#eadcdf;color:var(--wine)}
.teachers-next:hover:not(:disabled){background:#792d42;color:var(--cream)}
.teachers-arrow:disabled{opacity:.28;cursor:default}
.teachers-arrow:focus-visible,.teacher-track:focus-visible,.teacher-dot:focus-visible{outline:3px solid var(--wine-soft);outline-offset:3px}
.teacher-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:25px}
.teacher-track::-webkit-scrollbar{display:none}
.teacher-card{flex:0 0 calc((100% - 40px)/3);min-width:0;scroll-snap-align:start;overflow:hidden;border:1px solid #eadcdf;border-radius:25px;background:#f1f1f7;display:flex;flex-direction:column}
.teacher-card:nth-child(even){background:var(--sand)}
.teacher-photo{position:relative;height:280px;overflow:hidden;background:#e5ded8}
.teacher-photo img{position:absolute;left:50%;top:50%;width:var(--portrait-width,100%);height:auto;max-width:none;transform:translate(calc(-1 * var(--face-x,50%)),calc(-1 * var(--face-y,40%)))}
.teacher-photo .teacher-language{position:absolute;left:18px;bottom:16px;padding:7px 12px;border-radius:999px;background:var(--cream);color:var(--wine);font-size:11px;font-weight:900}
.teacher-card[data-teacher="anzhelika-shevchenko"]{--portrait-width:100%;--face-x:50%;--face-y:36%}
.teacher-card[data-teacher="anna-savchuk"]{--portrait-width:100%;--face-x:50%;--face-y:45%}
.teacher-card[data-teacher="sofya-sosedova"]{--portrait-width:230%;--face-x:52%;--face-y:48%}
.teacher-card[data-teacher="anna-potter"]{--portrait-width:100%;--face-x:50%;--face-y:43%}
.teacher-card[data-teacher="ulyana-zakharova"]{--portrait-width:170%;--face-x:66%;--face-y:60%}
.teacher-card[data-teacher="anzhelika-shevchenko"] img,.teacher-card[data-teacher="anna-potter"] img{inset:0;width:100%;height:100%;transform:none;object-fit:cover;object-position:center}
.teacher-card[data-teacher="anzhelika-shevchenko"] img,.teacher-card[data-teacher="anna-potter"] img{transform:scale(1.2)}
.teacher-card[data-teacher="anna-savchuk"] img{inset:0;width:100%;height:100%;transform:scale(1.3);object-fit:cover;object-position:center}
.teacher-copy{padding:25px 25px 22px;display:flex;flex:1;flex-direction:column}
.teacher-copy h3{font-size:25px;letter-spacing:-.045em;line-height:1.07;margin:0 0 9px}
.teacher-audience{font-size:12px;font-weight:800;color:var(--wine);margin:0 0 18px;line-height:1.45}
.teacher-facts{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:17px;min-height:28px;align-items:flex-start}
.teacher-facts span{font-size:10px;line-height:1.3;font-weight:900;padding:6px 9px;border-radius:7px;background:rgba(255,255,255,.8);color:#716168}
.teacher-description{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 20px}
.teacher-personal{margin:auto 0 0;padding-top:16px;border-top:1px solid rgba(91,29,45,.12);font-size:12px;line-height:1.5;color:var(--muted)}
.teacher-personal strong{color:var(--ink);font-weight:800}
.teacher-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
.teacher-dots{display:flex;gap:0;align-items:center;justify-content:center}
.teacher-dot{width:28px;height:44px;border:0;padding:0;display:grid;place-items:center;background:transparent;cursor:pointer;touch-action:manipulation}
.teacher-dot::after{content:"";display:block;width:6px;height:6px;border-radius:99px;background:#d9c3c9;transition:background .2s,width .2s}
.teacher-dot[aria-current="true"]::after{width:20px;background:var(--wine)}
.teacher-dot[hidden]{display:none}
@media(max-width:1000px){.teacher-card{flex-basis:calc((100% - 20px)/2)}.teacher-photo{height:300px}}
@media(max-width:640px){.teachers{padding-top:55px;padding-bottom:25px}.teachers-head{display:block;margin-bottom:25px}.teachers .section-title{font-size:38px}.teachers .intro{font-size:14px;margin-top:19px}.teacher-track{gap:12px;margin-inline:-16px;width:calc(100% + 32px);padding-inline:32px;scroll-padding-inline:32px;border-radius:0;scroll-snap-stop:always}.teacher-card{flex-basis:100%;border-radius:22px;scroll-snap-align:center;scroll-snap-stop:always}.teacher-photo{height:260px}.teacher-copy{padding:22px}.teacher-copy h3{font-size:24px}.teacher-description{font-size:13px}.teacher-personal{font-size:11.5px}.teacher-pagination{gap:4px;margin-top:14px}.teachers-arrow{width:44px;height:44px;min-height:44px;flex-basis:44px;padding:0;border-radius:12px}.teachers-arrow svg{width:16px;height:16px}.teacher-dot{width:23px}.teacher-dot[aria-current="true"]::after{width:17px}}
@media(max-width:360px){.teacher-dot{width:20px}}
@media(prefers-reduced-motion:reduce){.teacher-track{scroll-behavior:auto}.teacher-dot,.teachers-arrow{transition:none}}
