

/* Start:/local/components/dev/teachers/templates/.default/style.css?177422341612678*/
/* ===== TEACHERS MODAL FIX ===== */

.blocker {
  z-index: 9999 !important;
  padding: 20px !important;
  overflow-y: auto !important;
}

.blocker.current {
  overflow-y: auto !important;
}

.blocker .modal.teacher-modal {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
  vertical-align: top !important;
}

.teacher-modal__inner {
  padding: 32px;
  background: #fff;
}

.teacher-modal__top {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.teacher-modal__top--no-photo {
  grid-template-columns: minmax(0, 1fr);
}

.teacher-modal__photo {
  min-width: 0;
}

.teacher-modal__photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.teacher-modal__head {
  min-width: 0;
}

.teacher-modal__label {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.teacher-modal__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.teacher-modal__position {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.4;
  color: #374151;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.teacher-modal__intro {
  font-size: 16px;
  line-height: 1.65;
  color: #374151;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.teacher-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.teacher-section {
  min-width: 0;
  padding: 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
}

.teacher-section h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.teacher-section p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.65;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.teacher-section__text {
  font-size: 16px;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.teacher-section__text p:last-child {
  margin-bottom: 0;
}

.teacher-section__text ul,
.teacher-section__text ol {
  padding-left: 20px;
}

@media (max-width: 991px) {
  .blocker {
    padding: 10px !important;
  }

  .blocker .modal.teacher-modal {
    width: calc(100vw - 20px) !important;
  }

  .teacher-modal__inner {
    padding: 20px;
  }

  .teacher-modal__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .teacher-modal__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .teacher-modal__photo img {
    max-height: 360px;
  }
}

@media (max-width: 575px) {
  .teacher-modal__title {
    font-size: 26px;
  }

  .teacher-modal__position,
  .teacher-modal__intro,
  .teacher-section p,
  .teacher-section__text {
    font-size: 15px;
  }

  .teacher-section {
    padding: 18px;
  }
}
.blocker {
  z-index: 9999 !important;
  padding: 20px !important;
  overflow-y: auto !important;
}

.blocker .modal.teacher-modal {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: none !important;
  padding: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.2) !important;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.teacher-card__image {
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
  overflow: hidden;
}

.teacher-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teacher-card__no-image {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
}

.teacher-card__content {
  padding: 20px;
}

.teacher-card__name {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 10px;
}

.teacher-card__position {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 12px;
}

.teacher-card__preview {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.teacher-card__more {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 14px;
  font-weight: 600;
}

.teacher-modal__inner {
  padding: 32px;
}

.teacher-modal__top {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.teacher-modal__top--no-photo {
  grid-template-columns: minmax(0, 1fr);
}

.teacher-modal__photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.teacher-modal__head {
  min-width: 0;
}

.teacher-modal__label {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
}

.teacher-modal__title {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  word-break: break-word;
}

.teacher-modal__position {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.4;
  color: #374151;
}

.teacher-modal__intro {
  font-size: 16px;
  line-height: 1.65;
  color: #374151;
}

.teacher-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.teacher-section {
  min-width: 0;
  padding: 24px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
}

.teacher-section h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.teacher-section p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.65;
}

.teacher-section__text {
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .blocker {
    padding: 10px !important;
  }

  .blocker .modal.teacher-modal {
    width: calc(100vw - 20px) !important;
  }

  .teacher-modal__inner {
    padding: 20px;
  }

  .teacher-modal__top,
  .teacher-modal__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .teacher-modal__title {
    font-size: 28px;
  }
}
/* ===== EIOS DECOR ===== */

.teacher-modal__inner {
  position: relative;
  overflow: hidden;
  background: #efefef;
  padding: 42px 56px 72px;
}

.teacher-modal__bg-title {
  position: absolute;
  left: 54px;
  top: 18px;
  z-index: 0;
  font-size: 78px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.045);
  white-space: nowrap;
  pointer-events: none;
}

.teacher-modal__dots {
  position: absolute;
  top: 28px;
  right: 38px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 10px;
}

.teacher-modal__dots span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1d1d1f;
}

.teacher-modal__badge {
  position: absolute;
  left: 54px;
  top: 132px;
  z-index: 3;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #ff00e5;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(255, 0, 229, 0.3);
}

.teacher-modal__shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.teacher-modal__top {
  position: relative;
  z-index: 2;
  margin-top: 86px;
}

.teacher-modal__panel {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  padding: 34px 40px;
}

.teacher-modal__panel:before {
  content: "";
  position: absolute;
  left: 58px;
  top: -20px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 22px solid #fff;
}

/* ---- variant 1: розовая полоса + фиолетовые кавычки ---- */

.teacher-modal--v1 .teacher-modal__shape--1 {
  top: 0;
  right: 132px;
  width: 126px;
  height: 92px;
  background: #ef63ea;
  clip-path: polygon(48% 0, 100% 0, 52% 100%, 0 100%);
}

.teacher-modal--v1 .teacher-modal__shape--2 {
  right: 86px;
  bottom: 118px;
  width: 92px;
  height: 60px;
}

.teacher-modal--v1 .teacher-modal__shape--2:before,
.teacher-modal--v1 .teacher-modal__shape--2:after {
  content: "";
  position: absolute;
  top: 0;
  width: 26px;
  height: 52px;
  border: 10px solid rgba(140, 118, 255, 0.45);
  border-left: 0;
  border-radius: 0 28px 28px 0;
}

.teacher-modal--v1 .teacher-modal__shape--2:before {
  left: 0;
}

.teacher-modal--v1 .teacher-modal__shape--2:after {
  left: 34px;
}

/* ---- variant 2: зеленая звезда ---- */

.teacher-modal--v2 .teacher-modal__shape--1 {
  right: 52px;
  top: 330px;
  width: 170px;
  height: 170px;
  background: #0ff05a;
  clip-path: polygon(
    50% 0%, 59% 31%, 100% 14%, 69% 49%, 100% 86%,
    58% 67%, 50% 100%, 41% 67%, 0% 86%, 31% 49%,
    0% 14%, 41% 31%
  );
}

.teacher-modal--v2 .teacher-modal__shape--2 {
  display: none;
}

/* ---- variant 3: зеленый квадрат с крестом ---- */

.teacher-modal--v3 .teacher-modal__shape--1 {
  right: 88px;
  top: 328px;
  width: 104px;
  height: 104px;
  box-sizing: border-box;
  border: 4px solid #00ef55;
}

.teacher-modal--v3 .teacher-modal__shape--1:before,
.teacher-modal--v3 .teacher-modal__shape--1:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  height: 4px;
  background: #00ef55;
  transform-origin: center;
}

.teacher-modal--v3 .teacher-modal__shape--1:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.teacher-modal--v3 .teacher-modal__shape--1:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.teacher-modal--v3 .teacher-modal__shape--2 {
  display: none;
}

/* ---- variant 4: синий треугольник + мятные дуги ---- */

.teacher-modal--v4 .teacher-modal__shape--1 {
  right: 62px;
  bottom: 90px;
  width: 130px;
  height: 130px;
  background: #3456ff;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.teacher-modal--v4 .teacher-modal__shape--1:before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #efefef;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.teacher-modal--v4 .teacher-modal__shape--2 {
  left: 42px;
  bottom: 26px;
  width: 34px;
  height: 70px;
  border: 4px solid #60f0aa;
  border-right: 0;
  border-radius: 40px 0 0 40px;
}

.teacher-modal--v4 .teacher-modal__shape--2:before,
.teacher-modal--v4 .teacher-modal__shape--2:after {
  content: "";
  position: absolute;
  top: -4px;
  width: 34px;
  height: 70px;
  border: 4px solid #60f0aa;
  border-right: 0;
  border-radius: 40px 0 0 40px;
}

.teacher-modal--v4 .teacher-modal__shape--2:before {
  left: 40px;
}

.teacher-modal--v4 .teacher-modal__shape--2:after {
  left: 80px;
}

/* ---- типографика секций внутри белой карточки ---- */

.teacher-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.teacher-section h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  color: #151515;
}

