/* Exported records are data sources; the native carousel owns the layout. */
#rec659726427, #rec659727779, #rec659727875 { display: none !important; }
#rec657072528.fp-teachers-section-ready { padding-bottom: 90px !important; }
#rec657072528.fp-teachers-section-ready > .t396[hidden] { display: none !important; }
.fp-teachers {
  --fp-teacher-blue: #1b73e2;
  --fp-teacher-ink: #172c55;
  position: relative;
  box-sizing: border-box;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--fp-teacher-blue);
  color: #fff;
  font-family: 'Gilroy', Arial, sans-serif;
}
.fp-teachers::before {
  position: absolute;
  bottom: -128px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: url('images/tild6264-3062-4166-b562-303464633831__star_18.svg') center / contain no-repeat;
  opacity: .08;
  pointer-events: none;
  content: '';
}
.fp-teachers > * { position: relative; }
.fp-teachers h2 { margin: 0; font-size: 36px; font-weight: 700; line-height: 1.15; }
.fp-teachers-intro { max-width: 700px; margin: 16px 0 32px; font-size: 22px; font-weight: 500; line-height: 1.35; }
.fp-teachers-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  width: 100%;
  padding: 4px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y;
}
.fp-teachers-track::-webkit-scrollbar { display: none; }
.fp-teachers-track:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 24px; }
.fp-teacher-card {
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 16px;
  border-radius: 28px;
  background: #fff;
  color: #171717;
  text-align: left;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.fp-teacher-portrait {
  display: block;
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #f2f4f8;
  cursor: pointer;
}
.fp-teacher-portrait img { display: block; width: 100%; height: 216px; object-fit: cover; }
.fp-teacher-card h3 { margin: 20px 0 10px; font-size: 26px; font-weight: 700; line-height: 1.15; }
.fp-teacher-intro {
  display: -webkit-box;
  min-height: 63px;
  margin: 0 0 16px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.fp-teacher-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fp-teacher-blue);
  font: 600 16px/1.3 'Gilroy', Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.fp-teacher-more span { font-size: 28px; font-weight: 500; }
.fp-teacher-portrait:focus-visible, .fp-teacher-more:focus-visible, .fp-teacher-summary:focus-visible {
  outline: 3px solid var(--fp-teacher-ink);
  outline-offset: 3px;
  border-radius: 12px;
}
.fp-teachers-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 24px 0 16px; }
.fp-teachers-prev, .fp-teachers-next {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--fp-teacher-blue);
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}
.fp-teachers-prev:disabled, .fp-teachers-next:disabled { opacity: .4; cursor: default; }
.fp-teachers-show-all {
  box-sizing: border-box;
  display: block;
  min-height: 44px;
  margin: 0 auto;
  padding: 8px 20px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font: 600 16px/1.3 'Gilroy', Arial, sans-serif;
  cursor: pointer;
}
.fp-teachers-controls button:focus-visible, .fp-teachers-show-all:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.fp-teachers-list { margin-top: 24px; }
.fp-teachers-list[hidden] { display: none; }
.fp-teachers-list ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fp-teacher-summary {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 12px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #171717;
  font: 600 16px/1.2 'Gilroy', Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.fp-teacher-summary img { flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.fp-teacher-summary span { min-width: 0; overflow-wrap: anywhere; }
html.fp-teacher-dialog-open { overflow: hidden; }
.fp-teacher-dialog {
  box-sizing: border-box;
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 40px;
  border: 0;
  border-radius: 28px;
  color: #171717;
  background: #fff;
  box-shadow: 0 24px 80px #0003;
  font-family: 'TildaSans', Arial, sans-serif;
  overscroll-behavior: contain;
}
.fp-teacher-dialog::backdrop { background: rgb(15 27 48 / 60%); }
.fp-teacher-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f4f8;
  color: #171717;
  font: 30px/1 Arial, sans-serif;
  cursor: pointer;
}
.fp-teacher-close:focus-visible { outline: 3px solid #4277d8; outline-offset: 2px; }
.fp-teacher-detail { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.fp-teacher-photo { display: block; width: 200px; height: 220px; object-fit: cover; border-radius: 20px; }
.fp-teacher-dialog h2 { margin: 8px 16px 14px 0; font-size: 30px; line-height: 1.2; }
.fp-teacher-bio { margin: 0; font-size: 18px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 1099px) {
  .fp-teachers { padding: 32px; }
  .fp-teachers-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .fp-teachers-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  #rec657072528.fp-teachers-section-ready { padding-bottom: 48px !important; }
  .fp-teachers { width: calc(100% - 24px); padding: 28px 20px; border-radius: 24px; }
  .fp-teachers h2 { font-size: 28px; }
  .fp-teachers-intro { margin: 12px 0 24px; font-size: 16px; line-height: 1.35; }
  .fp-teachers-track { grid-auto-columns: calc(100% - 44px); gap: 16px; }
  .fp-teacher-card { padding: 14px; border-radius: 24px; }
  .fp-teacher-portrait { border-radius: 16px; }
  .fp-teacher-portrait img { height: 196px; }
  .fp-teacher-card h3 { margin-top: 16px; font-size: 24px; }
  .fp-teacher-intro { font-size: 15px; min-height: 59px; margin-bottom: 12px; }
  .fp-teachers-controls { margin-top: 20px; gap: 20px; }
  .fp-teachers-list ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .fp-teacher-dialog { padding: 52px 24px 28px; border-radius: 24px; }
  .fp-teacher-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fp-teacher-photo { width: 100%; height: 200px; }
  .fp-teacher-dialog h2 { margin-top: 0; font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-teachers-track { scroll-behavior: auto; }
}
