@keyframes fadeBottomToUp30 {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeRightToLeft200 {
  0% {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeUpToBottom30 {
  0% {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes rotate360 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.mobile {
  display: inline-block;
}

body::before {
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 1px;
  content: "";
  opacity: 0;
  background: url(/assets/img/icons/search_icon_white.svg),
    url(/assets/img/icons/eye_icon_white.svg),
    url(/assets/img/arrows/arrow_down.svg);
}

.section {
  margin-bottom: 120px;
}
@media ( max-width: 767px ) {
  .section {
    margin-bottom: 80px;
  }
}

.section._white {
  background-color: #FFFFFF;
  padding: 120px 0;
}
@media ( max-width: 767px ) {
  .section._white {
    padding: 80px 0;
  }
}
.section._white:last-child {
  margin-bottom: 0;
}

.section._white:has( + .section._white ) {
    margin-bottom: 0;
}

.section._primary {
    background-color: var( --primary );
}

.section._page {
  background-color: #FFFFFF;
  padding: 72px 0;
}
@media ( max-width: 767px ) {
  .section._page {
    padding: 40px 0;
  }
}

.section._page._primary {
    background-color: var( --primary );
    color: #FFFFFF;
}

.section._page._transparent {
    background-color: transparent;
    margin-bottom: 0;
}

.section._page._with-picture {
    padding-bottom: 150px;
}
@media ( max-width: 767px ) {
    .section._page._with-picture {
        padding-bottom: 0;
    }
}

.section._page._direction {
  padding: 72px 0 136px;
  position: relative;
  overflow-x: hidden;
}
@media ( max-width: 767px ) {
  .section._page._direction {
    padding: 40px 0 294px;
  }
}

.section._page._direction .section__wrapper div:first-child,
.section._page._direction h1,
.section._page._direction .tags {
  max-width: 800px;
}

.section._page._purple-red {
  background-color: var( --f-purple-red );
  color: #FFFFFF;
}

.section._page._green {
  background-color: var( --f-green );
  color: #FFFFFF;
}

.section._page._orange-yellow {
  background-color: var( --f-orange-yellow );
  color: #FFFFFF;
}

.section._page._red-orange {
  background-color: var( --f-red-orange );
  color: #FFFFFF;
}

.section._page._dark-cyan {
  background-color: var( --f-orange );
  color: #FFFFFF;
}

.section._page._purple-blue {
  background-color: var( --f-purple-blue );
  color: #FFFFFF;
}

.section._page._red {
  background-color: var( --f-red );
  color: #FFFFFF;
}

.section._page .head-links {
  margin-top: 48px;
}
@media ( max-width: 767px ) {
  .section._page .head-links {
    margin-top: 40px;
  }
}

.section._padding {
  padding: 72px 0;
}
@media ( max-width: 767px ) {
  .section._padding {
    padding: 40px 0;
  }
}

.section._padding-l {
    padding: 100px 0;
}
@media ( max-width: 767px ) {
    .section._padding-l {
        padding: 64px 0;
    }
}

.section._overflow {
  overflow: hidden;
}

.section._white .swiper-scrollbar {
  background-color: var( --app );
}

.section:not(:has(div)) {
  height: 0 !important;
  margin: 0;
  padding: 0;
}

.section:has( .swiper-cards ) {
    background: url( /assets/img/icons/pattern-8.svg ) right bottom no-repeat var( --primary );
}

.section-block {
  padding: 70px 0;
  box-sizing: border-box;
}

.section_gray {
  background-color: var(--app) !important;
}

.content {
  margin: 0 16px;
}

@media (min-width: 768px) {
  .content {
    margin: 0 19px;
  }
  .mobile {
    display: none;
  }
}

@media (min-width: 1200px) {
  .content {
    margin: 0 auto;
    max-width: 1200px;
  }
}

@media screen and (min-width: 768px) {
  .section-block {
    padding: 70px 0;
  }
}

@media screen and (min-width: 1200px) {
  .section-block {
    padding: 120px 0;
  }
}

.header {
  position: fixed;
  width: 100%;
  z-index: 5;
}
@media screen and ( max-width: 1199px ) {
  .header {
    background-color: #FFFFFF;
  }
}

.main {
  padding-top: 68px;
    flex-grow: 1;
}

.nav-open {
  overflow: hidden;
}

.overflow {
  overflow: hidden;
}

.nav-open .header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
}

.header::before {
  content: '';
  display: block;
  position: absolute;
  height: 52px;
  width: 100%;
}

.header__wrapper {
  max-width: 1200px;
  position: relative;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

@media ( min-width: 1200px ) {
  .header__wrapper {
    padding: 17px 0 15px;
    align-items: flex-start;
    position: unset;
  }
}

.header__menu-container {
  display: flex;
  flex-direction: column;
  flex-basis: 60px;
  gap: 16px;
}

.header-menu {
  display: none;
}

.header-menu > nav:first-child .header-menu__list {
  font-size: 14px;
  line-height: 17px;
}

.header-menu-link {
  cursor: pointer;
}

.header__buttons {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.header__buttons-top {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
  color: white;
}

@media ( max-width: 1199px ) {
  .header__buttons-logo {
    display: none;
  }
}

.language {
  position: relative;
}

.language__current {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 17px;
}
@media ( max-width: 1199px ) {
  .language__current {
    color: var( --text );
  }
}

.language__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media ( max-width: 1199px ) {
  .language__icon .svg-icon__arrow_down {
    fill: var( --text );
  }
}

.language__dropdown {
  position: absolute;
  top: calc( 100%  + 8px);
  left: 50%;
  translate: -50% 0;
  background-color: #FFFFFF;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 2px 10px 0 #0000001A;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.language._open .language__dropdown {
  opacity: 1;
  visibility: visible;
}

.language__dropdown a {
  text-decoration: none;
  color: var( --text );

}
@media ( hover: hover ) {
  .language__dropdown a:hover {
    color: var( --primary );
  }
}

.logo {
  position: absolute;
  left: 0;
  display: block;
  width: 83px;
  height: 28px;
  font-weight: 800;
  font-size: 34px;
  line-height: 28px;
  color: white;
  text-decoration: none;
  margin: 0;
}

@media ( max-width: 1199px ) {
  .logo {
    position: static;
    width: unset;
    height: unset;
  }
}

@media ( min-width: 1200px ) {
  .logo {
    top: 8px;
  }

  .logo svg,
  .logo img {
    display: none;
  }
}



.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: scale .3s ease;
}
@media ( hover: hover ) {
  .search-button:hover {
    scale: 1.1;
  }
}
@media ( max-width: 1199px ) {
  .search-button .svg-icon__search_icon {
    fill: var( --text );
  }
}

.eye-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
@media ( hover: hover ) {
  .eye-button:hover {
    scale: 1.1;
  }
}
@media ( max-width: 1199px ) {
  .eye-button .svg-icon__eye_icon {
    fill: var( --text );
  }
}

.mobile-menu {
  position: relative;
  width: 30px;
}

.fixed-menu {
  display: none;
}

@media screen and (min-width: 1200px) {
  .header {
    position: relative;
    border-bottom: 1px solid var(--app);
    background-color: white;
  }
  .main {
    padding-top: 0;
  }
  .fixed-menu {
    display: flex;
    position: fixed;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1000;
    align-items: center;
    box-shadow: 0 2px 10px 0 #0000001a;
    opacity: 0;
    visibility: hidden;
    translate: 0 -32px;
    transition:
      opacity .3s ease,
      visibility .3s ease,
      translate .3s ease;
  }

  .fixed-menu_active {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
  }

  .fixed-menu__wrapper {
    max-width: 1200px;
    width: 100%;
    position: relative;
    padding: 20px 0;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
  }

  .fixed-menu .header-menu__list {
    margin: 0;
    padding: 0;
  }

  .fixed-menu__logo {
    font-weight: 800;
    font-size: 34px;
    line-height: 28px;
    color: var(--primary);
    text-decoration: none;
    margin: 0;
  }

  .fixed-menu .header-menu__dropdown {
    position: fixed;
    top: 80px;
    right: 0;
    padding-left: calc(50vw - 1200px / 2);
  }
  .fixed-menu .js-drop-menu_active + .header-menu__dropdown {
    visibility: visible;
  }
}

.fixed-menu__button_search {
  background-image: url(/assets/img/icons/search_icon_red.svg);
  background-size: contain;
}

.fixed-menu__button_menu {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var( --primary );
  display: flex;
  align-items: center;
  justify-content: center;
}
.fixed-menu__button_menu._mobile {
  width: 36px;
  height: 36px;
}
@media screen and ( min-width: 1200px ) {
  .fixed-menu__button_menu._mobile {
    display: none;
  }
}

.fixed-menu__button_menu svg {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transition: opacity .3s ease, visibility .3s ease;
}

.fixed-menu__button_menu .svg-icon__close {
  opacity: 0;
  visibility: hidden;
}

.fixed-menu__button_menu._active .svg-icon__menu-fixed {
  opacity: 0;
  visibility: hidden;
}

.fixed-menu__button_menu._active .svg-icon__close {
  opacity: 1;
  visibility: visible;
}

.top-search {
  background-color: var(--main-gray);
  width: 100%;
  display: none;
}

.top-search_active {
  display: block;
}

.top-search__form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.top-search__form input {
  width: 100%;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 20px;
  background-color: white;
  border: none;
  border-radius: 6px;
}

.top-search__button {
  background-color: white;
  border: 2px solid var(--primary);
  box-sizing: border-box;
  color: var(--primary);
  text-align: center;
  padding: 17px 31px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.top-search__button:hover {
  background-color: var(--primary);
  border: 2px solid white;
  color: white;
}

.top-search__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 19px 0;
}

.modal-menu {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background-color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: all 300ms ease;
  z-index: -1;
  box-sizing: border-box;
  overflow-x: auto;
  padding: 32px 16px;
  border-top: 1px solid var( --divider );
}

.nav-open .modal-menu {
  position: fixed;
  bottom: 0;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
@media ( min-width: 1200px ) {
  .nav-open .modal-menu {
    display: none;
  }
}

.modal-menu_hidden {
}

.modal-menu__wrapper {
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.modal-menu__container {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media ( max-width: 767px ) {
  .modal-menu__dropdown-wrapper {
    height: 0;
    overflow: hidden;
    transition: height .3s ease;
  }
}

.modal-menu__dropdown {
  list-style-type: none;
  box-sizing: border-box;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 16px 0 0;
}
@media ( max-width: 767px ) {
  .modal-menu__dropdown {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 12px 0 0;
  }
}

.js-drop-menu_active ~ .modal-menu__dropdown {
  display: flex;
}

.modal-menu__item {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: var(--text);
  user-select: none;
}

.modal-menu__item_selected {
  font-weight: 800;
}

.modal-menu__link {
  color: var(--text);
  text-decoration: none;
}

@media ( hover: hover ) {
  .modal-menu__link:hover {
    color: var(--primary);
    text-decoration: 2px dotted var(--primary);
  }
}

.modal-menu__link_single,
.modal-menu__link_dropdown {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
  cursor: pointer;
}
@media ( max-width: 767px ) {
  .modal-menu__link_single,
  .modal-menu__link_dropdown {
    font-size: 16px;
    line-height: 1.3;
  }
}

.popup-menu .modal-menu__container_leveled {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
@media ( max-width: 767px ) {
  .popup-menu .modal-menu__container_leveled {
    gap: 10px;
    margin-top: 12px;
  }
}

.popup-menu.js-popup_active {
    opacity: 1;
    visibility: visible;
}

.popup-menu .modal-menu__item {
  page-break-inside: avoid;
  margin-bottom: 40px;
}

.modal-menu__link_dropdown {
  display: flex;
  gap: 12px;
}

.modal-menu__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media ( min-width: 768px ) {
  .modal-menu__icon {
    display: none;
  }
}

.modal-menu__icon .svg-icon__arrow_down {
  fill: var( --text );
  transition: rotate .3s ease;
}

.modal-menu__item._open .svg-icon__arrow_down {
  rotate: 180deg;
}

.js-drop-menu_active::after {
  transform: translateY(-50%) rotate(90deg);
}

.modal-menu__item._open .modal-menu__link_dropdown {
  color: var(--primary);
}

.modal-menu__link_dropdown:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='5' height='8' viewBox='0 0 5 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.625 4L0.40625 0.102886L0.40625 7.89711L4.625 4Z' fill='%239C1B33'/%3E%3C/svg%3E%0A");
  background-position: center;
  background-repeat: no-repeat;
}

.popup-menu {
  position: fixed;
  top: 80px;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  visibility: hidden;
  opacity: 0;
  transition: all 300ms ease-in;
  padding: 40px;
  box-sizing: border-box;
  z-index: 1000;
  background-color: white;
  border-top: 1px solid var( --divider );
}
@media ( max-width: 1199px ) {
  .popup-menu {
    display: none;
  }
}

.popup-menu__container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  overflow-x: auto;
}

.close-popup-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  border: 2px solid var(--text);
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.close-popup-btn::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(/assets/img/icons/cross.svg);
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.close-popup-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.close-popup-btn:hover::after {
  filter: brightness(1000);
}

@media screen and (min-width: 768px) {
  .modal-menu__wrapper {
    column-count: 2;
    gap: 40px;
  }
  .modal-menu__container {
    display: block;
  }
  .modal-menu__link.modal-menu__link_dropdown {
    color: var(--primary);
    cursor: default;
  }
  .modal-menu__wrapper .modal-menu__dropdown {
    display: flex !important;
    background-color: transparent;
    padding: 0;
  }
  .modal-menu__item {
    page-break-inside: avoid;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 19px;
  }
  .modal-menu__dropdown .modal-menu__item {
    margin-bottom: 0;
  }
}

.popup-menu__wrapper {
  column-count: 3;
  gap: 16px;
}
@media ( max-width: 1023px ) {
  .popup-menu__wrapper {
    column-count: 2;
  }
}
@media ( max-width: 767px ) {
  .popup-menu__wrapper {
    column-count: 1;
  }
}

@media screen and (min-width: 768px) {
  .popup-menu .modal-menu__link.modal-menu__link_single {
    color: var(--primary);
    cursor: default;
  }
  .popup-menu .modal-menu__item .modal-menu__container .modal-menu__item {
    margin-bottom: 0;
  }
}

.main-slider {
  position: relative;
  background-color: #FFFFFF;
  margin-bottom: 120px;
}
@media ( max-width: 767px ) {
  .main-slider {
    background-color: unset;
    margin-bottom: 80px;
  }
}

.main-slider .swiper-wrapper {
  /* padding-left: 22px; */
}

.main-slider__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.main-slider__slide {
}

.main-slider__text-container {
  padding: 0 22px;
  box-sizing: border-box;
  max-width: 329px;
}

.main-slider__title {
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  margin: 40px 0 0;
}

.main-slider__subtitle {
  font-size: 26px;
  line-height: 30px;
  font-weight: 600;
  margin-top: 32px;
  color: var( --text-2 );
}
@media ( max-width: 767px ) {
  .main-slider__subtitle {
    font-size: 18px;
    line-height: 22px;
    margin-top: 20px;
  }
}

.swiper-slide-active .main-slider__title,
.swiper-slide-active .main-slider__subtitle {
  animation: fadeBottomToUp30 300ms ease-in 0s 1;
}

.main-slider__img-container {
  position: relative;
  height: 400px;
  width: 100%;
  margin-top: 40px;
}

.main-slider__img-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 18px;
  width: 100%;
  height: 100%;
  background: url(/assets/img/slider_bg_mobile_1.jpg) center/cover no-repeat;
}

.main-slider__slide:nth-child(2) .main-slider__img-bg {
  background-image: url(/assets/img/slider_bg_mobile_2.jpg);
}

.main-slider__slide:nth-child(3) .main-slider__img-bg {
  background-image: url(/assets/img/slider_bg_mobile_3.jpg);
}

.swiper-slide-active .main-slider__img-bg {
  animation: fadeIn 800ms ease-in 0s 1;
}

.main-slider__img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 307px;
  object-fit: contain;
  object-position: left bottom;
  right: 0;
  margin: 0 auto;
}

.main-slider__subtitle + .main-slider__button {
  margin-top: 48px;
}
@media ( max-width: 767px ) {
  .main-slider__subtitle + .main-slider__button {
    margin-top: 32px;
  }
}

.swiper-pagination.main-slider__pagination {
  position: relative;
  padding-top: 16px;
  background-color: var(--main-gray);
  bottom: 0 !important;
  line-height: 0;
}

.main-slider__pagination .swiper-pagination-bullet {
  background-color: var(--main-gray);
  width: 10px;
  height: 10px;
  border: 1px solid var(--primary);
  opacity: 1;
}

.main-slider__pagination .swiper-pagination-bullet-active {
  background-color: var(--primary);
}

.main-slider__tabs {
  position: absolute;
  display: none;
  height: 115px;
}

.main-slider__tab {
  cursor: pointer;
  background-color: transparent;
  width: 100%;
  max-width: calc(1200px / 3);
  border-radius: 12px;
  padding: 34px 36px;
  box-sizing: border-box;
  transition: all 300ms ease;
}

.main-slider__tab::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  top: -22px;
  border: 11px solid transparent;
  border-bottom: 11px solid white;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease 300ms;
}

.main-slider__tab_active {
  position: relative;
  background-color: white;
  box-shadow: 2px 2px 35px 0px #00000024;
}

.main-slider__tab_active::after {
  content: "";
  opacity: 1;
  visibility: visible;
}

.main-slider__tab-title {
  pointer-events: none;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.1;
}

.main-slider__tab-subtitle {
  pointer-events: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
  margin-top: 7px;
  color: var(--sec-gray);
}

@media screen and (min-width: 768px) {
  .main-slider .swiper-wrapper {
    padding-left: 19px;
  }
  .main-slider__slide-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .main-slider__text-container {
    padding: 0;
    max-width: unset;
  }
  .main-slider__img-container {
    margin-top: 0;
  }
  .main-slider__title {
    font-size: 42px;
    line-height: 0.95;
    margin: 66px 0 0;
  }
  .main-slider__img {
    right: unset;
    margin: 0 0 0 22px;
  }
  .swiper-pagination.main-slider__pagination {
    padding-top: 30px;
  }
  .swiper-slide-active .main-slider__img-bg {
    animation: fadeRightToLeft200 500ms ease-in 0s 1;
  }
  .main-slider__img-bg {
    left: unset;
    width: 265px;
    background: url(/assets/img/slider_bg_1.jpg) right bottom/contain no-repeat;
  }
  .main-slider__slide .main-slider__img-bg {
    background-size: 250px 100%;
  }
  .main-slider__slide:nth-child(2) .main-slider__img-bg {
    background-image: url(/assets/img/slider_bg_2.jpg);
  }
  .main-slider__slide:nth-child(3) .main-slider__img-bg {
    background-image: url(/assets/img/slider_bg_3.jpg);
  }
}

@media screen and (min-width: 1200px) {
  .header::before {
    background-color: var(--primary-dark);
    z-index: -1;
  }
  .mobile-menu {
    display: none;
  }

  .header-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 42px;
  }

  .header-menu__container_type_bottom .header-menu__list,
  .header-menu__container_type_fixed .header-menu__list {
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
  }

  .header-menu__list {
    display: flex;
    gap: 35px;
    padding: 0 0 0 160px;
    margin: 0;
    list-style-type: none;
    color: white;
    justify-content: flex-start;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
  }

  .header-menu__link {
    text-decoration: none;
    transition: color 200ms ease-in-out;
  }

  .header-menu__link:hover {
    /* font-weight: 700; */
    color: var(--link-yellow-hover);
  }

  .header-menu__container_type_bottom .header-menu__link:hover,
  .header-menu__container_type_fixed .header-menu__link:hover {
    color: var(--primary);
  }

  .header-menu__link_dropdown {
    cursor: pointer;
  }

  .header-menu__link_dropdown.js-drop-menu_active {
    color: var( --primary-dark );
  }

  .header-menu__link-title {
    font-weight: 700;
    color: var(--primary);
  }

  .header-menu__dropdown {
    position: absolute;
    top: 124px;
    left: 0;
    width: 100%;
    background-color: white;
    visibility: hidden;
    list-style-type: none;
    font-weight: 500;
    padding: 40px calc( 50vw - 1200px / 2 ) 40px calc( 50vw - 1200px / 2 + 160px );
    font-size: 16px;
    line-height: 1.2;

    display: block;
    -moz-columns: 3;
    column-count: 3;

    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
  }

  .header-menu__dropdown:before {
    background-color: #FFFFFF;
    content: '';
    display: block;
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 6px;
    border-bottom: 1px solid var( --app );
  }

  .header-menu__dropdown .header-menu__item {
    margin-bottom: 12px;
  }

  .js-drop-menu_active + .header-menu__dropdown {
    visibility: visible;
    box-shadow: 0 2px 10px 0 #0000001A;
  }

  .header-menu__info-images {
    position: absolute;
    right: calc(50vw - 1200px / 2);
    top: 50%;
    transform: translateY(-50%);
  }

  .header-menu__info-link {
    display: block;
    width: 260px;
    height: 172px;
    border-radius: 10px;
    background-color: var(--main-gray);
    overflow: hidden;
  }

  .header-menu__info-img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }

  .logo {
    left: calc(50vw - 1200px / 2);
    background: url(/assets/img/logo.svg) center no-repeat #FFFFFF;
    color: transparent;
    width: 135px;
    height: 135px;
    z-index: 1;
    border-radius: 50%;
  }

  .logo._en,
  .logo._cn {
      background-image: url( /assets/img/main_logo_en.png );
  }

  .logo::after {
      scale: .83;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    animation: rotate360 35s linear infinite;
    background: url(/assets/img/logo-text.svg) center/contain no-repeat;
  }

    .logo._en::after,
    .logo._cn::after {
        background-image: url( /assets/img/main_logo_text_en.png );
        scale: 0.83;
    }

  .main-slider .swiper-wrapper {
    padding-left: 0;
  }

  .main-slider__img-container {
    height: 600px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
  }

  .main-slider__title {
    font-size: 65px;
    line-height: 62px;
    margin: 95px 0 0;
  }

  .main-slider__img {
    width: 513px;
    height: 95%;
  }

  .main-slider__img-bg {
    width: 334px;
  }

  .main-slider__slide .main-slider__img-bg {
    background-size: 334px 100%;
  }

  .main-slider__pagination {
    display: none;
  }

  .main-slider__bg-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    overflow: hidden;
    right: 0;
    left: 0;
    bottom: 0;
  }

  .main-slider__background {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url(/assets/img/slider_stroke_1.png);
    background-size: contain;
    background-position: right calc( 50vw - 1842px / 2 ) bottom -57px;
    background-repeat: no-repeat;
    translate: 130px 0;
    opacity: 0;
    visibility: hidden;
    transition:
      translate .4s ease-in,
      opacity .4s ease-in,
      visibility .4s ease-in;
  }

  .main-slider__background[style*="slider_stroke_2.png"] {
    background-position: right calc( 50vw - 1455px / 2 ) bottom;
  }

  .main-slider__background[style*="slider_stroke_3.png"] {
    background-position: right calc( 50vw - 1447px / 2 ) bottom -19px;
  }

  .main-slider__background_active {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
  }

  .main-slider__tabs {
    display: flex;
    background-color: rgba(248, 247, 247, 0.75);
    border-radius: 12px;
    min-height: 115px;
    width: 100%;
    max-width: 1200px;
    backdrop-filter: blur(10px);
    z-index: 1;
    bottom: 0;
  }

  /* DROP UP LI */
  /* header#nav .container ul > li > ul.dropup li {
    opacity: 0;
    transform: translate(0, 200px);
  }
  li:hover .dropup li {
    animation-name: dropup;
  }
  @keyframes dropup {
    0% {
      opacity: 0;
      transform: translate(0, 200px);
    }
    100% {
      opacity: 1;
      transform: translate(0, 0);
    }
  }
  @-webkit-keyframes dropup {
    0% {
      opacity: 0;
      transform: translate(0, 200px);
    }
    100% {
      opacity: 1;
      transform: translate(0, 0);
    }
  }
  li:hover ul.dropup.hov li:nth-child(1n) {
    animation-duration: 300ms;
    animation-delay: 300ms;
  }
  li:hover ul.dropup.hov li:nth-child(2n) {
    animation-duration: 400ms;
    animation-delay: 500ms;
  }
  li:hover ul.dropup.hov li:nth-child(3n) {
    animation-duration: 500ms;
    animation-delay: 1000ms;
  }
  li:hover ul.dropup.hov li:nth-child(4n) {
    animation-duration: 600ms;
    animation-delay: 1500ms;
  } */
}

@media screen and (min-width: 1440px) {
  .header-menu__dropdown {
    padding-left: calc(50vw - 1200px / 2 + 153px);
    padding-right: calc(50vw - 1200px / 2 - 6px);
  }
  .logo {
    top: 8px;
  }
}

@media screen and (min-width: 1900px) {
  .main-slider__slide-container {
    grid-template-columns: 610px 1fr;
  }
}

/* DOC BUTTONS */

.main-buttons__container {
  display: flex;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .main-buttons__container {
    flex-direction: column;
    gap: 16px;
  }
}

.main-buttons__link {
  flex: 0 0 calc( 50% - 20px / 2 );
  padding: 24px 32px;
  background-color: #FFFFFF;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
  text-decoration: none;
  transition:
    color .3s ease,
    background-color .3s ease;
}
@media ( max-width: 767px ) {
  .main-buttons__link {
    padding: 16px 24px;
  }
}

.main-buttons__icon {
  transition: filter .3s ease;
}

@media ( hover: hover ) {
  .main-buttons__link:hover {
    color: #FFFFFF;
    background-color: var( --primary )
  }

  .main-buttons__link:hover .main-buttons__icon {
    -webkit-filter: grayscale( 1 ) brightness( 1000% );
    filter: grayscale( 1 ) brightness( 1000% );
  }
}

/*
.main-buttons__container {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-buttons__link {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 30px 16px 25px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 10px;
  transition: all 200ms ease;
  min-height: 100px;
  position: relative;
}

.main-buttons__link:hover {
  background-color: var(--primary);
  color: white;
}

.main-buttons__title {
  font-size: 16px;
  line-height: 19px;
  font-weight: 600;
  max-width: 160px;
}

.main-buttons__icon {
  position: absolute;
  right: 30px;
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  transition: transform 300ms ease;
}



@media screen and (min-width: 768px) {
  .main-buttons__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 32px;
  }
  .main-buttons__link {
    border-radius: 12px;
    padding: 36px 30px;
  }
  .main-buttons__icon {
    position: absolute;
    right: 30px;
    width: 83px;
    height: 83px;
    object-fit: contain;
    object-position: center;
    transition: transform 300ms ease;
    transform: scale3d(0.663, 0.663, 0.663);
  }

  .main-buttons__link:hover .main-buttons__icon {
    transform: scale3d(1, 1, 1);
    -webkit-filter: grayscale(1) brightness(1000%);
    filter: grayscale(1) brightness(1000%);
  }
}

@media screen and (min-width: 1024px) {
  .main-buttons__title {
    font-size: 20px;
    line-height: 1.1;
    max-width: unset;
    white-space: nowrap;
  }
}

@media screen and (min-width: 1200px) {
  .main-buttons {
    padding: 120px 0 60px;
  }
  .main-buttons__link {
    border-radius: 12px;
    padding: 21px 40px 21px 35px;
    min-height: 120px;
  }
  .main-buttons__icon {
    width: 97px;
    height: 97px;
    right: 20px;
  }
}*/

/* MAIN NEWS */

.main-news__item {
  background-color: white;
  border-radius: 10px;
  padding: 32px;
  box-sizing: border-box;
  user-select: none;
  text-decoration: none;
  transition: box-shadow .3s ease;
}
@media ( max-width: 767px ) {
  .main-news__item {
    padding: 24px;
  }
}

.main-news__item:hover {
  box-shadow: 0 0 20px 0 #20202014;
}

.main-news__item-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: space-between;
  height: 100%;
}