.teacher-section p,
.teacher-section__text {
  font-size: 16px;
  line-height: 1.45;
  color: #444;
}

.teacher-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 42px;
}

@media (max-width: 1200px) {
  .teacher-modal__bg-title {
    font-size: 60px;
  }
}

@media (max-width: 991px) {
  .teacher-modal__inner {
    padding: 28px 20px 48px;
  }

  .teacher-modal__bg-title {
    left: 20px;
    top: 16px;
    font-size: 34px;
    white-space: normal;
  }

  .teacher-modal__dots {
    top: 22px;
    right: 20px;
    gap: 8px;
    grid-template-columns: repeat(3, 10px);
  }

  .teacher-modal__dots span {
    width: 10px;
    height: 10px;
  }

  .teacher-modal__badge {
    left: 18px;
    top: 96px;
    width: 58px;
    height: 58px;
    font-size: 18px;
  }

  .teacher-modal__top {
    margin-top: 64px;
  }

  .teacher-modal__panel {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .teacher-modal__panel:before {
    left: 34px;
  }

  .teacher-modal__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .teacher-modal__shape--1,
  .teacher-modal__shape--2 {
    opacity: .45;
    transform: scale(.8);
    transform-origin: center;
  }
}
/* End */
/* /local/components/dev/teachers/templates/.default/style.css?177422341612678 */
