/*.mf-teacher {
  padding: 32px 0 0px 0;
}*/

.mf-teacher .mf-team__teacher {
  padding: 32px 0 0 0;
}

.mf-teacher__text {
  max-width: 900px;
}

/*горизонтальная карусель главный экран*/
.ttc {
  position: relative;
  padding: 48px 0 0 0;
}
.ttc__viewport {
  overflow: hidden;
}
.ttc__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.ttc__track::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}
.ttc__card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
.ttc__card img {
  max-width: 100%;
  height: auto;
}
.ttc__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 40px;
}
.ttc__nav {
  display: flex;
  gap: 12px;
}
.ttc__btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white, #fff);
  border-radius: 30%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.ttc__btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.ttc__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
@media (max-width: 1024px) {
  .ttc__card {
    flex: 0 0 calc((100% - 48px) / 3);
  }
}
@media (max-width: 768px) {
  .ttc__card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}
@media (max-width: 480px) {
  .ttc {
    padding-top: 32px;
  }
  .ttc__card {
    flex: 0 0 100%;
  }
}
  /*карусель конец*/