.main-news__item.swiper-slide {
  height: unset;
}

.main-news__title {
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
}
@media ( max-width: 767px ) {
  .main-news__title {
    font-size: 16px;
    line-height: 19px;
  }
}

.main-news__description {
  font-size: 16px;
  line-height: 19px;
  margin-top: 12px;
}
@media ( max-width: 767px ) {
  .main-news__description {
    font-size: 14px;
    line-height: 17px;
  }
}

.main-news__add-date {
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
  color: var(--primary);
}

.main-news__container {
  display: none;
}

@media screen and (min-width: 1200px) {
  .main-news__swiper.swiper {
    display: none;
  }
  .main-news__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* NEWS, EVENTS, SMI */

.news__container,
.smi__container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 26px;
}

.news__image,
.smi__image {
  width: 100%;
  height: 48vw;
  max-height: 206px;
  object-fit: cover;
  object-position: center;
}

.news__item,
.smi__item {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  position: relative;
  background-color: white;
  text-decoration: none;
}

.smi__item {
  display: flex;
  flex-direction: column;
}

.news__item:hover,
.smi__item:hover {
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.1);
}

.news__title,
.smi__title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}

.smi__title {
  margin-top: 10px;
}

.news__add-date {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px 12px;
  box-sizing: border-box;
  border-radius: 30px;
  background-color: rgba(2, 2, 2, 0.6);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
}

.smi__text-container {
  padding: 30px 25px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  height: 100%;
}

.smi__date {
  font-weight: 700;
  font-size: 14px;
  line-height: 18.2px;
  color: #999999;
}

.accordeon__link.smi__link {
  margin-top: 10px;
}

.news__item-container {
  padding: 25px;
  box-sizing: border-box;
}

.news__tags-container {
  margin-top: 20px;
  padding-bottom: 8px;
}

.news__tags-container_justify-start {
  justify-content: flex-start !important;
}

.content-detail {
  margin: 0;
}

.news-detail__date {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  color: var(--primary);
}

.news-detail__date span {
  margin-left: 25px;
}

.news-detail__left-block {
  background-color: white;
  padding: 30px 20px;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 0 20px;
}

.news-detail__right-block {
  margin-top: 70px;
}

.news-detail__right-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 20px;
}

.news-detail__right-footer {
  display: none;
}

.news-detail__title {
  margin-top: 12px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
}

.news-detail__image {
  width: 100%;
  height: 48vw;
  max-height: 348px;
  margin-top: 24px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.news-detail__text,
.news-detail__text p,
.news-detail__text li {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
}

.news-detail__text ol,
.news-detail__text ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.news-detail__text {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-detail__gallery {
  margin-top: 15px;
}

.news-detail__gallery-img {
  width: 100%;
  height: 48vw;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.news-detail__gallery-controls {
  position: relative;
  margin-top: 15px;
  height: 8px;
}

.news-detail__gallery-controls .swiper-pagination.swiper-pagination-horizontal {
  bottom: 0;
}

.news-detail__gallery-buttons {
  display: none;
}

.news-detail__gallery-controls .swiper-pagination-bullet {
  background-color: var(--sec-gray);
}

.news-detail__gallery-controls .swiper-pagination-bullet-active {
  background-color: var(--primary);
}

.news-detail__side-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
}

.news-detail__all-link {
  color: var(--primary);
  text-decoration: none;
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.news-detail__all-link:hover {
  text-decoration: underline;
}

.news-detail__all-link svg path {
  fill: currentColor;
}

.swiper.other-news {
  margin: 24px 0 0;
  padding: 0 20px;
}

.other-news .news__item {
  background-color: transparent;
  border-radius: 0;
  user-select: none;
}

.other-news .news__item:hover {
  box-shadow: none;
}

.other-news .news__image {
  border-radius: 10px;
  height: 42.67vw;
}

.other-news .news__title {
  margin-top: 14px;
}

.other-news.desktop {
  display: none;
}

@media screen and (min-width: 768px) {
  .news__container,
  .smi__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .news__image,
  .smi__image {
    height: 26.82vw;
    max-height: 300px;
  }
  .news__title,
  .smi__title {
    font-size: 18px;
    line-height: 1.1;
  }
  .news__tags-container {
    margin-top: 30px;
  }
  .news-detail__pagination {
    display: none;
    height: 8px;
  }
  .news-detail__gallery-controls {
    margin-top: 24px;
    height: unset;
  }
  .news-detail__gallery-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
  }
  .news-detail__left-block {
    padding: 40px 20px;
  }
  .news-detail__date {
    font-size: 14px;
    line-height: 1.3;
  }
  .news-detail__date span {
    margin-left: 30px;
  }
  .news-detail__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin-top: 24px;
  }
  .news-detail__image {
    height: 45.3125vw;
    max-height: 550px;
  }
  .news-detail__text ol,
  .news-detail__text ul {
    padding-left: 22px;
    gap: 10px;
  }
  .news-detail__text,
  .news-detail__text {
    margin-top: 24px;
  }
  .news-detail__gallery {
    margin-top: 24px;
  }
  .news-detail__gallery-img {
    height: 33.854vw;
    max-height: 300px;
  }
  .news-detail__side-title {
    font-size: 26px;
  }
  .other-news .news__image {
    height: 20.83vw;
  }
}

@media screen and (min-width: 1200px) {
  .news__container,
  .smi__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 32px;
  }
  .news__image,
  .smi__image {
    height: 206px;
    max-height: 206px;
  }
  .accordeon__link.smi__link {
    margin-top: 10px;
  }
  .news__tags-container {
    margin-top: 40px;
  }
  .content-detail {
    margin: 0 auto;
  }
  .news-detail__container {
    display: grid;
    grid-template-columns: 860px 260px;
    gap: 40px;
  }
  .news-detail__left-block {
    margin: 0;
    padding: 40px;
  }
  .news-detail__right-block {
    margin: 0;
  }
  .news-detail__right-header {
    display: block;
    margin: 0;
  }
  .news-detail__right-header .news-detail__all-link {
    display: none;
  }
  .news-detail__right-footer {
    display: block;
    margin-top: 34px;
  }
  .news-detail__title {
    font-size: 26px;
  }
  .news-detail__image {
    height: 392px;
    max-height: 392px;
  }
  .news-detail__gallery-img {
    height: 300px;
    max-height: 300px;
  }
  .swiper.other-news {
    display: none;
  }
  .other-news.desktop {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-top: 24px;
  }
  .other-news .news__image {
    height: 160px;
    max-height: 160px;
  }
}

/* MAIN-EVENTS */

.main-events__tags-container,
.news__tags-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow: auto;
}

.main-events__tag,
.news__tag {
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 16px;
  background-color: var( --app );
  color: var( --text-2 );
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
  user-select: none;
}

.section_gray .main-events__tag,
.section_gray .news__tag {
  background-color: white;
}

.main-events__tag:hover,
.news__tag:hover {
  background-color: var(--primary);
  color: white;
}

.main-events__tag_active,
.news__tag_active,
.section_gray .main-events__tag_active,
.section_gray .news__tag_active {
  background-color: var(--primary);
  border: 1.5px solid var(--primary);
  color: white;
}

.main-events__not-found,
.news__not-found {
  font-weight: 600;
  font-size: 24px;
  margin-top: 60px;
  color: var(--primary);
}

.main-events__reset,
.news__reset {
  display: block;
  margin-top: 20px;
  text-decoration: none;
}

.main-events__reset:hover {
  color: var(--primary);
}

.main-events__swiper {
  margin-top: 24px;
}

.main-events__item.swiper-slide {
  height: unset;
}

.main-events__swiper.swiper {
  padding-bottom: 20px;
}

.main-events__swiper .main-events__scrollbar {
  bottom: 0 !important;
}

.main-events__item {
  text-decoration: none;
  border-radius: 10px;
  transition: all 300ms ease;
  position: relative;
}

.main-events__item:nth-child( n + 3 ) .main-events__item-link:hover + .main-events__item-container {
  box-shadow: 0 0 20px 0 #20202014;
}

.main-events__item-link {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-events__item-link:hover + .main-events__item-container .section__all-link {
  color: white;
  padding-right: 62px;
  padding-left: 16px;
}

.main-events__item-link:hover + .main-events__item-container .section__all-link::after {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.main-events__item-link:hover + .main-events__item-container .section__all-link-arrow {
  background-color: white;
  transform: translate(-8px, -50%);
}

.main-events__item-link:hover + .main-events__item-container .section__all-link-arrow::before {
  background-image: url(/assets/img/arrows/arrow_right.svg);
  translate: calc(-50% + 5px) -50%;
  filter: none;
}

.main-events__item-link:hover + .main-events__item-container .section__all-link-arrow::after {
  background-color: var(--primary);
  opacity: 1;
  visibility: visible;
}

.main-events__item-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: var( --app );
  border-radius: 10px;
  box-sizing: border-box;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .3s ease;
}

@media ( min-width: 768px ) {
  .main-events__item:nth-child( n + 3 ) .main-events__item-container {
    background-color: #FFFFFF;
  }
}

.main-events__image-container {
  position: relative;
  font-size: 0;
}

@media ( min-width: 768px ) {
  .main-events__item:nth-child( n + 3 ) .main-events__image-container {
    display: none;
  }
}

.main-events__event-date-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  border-radius: 15px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var( --accent );
}

.main-events__title {
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
}
@media ( max-width: 767px ) {
  .main-events__title {
    font-size: 16px;
    line-height: 19px;
  }
}

.main-events__description {
  font-size: 16px;
  line-height: 19px;
  margin-top: 12px;
}

.main-events__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
@media ( max-width: 767px ) {
  .main-events__image {
    height: 160px;
  }
}

.main-events__container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
@media ( max-width: 767px ) {
  .main-events__container {
    display: none;
  }
}

.main-events__item:nth-child( -n + 2 ) {
  flex: 0 0 calc( 50% - 20px / 2 );
}
@media ( max-width: 767px ) {
  .main-events__item:nth-child( -n + 2 ) {
    flex: 0 0 100%;
  }
}

.main-events__item:nth-child( n + 3 ) {
  flex: 0 0 calc( 33.333333% - 20px / 3 * 2 );
}
@media ( max-width: 767px ) {
  .main-events__item:nth-child( n + 3 ) {
    flex: 0 0 100%;
  }
}

.main-events__text-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 32px;
  gap: 32px;
  height: 100%;
}
@media ( max-width: 767px ) {
  .main-events__text-block {
    padding: 24px;
    gap: 24px;
  }
}

.main-events__text-block > a {
  margin-top: auto;
}
.main-events__item:nth-child( n + 3 ) .section__all-link {
  display: none;
}

.main-events__text-block > a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-events__container
.main-events__item:nth-child(-n + 2)
.main-events__event-date {
  display: none;
}

.main-events__container
.main-events__item:nth-child(n + 3)
.main-events__event-date {
  display: block;
  color: var( --primary );
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
  margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
  .main-events {
    min-height: 350px;
  }
  .main-events__swiper.swiper {
    display: none;
  }

  .main-events__item-container {
    border-radius: 10px;
  }
}

@media screen and (min-width: 1200px) {
  .main-events__container .main-events__item:nth-child(n + 5) {
    display: unset;
  }

  .main-events__tags-container,
  .news__tags-container {
    overflow: unset;
  }
}

/* FACULTY */

.faculties {
  box-sizing: border-box;
}

.faculties__controls {
  display: none;
}

.swiper.faculties__swiper {
  display: none;
}

.faculties__container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faculties__item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--primary);
}

.swiper-slide.faculties__item {
  transition: transform, background-color 300ms ease-out;
}

.faculties__item:hover {
  text-decoration: none;
  color: white;
  background-color: var(--primary);
}

.faculties__item-container {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 32px;
}
@media ( max-width: 767px ) {
  .faculties__item-container {
    padding: 24px;
  }
}

.faculties__item-picture {
  text-align: center;
  height: 256px;
  margin: 44px 0 32px;
}
@media ( max-width: 767px ) {
  .faculties__item-picture {
    margin: 0;
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    right: -20px;
    height: 102px;
  }
}

.faculties__main-image {
  height: 100%;
}

.faculties__title {
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
  margin-top: 12px;
}
@media ( max-width: 767px ) {
  .faculties__title {
    font-size: 16px;
    line-height: 19px;
    width: calc( 100% - 80px );
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags._between {
    justify-content: space-between;
}

.section._page .tags {
  margin-top: 42px;
}
@media ( max-width: 767px ) {
  .section._page .tags {
    margin-top: 32px;
  }
}

.tag {
  background-color: var( --app );
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 15px;
}
@media ( max-width: 767px ) {
  .tag {
    font-size: 12px;
    line-height: 15px;
    padding: 4px 12px;
    border-radius: 12px;
  }
}

.tag._accent {
  background-color: var( --accent );
  color: #FFFFFF;
}

div.tag._primary {
    color: var( --primary );
}

.section._page .tag {
  background-color: rgba( 255, 255, 255, .15 );
}

.faculties__item:hover .tag {
  background-color: rgba( 255, 255, 255, .15 );
}

.head-links {
  display: flex;
  gap: 16px;
}

.points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media ( max-width: 767px ) {
  .points {
    flex-direction: column;
    gap: 8px;
  }
}

.point {
  display: flex;
  align-items: center;
  gap: 8px;
}

.point:before {
  content: '';
  display: flex;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var( --gray );
}
@media ( max-width: 767px ) {
  .point:before {
    width: 8px;
    height: 8px;
  }
}

.point._accent:before {
  background-color: var( --accent );
}

@media screen and (min-width: 768px) {
  .swiper.faculties__swiper {
    display: block;
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
  }

  .faculties__container {
    display: none;
  }
  .faculties__controls {
    display: flex;
    gap: 8px;
  }
  .faculties__wrapper {
    padding-top: 30px;
    box-sizing: border-box;
  }
  .faculties__item:nth-child(2n) {
    margin-top: -40px;
  }
  .faculties__main-image {
    height: 250px;
    position: unset;
    object-fit: contain;
    right: unset;
    top: unset;
    width: 100%;
    max-width: 230px;
    object-position: center;
    background-color: transparent;
  }
  .faculties__main-image_inverted {
    transform: scale(-1, 1);
  }
  .faculties__icon {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    background-size: contain;
    background-position: center;
    width: 45px;
    height: 66px;
  }
  .faculties__item {
    min-height: 441px;
  }
  .faculties__item:hover .faculties__icon {
    -webkit-filter: grayscale(1) brightness(1000%);
    filter: grayscale(1) brightness(1000%);
  }
}

@media screen and (min-width: 1200px) {
  .faculties {
    overflow: hidden;
  }
  .swiper.faculties__swiper {
    margin-left: calc(-50vw + 1200px / 2);
    margin-right: calc(-50vw + 1200px / 2);
    padding-left: calc(50vw - 1200px / 2);
    padding-right: calc(50vw - 1200px / 2);
  }

}

/* CENTERS */

.centers__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.centers__link {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  min-height: 160px;
  background-color: var(--main-gray);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 32px 64px 32px 32px;
  color: white;
  transition: all 600ms ease;
}
@media ( max-width: 767px ) {
  .centers__link {
    padding: 24px;
  }
}

.centers__container_show-all .centers__link:nth-child(n + 5) {
  display: flex;
}

.centers__link::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  transition: all 300ms ease;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 65.71%, rgba(0, 0, 0, 0.3) 100%);
}
.centers__link::before {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  background: url( /assets/img/pattern.png ) bottom left no-repeat var( --primary );
  background-size: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 200ms ease-in-out;
  z-index: 2;
}

@media ( hover: hover ) {
  .centers__link:hover::before {
    opacity: 1;
    visibility: visible;
  }
}

.centers__button {
  width: 40px;
  height: 40px;
  background-color: white;
  background-image: url(/assets/img/arrows/arrow_right_black.svg);
  background-position: center right 13px;
  background-repeat: no-repeat;
  border-radius: 50%;
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
@media ( max-width: 767px ) {
  .centers__button {
    width: 32px;
    height: 32px;
    left: 24px;
    bottom: 24px;
    opacity: 1;
    visibility: visible;
    background-position: center right 8px;
  }
}

.centers__link:hover .centers__button {
  opacity: 1;
  visibility: visible;
}

.centers__title {
  position: relative;
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
  z-index: 3;
  max-width: 245px;
  transition:
    top .3s ease .15s,
    translate .3s ease .15s;
  top: 100%;
  translate: 0 -100%;
}
@media ( max-width: 767px ) {
  .centers__title {
    font-size: 16px;
    line-height: 19px;
    max-width: 260px;
    translate: unset;
  }
}
.centers__link:hover .centers__title {
  top: 0;
  translate: 0 0;
  transition:
    top .3s ease,
    translate .3s ease;
}

.centers__desc {
  display: none;
}

.centers__show-more {
  margin-top: 24px;
  margin-left: 50%;
  translate: -50% 0;
}

@media screen and (min-width: 768px) {
  .centers__container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: unset;
  }
  .centers__desc {
    display: block;
    position: relative;
    z-index: 3;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    margin-top: 12px;
    translate: 0 50px;
    opacity: 0;
    visibility: hidden;
    transition:
      translate .3s ease,
      opacity .3s ease,
      visibility .3s ease;
  }
  .centers__desc span {
    margin-top: 10px;
    display: block;
  }
  .centers__link:hover .centers__desc {
    display: -webkit-box;
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition:
      translate .3s ease .2s,
      opacity .3s ease .2s,
      visibility .3s ease .2s;
  }
}

@media screen and (min-width: 1200px) {
  .centers__container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(8, 1fr);
    height: 779px;
    flex-direction: unset;
  }
  .centers__container._six {
    grid-template-rows: repeat(6, 1fr);
    height: 579px;
  }
  .centers__link:nth-child(1) {
    grid-row: 1/4;
  }
  .centers__link:nth-child(2) {
    grid-row: 1/5;
  }
  .centers__link:nth-child(3) {
    grid-row: 1/3;
  }
  .centers__link:nth-child(4) {
    grid-row: 4/7;
  }
  .centers__link:nth-child(5) {
    grid-row: 5/7;
  }
  .centers__link:nth-child(6) {
    grid-row: 3/7;
  }
  .centers__link:nth-child(7) {
    grid-row: 7/9;
    grid-column: 1/3;
  }
  .centers__link:nth-child(8) {
    grid-row: 7/9;
    grid-column: 3/4;
  }
  .centers__link:nth-child(n + 9) {
    display: none;
  }

  .centers__desc {
    font-size: 16px;
  }
}

/* USEFULL */

@media ( min-width: 768px ) {
  .userFullSwiper .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .userFullSwiper .swiper-wrapper .swiper-slide {
    flex: 0 0 calc( 50% - 20px / 2 );
  }

  .userFullSwiper .swiper-pagination {
    display: none !important;
  }
}

.userFullSwiper.swiper {
  padding-bottom: 30px;
}

.userFullSwiper .swiper-wrapper .swiper-slide {
  height: auto;
}

.usefull__item {
  flex: 0 0 calc( 50% - 20px / 2 );
  position: relative;
  border-radius: 16px;
  padding: 32px;
  background-color: #FFFFFF;
  min-height: 293px;
}
@media ( max-width: 767px ) {
  .usefull__item {
    height: 100%;
    padding: 24px 24px 316px;
  }
}

.usefull__item_world {
  order: 2;
}

.usefull__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 313px;
  width: 100%;
  max-width: 305px;
  right: 0;
  background-position: bottom right;
  background-size: contain;
  background-repeat: no-repeat;
}
@media ( max-width: 767px ) {
  .usefull__item::after {
    max-width: unset;
    height: 293px;
    background-position: bottom center;
  }
}

.usefull__item_enter::after {
  background-image: url(/assets/img/usefull_enter.png);
}

.usefull__item_student::after {
  background-image: url(/assets/img/usefull_students.png);
}

.usefull__item_world::after {
  background-image: url(/assets/img/usefull_world.png);
}

.usefull__item_edu::after {
  background-image: url(/assets/img/usefull_education.png);
}

.usefull__picture {
    content: "";
    position: absolute;
    bottom: 0;
    height: 313px;
    width: 100%;
    max-width: 305px;
    right: 0;
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat;
}
@media ( max-width: 767px ) {
    .usefull__picture {
        left: 50%;
        translate: -50% 0;
    }
}

.usefull__title {
  font-size: 26px;
  line-height: 30px;
  font-weight: 600;
}
@media ( max-width: 767px ) {
  .usefull__title {
    font-size: 18px;
    line-height: 22px;
  }
}

.usefull__menu-list {
  color: var(--primary);
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
  margin: 24px 0 0;
  padding: 0 0 0 13px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media ( max-width: 767px ) {
  .usefull__menu-list {
    font-size: 14px;
    line-height: 17px;
    margin-top: 16px;
  }
}

.usefull__menu-link {
  color: var(--text);
  text-decoration: none;
  margin-bottom: 5px;
  transition: all 200ms ease-in-out;
}

@media ( hover: hover ) {
  .usefull__menu-link:hover {
    color: var(--primary);
  }
}

.usefull__menu-link:last-of-type {
  margin: 0;
}

.usefull__bottom {
  margin-top: 56px;
}

.usefull__bottom .usefull__menu-list {
  list-style-type: none;
  padding: 0;
  margin: 24px 0 0;
  gap: 20px;

  display: block;
  -moz-columns: 3;
  column-count: 3;
}
@media ( max-width: 767px ) {
  .usefull__bottom .usefull__menu-list {
    column-count: unset;
  }
}

.usefull__bottom .usefull__menu-list > li {
  margin-bottom: 12px;
}

@media screen and (min-width: 768px) {
  .usefull__item_world {
    order: unset;
  }
  .usefull__bottom .usefull__menu-link {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
}

/* RECTOR */

.rector__container {
  display: flex;
  flex-direction: column;
}

.rector__text-block {
  background: url( /assets/img/pattern-2.png ) right center no-repeat var( --primary );
  background-size: contain;
  padding: 40px;
  border-radius: 16px;
}
@media ( max-width: 767px ) {
  .rector__text-block {
    padding: 24px;
    background: url( /assets/img/pattern-2-mob.png ) right bottom no-repeat var( --primary );
    background-size: auto;
  }
}

.rector__container {
  color: white;
}

.rector__text {
  margin-top: 32px;
  font-size: 16px;
  line-height: 19px;
}
@media ( max-width: 767px ) {
  .rector__text {
    margin-top: 24px;
    font-size: 14px;
    line-height: 17px;
  }
}

.rector__text p:nth-child(n + 2) {
  margin-top: 20px;
}
@media ( max-width: 767px ) {
  .rector__text p:nth-child(n + 2) {
    margin-top: 16px;
  }
}

.rector__name {
  display: flex;
  align-items: center;
  gap: 32px;
}

.rector__name p {
  font-weight: 700;
}

.rector__sign-container {
  margin-top: 12px;
}

.rector__sign {
  display: inline-block;
  width: 82px;
  height: 59px;
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  padding-left: 10px;
  box-sizing: border-box;
}

.rector__image {
  width: 100%;
  height: 89.6vw;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.rector__link {
  margin-top: 32px;
}
@media ( max-width: 767px ) {
  .rector__link {
    margin-top: 24px;
  }
}

.rector__link .section__all-link-arrow {
  background-color: #FFFFFF;
}

.rector__link:hover .section__all-link-arrow {
  background-color: var(--primary);
}

.rector__link .section__all-link-arrow::before {
  background-image: url(/assets/img/arrows/arrow_right.svg);
  filter: none;
}

.rector__link:hover .section__all-link-arrow::before {
  filter: grayscale(1) brightness(1000);
}

.rector__link .section__all-link-arrow::after {
  background-color: white !important;
}

.rector__link.section__all-link::after {
  width: 100%;
  background-color: white;
}

.rector__page {
  background-color: white;
  border-radius: 10px;
  padding: 30px 20px;
  box-sizing: border-box;
}

.rector__page .rector__text {
  margin: 0;
}

.rector__sign-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.rector__sign-block .rector__sign {
  filter: brightness(0);
  margin: 0;
  padding: 0;
}

.rector__page .rector__image {
  margin-top: 30px;
  height: 59.375vw;
  max-height: 500px;
}

.rector__text h2 {
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .rector__container {
    display: grid;
    grid-template-columns: 1fr 38.28125vw;
  }
  .rector__image {
    height: 100%;
    border-radius: 16px;
  }
  .rector__page {
    border-radius: 12px;
  }
}

@media screen and (min-width: 1200px) {
  .rector__container {
    display: grid;
    grid-template-columns: 1fr 468px;
  }
  .rector__sign {
    width: 91px;
    height: 65px;
  }
  .rector__page {
    padding: 60px;
  }
  .rector__page:has(aside) {
    display: grid;
    grid-template-columns: auto 360px;
    gap: 80px;
    align-items: flex-start;
  }
  .rector__page .rector__image {
    margin-top: 0;
    height: 450px;
  }
  .rector__side-block {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .rector__sign-block {
    margin: 0;
    justify-content: space-between;
  }
  .rector__page .rector__text,
  .rector__page .rector__text p {
    font-size: 18px;
  }
}

/* PREFERENCES */

.preferences__container {
  display: flex;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .preferences__container {
    flex-direction: column;
    gap: 32px;
  }
}

.preferences__container > * {
  flex: 0 0 calc( 50% - 20px / 2 );
}

.preferences__text * {
  margin-bottom: 24px;
}

.preferences__text *:last-of-type {
  margin: 0;
}

@media ( max-width: 767px ) {
  .preferences__text *:nth-child(n + 3) {
    display: none;
  }
}

.preferences__text_show-all p:nth-child(n + 3) {
  display: block;
}

.preferences__show-more {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: var(--primary);
  text-decoration: underline;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 14px 0 0;
}

.preferences__show-more:hover {
  color: var(--link-yellow-hover);
}

.preferences__show-more_hidden {
  display: none;
}

.preferences__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: left center;
  border-radius: 10px;
}

.preferences__list {
  list-style-type: none;
  padding: 0;
  margin: 56px 0 0;
  display: flex;
  flex-wrap: wrap;
}
@media ( max-width: 1023px ) {
  .preferences__list {
    gap: 24px 16px;
  }
}
@media ( max-width: 767px ) {
  .preferences__list {
    margin: 32px 0 0;
  }
}

.preferences__list > li {
  flex: 0 0 20%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media ( max-width: 1023px ) {
  .preferences__list > li {
    flex: 0 0 calc( 33.333333% - 16px / 3 * 2 );
  }
}
@media ( max-width: 767px ) {
  .preferences__list > li {
    flex: 0 0 calc( 50% - 16px / 2 );
    gap: 8px;
  }
}

.preferences__list-item {
  width: min-content;
}

.preferences__number {
  font-size: 56px;
  line-height: 0.95;
  font-weight: 800;
  color: var(--primary);
}
@media ( max-width: 767px ) {
  .preferences__number {
    font-size: 32px;
    line-height: 39px;
  }
}

.preferences__desc {
  max-width: 150px;
  color: var( --text-2 );
}

@media screen and (min-width: 768px) {
  .preferences__show-more {
    display: none;
  }
  .preferences__image {
    width: 100%;
    height: 430px;
    border-radius: 16px;
  }
}

@media screen and (min-width: 1200px) {
  .preferences__image {
    height: 100%;
    object-position: left center;
  }
  .preferences__number {
    font-size: 58px;
    line-height: 1.1;
  }
}

/* STORIES */

.stories__container {
  position: relative;
}

.stories__text-block {
  background-color: var(--main-gray);
  border-radius: 16px;
  padding: 24px 24px 426px;
  box-sizing: border-box;
}

.stories__img-block {
  background-color: var(--main-gray);
  overflow: hidden;
  font-size: 0;
  position: absolute;
  bottom: 121px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0 25px;
  box-sizing: border-box;
}

.stories__preview-container {
  display: flex;
  gap: 32px;
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
@media screen {
  .stories__preview-container {
    gap: 24px;
  }
}

.stories__preview-block {
  display: flex;
  align-items: center;
}

.stories__preview-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.stories__preview-item {
  min-width: 64px;
  width: 64px;
  min-height: 64px;
  height: 64px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: all 300ms ease;
}

.stories__preview-item:nth-child(n + 2) {
  margin-left: -24px;
}

.stories__preview-item::after {
  content: "";
  background-color: #B74D3F80;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 300ms ease;
}

.stories__preview-item:hover {
  transform: translateY(-10px);
}

.stories__preview-item:hover::after {
  opacity: 0;
  visibility: hidden;
}

.stories__preview-item_active::after {
  opacity: 0;
  visibility: hidden;
}

.stories__all-link {
  position: relative;
  color: white;
  background-color: var(--accent);
  min-width: 64px;
  width: 64px;
  min-height: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: -15px;
  z-index: 3;
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: all 300ms ease;
}

.stories__image {
  width: 100%;
  height: 264px;
  object-fit: cover;
  border-radius: 10px;
}

.stories__preview-number {
  font-size: 42px;
  line-height: 44px;
  font-weight: 700;
}
@media ( max-width: 767px ) {
  .stories__preview-number {
    font-size: 24px;
    line-height: 29px;
  }
}

.stories__preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media ( max-width: 767px ) {
  .stories__preview {
    gap: 2px;
  }
}

.stories__preview-text {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  max-width: 180px;
}

.stories__title {
  font-size: 26px;
  line-height: 30px;
  font-weight: 600;
  margin-bottom: 16px;
}
@media ( max-width: 767px ) {
  .stories__title {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 12px;
  }
}

.stories__subtitle {
  color: var( --text-2 );
}

.stories__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
@media screen {
  .stories__tags {
    margin-bottom: 20px;
  }
}

.stories__tag {
  background-color: #FFFFFF;
  display: inline-block;
  border-radius: 15px;
  padding: 6px 16px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
  color: var( --f-dark-cyan );
}

.stories__text {
  margin-top: 40px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
}
@media ( max-width: 767px ) {
  .stories__text {
    margin-top: 32px;
  }
}

.stories__link {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 16px;
  transition: all 300ms ease;
}

.stories__link:hover {
  color: var(--link-yellow-hover);
}

@media screen and (min-width: 450px) {
  .stories__preview-container {
    flex-direction: row;
  }
  .stories__text-block {
    padding-bottom: 420px;
  }
}

@media screen and (min-width: 768px) {
  .stories__container {
    display: grid;
    grid-template-columns: 1fr 315px;
    padding: 30px 30px 40px;
    gap: 24px;
  }
  .stories__text-block,
  .stories__img-block {
    padding: 0;
    background-color: transparent;
  }
  .stories__img-block {
    position: unset;
    margin: 0 0 0 auto;
  }
  .stories__preview-container {
    position: unset;
    padding: 0;
    margin-top: 12px;
    margin-left: 0;
    grid-column-start: 1;
    grid-column-end: 3;
  }
  .stories__preview-item {
    width: 100px;
    height: 100px;
  }
  .stories__preview-image {
    width: 100px;
    height: 100px;
  }
  .stories__all-link {
    width: 100px;
    height: 100px;
    margin-left: -30px;
  }
  .stories__preview-item:nth-child(n + 2) {
    margin-left: -30px;
  }
  .stories__image {
    width: 315px;
    height: 310px;
  }
  .stories__preview-text {
    font-size: 16px;
    line-height: 1.2;
  }
}

@media screen and (min-width: 1200px) {
  .stories__image {
    width: 500px;
    height: 100%;
    border-radius: 16px;
  }
  .stories__container {
    grid-template-columns: 1fr 500px;
    gap: 0;
    padding: 0;
  }
  .stories__text-block {
    padding: 40px;
    border-radius: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background-color: var( --app );
  }
  .stories__img-block {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column: 2/3;
  }
  .stories__preview-container {
    grid-column: unset;
    width: 100%;
    padding: 24px 40px 40px;
    background-color: var( --app );
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    margin: 0;
    align-items: flex-end;
  }
}

/* IMPORTANT */

.important {
  overflow: hidden;
}

.swiper.important__swiper {
  overflow: unset;
  padding-bottom: 23px;
}

.important__item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}

.important__item img {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 300ms ease;
}
@media ( hover: hover ) {
  .important__item:hover img {
    opacity: 1;
    -webkit-filter: unset;
    -moz-filter: unset;
    -ms-filter: unset;
    -o-filter: unset;
    filter: unset;
    filter: none; /* IE 6-9 */
  }

  .important__item-block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
  }
}

.important__logo {
  width: 100%;
}

.important__logo_desktop {
  display: none;
}

@media screen and (min-width: 768px) {
  .important__item-block {
    display: flex;
    gap: 18px;
  }
  .important__item-block:has(.important__image) {
    gap: 24px;
    justify-content: flex-end;
  }
  .important__item-block_reverse {
    flex-direction: row-reverse;
  }

  .important__logo_desktop {
    display: inline-block;
  }
  .important__logo_mobile {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  .important__item {
    /* height: 140px; */
  }
  .important__item-block:has(.important__image) {
    gap: 36px;
  }
  .important__item-block:has(.important__image) .important__logo {
    margin-left: 24px;
  }
  .important__item-block_reverse:has(.important__image) .important__logo {
    margin-right: 24px;
  }
}

/* FOOTER */

footer {
  background-color: #FFFFFF;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.footer-menu__container {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer {
  background-color: var( --text );
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.footer__head {
  padding: 40px 0;
  color: #FFFFFF;
  display: flex;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .footer__head {
    padding: 24px 0 32px;
    flex-direction: column;
    gap: 32px;
  }
}

.footer__column {
  flex: 0 0 calc( 33.333333% - 20px / 3 * 2);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__column:first-child {
  gap: 40px;
}
@media ( max-width: 767px ) {
  .footer__column:first-child {
    gap: 24px;
  }
}

.footer-menu__container {
  display: block;
  flex-direction: unset;
  column-count: 3;
  column-gap: 16px;
  margin: 0;
}
@media ( max-width: 767px ) {
  .footer-menu__container {
    column-count: 2;
  }
}
@media ( max-width: 575px ) {
  .footer-menu__container {
    column-count: 1;
  }
}

.footer-menu__item {
  page-break-inside: avoid;
  margin-bottom: 32px;
}
@media ( max-width: 767px ) {
  .footer-menu__item {
    page-break-inside: avoid;
    margin-bottom: 24px;
  }
}

.footer-menu__dropdown .footer-menu__item {
  margin: 0;
}

.footer-menu__link {
  font-size: 16px;
  line-height: 19px;
  text-decoration: none;
  transition: color .3s ease;
}
@media ( max-width: 767px ) {
  .footer-menu__link {
    font-size: 14px;
    line-height: 17px;
  }
}

.footer-menu__link:hover {
  color: #cfcfcf;
}

.footer-menu__link_dropdown,
.footer-menu__link_single {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
  color: var( --primary );
}
@media ( max-width: 767px ) {
  .footer-menu__link_dropdown,
  .footer-menu__link_single {
    font-size: 16px;
    line-height: 19px;
  }
}

.footer-menu__dropdown {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  page-break-inside: avoid;
}
@media ( max-width: 767px ) {
  .footer-menu__dropdown {
    gap: 10px;
    margin-top: 12px;
  }
}

.footer-links__container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
    margin: 0;
  border-top: 1px solid var( --divider-contrast );
  padding: 40px 0;
}
@media ( max-width: 767px ) {
  .footer-links__container {
    gap: 12px;
    padding: 32px 0;
  }
}

.footer-links__container a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color .3s ease;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
}
@media ( max-width: 767px ) {
  .footer-links__container a {
    font-size: 12px;
    line-height: 15px;
    flex: 0 0 100%;
  }
}
@media ( hover: hover ) {
  .footer-links__container a:hover {
    color: var( --primary );
  }
}

.footer__min-logo {
  display: none;
  padding-bottom: 32px;
}
@media ( max-width: 767px ) {
  .footer__min-logo {
    display: block;
  }
}

/* WIDGET */
.widget-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .widget-about {
    gap: 16px;
  }
}

.widget-about__block {
  background-color: #FFFFFF;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
  border-radius: 15px;
  color: var(--text);
}
@media ( max-width: 767px ) {
  .widget-about__block {
    gap: 24px;
    padding: 24px;
  }
}

footer .widget-about__block {
  background-color: var( --app );
}

.popup-menu .widget-about__block,
.modal-menu .widget-about__block {
  background-color: var( --app );
}

.widget-about__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media ( max-width: 767px ) {
  .widget-about__item {
    gap: 12px;
  }
}

.footer__head .widget-about__item {
  gap: 20px;
}

.widget-about__item a {
  text-decoration: none;
  transition: color .3s ease;
}
@media ( hover: hover ) {
  .widget-about__item a:hover {
    color: var( --primary );
  }
}

.widget-about__title {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
}
@media ( max-width: 767px ) {
  .widget-about__title {
    font-size: 16px;
    line-height: 19px;
    font-weight: 600;
  }
}

.widget-about__text {
  font-size: 16px;
  line-height: 19px;
  font-weight: 500;
}
@media ( max-width: 767px ) {
  .widget-about__text {
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
  }
}

.widget-about__subtitle {
  font-size: 16px;
  line-height: 19px;
  margin-bottom: -4px;
  color: var( --text-2 );
}
@media ( max-width: 767px ) {
  .widget-about__subtitle {
    font-size: 14px;
    line-height: 17px;
  }
}

.footer__head .widget-about__subtitle {
  color: var( --divider-contrast-2 );
  margin-bottom: -8px;
}
@media ( max-width: 767px ) {
  .footer__head .widget-about__subtitle {
    color: var( --divider-contrast-2 );
    margin-bottom: -12px;
  }
}

a.widget-about__block {
  text-decoration: none;
  padding: 32px 118px 32px 32px;
}
@media ( max-width: 767px ) {
  a.widget-about__block {
    padding: 24px 106px 24px 24px;
  }
}

a.widget-about__block .svg-icon__cards {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 28px;
  transition: fill .3s ease;
}

@media ( hover: hover ) {
  a.widget-about__block:hover {
    background-color: var(--primary);
    color: white;
  }

  a.widget-about__block:hover svg.svg-icon__cards {
    fill: #FFFFFF;
  }
}

.widget-about__icons {
  display: flex;
  gap: 8px;
}

.footer__head .widget-about__icons {
  margin-top: auto;
}

.widget-about__icons > a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var( --primary );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .3s ease;
}
@media ( max-width: 767px ) {
  .widget-about__icons > a {
    width: 36px;
    height: 36px;
  }
}
@media ( hover: hover ) {
  .widget-about__icons > a:hover {
    background-color: var( --primary-dark );
  }
}

.footer__head .widget-about__icons > a {
  background-color: #FFFFFF;
}
@media ( hover: hover ) {
  .footer__head .widget-about__icons > a:hover {
    background-color: var( --divider-contrast-2 );
  }
}

.footer__head .widget-about__icons > a > .svg-icon__tg-2,
.footer__head .widget-about__icons > a > .svg-icon__vk-2 {
  fill: var( --text );
}

/* FACULTY */

.faculty__header {
  padding: 40px 0 375px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.faculty__content {
  position: relative;
  z-index: 2;
}

.faculty__bg-corner svg,
.faculty__bg-cut svg {
  fill: currentColor;
}

.faculty__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  line-height: 0;
}

.faculty__bg-corner {
  display: none;
}

.faculty__bg-cut {
  position: absolute;
  right: -260px;
  bottom: 0;
  width: 953px;
  height: 350px;
}

.faculty__title {
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  text-align: left;
  margin: 0;
}

.faculty__picture {
  position: absolute;
  margin: 0 auto;
  bottom: 70px;
  left: 0;
  right: 0;
  width: 230px;
  height: 250px;
  object-fit: contain;
  object-position: top center;
}

.faculty__buttons {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
}

.faculty__button {
  background-color: transparent;
  padding: 12px 24px;
  border: 2px solid white;
  display: flex;
  align-items: center;
}

.faculty__button:hover {
  background-color: white;
}

.faculty__button_file {
  display: inline-block;
  width: 20px;
  height: 20px;
  color: inherit;
  margin-left: 7px;
}

.faculty__button_file svg path {
  stroke: currentColor;
}

.faculty__info {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.faculty__contacts-block {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: white;
    border-radius: 16px;
    margin-top: 32px;
}
@media ( max-width: 767px ) {
    .faculty__contacts-block {
        padding: 24px;
        gap: 20px;
        margin-top: 24px;
    }
}

.faculty__contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media ( max-width: 767px ) {
    .faculty__contacts-list {
        gap: 8px;
    }
}

.faculty__contacts-element {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media ( max-width: 767px ) {
    .faculty__contacts-element {
        gap: 8px;
    }
}

.faculty__contacts-element._small-gap {
    gap: 3px;
}

.faculty__contacts-title {
  color: var( --text-2 );
}

.faculty__contacts-text,
.faculty__contacts-text a {
    text-decoration: none;
    font-weight: 500;
}

.faculty__contacts-text._bold {
    font-weight: 700;
}
@media ( max-width: 767px ) {
    .faculty__contacts-text._bold {
        font-weight: 500;
    }
}

.faculty__contacts-link {
  transition: color .3s ease;
}

.faculty__contacts-link:hover {
  color: var(--primary);
}

@media screen and (max-width: 374px) {
  .faculty__button {
    font-size: 14px;
    padding: 12px 15px;
  }
}

@media screen and (min-width: 768px) {
  .faculty__header {
    padding: 80px 0 136px;
  }
  .faculty__title {
    font-size: 42px;
    line-height: 0.95;
    max-width: 410px;
  }
  .faculty__buttons {
    margin-top: 40px;
  }
  .faculty__picture {
    left: unset;
    right: 6.5104vw;
    top: 62px;
    bottom: unset;
    margin: 0;
  }
  .faculty__bg-cut {
    width: 1223px;
    height: 494px;
    right: -350px;
    bottom: -50px;
  }
}

@media screen and (min-width: 1024px) {
  .faculty__picture {
    right: 13.0208vw;
  }
}

@media screen and (min-width: 1200px) {
  .faculty__header {
    padding: 70px 0 100px;
  }
  .faculty__bg-cut {
    right: 0;
    bottom: 0;
  }
  .faculty__title {
    font-size: 67px;
    line-height: 63.65px;
    max-width: 417px;
  }
  .faculty__picture {
    top: 63px;
    right: 200px;
    width: 285px;
    height: 310px;
  }
  .faculty__buttons {
    margin-top: 45px;
  }

  .faculty__contacts-container {
    display: flex;
    flex-direction: column;
  }
  .faculty__info {
    display: grid;
    grid-template-columns: 793px auto;
    gap: 20px;
  }
  .faculty__contacts-element_phone {
    grid-column: 1/3;
  }
}

@media screen and (min-width: 1440px) {
  .faculty__bg-corner {
    position: absolute;
    display: block;
    width: 245px;
    height: 319px;
    top: 0;
    left: 0;
  }
  .faculty__title {
    max-width: 617px;
  }
  .faculty__picture {
    right: 23.45vw;
  }
}

/* HISTORY */

.history-popup {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: white;
  visibility: hidden;
  opacity: 0;
  transition: all 400ms linear;
  overflow-y: auto;
}

.history-popup_active {
  visibility: visible;
  opacity: 1;
  z-index: 1001;
}

.history__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  text-align: left;
  margin: 31px 0 0;
}

.history__subtitle {
  font-weight: 600;
  font-size: 14px;
  line-height: 16.8px;
  margin-top: 14px;
}

.history__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 24px;
}

.history__text p,
.history__text a,
.history__text li {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 19px;
}

.history__text a:not( .button ) {
  font-weight: 600;
  color: var(--primary);
}

.history__text ul,
.history__text ol {
  padding: 0 0 0 30px;
  margin: 0;
}

.history__slider-container {
  margin-top: 20px;
  position: relative;
}

.swiper.history__swiper {
  padding-bottom: 28px;
  line-height: 0;
}

.history__content {
  padding: 0 20px 70px;
  margin: 0 auto;
  max-width: 960px;
}

.history__slide {
  user-select: none;
}

.history__photo {
  width: 100%;
  height: 46.4vw;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.history__header {
  position: relative;
  padding: 22px 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #dbdfe5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-popup_active .history__header {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background-color: white;
}

.history__name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  max-width: 75%;
}

.history__close-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  display: block;
  width: 17px;
  height: 17px;
  background: url(/assets/img/arrows/arrow_left.svg) center/contain no-repeat;
}

.history__wrapper {
  line-height: 0;
}
.history__swiper.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0;
}

.history__swiper .swiper-pagination-bullet {
  background-color: #d7d7d7;
  opacity: 1;
  width: 8px;
  height: 8px;
}

.history__swiper .swiper-pagination-bullet-active {
  background-color: var(--primary);
}

.history__slider-container .round-button {
  display: none;
}
.history__sticky-btn {
  display: none;
}

.history__text blockquote {
  font-size: inherit;
  line-height: inherit;
  padding: 1.25em 0.9em;
  background-color: #f0f1f4;
  border-radius: 8px;
  margin-left: 0;
  margin-right: 0;
}

.history__text blockquote span {
  color: var(--primary);
  font-weight: 700;
}

.history__text h3 {
  margin-top: 1em;
}

@media screen and (min-width: 768px) {
  .history__title {
    font-size: 34px;
    margin-top: 50px;
  }
  .history__subtitle {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
  }
  .history__header {
    padding: 25px 20px;
  }
  .history__name {
    font-size: 18px;
  }
  .history__text {
    margin-top: 30px;
  }
  .swiper.history__swiper {
    padding-bottom: 30px;
  }
  .history__photo {
    max-height: 500px;
  }
  .history__swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}
@media screen and (min-width: 1200px) {
  .history__text {
    font-weight: 400;
    font-size: 18px;
    margin-top: 50px;
  }
  .history__text p,
  .history__text a,
  .history__text li {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    margin-top: 21px;
  }
  .history__text a {
    font-weight: 600;
  }
  .history__slider-container {
    margin-top: 40px;
  }
  .swiper.history__swiper {
    padding-bottom: 0;
  }
  .history__slider-container .round-button {
    display: block;
  }
  .history__slider-container .round-button.swiper-button-next {
    right: -64px;
  }
  .history__slider-container .round-button.swiper-button-prev {
    left: -64px;
  }
  .history__swiper.swiper-horizontal > .swiper-pagination-bullets {
    display: none;
  }
}

@media screen and (min-width: 1440px) {
  .history__sticky-btn {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    height: 90px;
    background-color: var(--primary);
    overflow: hidden;
    border-radius: 8px;
    padding: 12px 30px;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    transition: all 300ms ease-in;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
  }
  .history__sticky-btn_active {
    opacity: 1;
    visibility: visible;
  }
  .history__sticky-btn_hidden {
    transform: translateX(-280px);
  }
  .history__sticky-btn_hidden .history__sticky-close-btn {
    background-image: url(/assets/img/arrows/arrow_right.svg);
  }
  .history__sticky-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 43px;
    justify-content: flex-start;
    pointer-events: none;
  }
  .history__sticky-bg {
    position: absolute;
    right: -140px;
    top: -10px;
    width: 500px;
    height: 180px;
    pointer-events: none;
    transform: rotate(180deg);
  }
  .history__sticky-bg svg {
    fill: currentColor;
  }
  .history__sticky-close-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    background: url(/assets/img/icons/cross.svg) center no-repeat;
    background-size: 14px 14px;
    filter: invert(100%) grayscale(100%) brightness(1000);
    cursor: pointer;
  }
  .history__sticky-title {
    font-weight: 800;
    font-size: 17px;
    line-height: 1.1;
    text-align: left;
    color: white;
    width: 105px;
  }
  .history__sticky-logo-container {
    width: 62px;
    height: 62px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .history__sticky-logo {
    width: 28px;
    height: 42px;
    object-fit: contain;
    object-position: center;
  }
}
@media screen and (min-width: 1900px) {
}

/* DEPARTMENTS */

.department {
  padding: 40px 0 0;
}

.department__about {
  padding-top: 35px;
}

.department__about-text-block {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media ( max-width: 767px ) {
    .department__about-text-block {
        padding: 24px;
        gap: 24px;
    }
}

.department__about-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  text-align: left;
}

.department__buttons {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  margin-top: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}

.department__button {
  background-color: white;
  color: var(--primary);
  padding: 14px 26px;
  border: 1px solid var(--primary);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.department__button_file {
  background-color: var(--primary);
  color: white;
}

.department__button:hover {
  background-color: var(--primary);
  color: white;
}

.department__button_file:hover {
  background-color: white;
  color: var(--primary);
}

.dept__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
@media ( max-width: 767px ) {
    .dept__list {
        gap: 16px;
        margin-top: 24px;
    }
}

.dept__link {
    padding: 32px;
    background-color: #FFFFFF;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    transition: background-color .3s ease, color .3s ease;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}
@media ( max-width: 767px ) {
    .dept__link {
        padding: 24px;
        text-decoration: none;
        font-size: 16px;
        line-height: 19px;
        font-weight: 500;
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
}
@media ( hover: hover ) {
    .dept__link:hover {
        background-color: var( --primary );
        color: #FFFFFF;
    }
}

.dept__link-icon {
    background-color: #FFFFFF;
    border-radius: 16px;
    width: 32px;
    height: 32px;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
@media ( max-width: 767px ) {
    .dept__link-icon {
        opacity: 1;
        visibility: visible;
        background-color: var( --primary );
    }
}
@media ( hover: hover ) {
    .dept__link:hover .dept__link-icon {
        opacity: 1;
        visibility: visible;
    }
}

.dept__link-icon > svg {
    fill: var( --text );
}
@media ( max-width: 767px ) {
    .dept__link-icon > svg {
        fill: #FFFFFF;
    }
}

.department__about-blocks {
    display: flex;
    align-items: start;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .department__about-blocks {
        align-items: unset;
        flex-direction: column;
        gap: 24px;
    }
}

.faculty__contacts-block:has( > .faculty__contacts-block ) {
    border-radius: unset;
    background-color: transparent;
    padding: unset;
}

.faculty__contacts-block > .faculty__contacts-block {
    margin-top: unset;
}

.department__about-blocks > div {
    height: auto;
    min-height: 100%;
    margin-top: 0;
}

.department__about-blocks > div:first-child {
    flex: 0 0 calc( 66.666667% - 10px );
    max-width: calc( 66.666667% - 10px );
}
@media ( max-width: 767px ) {
    .department__about-blocks > div:first-child {
        flex: 0 0 100%;
        max-width: unset;
    }
}

.department__about-blocks > div:last-child {
    flex: 0 0 calc( 33.333333% - 10px );
}
@media ( max-width: 767px ) {
    .department__about-blocks > div:last-child {
        flex: 0 0 100%;
    }
}

.faculty__contacts-block._with-h4 h4 {
    padding-bottom: 32px;
    border-bottom: 1px solid var( --border );
    margin-bottom: 8px;
}
@media ( max-width: 767px ) {
    .faculty__contacts-block._with-h4 h4 {
        padding-bottom: 24px;
        margin-bottom: 4px;
    }
}

@media screen and (min-width: 768px) {
  .department__about-block {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .department__buttons {
    flex-direction: row;
      margin-top: auto;
  }
  .department__about .faculty__info {
    display: grid;
    grid-template-columns: minmax(424px, 710px) minmax(283px, 430px);
    gap: 20px;
  }
  .department__about .faculty__contacts-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    height: 100%;
      margin-top: 32px  ;
  }



  .department__about .dept,
  .department__about .faculty__contacts-container {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (min-width: 1200px) {
  .department__about .faculty__info {
    grid-template-columns: 710px auto;
    gap: 20px;
  }
  .department__about .faculty__contacts-block {
    padding: 40px 42px;
    margin-top: 40px;
  }
}

/* SOCAILS */

.social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social__link {
  display: block;
  width: 35px;
  height: 35px;
  background-color: var(--main-gray);
  border: 1px solid #00000005;
  border-radius: 50%;
  transition: all 300ms ease-in;
  position: relative;
}

.social__link::after {
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: 19px 19px;
  width: 100%;
  height: 100%;
  position: absolute;
}

.social__link:hover {
  background-color: var(--primary);
}

.social__link:hover::after {
  filter: grayscale(1) brightness(1000);
}

.social__link_vk::after {
  background-image: url(/assets/img/icons/vk.svg);
}

.social__link_tg::after {
  background-image: url(/assets/img/icons/tg.svg);
  background-position: center left 6px;
}

.social__link_ok::after {
  background-image: url(/assets/img/icons/ok.svg);
}

.social__tip {
  display: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  padding: 10px 20px;
  margin: 0;
  color: var(--text);
  border: 1px solid #f2f2f2;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}

.social__link:hover > .social__tip {
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  right: 50%;
  transform: translateX(50%);
  background-color: white;
  border-radius: 30px;
  padding: 3px 15px;
  box-sizing: border-box;
  transition: unset;
  z-index: 50;
}

.social__tip::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border: 5px solid transparent;
  border-bottom: 5px solid white;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) {
  .social__link {
    width: 40px;
    height: 40px;
    background-size: 21px 21px;
  }
  .social__link_tg {
    background-size: 25px 25px;
  }
}

/* TABLE */

.table {
  margin-top: 34px;
}

.table__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.table__container {
  overflow: auto;
  margin-top: 24px;
}

.table__content {
  width: 100%;
  user-select: none;
}

.table__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  text-align: left;
}

.table__content thead {
  background-color: var(--main-gray);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
}

.table__content td,
.table__content th {
  padding: 24px 20px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
}

.table__content th {
  font-weight: 600;
}

.table__content tr:nth-child(odd) td {
  border-bottom: 1px solid var(--main-gray);
}

.table__content tr:nth-child(even) {
  background-color: var(--main-gray);
}

.table__text {
  display: flex;
  flex-direction: column;
}

.table__info-icon {
  width: 24px;
  height: 20px;
  display: block;
  background: url(/assets/img/icons/scroll-icon.svg) center/contain no-repeat;
}

.table-directions {
  min-width: 730px;
}

.table-directions tr td {
  vertical-align: top;
}

.table-directions tr td:nth-child(1) {
  width: 7%;
}

.table-directions tr td:nth-child(2) {
  width: 30%;
}

.table-directions tr td:nth-child(3) {
  width: 30%;
}

.table-directions tr td:nth-child(4) {
  width: 20%;
}

.table-directions tr:has(td:nth-child(5)) td:nth-child(1) {
  width: 10%;
}

.table-directions tr:has(td:nth-child(5)) td:nth-child(2) {
  width: 20%;
}

.table-directions tr:has(td:nth-child(5)) td:nth-child(3) {
  width: 25%;
}
.table-directions tr:has(td:nth-child(5)) td:nth-child(4) {
  width: 25%;
}

@media screen and (min-width: 768px) {
  .table {
    margin-top: 40px;
  }
  .table__container {
    margin-top: 32px;
  }
  .table__content thead {
    font-size: 18px;
  }
  .table__title {
    font-weight: 700;
    font-size: 24px;
  }
  .table__content td,
  .table__content th {
    font-size: 18px;
  }
}

/* STAFF */

.staff__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  margin-top: 24px;
}

.staff__item {
  line-height: 0;
}

.staff__picture {
  width: 100%;
  height: 53.3333vw;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  max-height: 280px;
}

.staff__no-pic {
  background-image: url(/assets/img/no-image_woman.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.staff__no-pic_man {
  background-image: url(/assets/img/no-image_man.jpg);
}

.section:nth-child(even) .staff__no-pic {
  background-image: url(/assets/img/no-image_woman_white.jpg);
}

.section:nth-child(even) .staff__no-pic_man {
  background-image: url(/assets/img/no-image_man_white.jpg);
}

.staff__name {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
  color: var(--text);
  margin-top: 10px;
}

.staff__major {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
  color: var(--footer-black);
  margin-top: 5px;
}

.staff__popup-link {
  font-weight: 700;
  font-size: 14px;
  line-height: 18.2px;
  text-decoration: none;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  margin-top: 12px;
  display: inline-block;
}

.staff__popup-link:hover {
  color: var(--text);
  border-bottom: 1px solid var(--text);
}

.staff__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.staff__contact {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
}

@media screen and (min-width: 768px) {
  .staff__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }
  .staff__name {
    font-size: 18px;
  }
  .staff__major {
    font-size: 14px;
  }
  .staff__picture {
    height: 36.4583vw;
    max-height: 330px;
    border-radius: 12px;
  }

  .staff__name {
    margin-top: 15px;
  }
  .staff__major {
    margin-top: 10px;
  }
}

@media screen and (min-width: 1200px) {
  .staff__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  .staff__name {
    font-size: 20px;
    line-height: 1.1;
  }
  .staff__major {
    font-size: 16px;
  }
  .staff__contacts {
    gap: 15px;
  }
}

/* GALLERY */

.gallery__content {
  margin: 25px 0 0;
  padding: 0 19px;
}

.swiper.gallery__swiper {
  margin: 0 -19px;
  padding: 0 19px;
}

.gallery__preview {
  width: 100%;
  height: 46.67vw;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

@media screen and (min-width: 768px) {
  .gallery__preview {
    height: 28.6458vw;
    max-height: 330px;
    border-radius: 12px;
  }
}

@media screen and (min-width: 1200px) {
  .swiper-wrapper.gallery__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .swiper.gallery__swiper {
    margin: 0;
    padding: 0;
  }
  .gallery__content {
    margin: 46px auto 0;
    padding: 0 19px;
    max-width: 1830px;
  }
  .swiper-slide.gallery__slide {
    width: unset !important;
    margin: 0 !important;
  }
}

@media screen and (min-width: 1900px) {
  .faculty-gallery .swiper-wrapper.gallery__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  .faculty-gallery .gallery__preview {
    max-height: 288px;
  }
}

/* PRIVACY */

.privacy {
  background: white;
  position: fixed;
  bottom: 0;
  z-index: 8;
  -webkit-box-shadow: 1px 1px 1px rgba(134, 135, 141, 0.08);
  box-shadow: 1px 1px 1px rgba(134, 135, 141, 0.08);
  width: 100%;
}

.privacy__content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 24px;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 16px 0;
}

.privacy__content p,
.privacy__content a {
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
}

.privacy__content button {
  padding: 14px 24px;
  border: none;
}

@media screen and (min-width: 1200px) {
  .privacy__content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 16px 0;
  }
  .privacy__content p,
  .privacy__content a {
    font-size: 16px;
    line-height: 24px;
  }
}

/* DOCS */

.docs__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.docs__container {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
}

.docs__tab .docs__container,
.documents__search-list .docs__container {
  flex-direction: row;
  align-items: center;
}

.docs__icon {
  display: block;
  width: 42px;
  min-width: 47px;
  height: 55px;
  min-height: 55px;
  background-image: url(/assets/img/icons/doc_icon.svg);
  background-position: left 1px center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
}

.docs__type {
  position: absolute;
  left: 2px;
  bottom: 10px;
  background-color: var(--primary);
  border-radius: 3px;
  padding: 2px 6px;
  box-sizing: border-box;
  color: white;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.docs__title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  /* max-width: 220px; */
}

.docs__tab {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.docs__tab_active {
  display: flex;
}

.docs__link {
  background-color: white;
  border: 1px solid var(--primary);
  text-align: center;
  width: fit-content;
  min-width: unset;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  padding: 12px 25px;
}

.docs__link:hover {
  color: white;
}

.docs__tab .docs__title {
  max-width: unset;
}

.docs__tab-title {
  grid-column: 1/3;
}

.documents__search-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.documents__search-list:has(a) {
  margin-top: 24px;
}

.documents__not-found {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--primary);
  margin-top: 24px;
}

.documents .phones__search-form {
  margin-top: 40px;
}

.documents-tabs .tabs {
  padding-top: 0;
}

@media screen and (min-width: 768px) {
  .docs__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .docs__container {
    flex-direction: row;
    gap: 15px;
    align-items: center;
  }
  .docs__title {
    font-size: 16px;
  }
  .docs__icon {
    width: 47px;
    min-width: 47px;
    height: 61px;
    min-height: 61px;
  }
  .docs__type {
    left: 2px;
    bottom: 12px;
  }
  .docs__tab {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }
  .docs__tab_active:has(.docs__container) {
    display: grid;
  }
  .documents__search-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .documents__search-list:has(a) {
    margin-top: 40px;
  }
  .documents__not-found {
    margin-top: 40px;
  }
}

@media screen and (min-width: 1200px) {
  .docs__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 130px;
    margin-top: 40px;
    max-width: 1060px;
  }
  .docs__tab {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 130px;
  }
  .docs__tab_white {
    background-color: white;
    border-radius: 12px;
    padding: 60px;
    box-sizing: border-box;
  }
  .docs-gray {
    background-color: var(--app) !important;
  }
  .docs-gray {
    padding-top: 0 !important;
  }
  .documents__search-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 40px;
  }
}

/* FILTER */

.filter {
  padding: 40px 0;
}
.filter__options {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter__item {
  padding: 7px 20px;
  box-sizing: border-box;
  border-radius: 30px;
  background-color: var(--app);
  cursor: pointer;
  transition: all 200ms ease-out;
  order: 1;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: var(--sec-gray);
  text-decoration: none;
}
.section_gray .filter__item {
  background-color: white;
}
.filter__item:hover {
  background-color: var(--primary);
  color: white;
}
.section_gray .filter__item_active,
.filter__item_active {
  background-color: var(--primary);
  color: white;
  order: 1;
}

@media screen and (min-width: 1200px) {
  .filter__item_active {
    font-weight: 700;
  }
}

/* TABS */

@media screen and (max-width: 767px) {
  .tabs {
    padding: 20px 0;
  }

  .tabs__item {
    padding: 12px 20px;
    box-sizing: border-box;
    background-color: white;
    cursor: pointer;
    transition: all 200ms ease-out;
    order: 2;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    border-bottom: 1px solid var(--app);
    border-right: 1px solid var(--app);
    border-left: 1px solid var(--app);
  }

  .tabs__item:hover {
    color: var(--primary);
    font-weight: 600;
  }

  .tabs__item_active {
    font-weight: 600;
    padding: 15px 50px 15px 20px;
    background-color: var(--app);
    color: var(--primary);
    order: 1;
    position: relative;
  }

  .section_gray .tabs__item {
    background-color: var(--app);
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    border-left: 1px solid white;
  }

  .section_gray .tabs__item_active {
    background-color: white;
  }

  .tabs__item_active::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    width: 12px;
    height: 7px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.05412L6 5.94531L11 1.05412' stroke='%239C1B33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
  }

  .tabs__options {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
  }

  .tabs__options_active {
    border-radius: 8px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2);
  }

  .tabs__options .tabs__item {
    display: none;
  }

  .tabs__options_active .tabs__item {
    display: block;
  }

  .tabs__options .tabs__item_active {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .tabs {
    padding: 40px 0;
  }
  .tabs__options {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .tabs__item {
    padding: 7px 20px;
    box-sizing: border-box;
    border-radius: 30px;
    background-color: var(--app);
    cursor: pointer;
    transition: all 200ms ease-out;
    order: 1;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: var(--sec-gray);
  }
  .section_gray .tabs__item {
    background-color: white;
  }
  .tabs__item:hover {
    background-color: var(--primary);
    color: white;
  }
  .section_gray .tabs__item_active,
  .tabs__item_active {
    background-color: var(--primary);
    color: white;
    order: 1;
  }
}

@media screen and (min-width: 1200px) {
  .tabs__item_active {
    font-weight: 700;
  }
}

.section-inner,
.corrupt-page,
.vipusk-page {
  padding-top: 40px;
}

@media screen and (min-width: 768px) {
  .section-inner,
  .corrupt-page,
  .vipusk-page {
    padding-top: 40px;
  }
}

@media screen and (min-width: 1200px) {
  .section-inner,
  .corrupt-page,
  .vipusk-page {
    padding-top: 70px;
  }
}

/* NOT FOUND 404 */

.not-found {
  background-color: #711728 !important;
  background-image: url(/assets/img/404_bg.png);
  background-size: 988px 470px;
  background-position: left -18px bottom;
  background-repeat: no-repeat;
  padding: 73px 22px 344px;
  box-sizing: border-box;
}

.not-found__title {
  font-weight: 800;
  font-size: 120px;
  line-height: 108px;
  color: white;
}
.not-found__subtitle {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: white;
  margin-top: 25px;
}

.not-found__button {
  background-color: #d7a032;
  color: #711728;
  padding: 13.5px 26px;
  text-align: center;
  margin-top: 30px;
}

.not-found__button:hover {
  background-color: var(--link-yellow-hover);
  color: #711728;
}

@media screen and (min-width: 768px) {
  .not-found {
    background-size: 1219px 580px;
    background-position: left 20px bottom;
    padding: 86px 60px 429px;
  }
  .not-found__title {
    font-size: 200px;
    line-height: 180px;
  }
  .not-found__subtitle {
    font-size: 22px;
    margin-top: 42px;
  }
  .not-found__button {
    margin-top: 40px;
  }
}

@media screen and (min-width: 1180px) {
  .not-found {
    background-position: right -60px bottom;
  }
}

@media screen and (min-width: 1440px) {
  .not-found {
    padding-bottom: 266px;
  }
  .not-found__title {
    font-size: 301.57px;
    line-height: 271.41px;
  }
  .not-found__subtitle {
    font-size: 26px;
    margin-top: 36px;
  }
  .not-found__button {
    margin-top: 30px;
  }
}

.quality-page__second-title {
  margin-top: 70px;
}

.analiz-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 24px;
}

.analiz-links__item {
  background-color: white;
  padding: 40px 30px;
  box-sizing: border-box;
  border-radius: 12px;
  position: relative;
  background-image: url(/assets/img/analiz_link_bg_1.svg);
  background-position: right top;
  background-size: contain;
  background-repeat: no-repeat;
  height: 160px;
  text-decoration: none;
}

.analiz-links__item:hover {
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.1);
}

.analiz-links__item:nth-child(2n) {
  background-image: url(/assets/img/analiz_link_bg_2.svg);
}

.analiz-links__item:nth-child(3n) {
  background-image: url(/assets/img/analiz_link_bg_3.svg);
}

.analiz-links__item:nth-child(4n) {
  background-image: url(/assets/img/analiz_link_bg_4.svg);
}

.analiz-links__item img {
  position: absolute;
  object-fit: contain;
  height: 173px;
  right: 30px;
  bottom: 0;
}

.analiz-links__item p {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  text-align: left;
  max-width: 188px;
}

@media screen and (min-width: 768px) {
  .analiz-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin-top: 30px;
  }
  .analiz-links__item {
    height: 180px;
  }
  .analiz-links__item p {
    font-weight: 600;
    font-size: 18px;
  }
  .analiz-links__item img {
    height: 193px;
  }
}

@media screen and (min-width: 1200px) {
  .quality-page__second-title {
    margin-top: 120px;
  }
  .analiz-links {
    grid-template-columns: repeat(4, 1fr);
    gap: 43px;
    margin-top: 46px;
  }
  .analiz-links__item {
    padding: 24px;
    height: 141px;
  }
  .analiz-links__item img {
    height: 151px;
    right: 24px;
  }
}

.links-list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 33px 20px;
  margin-top: 26px;
}

.links-list__item p {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  color: var(--primary);
  margin: 0;
}

.links-list__item ul {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 14px 0 0;
}

.links-list__item ul > li > a {
  text-decoration: none;
}

.links-list__item ul > li > a:hover {
  color: var(--primary);
}

@media screen and (min-width: 768px) {
  .links-list {
    margin-top: 40px;
    gap: 43px 150px;
  }
  .links-list__item ul {
    font-size: 16px;
    gap: 8px;
  }
}

@media screen and (min-width: 1200px) {
  .links-list {
    grid-template-columns: repeat(4, auto);
    gap: 66px;
  }
}

/* VIDEO-LIST */

.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.video-list__item {
  display: block;
  line-height: 0;
  position: relative;
  text-decoration: none;
}

.video-list__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(156, 27, 51, 0.7);
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='17' viewBox='0 0 13 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.4219 8.68187L0.262701 0.608753L0.262701 16.755L12.4219 8.68187Z' fill='white'/%3E%3C/svg%3E%0A");
  background-position: center;
  background-size: 17px 13px;
  background-repeat: no-repeat;
  margin: auto;
  z-index: 2;
  pointer-events: none;
  transition: 200ms all ease-out;
}

.video-list__item img {
  width: 100%;
  height: 53.33vw;
  max-height: 300px;
  object-position: center;
  object-fit: cover;
  border-radius: 10px;
}

.video-list__item:hover::after {
  background-color: rgba(156, 27, 51, 1);
}

.video-list__title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 15px;
}

@media screen and (min-width: 768px) {
  .video-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .video-list__item img {
    height: 26.042vw;
  }
}

@media screen and (min-width: 1200px) {
  .video-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .video-list__item img {
    height: 200px;
    max-height: 200px;
  }
}

/* ACCORDION */

.accordeon {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .accordeon {
    gap: 14px;
  }
}

.accordeon._footer {
  margin-top: 0;
}

.accordeon__item {
  background-color: white;
  border-radius: 15px;
  box-sizing: border-box;
}

.accordeon__header {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  cursor: pointer;
  padding: 32px;
}
@media ( max-width: 767px ) {
  .accordeon__header {
    padding: 24px;
  }
}

.accordeon._footer .accordeon__header {
  padding: 32px 0;
}
@media ( max-width: 767px ) {
  .accordeon._footer .accordeon__header {
    padding: 20px 0;
  }
}

.accordeon__item._no-padding .accordeon__header {
  padding: 0;
}

.accordeon__title {
  font-size: 26px;
  line-height: 30px;
  font-weight: 600;
}
@media ( max-width: 767px ) {
  .accordeon__title {
    font-size: 18px;
    line-height: 22px;
  }
}

.accordeon._footer .accordeon__title {
  font-size: 20px;
  line-height: 1.1;
}
@media ( max-width: 767px ) {
  .accordeon._footer .accordeon__title {
    font-size: 16px;
    line-height: 10px;
  }
}

.accordeon__btn {
  border: 1px solid var( --primary );
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .3s ease;
}
@media ( hover: hover ) {
  .accordeon__header:hover .accordeon__btn {
    background-color: var( --primary-dark );
  }
}

.accordeon__btn > .svg-icon__arrow_down {
  fill: var( --primary );
  transition: fill .3s ease, rotate .3s ease;
}
@media ( hover: hover ) {
  .accordeon__header:hover .accordeon__btn > .svg-icon__arrow_down {
    fill: #FFFFFF;
  }
}

.accordeon__item._open .accordeon__btn > .svg-icon__arrow_down {
  rotate: 180deg;
}

.accordeon__subtitle {
  font-weight: 600;
  font-size: 16px;
  line-height: 19.2px;
  text-align: left;
  pointer-events: none;
  margin-top: 10px;
}

.accordeon__subtitle span {
  color: var(--primary);
  font-weight: 700;
}

.accordeon__text,
.accordeon__text p,
.accordeon__text li {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
  /* margin-top: 28px; */
}

.accordeon__text a {
  font-size: inherit;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
}

.accordeon__text a:hover {
  color: var(--sec-gray);
}

.accordeon__content {
  height: 0;
  transition: height .3s ease;
  overflow: hidden;
}

.accordeon__item._not-overflow .accordeon__content {
  overflow: unset;
}

.accordeon__inner {
  padding: 24px 32px 32px;
}
@media ( max-width: 767px ) {
  .accordeon__inner {
    padding: 8px 24px 24px;
  }
}

.accordeon._footer .accordeon__inner {
  padding: 0 0 32px;
}

.accordeon__item._no-padding .accordeon__inner {
  padding: 20px 0 0 0;
}

.accordeon__link {
  height: 30px;
  margin-top: 27px;
  position: relative;
  padding-right: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  width: fit-content;
}

.accordeon__link:hover {
  color: var(--sec-gray);
}

.accordeon__link-arrow {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 30px;
  transition: all 300ms ease-out;
}

.accordeon__link:hover .accordeon__link-arrow {
  background-color: var(--app);
  transform: translate(6px, -50%);
}

.accordeon__link-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  background: url(/assets/img/arrows/arrow_right.svg) center/contain no-repeat;
  height: 14px;
  width: 10px;
  filter: grayscale(1) brightness(1000);
}

.accordeon__link-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  height: 2px;
  width: 12px;
  border-radius: 1px;
  opacity: 0;
  visibility: hidden;
}

.accordeon__link:hover .accordeon__link-arrow::before {
  background-image: url(/assets/img/arrows/arrow_right.svg);
  transform: translate(3px, -50%);
  filter: none;
}

.accordeon__link:hover .accordeon__link-arrow::after {
  background-color: var(--primary);
  opacity: 1;
  visibility: visible;
  /* right: 14px; */
}

.accordeon__text p {
  margin-bottom: 1em;
}

.accordeon__text p:last-child {
  margin-bottom: 0;
}

.accordeon__text:nth-child(n + 2) {
  margin-bottom: 1em;
}
.accordeon__text:nth-last-child {
  margin-bottom: 0;
}

.accordeon__text ol,
.accordeon__text ul {
  margin: 1em 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.2;
  padding-left: 20px;
}

.accordeon__text p > span {
  color: #999;
}

.dormitory .accordeon__text p {
  margin-bottom: 6px;
}

@media screen and (min-width: 768px) {
  .accordeon__link {
    padding-right: 50px;
    height: 38px;
    font-size: 18px;
  }
  .accordeon__link-arrow {
    width: 40px;
    height: 40px;
  }
  .accordeon__link-arrow::before {
    height: 16px;
    right: 14px;
  }
  .accordeon__link-arrow::after {
    right: 14px;
  }
  .section__all-link:hover .accordeon__link-arrow::before {
    right: 14px;
  }
  .accordeon__text,
  .accordeon__text p,
  .accordeon__text li {
    font-size: 18px;
    line-height: 1.2;
  }
}

@media screen and (min-width: 1200px) {
  .accordeon {
    margin-top: 40px;
  }
  .accordeon__subtitle {
    font-size: 18px;
    line-height: 1.2;
  }
}

.additional-info {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  grid-column: 1/4;
}

.additional-info a {
  color: var(--primary);
  text-decoration: none;
}

@media screen and (min-width: 1200px) {
  .additional-info {
    font-size: 26px;
  }
}

.rabota-page {
  padding-top: 36px;
}

.rabota-page ol {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 26px 0 0;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 1.2;
}

@media screen and (min-width: 768px) {
  .rabota-page {
    padding-top: 40px;
  }
  .rabota-page ol {
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.2;
  }
}

@media screen and (min-width: 1200px) {
  .rabota-page {
    padding-top: 70px;
  }
}

.rabota-contacts__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.rabota-contacts__element:nth-child(1),
.rabota-contacts__element:nth-child(2) {
  order: 2;
  grid-column: 1/3;
}

.rabota-contacts__info {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 12px;
}

.rabota-contacts__caption {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
  color: #999;
}

.rabota-contacts__info a {
  text-decoration: none;
}

.rabota-contacts__info a:hover {
  color: var(--primary);
}

@media screen and (min-width: 768px) {
  .rabota-contacts__element:nth-child(1),
  .rabota-contacts__element:nth-child(2) {
    order: unset;
    grid-column: unset;
  }
  .rabota-contacts__list {
    gap: 50px 95px;
  }
  .rabota-contacts__info {
    font-size: 18px;
    line-height: 1.2;
  }
}

@media screen and (min-width: 1200px) {
  .rabota-contacts__list {
    display: flex;
    gap: 95px;
    align-items: flex-start;
    margin-top: 40px;
  }
  .rabota-contacts__info {
    max-width: 270px;
    margin-top: 14px;
  }
}

.vipusk-page {
  padding-bottom: 0;
}

@media screen and (min-width: 768px) {
  .vipusk-page {
    padding-bottom: 0;
  }
}
@media screen and (min-width: 1200px) {
  .vipusk-page {
    padding-bottom: 0;
  }
}

/* REKVISITI */

.rekvisiti {
  margin: 26px -20px 0 -20px;
  border-radius: 12px;
  overflow: hidden;
}

.rekvisiti__item {
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  box-sizing: border-box;
}

.rekvisiti__item:nth-child(even) {
  background-color: var(--app);
}

.rekvisiti__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 18.2px;
  color: var(--primary);
  text-transform: uppercase;
}

.rekvisiti__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}

.rekvisiti__text a {
  text-decoration: none;
}

.rekvisiti__text span {
  display: inline-block;
  margin-top: 0.62em;
}

.rekvisiti__text a:hover {
  color: var(--primary);
}

@media screen and (min-width: 768px) {
  .rekvisiti {
    margin: 40px 0 0;
    border-radius: 12px;
    overflow: hidden;
  }
  .rekvisiti__item {
    display: grid;
    grid-template-columns: 180px auto;
    gap: 24px;
    padding: 24px 56px 24px 30px;
  }
  .rekvisiti__title {
    font-weight: 600;
    font-size: 18px;
  }
  .rekvisiti__text {
    font-size: 18px;
  }
}

@media screen and (min-width: 1200px) {
  .rekvisiti__item {
    grid-template-columns: 260px auto;
    gap: 40px;
    padding: 26px 76px 26px 40px;
  }
  .rekvisiti__title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
  }
}

/* CONTACTS PHONES */

.contacts {
  padding-bottom: 0;
}

.contacts__subtitle {
  display: none;
}

.contacts__block {
  background-color: white;
  margin: 32px -20px 0 -20px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts__caption {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #999999;
}

.contacts__text {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}

.contacts__text a {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.contacts__text a:hover {
  color: var(--primary);
}

.section.phones {
  background-color: var(--app);
}

.phones__list {
  margin: 40px -20px 0 -20px;
}

.phones__item {
  background-color: white;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 110px;
  gap: 10px 45px;
}

.phones__item:nth-child(even) {
  background-color: var(--app);
}

.phones__item p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}

.phones__item p:nth-child(1) {
  grid-row: 1/3;
}

.phones__item .phones__number {
  font-weight: 600;
  color: var(--primary);
}

.phones__item .phones__name {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
}

.phones__search-form {
  margin-top: 24px;
}

.phones__search-wrapper {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
}

.phones__input {
  width: 100%;
  background-color: transparent;
  border-radius: 10px;
  border: 2px solid #999999;
  padding: 17px 17px;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  line-height: 18.9px;
  height: 50px;
}

.phones__btn {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: none;
  max-height: 50px;
  max-width: 55px;
  box-sizing: border-box;
  padding: 15px 18px;
}

.phones__btn-text {
  display: none;
}

.phones__btn-icon svg path {
  stroke: currentColor;
}

@media screen and (min-width: 768px) {
  .contacts {
    padding-bottom: 70px;
  }
  .contacts__subtitle {
    display: inline-block;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    margin-top: 40px;
  }
  .contacts__block {
    margin: 24px 0 0;
    border-radius: 12px;
    padding: 40px 30px;
  }
  .contacts__main {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 34px 60px;
  }
  .contacts__main .contacts__item:nth-child(1) {
    order: 3;
  }
  .contacts__main .contacts__item:nth-child(2) {
    order: 2;
  }
  .contacts__text {
    font-size: 18px;
  }
  .section.phones {
    background-color: white;
  }
  .phones__list {
    margin: 40px 0 0;
  }
  .phones__input {
    padding-left: 66px;
    font-size: 17px;
    line-height: 22.95px;
    height: 58px;
  }
  .phones__search-wrapper {
    position: relative;
  }
  .phones__search-wrapper::after {
    content: "";
    position: absolute;
    width: 21px;
    height: 22px;
    background: url(/assets/img/icons/search-gray.svg) center/contain no-repeat;
    top: 50%;
    transform: translateY(-50%);
    left: 28px;
    z-index: 2;
  }
  .phones__btn {
    height: 58px;
    max-height: 58px;
    max-width: 111px;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.1;
    text-align: center;
  }
  .phones__btn-icon {
    display: none;
  }
  .phones__btn-text {
    display: inline;
  }
  .phones__item {
    display: grid;
    grid-template-columns: auto 85px 220px;
    gap: 40px;
    padding: 24px 30px;
  }
  .phones__item:nth-child(odd) {
    background-color: var(--app);
  }
  .phones__item:nth-child(even) {
    background-color: white;
  }
  .phones__item p,
  .phones__item .phones__name {
    font-weight: 400;
    font-size: 18px;
  }
  .phones__item p:nth-child(1) {
    grid-row: auto;
  }
}

@media screen and (min-width: 1200px) {
  .contacts__block {
    margin-top: 30px;
    background-color: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
  }
  .contacts__main {
    grid-column: 1/3;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    flex-wrap: nowrap;
  }
  .contacts__main .contacts__item:nth-child(1),
  .contacts__main .contacts__item:nth-child(2) {
    order: initial;
  }
  .contacts__caption {
    white-space: nowrap;
  }
  .contacts__main,
  .contacts__additional {
    background-color: white;
    padding: 42px 58px;
    box-sizing: border-box;
    border-radius: 12px;
  }
  .phones__list {
    margin: 45px 0 0;
  }
  .phones__search-form {
    margin-top: 45px;
  }
  .phones__item {
    grid-template-columns: auto 85px 290px;
    gap: 120px;
  }
  .phones__input {
    padding-left: 81px;
  }
  .phones__search-wrapper::after {
    left: 39px;
  }
  .phones__btn {
    max-width: 175px;
  }
}

/* VIKON */

.vikon-wrapper {
  font-family: "TildaSans-VF", Arial, Helvetica, sans-serif !important;
  background-color: white;
  box-shadow: none;
}

.vikon-wrapper #vikon-content {
  box-shadow: none;
  background-color: white;
}

/* FORM */

.request-form {
}

.request-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 10px;
}
.form__container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.check__text {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  align-self: center;
}

.form__consent .option {
  min-height: 24px;
  display: flex;
  align-items: center;
}

.popup-mess {
  opacity: 0;
  visibility: hidden;
  z-index: -1000;
  background-color: rgba(17, 17, 17, 0.7);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-mess__body {
  padding: 40px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-mess__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  color: var(--primary);
}

.popup-mess__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  max-width: 360px;
}

.popup-mess__button {
  margin: 24px auto 0;
  border: none;
}

.request-form .check__box {
  top: 50%;
  transform: translateY(-50%);
  margin-left: -39px;
}

.request-form .check {
  padding-left: 39px;
}

.form__captcha-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__captcha-wrapper img {
  box-sizing: border-box;
  outline: 3px solid white;
  outline-offset: -2px;
  border-radius: 8px;
}

.request-form .form__button {
  max-width: 280px;
}

.main-user-consent-request-popup {
  overflow: auto;
}
.main-user-consent-request-popup-cont {
  max-height: 60vh;
}
.main-user-consent-request-popup-header {
  white-space: unset;
  overflow: auto;
  max-width: unset;
}

@media screen and (min-width: 768px) {
  .request-form form {
    gap: 16px;
    padding: 30px 20px;
    border-radius: 12px;
  }
  .form__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .form__container > div:nth-child(n + 4) {
    grid-column: 1/4;
  }
  .form__captcha-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .popup-mess__body {
    padding: 80px;
  }
  .popup-mess__title {
    font-size: 34px;
    line-height: 40.8px;
  }
}

@media screen and (min-width: 1200px) {
  .popup-mess__body {
    padding: 83px 70px;
  }
  .popup-mess__title {
    font-size: 42px;
    line-height: 44.1px;
  }
  .request-form form {
    padding: 60px;
  }
  .form__container {
    margin-top: 20px;
  }
}

/* LEADERS */

.leaders {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 27px;
}

.leaders__person {
  background-color: white;
  padding: 30px 20px;
  box-sizing: border-box;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.leaders__major {
  font-weight: 700;
  font-size: 14px;
  line-height: 18.2px;
  color: #999999;
  text-transform: uppercase;
}

.leaders__name {
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  color: var(--primary);
  margin-top: 5px;
}

.leaders__education {
  font-weight: 600;
  font-size: 14px;
  line-height: 16.8px;
  margin-top: 5px;
}

.leaders__main-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.leaders__text {
  font-weight: 600;
  font-size: 16px;
  line-height: 19.2px;
  text-align: left;
}

.leaders__text span {
  color: #999999;
}

.leaders__text a {
  text-decoration: none;
}

.leaders__text a:hover {
  color: var(--primary);
}

.leaders__main-info .accordeon__link {
  margin-top: 20px;
}

.leaders__person .staff__picture {
  height: 66.67vw;
  max-height: 390px;
}

.leaders__person .staff__no-pic {
  background-position: center top;
}

@media screen and (min-width: 768px) {
  .leaders {
    margin-top: 40px;
  }
  .leaders__person {
    padding: 0;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 34.63vw auto;
    gap: 40px;
  }
  .leaders__info {
    padding: 22px 29px 22px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .leaders__name {
    font-size: 26px;
    line-height: 1.2;
  }
  .leaders__main-info {
    margin-top: 26px;
  }
  .leaders__text {
    font-size: 18px;
    line-height: 1.2;
  }
  .leaders__main-info .accordeon__link {
    margin-top: 40px;
  }
  .leaders__person .staff__picture {
    height: 390px;
  }
  .leaders__person .staff__no-pic {
    background-image: url(/assets/img/no-image_woman_white.jpg);
    background-size: contain;
  }
  .leaders__person .staff__no-pic_man {
    background-image: url(/assets/img/no-image_man_white.jpg);
  }
}

@media screen and (min-width: 1200px) {
  .leaders {
    gap: 40px;
  }
  .leaders__person {
    grid-template-columns: 520px auto;
  }
  .leaders__info {
    padding: 24px 30px 24px 0;
  }
  .leaders__person .staff__picture {
    height: 350px;
  }
}

/* STORIES */

.stories-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.stories-list__item {
  background-color: white;
  line-height: 0;
  text-decoration: none;
  border-radius: 12px;
  transition: all 200ms ease-out;
  cursor: pointer;
}

.stories-list__item:hover {
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.1);
}

.stories-list__image {
  width: 100%;
  height: 56vw;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  pointer-events: none;
}

.stories-list__text-block {
  padding: 20px 25px 25px;
  box-sizing: border-box;
  pointer-events: none;
}

.stories-list__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
}

.stories-list__subtitle {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 10px;
}

.stories-list__link {
  margin-top: 20px;
}

.stories-popup .history__text {
  margin-top: 20px;
}

.stories-popup .history__title {
  margin-top: 20px;
}

@media screen and (min-width: 768px) {
  .stories-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 44px;
  }
  .stories-list__image {
    height: 27.34375vw;
    max-height: 300px;
  }
  .stories-list__text-block {
    padding: 20px 30px 30px;
  }
  .stories-popup .history__text {
    margin-top: 24px;
  }
  .stories-popup .history__title {
    margin-top: 40px;
  }
}

@media screen and (min-width: 1200px) {
  .stories-list {
    gap: 40px;
    margin-top: 40px;
  }
  .stories-list__image {
    height: 300px;
  }
  .stories-list__title {
    font-size: 20px;
    line-height: 1.1;
  }
  .stories-list__text-block {
    padding: 25px 30px 30px;
  }
}

/* SHOW MORE */

.show-more-container {
  margin-top: 32px;
}

.show-more-button {
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  width: 100%;
  color: var(--primary);
  text-decoration: none;
  display: block;
}

.show-more-button:hover {
  text-decoration: underline;
}

@media screen and (min-width: 1200px) {
  .show-more-container {
    margin-top: 40px;
  }
}

.corrupt-page__text {
  background: white;
  border-radius: 12px;
  padding: 50px 20px;
  box-sizing: border-box;
  margin-top: 0;
}

.corrupt-page__text-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.corrupt-page__mt-30 {
  margin-top: 30px !important;
}

.corrupt-page__block-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.corrupt-page__bottom {
  margin: 0;
}

.corrupt-page__bottom ul li {
  margin: 0;
}

@media screen and (min-width: 1200px) {
  .corrupt-page__text {
    padding: 50px;
  }
  .corrupt-page__mt-30 {
    margin-top: 40px !important;
  }
}

.vipusk-page__text {
  margin: 0;
}

.vipusk-page__text ol {
  margin-top: 0.8em;
}

.vipusk-page__text ol li {
  margin: 0;
}

/* PARTNERS */
.partners__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 26px;
  align-items: center;
}

.partners__item {
  text-decoration: none;
  line-height: 0;
  width: 332px;
}

.partners__img-container {
  height: 140px;
  width: 332px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: white;
}

.partners__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 15px;
}

.partners-special .partners__img-container {
  background-color: #f0f1f4;
}

.partners-special .partners__items {
  margin: 0;
}

@media screen and (min-width: 768px) {
  .partners__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: fit-content;
    gap: 30px 20px;
    margin-top: 40px;
  }
  .partners__item {
    width: 355px;
  }
  .partners__img-container {
    width: 355px;
  }
}

@media screen and (min-width: 1200px) {
  .partners__items {
    grid-template-columns: repeat(3, 1fr);
    width: fit-content;
    gap: 35px 40px;
  }
  .partners__item {
    width: 100%;
    max-width: 360px;
  }
  .partners__img-container {
    width: 100%;
    max-width: 360px;
  }
}

/* PROJECTS */

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.projects-list__item {
  background-color: white;
  line-height: 0;
  text-decoration: none;
  border-radius: 12px;
  transition: all 200ms ease-out;
  cursor: pointer;
}

.projects-list__item:hover {
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.1);
}

.projects-list__image {
  width: 100%;
  height: 56vw;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  pointer-events: none;
}

.projects-list__text-block {
  padding: 20px 25px 25px;
  box-sizing: border-box;
  pointer-events: none;
}

.projects-list__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
}

.projects-list__subtitle {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 10px;
}

.projects-list__link {
  margin-top: 20px;
}

.projects-popup .history__text {
  margin-top: 20px;
}

.projects-popup .history__title {
  margin-top: 20px;
}

.projects-list__image {
  height: 206px;
  object-fit: cover;
  object-position: center;
}

@media screen and (min-width: 768px) {
  .projects-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 1440px) {
  .projects-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 54px 40px;
  }
  .projects-list__image {
    height: 220px;
  }
}
@media screen and (min-width: 1900px) {
  .projects-list__image {
    height: 206px;
  }
}

.licei-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.licei-links .analiz-links__item {
  display: flex;
  align-items: center;
}

.licei .docs {
  margin-top: 70px;
}

.licei__staff-button {
  background-color: white;
  color: var(--primary);
  padding: 13px 24px;
  border: 2px solid var(--primary);
}

.licei__staff-button:not(.mobile) {
  display: none;
}

.licei__staff-button.mobile {
  margin-top: 24px;
}

.licei__staff-button:hover {
  color: white;
}

@media screen and (min-width: 768px) {
  .licei-links {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .licei__staff-button:not(.mobile) {
    display: block;
  }
}

@media screen and (min-width: 1200px) {
  .licei-links {
    gap: 40px;
  }
  .licei-links .analiz-links__item img {
    height: 175px;
    right: 71px;
  }
  .licei-links .analiz-links__item {
    padding-left: 60px;
  }
  .licei .docs {
    margin-top: 120px;
  }
}

/* COLOR THEME */

.color_red,
.color-hover_red:hover {
  color: var(--f-red);
}

.color-bg_red {
  color: white;
  background-color: var(--f-red);
}

.color-bg-curve_red {
  color: #dc4639;
}

.color-link_red {
  color: var(--f-red);
}

.color-link_red:hover {
  color: white;
  background-color: var(--f-red);
}

.color-border_red {
  border-color: rgba(220, 70, 57, 0.75);
}

.color_purple-blue,
.color-hover_purple-blue:hover {
  color: var(--f-purple-blue);
}

.color-bg_purple-blue {
  color: white;
  background-color: var(--f-purple-blue);
}

.color-bg-curve_purple-blue {
  color: #666cb5;
}

.color-link_purple-blue {
  color: var(--f-purple-blue);
}

.color-link_purple-blue:hover {
  color: white;
  background-color: var(--f-purple-blue);
}

.color-border_purple-blue {
  border-color: rgba(91, 97, 167, 0.75);
}

.color_purple-red,
.color-hover_purple-red:hover {
  color: var(--f-purple-red);
}

.color-bg_purple-red {
  color: white;
  background-color: var(--f-purple-red);
}

.color-bg-curve_purple-red {
  color: #b63b67;
}

.color-link_purple-red {
  color: var(--f-purple-red);
}

.color-link_purple-red:hover {
  color: white;
  background-color: var(--f-purple-red);
}

.color-border_purple-red {
  border-color: rgba(173, 44, 93, 0.75);
}

.color_green,
.color-hover_green:hover {
  color: var(--f-green);
}

.color-bg_green {
  color: white;
  background-color: var(--f-green);
}

.color-bg-curve_green {
  color: #11a874;
}

.color-link_green {
  color: var(--f-green);
}

.color-link_green:hover {
  color: white;
  background-color: var(--f-green);
}

.color-border_green {
  border-color: rgba(12, 155, 106, 0.75);
}

.color_orange-yellow,
.color-hover_orange-yellow:hover {
  color: var(--f-orange-yellow);
}

.color-bg_orange-yellow {
  color: white;
  background-color: var(--f-orange-yellow);
}

.color-bg-curve_orange-yellow {
  color: #ff9f49;
}

.color-link_orange-yellow {
  color: var(--f-orange-yellow);
}

.color-link_orange-yellow:hover {
  color: white;
  background-color: var(--f-orange-yellow);
}

.color-border_orange-yellow {
  border-color: rgba(234, 141, 59, 0.75);
}

.color_red-orange,
.color-hover_red-orange:hover {
  color: var(--f-red-orange);
}

.color-bg_red-orange {
  color: white;
  background-color: var(--f-red-orange);
}

.color-bg-curve_red-orange {
  color: #dc4639;
}

.color-link_red-orange {
  color: var(--f-red-orange);
}

.color-link_red-orange:hover {
  color: white;
  background-color: var(--f-red-orange);
}

.color-border_red-orange {
  border-color: rgba(202, 79, 61, 0.75);
}

.color_dark-cyan,
.color-hover_dark-cyan:hover {
  color: var(--f-orange);
}

.color-bg_dark-cyan {
  color: white;
  background-color: var(--f-orange);
}

.color-bg-curve_dark-cyan {
  color: #238faa;
}

.color-link_dark-cyan {
  color: var(--f-orange);
}

.color-link_dark-cyan:hover {
  color: white;
  background-color: var(--f-orange);
}

.color_yellow,
.color-hover_yellow:hover {
  color: var(--f-yellow);
}

.color-bg_yellow {
  color: white;
  background-color: var(--f-yellow);
}

.color-bg-curve_yellow {
  color: #f6a624;
}

.color-link_yellow {
  color: var(--f-yellow);
}

.color-link_yellow:hover {
  color: white;
  background-color: var(--f-yellow);
}

.color_rose,
.color-hover_rose:hover {
  color: var(--f-rose);
}

.color-bg_rose {
  color: white;
  background-color: var(--f-rose);
}

.color-bg-curve_rose {
  color: #ff98be;
}

.color-link_rose {
  color: var(--f-rose);
}

.color-link_rose:hover {
  color: white;
  background-color: var(--f-rose);
}

.color_light-blue,
.color-hover_light-blue:hover {
  color: var(--f-light-blue);
}

.color-bg_light-blue {
  color: white;
  background-color: var(--f-light-blue);
}

.color-bg-curve_light-blue {
  color: #4e98d1;
}

.color-link_light-blue {
  color: var(--f-light-blue);
}

.color-link_light-blue:hover {
  color: white;
  background-color: var(--f-light-blue);
}

.color_orange-dark,
.color-hover_orange-dark:hover {
  color: var(--f-orange-yellow);
}

.color-bg_orange-dark {
  color: white;
  background-color: var(--f-orange-yellow);
}

.color-bg-curve_orange-dark {
  color: #fa841b;
}

.color-link_orange-dark {
  color: var(--f-orange-yellow);
}

.color-link_orange-dark:hover {
  color: white;
  background-color: var(--f-orange-yellow);
}

.color_coral,
.color-hover_coral:hover {
  color: #e44e41;
}

.color-bg_coral {
  color: white;
  background-color: #e44e41;
}

.color-bg-curve_coral {
  color: #f25649;
}

.color-link_coral {
  color: #e44e41;
}

.color-link_coral:hover {
  color: white;
  background-color: #e44e41;
}

.color_sky,
.color-hover_sky:hover {
  color: #559fe3;
}

.color-bg_sky {
  color: white;
  background-color: #559fe3;
}

.color-bg-curve_sky {
  color: #5eacf4;
}

.color-link_sky {
  color: #559fe3;
}

.color-link_sky:hover {
  color: white;
  background-color: #559fe3;
}

.color_study,
.color-hover_study:hover {
  color: #ba2641;
}

.color-bg_study {
  color: white;
  background-color: #ba2641;
}

.color-bg-curve_study {
  color: #cb2c4a;
}

.color-link_study {
  color: #ba2641;
}

.color-link_study:hover {
  color: white;
  background-color: #ba2641;
}

.hidden {
  display: none;
}

/* Icons */

.svg-icon__about-program {
  width: 20px;
  height: 20px;
  fill: var( --text-2 );
}

.svg-icon__address {
    width: 16px;
    height: 18px;
    fill: var( --primary );
}

.svg-icon__arrow {
  width: 55px;
  height: 20px;
}

.svg-icon__arrow_down {
  width: 12px;
  height: 8px;
  fill: #FFFFFF;
}

.svg-icon__arrow_right-2 {
  width: 13px;
  height: 12px;
  fill: #FFFFFF;
}

.svg-icon__attention {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
}

.svg-icon__cards {
  width: 58px;
  height: 46px;
  fill: var( --primary );
}

.svg-icon__check-white {
  width: 14px;
  height: 10px;
  fill: #FFFFFF;
}

.svg-icon__close {
  width: 10px;
  height: 10px;
  fill: #FFFFFF;
}

.svg-icon__doc {
    width: 42px;
    height: 55px;
}

.svg-icon__document {
    flex: 0 0 45px;
    width: 45px;
    height: 54px;
    fill: var( --text );
}

.svg-icon__email {
  width: 16px;
  height: 12px;
  fill: var( --primary );
}

.svg-icon__eye_icon {
  width: 18px;
  height: 10px;
  fill: #FFFFFF;
}

.svg-icon__file-2 {
  width: 14px;
  height: 18px;
  fill: #FFFFFF;
}

.svg-icon__link {
  width: 17px;
  height: 17px;
  fill: #FFFFFF;
}

.svg-icon__logo-fixed {
  width: 130px;
  height: 34px;
}

.svg-icon__logo-fixed-white {
  width: 225px;
  height: 56px;
}

.svg-icon__menu-fixed {
  width: 12px;
  height: 12px;
}

.svg-icon__minus {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
}

.svg-icon__pattern-direction-detail-2 {
  width: 733px;
  height: 428px;
}
@media ( max-width: 767px ) {
  .svg-icon__pattern-direction-detail-2 {
    aspect-ratio: 733 / 428;
    width: 496px;
    height: 100%;
  }
}

.svg-icon__pattern-direction-detail-6 {
    width: 1472px;
    height: 499px;
}
@media ( max-width: 767px ) {
    .svg-icon__pattern-direction-detail-6 {
        width: 954px;
        aspect-ratio: 53 / 23;
    }
}

.svg-icon__pattern-direction-detail-7 {
    flex: 0 0 695px;
    width: 695px;
    height: 499px;
    fill: var( --accent );
}

.svg-icon__pattern {
  width: 71px;
  height: 71px;
  fill: var( --primary );
}

.svg-icon__pattern-2 {
  width: 75px;
  height: 71px;
  fill: var( --accent );
}

.svg-icon__pattern-3 {
  width: 80px;
  height: 79px;
  fill: var( --accent );
}

.svg-icon__pattern-4 {
  width: 64px;
  height: 64px;
  fill: var( --accent );
}

.svg-icon__pattern-5 {
    flex: 0 0 41px;
    width: 41px;
    height: 38px;
    fill: var( --accent );
}

.svg-icon__phone {
  width: 14px;
  height: 14px;
  fill: var( --primary );
}

.svg-icon__plus {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
}

.svg-icon__pattern-profile {
    width: 16px;
    height: 16px;
}

.svg-icon__program-features {
  width: 22px;
  height: 20px;
  fill: var( --text-2 );
}

.svg-icon__search_icon {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

.svg-icon__sc-arrow-left {
    width: 57px;
    height: 13px;
    stroke: #FFFFFF;
}

.svg-icon__sc-arrow-right {
    width: 57px;
    height: 13px;
    stroke: #FFFFFF;
}

.svg-icon__tg-2 {
  width: 15px;
  height: 12px;
  fill: #FFFFFF;
}

.svg-icon__vk-2 {
  width: 16px;
  height: 10px;
  fill: #FFFFFF;
}

/* Banner */

.banner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media ( max-width: 1023px ) {
  .banner {
    flex-direction: column;
    gap: 40px;
  }
}

.banner__left,
.banner__right {
  flex: 0 0 calc( 50% - 20px / 2 );
}

.banner__left:not( :has( + .banner__right ) ) {
    flex: 0 0 100%;
    max-width: 612px;
}
@media ( max-width: 767px ) {
    .banner__left:not( :has( + .banner__right ) ) {
        max-width: unset;
    }
}

.banner__left {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media ( max-width: 767px ) {
  .banner__left {
    gap: 20px;
  }
}

.banner__left .bx-breadcrumb {
  margin-bottom: 0;
}

.banner__text {
    font-size: 26px;
    line-height: 30px;
    font-weight: 600;
    color: var( --text-2 );
}
@media ( max-width: 767px ) {
    .banner__text {
        font-size: 18px;
        line-height: 22px;
        font-weight: 600;
    }
}

.section._contrast .banner__text {
    color: var( --text-contrast-2 );
}

.banner__slogan {
  font-family: Caveat, sans-serif;
  font-size: 32px;
  line-height: 36px;
  color: var( --accent );
  margin-top: auto;
  padding: 5px 0;
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.banner__slogan > svg {
    stroke: var( --accent );
}

.banner__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.banner__tag {
  padding: 11px 19px;
  font-weight: 700;
  border: 1px solid var( --primary );
  color: var( --primary );
  border-radius: 22px;
}
@media ( max-width: 767px ) {
  .banner__tag {
    padding: 7px 11px;
  }
}
.banner__tag._yellow {
  background-color: var( --accent );
  border-color: var( --accent );
  color: #FFFFFF;
}
.banner__tag._red {
  background-color: var( --primary );
  border-color: var( --primary );
  color: #FFFFFF;
}

.banner__right {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .banner__right {
    gap: 16px;
  }
}

.banner__right > * {
  flex: 0 0 calc( 50% - 20px / 2 );
  max-width: calc( 50% - 20px / 2 );
}
@media ( max-width: 767px ) {
  .banner__right > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.banner__item {
  background-color: #FFFFFF;
  border-radius: 16px;
  position: relative;
}
@media ( max-width: 767px ) {
  .banner__item:first-child {
    display: none;
  }
}

.banner__item-inner {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
@media ( max-width: 767px ) {
  .banner__item-inner {
    padding: 24px;
  }
}

.banner__picture {
  aspect-ratio: 95 / 102;
}
@media ( max-width: 767px ) {
  .banner__picture {
    aspect-ratio: 343 / 306;
  }
}

.banner__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.banner__item-description {
  color: var( --text-2 );
}

.banner__item-button {
  margin-top: auto;
}

.banner__item-button a {
  position: static;
}

.banner__item-button a:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Numbers */

.numbers .swiper {
  overflow: unset;
}

.numbers .swiper-slide {
  height: auto;
  min-height: 100%;
  transform: unset !important;
}
@media ( max-width: 1023px ) {
  .numbers .swiper-slide {
    width: 245px;
  }
}

.number-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  position: relative;
}
@media ( max-width: 767px ) {
  .number-card {
    padding: 24px;
  }
}

.number-card__icon {
  position: absolute;
  z-index: 1;
  top: 117px;
  right: -35px;
}
@media ( max-width: 767px ) {
  .number-card__icon {
    top: -12px;
    right: -23px;
  }

  .number-card__icon svg {
    width: 57px;
    height: 58px;
  }
}

.number-card__icon._second {
  top: -18px;
  right: 41px;
}

.number-card__number {
  font-size: 56px;
  line-height: .95;
  font-weight: 800;
}
@media ( max-width: 767px ) {
  .number-card__number {
    font-size: 32px;
    line-height: 39px;
  }
}

.number-card__title {
  color: var( --text-2 );
}

.number-card__title:has( + .number-card__text ) {
  margin-bottom: 56px;
}
@media ( max-width: 767px ) {
  .number-card__title:has( + .number-card__text ) {
    margin-bottom: 28px;
  }
}

.number-card__text {
  margin-top: auto;
}
@media ( max-width: 767px ) {
  .number-card__text {
    color: var( --text-2 );
  }
}

/* Формы */

.form {
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 32px;
}
@media ( max-width: 767px ) {
  .form {
    padding: 24px;
    margin-bottom: 24px;
  }
}

#directionForm {
    position: relative;
    z-index: 1;
}

.section__header .form {
    margin-bottom: 0;
}

.form._transparent {
    background-color: transparent;
    padding: unset;
    border-radius: unset;
}

.form._transparent input[type=radio].tab:not(:checked) + label {
    background-color: #FFFFFF;
}

.form__rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media ( max-width: 767px ) {
  .form__rows {
    gap: 24px;
  }
}

.form__row._3 {
  display: flex;
  gap: 8px;
}
@media ( max-width: 767px ) {
  .form__row._3 {
    flex-direction: column;
  }
}

.form._transparent .form__row._3 {
    gap: 20px;
}
@media ( max-width: 767px ) {
    .form._transparent .form__row._3 {
        gap: 16px;
    }
}

.form__row._3 > div {
  flex: 0 0 calc( 33.333333% - 8px / 3 * 2 );
    max-width: calc( 33.333333% - 8px / 3 * 2 );
}

.form._transparent .form__row._3 > div {
    flex: 0 0 calc( 33.333333% - 20px / 3 * 2 );
}
@media ( max-width: 767px ) {
    .form._transparent .form__row._3 > div {
        flex: 0 0 100%;
        max-width: unset;
    }
}

.form__row._3 > div._large {
    flex: 1 1 0 !important;
    max-width: unset;
}

.form__calculator {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__calculator .form__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form__calculator .form__row .form__input:nth-child(2) {
  flex: 0 0 150px;
}
@media ( max-width: 767px ) {
  .form__calculator .form__row .form__input:nth-child(2) {
    flex: 0 0 120px;
  }
}

.form__calculator-remove {
  width: 24px;
  flex: 0 0 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  cursor: pointer;
  transition: scale .3s ease-in-out;
}
@media ( max-width: 767px ) {
  .form__calculator-remove {
    width: 20px;
    flex: 0 0 20px;
    height: 20px;
    margin-left: 2px;
  }
}
@media ( hover: hover ) {
  .form__calculator-remove:hover {
    scale: 1.2;
  }
}

.form__calculator .svg-icon__close {
  width: 13px;
  height: 13px;
  fill: var( --text );
}
@media ( max-width: 767px ) {
  .form__calculator .svg-icon__close {
    width: 11px;
    height: 11px;
  }
}

.form__calculator-add {
  color: var( --primary );
  cursor: pointer;
}

.form__row._right {
  display: flex;
  justify-content: right;
}

.form__input {
  position: relative;
  width: 100%;
}

.form__input input[type=text],
.form__input input[type=email],
.form__input input[type=tel],
.form__input input[type=password],
.form__input textarea {
  outline: 0;
  width: 100%;
  padding: 31px 15px 12px;
  font-size: 16px;
  line-height: 19px;
  border-radius: 8px;
  border: 1px solid var( --divider );
  transition: border-color .3s ease;
}
@media ( max-width: 767px ) {
  .form__input input[type=text],
  .form__input input[type=email],
  .form__input input[type=tel],
  .form__input input[type=password],
  .form__input textarea {
    padding: 29px 15px 8px;
    font-size: 14px;
    line-height: 17px;
  }
}
@media ( hover: hover ) {
  .form__input input[type=text]:hover,
  .form__input input[type=email]:hover,
  .form__input input[type=tel]:hover,
  .form__input input[type=password]:hover,
  .form__input textarea:hover {
    border-color: var( --divider-gray );
  }
}

.form__input._error input[type=text],
.form__input._error input[type=email],
.form__input._error input[type=tel],
.form__input._error input[type=password],
.form__input._error textarea,
.form__input._error .dkselect-inner {
  border: 1px solid var( --border-primary );
}

.form__input label {
  color: var( --text-2 );
  pointer-events: none;
  position: absolute;
  top: 23px;
  left: 16px;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  width: calc( 100% - 32px );
  transition:
    top 0.3s,
    font-size 0.3s,
    color 0.3s ease;
}
@media ( max-width: 767px ) {
  .form__input label {
    top: 20px;
  }
}

.form__input input:focus + label,
.form__input input:not(:placeholder-shown) + label,
.form__input textarea:focus + label,
.form__input textarea:not(:placeholder-shown) + label{
  color: var( --gray-2 );
  top: 13px;
  font-size: 13px;
  line-height: 1;
}

.form__field {
  flex: 0 0 100%;
}

.form__input-caption {
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  color: var( --text-2 );
  margin-top: 5px;
}

.form__input-icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 20px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.form__input-icon svg {
  fill: var( --gray-2 );
}

.form__input-error {
  display: flex;
  gap: 12px;
  position: absolute;
  z-index: 5;
  top: 72px;
  left: 20px;
  box-shadow: 0 1px 4px 0 #00000029;
  padding: 8px;
  background-color: #FFFFFF;
  border-radius: 4px;
  width: calc( 100% - 40px );
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.form__input-error._show {
  opacity: 1;
  visibility: visible;
}

.form__input-error__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var( --primary );
  border-radius: 4px;
}

.tabs-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Directions */

.directions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .directions {
    gap: 16px;
  }
}

.directions > div {
  flex: 0 0 calc( 50% - 20px / 2 );
}
@media ( max-width: 767px ) {
  .directions > div {
    flex: 0 0 100%;
  }
}

.direction-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 16px;
  position: relative;
  background-repeat: no-repeat;
  background-position: top 20px right 20px;
  transition: background-color .3s ease , color .3s ease;
}
@media ( max-width: 767px ) {
  .direction-card {
    padding: 24px;
  }
}

.direction-card._gray {
    background-color: var( --app );
}

.direction-card._gray .tag {
    background-color: #FFFFFF;
}

.direction-card._gray .tabs-button input[type=radio]:not([class]):not(:placeholder-shown):not(:checked) + label {
    background-color: #FFFFFF;
}

.direction-card h3 {
  margin-bottom: 64px;
}
@media ( max-width: 767px ) {
  .direction-card h3 {
    margin-bottom: 40px;
  }
}

@media ( hover: hover ) {
  .direction-card._hover:hover {
    color: #FFFFFF;
    background-color: var( --primary );
  }
}

.direction-card .tag {
  transition: background-color .3s ease, color .3s ease;
}

@media ( hover: hover ) {
  .direction-card._hover:hover .tag {
    background-color: rgba( 255, 255, 255, .15 );
    color: #FFFFFF;
  }
}

.direction-card._dark-cyan {
  background-image: url( /assets/img/icons/faculty-fmf-bg.svg );
}

.direction-card._dark-cyan .tag {
  color: var( --f-orange );
}

@media ( hover: hover ) {
  .direction-card._dark-cyan._hover:hover {
    background-color: var( --f-orange );
  }
}

.direction-card._red-orange {
  background-image: url( /assets/img/icons/faculty-iff-bg.svg );
}

.direction-card._red-orange .tag {
  color: var( --f-red-orange );
}

@media ( hover: hover ) {
  .direction-card._red-orange._hover:hover {
    background-color: var( --f-red-orange );
  }
}

.direction-card._orange-yellow .tag {
  color: var( --f-orange-yellow );
}

@media ( hover: hover ) {
  .direction-card._orange-yellow._hover:hover {
    background-color: var( --f-orange-yellow );
  }
}

.direction-card._purple-red {
  background-image: url( /assets/img/icons/faculty-fiya-bg.svg );
}

.direction-card._purple-red .tag {
  color: var( --f-purple-red );
}

@media ( hover: hover ) {
  .direction-card._purple-red._hover:hover {
    background-color: var( --f-purple-red );
  }
}

.direction-card._green {
  background-image: url( /assets/img/icons/faculty-egf-bg.svg );
}

.direction-card._green .tag {
  color: var( --f-green );
}

@media ( hover: hover ) {
  .direction-card._green._hover:hover {
    background-color: var( --f-green );
  }
}

.direction-card._purple-blue {
  background-image: url( /assets/img/icons/faculty-fpp-bg.svg );
}

.direction-card._purple-blue .tag {
  color: var( --f-purple-blue );
}

@media ( hover: hover ) {
  .direction-card._purple-blue._hover:hover {
    background-color: var( --f-purple-blue );
  }
}

.direction-card._red {
  background-image: url( /assets/img/icons/faculty-fks-bg.svg );
}

.direction-card._red .tag {
  color: var( --f-red );
}

@media ( hover: hover ) {
  .direction-card._red._hover:hover {
    background-color: var( --f-red );
  }
}

.direction-card__link {
  text-decoration: none;
}

.direction-card__link:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.direction-card__tabs {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media ( max-width: 767px ) {
  .direction-card__tabs {
    gap: 24px;
  }
}

.direction-card__params {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  margin-top: auto;
}

.direction-card__param {
  flex: 0 0 calc( 33.333333% - 24px / 3 * 2 );
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media ( max-width: 767px ) {
  .direction-card__param {
    flex: 0 0 calc( 50% - 20px / 2 );
  }
}

.direction-card__param-title {
  color: var( --text-2 );
  transition: color .3s ease;
}
@media ( hover: hover ) {
  .direction-card._hover:hover .direction-card__param-title {
    color: var( --text-contrast-2 );
  }
}

/* Детальная страница направления подготовки */

.direction {

}

.direction__description {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .direction__description {
    gap: 16px;
  }
}

.direction__description-item {
  flex: 1 1 0;
  display: flex;
}
@media ( max-width: 767px ) {
  .direction__description-item {
    flex: 0 0 100%;
    flex-direction: column;
  }
}

.direction__description-item._full-width {
  flex: 0 0 100%;
}

.direction__description-picture {
  flex: 0 0 350px;
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
}
@media ( max-width: 767px ) {
  .direction__description-picture {
    flex: 0 0 auto;
    min-height: unset;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
  }
}

.direction__description-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.direction__description-inner {
  padding: 32px;
  background-color: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media ( max-width: 767px ) {
  .direction__description-inner {
    padding: 24px;
    gap: 20px;
  }
}

.direction__description-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.direction__description-title__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var( --app );
  display: flex;
  align-items: center;
  justify-content: center;
}
@media ( max-width: 767px ) {
  .direction__description-title__icon {
    width: 40px;
    height: 40px;
  }

  .direction__description-title__icon > svg {
    width: 18px;
  }
}

.direction__detail {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .direction__detail {
    flex-direction: column;
    gap: 16px;
  }
}

.direction__detail-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 0;
  padding: 32px;
  border-radius: 16px;
  background-color: #FFFFFF;
}
@media ( max-width: 767px ) {
  .direction__detail-card {
    gap: 16px;
    padding: 24px;
  }
}

.direction__detail-card._full-width {
  flex: 0 0 100%;
}

.direction__detail-card._red {
  background-color: var( --f-red );
  color: #FFFFFF;
}

.direction__detail-card._pattern {
  background-image: url( /assets/img/icons/pattern-direction-detail.svg );
  background-repeat: no-repeat;
  background-position: right;
  position: relative;
  gap: 32px;
}
@media ( max-width: 767px ) {
  .direction__detail-card._pattern {
    gap: 24px;
  }
}

.direction__detail-card._subjects {
  flex-direction: row;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .direction__detail-card._subjects {
    flex-direction: column;
    gap: 16px;
  }
}

.direction__detail-card__subjects {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
@media ( max-width: 767px ) {
  .direction__detail-card__subjects {
    gap: 40px;
  }
}

.direction__detail-card__subjects-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.direction__detail-card__subjects-item .direction__detail-card-title {
  border-bottom: 1px solid var( --border );
  padding-bottom: 16px;
}

.direction__detail-card__subjects-item .tags {
  margin-top: 16px;
}
@media ( max-width: 767px ) {
  .direction__detail-card__subjects-item .tags {
    margin-top: 8px;
  }
}

.direction__detail-card__subjects-item .tag {
  font-weight: 600;
}

.direction__detail-card__subjects-picture {
  flex: 0 0 43%;
  min-height: 415px;
  margin: -32px;
  display: flex;
  align-items: flex-end;
}
@media ( max-width: 767px ) {
  .direction__detail-card__subjects-picture {
    flex: 0 0 auto;
    min-height: unset;
    margin: 0 0 -24px;
    display: flex;
    justify-content: center;
  }
}

.direction__detail-card__subjects-picture img {
  width: 100%;
  height: fit-content;
}
@media ( max-width: 767px ) {
  .direction__detail-card__subjects-picture img {
    max-width: 487px;
    height: unset;
  }
}

.direction__detail-card-icon {
  position: absolute;
  top: 50%;
  right: 30%;
  translate: 0 -50%;
}

.direction__detail-card-icon svg {
  fill: var( --accent );
}

.direction__detail-card-head {
  display: flex;
  justify-content: space-between;
}
@media ( max-width: 767px ) {
  .direction__detail-card-head {
    flex-direction: column;
    gap: 16px;
  }
}

.direction__detail-card-title {
  color: var( --text-2 );
}
.direction__detail-card._pattern .direction__detail-card-title {
  color: #FFFFFF;
}

.direction__detail-card-text {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
}
@media ( max-width: 767px ) {
  .direction__detail-card-text {
    font-size: 16px;
    line-height: 19px;
  }
}

.direction__detail-card-text._large {
  font-size: 56px;
  line-height: .95;
  font-weight: 800;
}
@media ( max-width: 767px ) {
  .direction__detail-card-text._large {
    font-size: 32px;
    line-height: 39px;
  }
}

.direction__detail-card-head .tag {
  background-color: rgba(255, 255, 255, .15);
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.direction__teachers {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .direction__teachers {
    margin-top: 48px;
    gap: 16px;
  }
}

.direction__faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media ( max-width: 767px ) {
  .direction__faq {
    gap: 16px;
  }
}

.direction__faq-item {
  display: flex;
  min-height: 350px;
}
@media ( max-width: 767px ) {
  .direction__faq-item {
    min-height: unset;
    flex-direction: column;
  }
}

.direction__faq-item._second {
  gap: 20px;
}
@media ( max-width: 767px ) {
  .direction__faq-item._second {
    gap: 16px;
  }
}

.direction__faq-item__primary {
  background: url( /assets/img/icons/pattern-direction-detail-3.svg ) no-repeat right var( --accent );
  background-size: cover;
  flex: 0 0 42.334%;
  color: #FFFFFF;
  padding: 32px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
@media ( max-width: 767px ) {
  .direction__faq-item__primary {
    padding: 24px;
    gap: 24px;
  }
}

div.direction__faq-item._second .direction__faq-item__primary {
  background-image: url( /assets/img/icons/pattern-direction-detail-5.svg );
  background-size: auto;
  background-position: right bottom;
  flex: 1 1 0;
  justify-content: flex-start;
}

@media ( max-width: 767px ) {
  .direction__faq-item:nth-child(even):not( ._second ) {
    flex-direction: column-reverse;
  }
}

.direction__faq-item:nth-child(even) .direction__faq-item__primary {
  background-image: url( /assets/img/icons/pattern-direction-detail-4.svg );
}

.direction__faq-item__primary._purple-red {
  background-color: var( --f-purple-red );
}

.direction__faq-item__primary._green {
  background-color: var( --f-green );
}

.direction__faq-item__primary._orange-yellow {
  background-color: var( --f-orange-yellow );
}

.direction__faq-item__primary._red-orange {
  background-color: var( --f-red-orange );
}

.direction__faq-item__primary._dark-cyan {
  background-color: var( --f-orange );
}

.direction__faq-item__primary._purple-blue {
  background-color: var( --f-purple-blue );
}

.direction__faq-item__primary._red {
  background-color: var( --f-red );
}

.direction__faq-item__second {
  background-color: var( --app );
  padding: 32px;
  border-radius: 16px;
  flex-grow: 1;
  position: relative;
}
@media ( max-width: 767px ) {
  .direction__faq-item__second {
    padding: 24px;
  }
}

.direction__faq-item._second .direction__faq-item__second {
  background-color: #FFFFFF;
  flex: 1 1 0;
}

div.direction__faq-item._second h3 {
  margin-bottom: 24px;
}

.direction__faq-item__icon {
  position: absolute;
  z-index: 1;
  right: -32px;
  bottom: 110px;
}
@media ( max-width: 767px ) {
  .direction__faq-item__icon {
    top: -30px;
    right: 8px;
    bottom: auto;
  }
}

.direction__faq-item._second .direction__faq-item__primary .direction__faq-item__icon {
  bottom: auto;
  top: -28px;
  right: 92px;
}
@media ( max-width: 767px ) {
  .direction__faq-item._second .direction__faq-item__primary .direction__faq-item__icon {
    top: -24px;
    right: 32px;
  }

  .direction__faq-item._second .direction__faq-item__second .direction__faq-item__icon {
    top: -24px;
    right: 32px;
  }
}

.direction__faq-item__icon > svg {
  fill: var( --accent );
}
@media ( max-width: 767px ) {
  .direction__faq-item__icon > svg {
    width: 50px;
    height: 50px;
  }
}

.direction__swiper .swiper {
  height: 326px;
}
@media ( max-width: 767px ) {
  .direction__swiper .swiper {
    height: 326px;
  }
}

.direction__swiper .swiper-slide {
  width: auto;
}

.direction__swiper .swiper-slide img {
  height: 100%;
  border-radius: 16px;
}

.direction__social {
  background-image: url( /assets/img/icons/pattern-social.svg );
  background-repeat: no-repeat;
  background-position: center bottom;
  padding: 40px;
  border-radius: 16px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  position: relative;
}
@media ( max-width: 767px ) {
  .direction__social {
    padding: 24px;
    gap: 48px;
    background-size: 800px;
  }
}
@media ( max-width: 575px ) {
  .direction__social {
    background-size: 600px;
  }
}

.tile + .direction__social {
  margin-top: 72px;
}
@media ( max-width: 767px ) {
  .tile + .direction__social {
    margin-top: 56px;
  }
}

.direction__social._purple-red {
  background-color: var( --f-purple-red );
}

.direction__social._green {
  background-color: var( --f-green );
}

.direction__social._orange-yellow {
  background-color: var( --f-orange-yellow );
}

.direction__social._red-orange {
  background-color: var( --f-red-orange );
}

.direction__social._dark-cyan {
  background-color: var( --f-orange );
}

.direction__social._purple-blue {
  background-color: var( --f-purple-blue );
}

.direction__social._red {
  background-color: var( --f-red );
}

.direction__social > * {
  max-width: 510px;
  text-align: center;
}

.direction__social-icon {
  position: absolute;
  top: 62px;
  left: 17%;
}
@media ( max-width: 1023px ) {
  .direction__social-icon {
    left: 10%;
  }
}
@media ( max-width: 767px ) {
  .direction__social-icon {
    top: 13px;
    left: 10%;
  }

  .direction__social-icon > svg {
    width: 40px;
    height: 40px;
  }
}

.direction__social-icon._right {
  top: 57px;
  right: 17%;
  left: auto;
  rotate: 30deg;
}
@media ( max-width: 1023px ) {
  .direction__social-icon._right {
    right: 10%;
  }
}
@media ( max-width: 767px ) {
  .direction__social-icon._right {
    top: 12px;
  }
}

.direction__social__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.direction__social__headline {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
}
@media ( max-width: 767px ) {
  .direction__social__headline {
    font-size: 16px;
    line-height: 19px;
  }
}

.socials {
  display: flex;
  gap: 12px;
}

.socials__item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba( 255, 255, 255, .15 );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .3s ease;
}
@media ( hover: hover ) {
  .socials__item:hover {
    background-color: rgba( 255, 255, 255, .3 );
  }
}

.socials._colored .socials__item {
    background-color: var( --primary );
}
@media ( hover: hover ) {
    .socials._colored .socials__item:hover {
        background-color: var( --primary-dark );
    }
}

/* Карточка преподавателя */

.teacher-card {
  display: flex;
    position: relative;
}
@media ( max-width: 767px ) {
  .teacher-card {
    flex-direction: column;
  }
}

.teacher-card__picture {
  flex: 0 0 23%;
  background-color: #FFFFFF;
  border-radius: 16px;
  aspect-ratio: 15 / 19;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-card__picture._large {
  flex: 0 0 29%;
}

.teacher-card._gray .teacher-card__picture {
  background-color: var( --app );
}

.teacher-card__picture:not( ._no-photo ) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card__body {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
@media ( max-width: 767px ) {
  .teacher-card__body {
    padding: 24px;
    gap: 42px;
  }
}

.teacher-card__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-grow: 1;
}
@media ( max-width: 767px ) {
  .teacher-card__content {
    gap: 24px;
  }
}

.teacher-card._gray .teacher-card__body {
  background-color: var( --app );
}

.teacher-card .tags {
  margin-bottom: -16px;
}
@media ( max-width: 767px ) {
  .teacher-card .tags {
    margin-bottom: -12px;
  }
}

.teacher-card .tag {
  color: var( --f-dark-cyan );
}

.teacher-card._gray .tag {
  background-color: #FFFFFF;
}

.teacher-card__degree {
  margin-top: -20px;
  color: var( --text-2 );
}
@media ( max-width: 767px ) {
  .teacher-card__degree {
    margin-top: -16px;
  }
}

.teacher-card__link {
  margin-top: auto;
}

.teacher-card._link .teacher-card__link {
    position: unset;
}

.teacher-card._link .teacher-card__link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.teacher-card__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
@media ( max-width: 767px ) {
  .teacher-card__contacts {
    flex-direction: column;
    gap: 20px;
  }
}

.contact-item {
  display: flex;
  align-items: stretch;
  gap: 12px;
  font-weight: 700;
}
@media ( max-width: 767px ) {
  .contact-item {
    gap: 8px;
  }
}

.contact-item._full-width {
    flex: 0 0 100%;
}

.contact-item-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item > a,
.contact-item > span {
    display: flex;
    align-items: center;
}

.contact-item > a {
  text-decoration: none;
  transition: color .3s ease;
}
@media ( hover: hover ) {
  .contact-item > a:hover {
    color: var( --primary );
  }
}

/* Персонал */

.personal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .personal {
        gap: 16px;
    }
}

.personal__block {
    display: flex;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .personal__block {
        flex-direction: column;
        gap: 56px;
    }
}

.personal__letter {
    font-size: 42px;
    line-height: 44px;
    font-weight: 700;
    flex: 0 0 calc( 33.333333% - 20px / 2 );
}
@media ( max-width: 767px ) {
    .personal__letter {
        font-size: 24px;
        line-height: 29px;
        font-weight: 700;
    }
}

.personal__list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .personal__list {
        gap: 16px;
    }
}

.alphabet {
    margin-bottom: 72px;
    font-size: 20px;
    line-height: 22px;
    font-weight: 600;
}
@media ( max-width: 767px ) {
    .alphabet {
        margin-bottom: 56px;
        font-size: 18px;
        line-height: 22px;
    }
}

.alphabet a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    text-decoration: none;
    transition: color .3s ease;
}
@media ( max-width: 767px ) {
    .alphabet a {
        width: 24px;
        height: 32px;
    }
}
@media ( hover: hover ) {
    .alphabet a:hover {
        color: var( --primary );
    }
}

.alphabet a._active {
    min-width: 38px;
    height: 38px;
    border-radius: 19px;
    background-color: var( --primary );
    color: #FFFFFF;
}
@media ( max-width: 767px ) {
    .alphabet a._active {
        width: 32px;
        height: 32px;
    }
}

.swiperAlphabet .swiper-wrapper {
    width: fit-content;
    margin: 0 auto;
}

.swiperAlphabet .swiper-slide {
    width: auto;
}

.swiperAlphabet .swiper-slide:first-child a {
    padding: 8px 12px;
}

.personal-detail {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media ( max-width: 767px ) {
    .personal-detail {
        gap: 24px;
    }
}

.personal-detail .teacher-card {
    margin-bottom: 40px;
}
@media ( max-width: 767px ) {
    .personal-detail .teacher-card {
        margin-bottom: 32px;
    }
}

.personal-detail .accordeon {
    margin-top: 0;
}

/* Плитка */

.tile {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tile-item {
  background-color: var( --app );
  border-radius: 16px;
  padding: 32px;
  flex: 0 0 calc( 33.333333% - 20px / 3 * 2 );
  max-width: calc( 33.333333% - 20px / 3 * 2 );
}
@media ( max-width: 767px ) {
  .tile-item {
    padding: 24px;
    flex: 0 0 100%;
    max-width: unset;
  }
}

/* Постраничная навигация */

div.pagination-wrapper {
  margin-top: 12px;
  flex: 0 0 100%;
  text-align: center;
}
@media ( max-width: 767px ) {
  div.pagination-wrapper {
    margin-top: 8px;
  }
}

/* Двойной слайдер */

.double-slider {
  display: flex;
}

.double-slider > div {
  flex: 0 0 50%;
  max-width: 50%;
}

.double-slider .swiper {
  width: 100%;
  height: 100%;
}

/* Табы */

.tabs-button {
  display: flex;
  gap: 8px;
}

.tabs-button input[type=radio]:not([class]):not(:placeholder-shown) + label {
  background-color: #FFFFFF;
  color: var( --text-2 );
  padding: 8px 16px;
  line-height: 19px;
  border-radius: 18px;
  transition:
    background-color .3s ease,
    color .3s ease;
}
@media ( max-width: 767px ) {
  .tabs-button input[type=radio]:not([class]):not(:placeholder-shown) + label {
    font-size: 14px;
    line-height: 17px;
  }
}

.direction-card .tabs-button input[type=radio]:not([class]):not(:placeholder-shown) + label {
  background-color: var( --app );
}

.tabs-button input[type=radio]:not([class]):not(:placeholder-shown):checked + label {
  background-color: var( --primary );
  color: #FFFFFF;
}

@media ( hover: hover ) {
  .tabs-button input[type=radio]:not([class]):not(:placeholder-shown) + label:hover {
    background-color: var( --primary );
    color: #FFFFFF;
  }
}

  @media ( hover: hover ) {
  .direction-card._hover:hover .tabs-button input[type=radio]:not([class]):not(:placeholder-shown) + label {
    background-color: var( --element-cotrast-blind );
    color: var( --text-contrast-2 );
  }

  .direction-card._hover:hover .tabs-button input[type=radio]:not([class]):not(:placeholder-shown):checked + label {
    color: var( --text );
    background-color: #FFFFFF;
  }
}

.tabs-button input[type=radio] + label:before {
  content: none;
}

.tabs-body > div:not( :first-child ) {
  display: none;
}

/* Ничего не найдено при фильтрации */

div.list-not-found {
  border-radius: 16px;
  background-color: #FFFFFF;
  padding: 32px;
  flex: 0 0 100%;
  text-align: center;
}
@media ( max-width: 767px ) {
  .list-not-found {
    padding: 24px;
  }
}

.picture-map {
    margin-left: -120px;
    width: 1440px;
    aspect-ratio: 120 / 53;
    position: relative;
}
@media ( max-width: 1439px ) {
    .picture-map {
        margin-left: calc( (100vw - 1200px) / 2 * -1 );
        max-width: 1440px;
        width: 100vw;
    }
}
@media ( max-width: 1199px ) {
    .picture-map {
        margin-left: -32px;
        width: calc( 100% + 64px );
    }
}
@media ( max-width: 767px ) {
    .picture-map {
        margin-left: -16px;
        width: calc( 100% + 32px );
    }
}

.picture-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.picture-map .banner__slogan {
    position: absolute;
    top: 142px;
    left: 146px;
}
@media ( max-width: 767px ) {
    .picture-map .banner__slogan {
        top: 0;
        left: 0;
        scale: 0.74;
    }
}

.picture-map .banner__slogan._right {
    align-items: baseline;
    top: auto;
    right: 111px;
    bottom: 183px;
    left: auto;
}
@media ( max-width: 767px ) {
    .picture-map .banner__slogan._right {
        right: 0;
        bottom: 0;
    }
}

.picture-map .banner__slogan._right svg {
    rotate: 180deg;
}

.links-square {
    display: flex;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .links-square {
        flex-direction: column;
        gap: 20px;
    }
}

.links-square > div {
    flex: 0 0 calc( 25% - 20px / 4 * 3 );
}

.links-square._three > div {
    flex: 0 0 calc( 33.333333% - 20px / 3 * 2 );
}

.links-square__item {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    position: relative;
}
@media ( max-width: 767px ) {
    .links-square__item {
        padding: 24px;
        gap: 24px;
    }
}

.links-square__item a {
    position: static;
}

.links-square__item a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Приёмная компания */

.triple {
    display: flex;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .triple {
        flex-direction: column;
        gap: 16px;
    }
}

.triple > div {
    flex: 0 0 calc( 50% - 10px );
}
@media ( max-width: 767px ) {
    .triple > div {
        flex: 0 0 100%;
    }
}

.triple-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .triple-right {
        gap: 16px;
    }
}

.triple-card {
    position: relative;
    padding: 40px;
    border-radius: 16px;
    background-color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 56px;
}
@media ( max-width: 767px ) {
    .triple-card {
        padding: 24px;
        gap: 40px;
    }
}

.triple-card._primary {
    color: #FFFFFF;
    background: url( /assets/img/icons/triple-card-primary-pattern.svg ) right bottom no-repeat var( --primary );
}
@media ( max-width: 767px ) {
    .triple-card._primary {
        ackground-size: 395px;
        background-position: right -220px bottom;
        gap: 56px;
        overflow: hidden;
    }
}

.triple-card._banner {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    overflow: clip;
}

.triple-card__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.triple-card__logos {
    display: flex;
    align-items: center;
    gap: 32px;
}

@media ( max-width: 767px ) {
    .triple-card__logos img:first-child {
        width: 91px;
        height: 24px;
    }

    .triple-card__logos img:last-child {
        width: 63px;
        height: 10px;
    }
}

.triple-card__title {
    font-size: 32px;
    line-height: 32px;
    font-weight: 700;
}
@media ( max-width: 767px ) {
    .triple-card__title {
        font-size: 24px;
        line-height: 24px;
    }
}

.triple-card__title span {
    background-color: var( --gosuslugi );
    color: #FFFFFF;
    padding: 6px 10px;
    border-radius: 10px;
    display: inline-flex;
}

.triple-card__picture {
    position: absolute;
    top: 8px;
    right: 28px;
}
@media ( max-width: 767px ) {
    .triple-card__picture {
        top: 20px;
        right: 0;
    }

    .triple-card__picture > img {
        width: 134px;
        height: 134px;
    }
}

.triple-card__picture:before {
    background-color: var( --gosuslugi );
    content: '';
    display: block;
    width: 247px;
    height: 247px;
    border-radius: 50%;
    position: absolute;
    right: -126px;
    bottom: -86px;
}

@media ( max-width: 767px ) {
    .triple-card__picture:before {
        width: 212px;
        height: 212px;
        right: -79px;
        bottom: -107px;
    }
}

.triple-card__picture > img {
    position: relative;
    z-index: 1;
}

.triple-card__icon {
    position: absolute;
    right: 64px;
    bottom: 218px;
}
@media ( max-width: 767px ) {
    .triple-card__icon {
        right: -15px;
        bottom: 190px;
    }
}

.triple-card__icon > svg {
    fill: var( --accent );
}
@media ( max-width: 767px ) {
    .triple-card__icon > svg {
        width: 55px;
        height: 55px;
    }
}

.triple-card__icon-2 {
    position: absolute;
    right: -18px;
    bottom: 190px;
    rotate: 35deg;
}
@media ( max-width: 767px ) {
    display: none;
}

.triple-card__icon-2 > svg {
    fill: var( --primary );
    width: 70px;
    height: 70px;
}

.triple-card__person {
    background-color: #FFFFFF;
    color: var( --text );
    padding: 32px;
    border-radius: 16px;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
@media ( max-width: 767px ) {
    .triple-card__person {
        padding: 24px;
        margin-top: 24px;
    }
}

.triple-card__person-degree {
    color: var( --text-2 );
}

.triple-card__person-icon {
    position: absolute;
    right: 12px;
    bottom: -40px;
    rotate: 5deg;
}
@media ( max-width: 767px ) {
    .triple-card__person-icon {
        right: -2px;
        bottom: -45px;
    }

    .triple-card__person-icon > svg {
        width: 60px;
        height: 57px;
    }
}

.triple-card__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 56px;
}
@media ( max-width: 767px ) {
    .triple-card__foot {
        gap: 40px;
    }
}

.triple-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media ( max-width: 767px ) {
    .triple-card__contacts {
        gap: 20px;
    }
}

.triple-card__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media ( max-width: 767px ) {
    .triple-card__contact {
        gap: 8px;
    }
}

.triple-card__contact-title {
    color: var( --text-2 );
}

.triple-card._primary .triple-card__contact-title {
    color: var( --text-contrast-2 );
}

.triple-card__contact-text {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    font-weight: 700;
}
@media ( max-width: 767px ) {
    .triple-card__contact-text {
        gap: 8px;
    }
}

.triple-card__contact-text._row {
    flex-direction: row;
    gap: 8px;
}

.triple-card__contact-text a {
    text-decoration: none;
    transition: color .3s ease;
}
@media ( hover: hover ) {
    .triple-card__contact-text a:hover {
        color: var( --primary );
    }

    .triple-card._primary .triple-card__contact-text a:hover {
        color: var( --text-contrast-2 );
    }
}

a.triple-card__contact-social {
    width: 40px;
    height: 40px;
    background-color: var( --primary );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s ease;
}
@media ( hover: hover ) {
    .triple-card__contact-social:hover {
        background-color: var( --primary-dark );
    }
}

.triple-card._primary .triple-card__contact-social {
    background-color: #FFFFFF;
}
@media ( hover: hover ) {
    .triple-card._primary .triple-card__contact-social:hover {
        background-color: var( --gray );
    }
}

.triple-card._primary .triple-card__contact-social > svg {
    fill: var( --text-2 );
}

.triple-card__buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .triple-card__buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* Издания */

.books__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .books__list {
        gap: 16px;
    }
}

.books__list > a {
    flex: 0 0 calc( 20% - 20px / 5 * 4 );
    max-width: calc( 20% - 20px / 5 * 4 );
}
@media ( max-width: 1023px ) {
    .books__list > a {
        flex: 0 0 calc( 33.333333% - 20px / 3 * 2 );
        max-width: calc( 33.333333% - 20px / 3 * 2 );
    }
}
@media ( max-width: 767px ) {
    .books__list > a {
        flex: 0 0 calc( 50% - 20px / 2 );
        max-width: calc( 50% - 20px / 2 );
    }
}

.books__container {
    aspect-ratio: 407 / 546;
}

.books__container img {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.books__list > a > p {
    margin-top: 20px;
}
@media ( max-width: 767px ) {
    .books__list > a > p {
        margin-top: 16px;
    }
}

/* Документ */

.document-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.document-list > div {
    flex: 0 0 calc( 50% - 10px );
}
@media ( max-width: 767px ) {
    .document-list > div {
        flex: 0 0 100%;
    }
}

.document-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: stretch;
    gap: 24px;
    position: relative;
}
@media ( max-width: 767px ) {
    .document-card {
        padding: 24px;
        gap: 20px;
    }
}
@media ( max-width: 575px ) {
    .document-card {
        flex-direction: column;
    }
}

.document-card._contrast {
    background-color: var( --app );
}

.document-card__icon {
    position: relative;
}

.document-card__icon span {
    background-color: var( --primary );
    color: #FFFFFF;
    font-size: 10px;
    line-height: 10px;
    font-weight: 700;
    width: 34px;
    padding: 5px 4px;
    position: absolute;
    top: 26px;
    left: 3px;
    text-transform: uppercase;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.document-card__name {
    display: flex;
    align-items: center;
}

.document-card__name a {
    text-decoration: none;
    font-weight: 500;
}

.document-card__name a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.departments__documents {
    display: flex;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .departments__documents {
        flex-direction: column;
        gap: 16px;
    }
}

.departments__documents > div {
    flex: 0 0 calc( 50% - 10px );
}
@media ( max-width: 767px ) {
    .departments__documents > div {
        flex: 0 0 100%;
    }
}

/* Студенческая жизнь */

.student-life-card {
    background-color: var( --primary );
    padding: 32px;
    border-radius: 16px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
@media ( max-width: 767px ) {
    .student-life-card {
        padding: 24px;
        gap: 24px;
    }
}

.student-life-card:nth-child(3n + 1) {
    background-color: var( --accent );
}

.student-life-card:nth-child(3n + 2) {
    background-color: var( --f-purple-blue );
}

.student-life-card .tags {
    margin-bottom: -20px;
}
@media ( max-width: 767px ) {
    .student-life-card .tags {
        margin-bottom: -10px;
    }
}

.student-life-card .tag {
    background-color: transparent;
    border: 1px solid var( --divider-contrast );
    padding: 10px 16px;
    border-radius: 20px;
}

.student-life-card__title {
    max-width: 800px;
}

.student-life-card__text {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    max-width: 800px;
}
@media ( max-width: 767px ) {
    .student-life-card__text {
        font-size: 16px;
        line-height: 19px;
    }
}

.student-life-card__pictures {
    display: flex;
    gap: 20px;
}

.student-life-card__picture {
    flex: 1 1 0;
    height: 300px;
}
@media ( max-width: 767px ) {
    .student-life-card__picture {
        flex: 1 1 auto;
        aspect-ratio: 295 / 243;
        height: auto;
    }
}
@media ( max-width: 767px ) {
    .student-life-card__picture:not( :first-child ) {
        display: none;
    }
}

.student-life-card__picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Общежитие */

.dormitories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dormitory-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
@media ( max-width: 767px ) {
    .dormitory-card {
        gap: 24px;
        padding: 24px;
    }
}

.dormitory-card__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 770px;
}

.dormitory-card__body {
    padding-top: 32px;
    border-top: 1px solid var( --border );
}
@media ( max-width: 767px ) {
    .dormitory-card__body {
        padding: 24px 0;
    }
}

.dormitory-card__body-inner {
    column-count: 2;
    gap: 20px;
    max-width: 973px;
}
@media ( max-width: 767px ) {
    .dormitory-card__body-inner {
        column-count: unset;
    }
}

.dormitory-card__person {
    break-inside: avoid;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dormitory-card__person:not( :last-child ) {
     margin-bottom: 12px;
}

.dormitory-card__person-title {
    color: var( --text-2 );
}

.dormitory-card__person-text {
    font-weight: 500;
}

.dormitory-card__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 32px;
    border-top: 1px solid var( --border );
}
@media ( max-width: 767px ) {
    .dormitory-card__foot {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 24px;
    }
}

.dormitory-card__foot .contact-item {
    flex: 1 1 0;
}
@media ( max-width: 767px ) {
    .dormitory-card__foot .contact-item + .dormitory-card__bottom {
        width: 100%;
        border-top: 1px solid var( --border );
    }
}

.dormitory-card__bottom {
    flex: 0 0 160px;
    display: flex;
    justify-content: flex-end;
}
@media ( max-width: 767px ) {
    .dormitory-card__bottom {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .contact-item + .dormitory-card__bottom {
        margin-top: 12px;
        padding-top: 24px;
    }
}

.dormitory-card__icon {
    position: absolute;
    top: -46px;
    right: -32px;
    width: 142px;
    height: 142px;
}
@media ( max-width: 767px ) {
    .dormitory-card__icon {
        position: static;
        top: auto;
        right: auto;
        width: 50px;
        height: 50px;
    }
}

.dormitory-card__icon > svg {
    width: 100%;
    height: 100%;
}

.dormitory-card__icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var( --f-green );
}

/* Блоки */

.blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .blocks {
        gap: 16px;
    }
}

.blocks._five > div {
    flex: 0 0 calc( 50% - 10px );
    max-width: calc( 50% - 10px );
}
@media ( max-width: 1023px ) {
    .blocks._five > div {
        flex: 0 0 100%;
        max-width: unset;
    }
}

.blocks._five > div:first-child {
    flex: 0 0 calc( 58.5% - 10px );
    max-width: calc( 58.5% - 10px );
}
@media ( max-width: 1023px ) {
    .blocks._five > div:first-child {
        flex: 0 0 100%;
        max-width: unset;
    }
}

.blocks._five > div:first-child p {
    max-width: 500px;
}

.blocks._five > div:nth-child(2) {
    flex: 0 0 calc( 41.5% - 10px );
    max-width: calc( 41.5% - 10px );
}
@media ( max-width: 1023px ) {
    .blocks._five > div:nth-child(2) {
        flex: 0 0 100%;
        max-width: unset;
    }
}

.blocks._five > div:nth-child(3) {
    flex: 0 0 100%;
    max-width: unset;
}

.blocks._six > div {
    flex: 0 0 calc( 50% - 10px );
}
@media ( max-width: 767px ) {
    .blocks._six > div {
        flex: 0 0 100%;
    }
}

.blocks._six .text-content p {
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
    color: var( --text-2 );
    margin: 12px 0;
}
@media ( max-width: 767px ) {
    .blocks._six .text-content p {
        font-size: 12px;
        line-height: 15px;
        margin: 8px 0;
    }
}

.blocks._six .block._contrast .text-content p {
    color: var( --text-contrast-2 );
}

.blocks._six .text-content ul {
    font-weight: 500;
    margin: 12px 0;
}
@media ( max-width: 767px ) {
    .blocks._six .text-content ul {
        margin: 8px 0;
    }
}

.blocks._six .text-content h3 {
    margin-bottom: 24px;
}
@media ( max-width: 767px ) {
    .blocks._six .text-content h3 {
        margin-bottom: 20px;
    }
}

.block__group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .block__group {
        gap: 16px;
    }
}

.block__group > div {
    flex: 1 1 0;
}

.block {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 16px;
    display: flex;
    position: relative;
}
@media ( max-width: 767px ) {
    .block {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }
}

.section._white .block {
    background-color: var( --app );
}

.block._contrast {
    background: url( /assets/img/icons/pattern-6.svg ) var( --primary ) left bottom no-repeat;
    color: #FFFFFF;
}

.section._white .block._contrast {
    background: url( /assets/img/icons/pattern-7.svg ) var( --primary ) right bottom no-repeat;
    color: #FFFFFF;
}

.block._gosuslugi {
    background: url( /assets/img/block-gosuslogi-bg.png ) top right no-repeat #FFFFFF;
}
@media ( max-width: 767px ) {
    .block._gosuslugi {
        background: url( /assets/img/block-gosuslogi-bg-mobile.png ) right bottom no-repeat #FFFFFF;
    }
}

.block__icon {
    position: absolute;
}

.block__icon._icon-1 {
    top: 62px;
    right: 40px;
}
@media ( max-width: 767px ) {
    .block__icon._icon-1 {
        top: 8px;
        right: 32px;
    }

    .block__icon._icon-1 > svg {
        width: 47px;
    }
}

.block__icon._icon-2 {
    top: -32px;
    right: 36px;
}
@media ( max-width: 767px ) {
    .block__icon._icon-2 {
        display: none;
    }
}

.block__icon._icon-3 {
    right: -34px;
    bottom: 144px;
}
@media ( max-width: 767px ) {
    .block__icon._icon-3 {
        right: -17px;
        bottom: 16px;
    }
}

.block__icon._icon-3 > svg {
    fill: var( --accent );
    width: 105px;
    height: 105px;
}
@media ( max-width: 767px ) {
    .block__icon._icon-3 > svg {
        width: 55px;
        height: 55px;
    }
}

.block__inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 42px;
}
@media ( max-width: 767px ) {
    .block__inner {
        gap: 28px;
    }
}

.block__logos {
    display: flex;
    align-items: center;
    gap: 40px;
}
@media ( max-width: 767px ) {
    .block__logos {
        justify-content: space-between;
        align-self: normal;
    }
}

.blocks._five > div:nth-child(3) h2._gosuslugi span {
    background-color: var( --gosuslugi );
    color: #FFFFFF;
    padding: 0 10px 2px;
    border-radius: 10px;
    display: inline-flex;
}

.blocks._five > div:nth-child(3) p {
    max-width: 500px;
}

.block__inner:has( + .block__picture ) {
    flex: 0 0 50%;
    z-index: 1;
}
@media ( max-width: 767px ) {
    .block__inner:has( + .block__picture ) {
        flex: 0 0 auto;
    }
}

.block__picture {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 267px;
    height: 100%;
}
@media ( max-width: 767px ) {
    .block__picture {
        position: static;
        width: auto;
        display: flex;
        justify-content: center;
        margin-bottom: -24px;
    }
}

.block._gosuslugi .block__picture {
    position: absolute;
    top: 87px;
    right: 141px;
    width: auto;
}
@media ( max-width: 767px ) {
    .block._gosuslugi .block__picture {
        position: static;
    }

    .block._gosuslugi .block__picture > img {
        width: 166px;
        height: 166px;
    }
}

.block__picture > img {
    height: auto;
    max-height: 100%;
}
@media ( max-width: 767px ) {
    .block__picture > img {
        max-height: 293px;
    }
}

.block._contrast .text-content ul:not([class]) > li:before {
    background-color: var( --accent );
}

.block a {
    margin-top: auto;
}

/* Простые блоке "Блок" */

.element {
    display: flex;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .element {
        flex-direction: column;
        gap: 24px;
    }
}

.element._gray {
    gap: unset;
}

.element > div {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
}
@media ( max-width: 767px ) {
    .element > div {
        flex: 0 0 100%;
        max-width: unset;
    }
}

.element._gray > div {
    flex: 0 0 50%;
    max-width: 50%;
}
@media ( max-width: 767px ) {
    .element._gray > div {
        flex: 0 0 100%;
        max-width: unset;
    }
}

.element__body {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 78px;
}
@media ( max-width: 767px ) {
    .element__body {
        gap: 24px;
    }
}

.element__body a {
    margin-top: auto;
}

.element._gray .element__body {
    background-color: var( --app );
    padding: 32px;
    border-radius: 16px;
}

.element__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.element._gray .element__picture {
    background: url( /assets/img/pattern.png ) left bottom no-repeat var( --primary );
    background-size: 110%;
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}
@media ( max-width: 767px ) {
    .element._gray .element__picture {
        min-height: 280px;
    }
}

.element__picture-icon {
    position: absolute;
    bottom: 51px;
    left: 47px;
}
@media ( max-width: 767px ) {
    .element__picture-icon {
        bottom: 20px;
        left: 37px;
    }
}

.element__picture-icon > svg {
    width: 140px;
    height: 140px;
    fill: var( --accent );
}
@media ( max-width: 767px ) {
    .element__picture-icon > svg {
        width: 80px;
        height: 80px;
    }
}

.element__picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.element._gray .element__picture img {
    object-fit: unset;
    width: auto;
    height: auto;
}
@media ( max-width: 767px ) {
    .element._gray .element__picture img {
        width: 154px;
    }
}

/* Students Stories */

.s-story__item {
    text-decoration: none;
}

.s-story__item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
@media ( max-width: 767px ) {
    .s-story__item-container {
        gap: 10px;
    }
}

.s-story__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
}

.swiper-slide:nth-child(1n) .s-story__image {
    mask-image: url(/assets/img/pages/stories/first_shape.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.swiper-slide:nth-child(2n) .s-story__image {
    mask-image: url(/assets/img/pages/stories/second_shape.svg);
}

.swiper-slide:nth-child(3n) .s-story__image {
    mask-image: url(/assets/img/pages/stories/third_shape.svg);
}

.swiper-slide:nth-child(4n) .s-story__image {
    mask-image: url(/assets/img/pages/stories/fourth_shape.svg);
}

.swiper-slide:nth-child(5n) .s-story__image {
    mask-image: url(/assets/img/pages/stories/fifth_shape.svg);
}

.swiper-slide:nth-child(6n) .s-story__image {
    mask-image: url(/assets/img/pages/stories/first_shape.svg);
}

.s-story__icon {
    display: none;
}

.s-story__controls {
    display: none;
}

.s-story__controls-mobile {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.s-story__controls-mobile .round-button {
    width: 30px;
    height: 30px;
    background-size: 13px 13px;
    background-position: center left 8px;
}

.s-story__text_hidden {
    display: none;
}

.s-story__title {
    font-size: 20px;
    line-height: 22px;
    font-weight: 600;
}
@media ( max-width: 767px ) {
    .s-story__title {
        font-size: 16px;
        line-height: 19px;
        text-align: center;
    }
}

@media ( min-width: 768px ) {
    .main-news__scrollbar {
        display: none;
    }
}

.s-story__desc {
    margin-top: -10px;
    color: var( --text-2 );
}
@media ( max-width: 767px ) {
    .s-story__desc {
        margin-top: -5px;
        text-align: center;
    }
}

.s-story__link {
    color: var( --primary );
    font-weight: 700;
}

.story-popup {
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 300ms ease-in-out;
}

.story-popup.js-popup_active {
    visibility: visible;
    opacity: 1;
}

.story-popup__container {
    background-color: white;
    width: 330px;
    display: flex;
    flex-direction: column;
    padding: 30px 20px 35px;
    position: relative;
    border-radius: 12px;
    max-height: 95vh;
}

.story-popup__close-btn {
    display: block;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 1L1 15M1 1L15 15' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-position: center;
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.story-popup__close-btn:hover {
    transform: rotate(90deg);
}

.story-popup__pic {
    width: 100%;
    height: 337px;
    border-radius: 12px;
    object-fit: cover;
    object-position: top center;
}

.story-popup__info {
    display: flex;
    gap: 16px;
    flex-direction: column;
    margin-top: 20px;
}

.story-popup__name {
    font-weight: 600;
    font-size: 18px;
    line-height: 21.6px;
    color: var(--main-red);
}

.story-popup__text {
    overflow-y: auto;
    max-height: 250px;
}

.story-popup__text * {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
    margin-top: 0.8em;
}

.story-popup__text * > b {
    color: var(--main-red);
}

.story-popup__text *:first-child {
    margin: 0;
}

.story-popup__img-container {
    position: relative;
    line-height: 0;
    margin: 0 auto;
}

.story-popup__icon {
    position: absolute;
    left: -5px;
    bottom: 10px;
    width: 90px;
    height: 90px;
}

.story-popup__desc {
    font-size: 14px;
    font-weight: 600;
    line-height: 16.8px;
    color: var(--main-red);
    margin-top: 5px;
}

.s-story__controls {
    display: flex;
    gap: 10px;
}

@media screen and (min-width: 768px) {
    .s-story__controls-mobile {
        display: none;
    }
    .s-story__link {
        font-size: 16px;
        line-height: 19.2px;
    }
    .story-popup__container {
        width: 515px;
        padding: 40px;
    }
    .story-popup__pic {
        width: 300px;
        height: 361px;
        margin: 0 auto;
    }
    .story-popup__info {
        margin-top: 40px;
    }
    .story-popup__name {
        font-size: 26px;
        line-height: 31.2px;
    }
    .story-popup__close-btn {
        width: 14px;
        height: 14px;
        border-radius: unset;
        background-color: transparent;
        background-size: contain;
    }
    .story-popup__text {
        max-height: 19.53vh;
    }
}
@media screen and (min-width: 1200px) {
    .s-story {
        overflow: hidden;
        padding: 120px 0;
    }
    .story-popup__container {
        width: 940px;
        padding: 0 85px 0 0;
        flex-direction: row;
        gap: 40px;
        overflow: hidden;
        align-items: center;
    }
    .story-popup__pic {
        width: 300px;
        height: 330px;
        min-width: 300px;
        min-height: 330px;
        margin: 0 auto;
    }
    .story-popup__info {
        margin: 0;
    }
    .story-popup__text {
        max-height: unset;
        overflow: unset;
    }
    .story-popup__container {
        padding: 40px;
        align-items: flex-start;
    }
}


/* Слайдеры */

.double-slider__wrapper {
    display: flex;
}
@media ( max-width: 767px ) {
    .double-slider__wrapper {
        flex-direction: column;
    }
}

.double-slider__wrapper + .swiper-controls {
    margin-top: 24px;
    justify-content: center;
}

.double-slider__wrapper > div {
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
}
@media ( max-width: 767px ) {
    .double-slider__wrapper > div {
        flex: 0 0 100%;
        max-width: unset;
    }
}

.double-slider__wrapper > div > .swiper-container {
    height: 100%;
}

.double-slider__left {
    position: relative;
}

.double-slider__left-control {
    z-index: 1;
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: calc( 100% - 80px );
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media ( max-width: 767px ) {
    .double-slider__left-control {
        bottom: 24px;
        left: 24px;
        width: calc( 100% - 48px );
    }
}

.double-slider__left-control .s-story__controls {
    display: flex;
}

.slide__content {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
@media ( max-width: 767px ) {
    .slide__content {
        padding: 24px;
        gap: 32px;
    }
}

.slide__content._padding {
    padding-bottom: 100px;
}
@media ( max-width: 767px ) {
    .slide__content._padding {
        padding-bottom: 84px;
    }
}

.slide__body .tags {
    margin-bottom: 12px;
}

.slide__content._dark-cyan .tag {
    color: var( --f-dark-cyan );
}

.slide__content._red-orange .tag {
    color: var( --f-red-orange );
}

.slide__content._orange-yellow .tag {
    color: var( --f-orange-yellow );
}

.slide__content._green .tag {
    color: var( --f-green );
}

.slide__content._purple-red .tag {
    color: var( --f-purple-red );
}

.slide__content._purple-blue .tag {
    color: var( --f-purple-blue );
}

.slide__content._red .tag {
    color: var( --f-red );
}

.slide__content._orange .tag {
    color: var( --f-orange );
}

.slide__over-title {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 16px;
}
@media ( max-width: 767px ) {
    .slide__over-title {
        font-size: 16px;
        line-height: 29px;
    }
}

.slide__text {
    margin-top: 32px;
}
@media ( max-width: 767px ) {
    .slide__text {
        margin-top: 24px;
    }
}

.slide__text._padding {
    padding-top: 64px;
}
@media ( max-width: 767px ) {
    .slide__text._padding {
        padding-top: 32px;
    }
}

.slide__profiles-title {
    color: var( --text-2 );
    margin-bottom: 16px;
}

.slide__profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.slide__profile {
    font-weight: 500;
}

.slide__content._dark-cyan .slide__profile > svg {
    fill: var( --f-dark-cyan );
}

.slide__content._red-orange .slide__profile > svg {
    fill: var( --f-red-orange );
}

.slide__content._orange-yellow .slide__profile > svg {
    fill: var( --f-orange-yellow );
}

.slide__content._green .slide__profile > svg {
    fill: var( --f-green );
}

.slide__content._purple-red .slide__profile > svg {
    fill: var( --f-purple-red );
}

.slide__content._purple-blue .slide__profile > svg {
    fill: var( --f-purple-blue );
}

.slide__content._red .slide__profile > svg {
    fill: var( --f-red );
}

.slide__content._orange .slide__profile > svg {
    fill: var( --f-orange );
}

.slide__foot {
    margin-top: auto;
}

.slide__foot-title {
    font-family: Caveat, sans-serif;
    font-size: 24px;
    line-height: 32px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}
@media ( max-width: 767px ) {
    .slide__foot-title {
        margin-bottom: 16px;
    }
}

.slide__content._dark-cyan .slide__foot-title {
    color: var( --f-dark-cyan );
}

.slide__content._red-orange .slide__foot-title {
    color: var( --f-red-orange );
}

.slide__content._orange-yellow .slide__foot-title {
    color: var( --f-orange-yellow );
}

.slide__content._green .slide__foot-title {
    color: var( --f-green );
}

.slide__content._purple-red .slide__foot-title {
    color: var( --f-purple-red );
}

.slide__content._purple-blue .slide__foot-title {
    color: var( --f-purple-blue );
}

.slide__content._red .slide__foot-title {
    color: var( --f-red );
}

.slide__content._orange .slide__foot-title {
    color: var( --f-orange );
}

.slide__foot-title > svg {
    width: 38px;
}

.slide__content._dark-cyan .slide__foot-title > svg {
    stroke: var( --f-dark-cyan );
}

.slide__content._red-orange .slide__foot-title > svg {
    stroke: var( --f-red-orange );
}

.slide__content._orange-yellow .slide__foot-title > svg {
    stroke: var( --f-orange-yellow );
}

.slide__content._green .slide__foot-title > svg {
    stroke: var( --f-green );
}

.slide__content._purple-red .slide__foot-title > svg {
    stroke: var( --f-purple-red );
}

.slide__content._purple-blue .slide__foot-title > svg {
    stroke: var( --f-purple-blue );
}

.slide__content._red .slide__foot-title > svg {
    stroke: var( --f-red );
}

.slide__content._orange .slide__foot-title > svg {
    stroke: var( --f-orange );
}

.slide__foot .banner__tag {
    border-color: var( --accent );
    color: var( --accent );
}

.slide__foot .banner__tag._yellow {
    color: #FFFFFF;
}

.slide__content .banner__tag._dark-cyan {
    color: #FFFFFF;
    background-color: var( --f-dark-cyan );
    border-color: var( --f-dark-cyan );
}

.slide__content .banner__tag._red-orange {
    color: #FFFFFF;
    background-color: var( --f-red-orange );
    border-color: var( --f-red-orange );
}

.slide__content .banner__tag._orange-yellow {
    color: #FFFFFF;
    background-color: var( --f-orange-yellow );
    border-color: var(  );
}

.slide__content .banner__tag._green {
    color: #FFFFFF;
    background-color: var( --f-green );
    border-color: var( --f-green );
}

.slide__content .banner__tag._purple-red {
    color: #FFFFFF;
    background-color: var( --f-purple-red );
    border-color: var( --f-purple-red );
}

.slide__content .banner__tag._purple-blue {
    color: #FFFFFF;
    background-color: var( --f-purple-blue );
    border-color: var( --f-purple-blue );
}

.slide__content .banner__tag._red {
    color: #FFFFFF;
    background-color: var( --f-red );
    border-color: var( --f-red );
}

.slide__content .banner__tag._orange {
    color: #FFFFFF;
    background-color: var( --f-orange );
    border-color: var( --f-orange );
}

.slide__picture {
    aspect-ratio: 6 / 5;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.slide__picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide__faculty-icon {
    position: absolute;
    top: 0;
    left: 32px;
    padding: 20px;
    background-color: #FFFFFF;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
}
@media ( max-width: 767px ) {
    .slide__faculty-icon {
        left: 24px;
    }
}

.slide__faculty-icon > img {
    width: 38px;
}
@media ( max-width: 767px ) {
    .slide__faculty-icon > img {
        width: 30px;
    }
}

.slide__button {
    position: absolute;
    bottom: 32px;
    left: 32px;
}
@media ( max-width: 767px ) {
    .slide__button {
        bottom: 24px;
        left: 24px;
    }
}

.swiper-cards__wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}
@media ( max-width: 1023px ) {
    .swiper-cards__wrapper {
        flex-direction: column;
        align-items: center;
    }
}

.swiper-cards {
    width: 387px;
    height: 540px;
}
@media ( max-width: 767px ) {
    .swiper-cards {
        width: 280px;
        height: 423px;
    }
}

.swiper-cards .swiper-slide {
    border-radius: 16px;
    user-select: none;
}

.swiper-cards__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow: hidden;
}

.swiper-slide._accent .swiper-cards__card {
    border-color: var( --accent );
    color: white;
}

.swiper-slide._primary .swiper-cards__card {
    border-color: var( --primary-dark );
    color: white;
}

.swiper-cards__card__icon {
    position: absolute;
    top: 32px;
    right: 32px;
}
@media ( max-width: 767px ) {
    top: 24px;
    right: 24px;
}

.swiper-cards__card__picture {
    height: 287px;
}
@media ( max-width: 767px ) {
    .swiper-cards__card__picture {
        height: 195px;
    }
}

.swiper-cards__card__picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-cards__card__text {
    margin-top: -16px;
    padding: 32px;
    border-radius: 16px;
    flex-grow: 1;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media ( max-width: 767px ) {
    .swiper-cards__card__text {
        padding: 24px;
    }
}

.swiper-slide._accent .swiper-cards__card__text {
    background-color: var( --accent );
}

.swiper-slide._primary .swiper-cards__card__text {
    background-color: var( --primary-dark );
}

.swiper-cards__card__text > div {
    font-weight: 500;
}

.swiper-cards__controls {
    position: absolute;
    bottom: 200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
@media ( max-width: 1023px ) {
    .swiper-cards__controls {
        position: static;
        justify-content: center;
        gap: 100px;
        margin-top: 56px;
    }
}

.swiper-cards__controls > div {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-family: Caveat, sans-serif;
    font-size: 32px;
    line-height: 36px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px dashed var( --text-contrast-blind );
    pointer-events: auto;
    cursor: pointer;
}
@media ( max-width: 1023px ) {
    .swiper-cards__controls > div {
        font-size: 24px;
        line-height: 26px;
        width: 120px;
        height: 120px;
    }
}

.swiper-cards__arrow-left,
.swiper-cards__arrow-right {
    position: absolute;
    bottom: 293px;
    left: 245px;
}
@media ( max-width: 1023px ) {
    .swiper-cards__arrow-left,
    .swiper-cards__arrow-right {
        bottom: 54px;
        left: calc( 50% - 40px );
    }

    .swiper-cards__arrow-left > svg,
    .swiper-cards__arrow-right > svg {
        width: 30px;
    }
}

.swiper-cards__arrow-right {
    left: auto;
    right: 245px;
}
@media ( max-width: 1023px ) {
    .swiper-cards__arrow-right {
        right: calc( 50% - 40px );
    }
}