@font-face {
    font-family: 'Golos Text';
    /*src: url('GolosText-Medium.eot');*/
    src: local('Golos Text Medium'), local('GolosText-Medium'),
    /*url('GolosText-Medium.eot?#iefix') format('embedded-opentype'),*/
    url('../fonts/golos/GolosText-Medium.woff2') format('woff2'),
    url('../fonts/golos/GolosText-Medium.woff') format('woff'),
    url('../fonts/golos/GolosText-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Golos Text';
    /*src: url('GolosText-Black.eot');*/
    src: local('Golos Text Black'), local('GolosText-Black'),
    /*url('GolosText-Black.eot?#iefix') format('embedded-opentype'),*/
    url('../fonts/golos/GolosText-Black.woff2') format('woff2'),
    url('../fonts/golos/GolosText-Black.woff') format('woff'),
    url('../fonts/golos/GolosText-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Golos Text';
    /*src: url('GolosText-DemiBold.eot');*/
    src: local('Golos Text DemiBold'), local('GolosText-DemiBold'),
    /*url('GolosText-DemiBold.eot?#iefix') format('embedded-opentype'),*/
    url('../fonts/golos/GolosText-DemiBold.woff2') format('woff2'),
    url('../fonts/golos/GolosText-DemiBold.woff') format('woff'),
    url('../fonts/golos/GolosText-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Golos Text';
    /*src: url('GolosText-Bold.eot');*/
    src: local('Golos Text Bold'), local('GolosText-Bold'),
    /*url('GolosText-Bold.eot?#iefix') format('embedded-opentype'),*/
    url('../fonts/golos/GolosText-Bold.woff2') format('woff2'),
    url('../fonts/golos/GolosText-Bold.woff') format('woff'),
    url('../fonts/golos/GolosText-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Golos Text';
    /*src: url('GolosText-Regular.eot');*/
    src: local('Golos Text Regular'), local('GolosText-Regular'),
    /*url('GolosText-Regular.eot?#iefix') format('embedded-opentype'),*/
    url('../fonts/golos/GolosText-Regular.woff2') format('woff2'),
    url('../fonts/golos/GolosText-Regular.woff') format('woff'),
    url('../fonts/golos/GolosText-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


html,
body {
    min-width: 320px;
    font-family: "Golos Text", serif;
    color: #000;
    font-size: 16px;
    line-height: 1;
}


.header-top {
    background: #17498e;
}

.header-top__inner {
    background: #17498e;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.top-nav__link {
    color: #fff;
    font-weight: 500;
}

.header-see__link{
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    gap: 8px;
    padding: 0;
}

.header-see__link:before{
    display: none;
}

.header-see__link img{
    width: 20px;
}

.header-see__link_mob{
    color: #004488;
}

.header-top__fns_mob{
    border-radius: 8px;
}

.header-middle {
    padding: 15px 0;
}

.header-middle__inner {
    gap: 40px;
    position: relative;
}


.header24__contacts {
    align-items: center;
    display: flex;
    gap: 20px;
}

.header24__contacts__item {
    align-items: center;
    display: flex;
    gap: 8px;
}

.header24__contacts__item svg {
    width: 20px;
}

.header24__contacts__link {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.header24__contacts__link:hover {
    color: #fff;
    text-decoration: underline;
}

.header24__menu {
    align-items: center;
    display: flex;
    flex-grow: 2;
    justify-content: flex-end;
}

.header-search {
    position: static;
}

.header-search::before {
    display: none;
}

.header-search__trigger {
    align-items: center;
    background: #fff;
    display: flex;
    height: 44px;
    justify-content: center;
    position: static;
}

.header-search__trigger img {
    height: 20px;
    width: 20px;
}

.header-search .search_close {
    display: none;
}

.header-search--active {
    width: 45px;
}

.header-search--active .search_open {
    display: none;
}

.header-search--active .search_close {
    display: block;
}

.header-search__form {
    box-shadow: 0 6px 13px 0 rgb(0 0 0 / 13%);
    display: none;
    height: auto;
    max-width: 100%;
    position: absolute;
    right: 0;
    top: 100%;
    width: 450px;
    z-index: 10;
}

.header-search__input {
    height: 45px;
    margin: 0;
}

/* потом переделать на тоггл js*/
.header-search--active form {
    display: block;
}

/* потом убрать из основного css*/
.header-search--active .header-search__form {
    background: #fff;
    position: absolute;
    z-index: 10;
}


.s-hero {
    padding: 35px 0 0;
}


/* main hero */

.mainHero_2024 {
    display: flex;
    gap: 15px;
}

.mainHero__sliderWrapper {
    position: relative;
    width: 60%;
}

.mainHero__slider {
    height: 100%;
}

.mainHero__slider .slick-list {
    border-radius: 16px;
    height: 100%;
    overflow: hidden;
}

.mainHero__slider .slick-track {
    height: 100%;
}

.mainHero__slider__item {
    border-radius: 16px;
    display: block;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    width: 100%;
}

.mainHero__slider img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.mainHero__slider__blindText{
    display: none;
}

.mainHero__banners {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
    width: 40%;
}

.heroBanner__item {
    border-radius: 16px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 40px;
    width: 100%;

    transition: all 0.3s ease-in-out;

    background: #f17b2b url(../images/2024/Pattern.svg) center center no-repeat;
    background-size: 100%;
    border-color: #f17b2b;
}

.heroBanner__item:last-child {
    background: #064497 url(../images/2024/Pattern_2.svg) center center no-repeat;
    background-size: 100%;
    border-color: #064497;
}

.heroBanner__item:hover {
    background-size: 105%;
    text-decoration: none;
}

.heroBanner__content {
    margin-bottom: 20px;
}

.heroBanner__name {
    color: #fff;
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.heroBanner__descr {
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
}

.heroBanner__link {
    color: #fff;
    font-weight: 500;
    font-size: 17px;
    line-height: 125%;
    text-decoration: underline;
}

.heroBanner__item:last-child .heroBanner__link {
    color: #F17B2B;
}


/* custom slick */

.slick-slide:focus {
    outline: none;
}

.slick-dots {
    align-items: center;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.slick-dots li {
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slick-dots li button {
    padding: 0;
    font-size: 0;
    border: none;
    background: #9F9F9F;
    width: 12px;
    height: 12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    opacity: 0.2;
    -moz-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    cursor: pointer;
}

.slick-dots li button:focus {
    outline: none;
}

.slick-dots li.slick-active button {
    -moz-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    width: 100%;
    background: #F17B2B;
    opacity: 1;
}

.slick-arrow {
    border: none;
    background: none;
    position: absolute;
    cursor: pointer;

    height: 40px;
    width: 40px;
}

.slick-arrow:focus {
    outline: none;
}

/*.fullSize__newItems .slick-arrow {*/
/*    top: -90px;*/
/*}*/

/*.fullSize__newItems .slick-arrow.slick-next {*/
/*    right: 0;*/
/*    -moz-transform: rotate(180deg);*/
/*    -ms-transform: rotate(180deg);*/
/*    -o-transform: rotate(180deg);*/
/*    -webkit-transform: rotate(180deg);*/
/*    transform: rotate(180deg);*/
/*}*/

/*.fullSize__newItems .slick-arrow.slick-prev {*/
/*    right: 70px;*/
/*}*/


.mainHero__sliderWrapper .slick-arrow {
    display: none;
    opacity: 0;

    top: 50%;
    transform: translateY(-50%);

    -moz-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;

    z-index: 10;
}

.mainHero__sliderWrapper:hover .slick-arrow {
    opacity: 1;
}

.mainHero__sliderWrapper .slick-arrow:hover {
}

.mainHero__sliderWrapper .slick-arrow.slick-prev {
    left: 20px;
}

.mainHero__sliderWrapper .slick-arrow.slick-next {
    transform: translateY(-50%) rotate(180deg);
    right: 20px;
}


/* direction 24 */

.main_directions {
    display: flex;
    margin: 0 -1%;
    width: auto;
}

.main_directions__item {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 1%;
    padding: 20px;
    width: 31.333%;
}

.main_directions__item img {
    height: 96px;
    max-width: 100%;
    object-fit: contain;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.main_directions__item:hover {
    text-decoration: none;
}

.main_directions__item:hover img {
    transform: scale(1.02);
}

.directionsItem__name {
    color: #064497;
    font-size: 26px;
    line-height: 1.3;
    margin-top: 20px;
    text-align: center;
}


/* news main */

.newsList_24 {
    display: flex;
    margin: 0 -0.5% 40px;
    width: auto;
}

.newsList24__item {
    margin: 0 0.5%;
    width: 32.333%;
}

.news24Item__img {
    border-radius: 16px;
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
}

.news24Item__img img {
    display: block;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    height: 100%;
    width: 100%;
}

.news24Item__img:hover img {
    transform: scale(1.02);
}

.news24Item__link {
    color: #064497;
    display: block;
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 15px;
    min-height: 44px;
}

.news24Item__link:hover {
    text-decoration: underline;
}

.news24Item__date {
    color: #064497;
    font-size: 14px;
    line-height: 1.3;
}


/* main video block */

.video__wrapper {
    position: relative;
}

.videoPreview {
    width: 100%;
}

.video__playIco {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


/* about small text */

.aboutSmallWrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: space-between;
}

.smartTextWrapper {
    padding: 15px;
}

.socials__block {
    align-items: center;
    display: flex;
    gap: 8px;
}

.socialsBlock__name {
    color: #064497;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3%;
    margin: 0 15px;
}

.socials__block a {
    display: block;
}

.socials__block a:hover img {
    transform: scale(1.02);
}

.socials__block img {
    height: 24px;
    width: 24px;

    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}


/* filter */
.b-schedule-filter{
    align-items: center;
    margin-bottom: 48px;
}

.select2-container .select2-selection--single{
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    height: auto;
    padding: 14px 20px 14px 10px;
}

.select2-selection__placeholder{
    color: #064497!important;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 1;
}

.b-schedule-filters__input{
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #e6e6e6;
    border-radius: 8px;
    color: #064497;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2%;
    height: auto;
    padding: 14px 20px 14px 10px;
    width: 100%;
}

.b-schedule-filters__input::placeholder{
    color: #064497;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2%;
}

.b-schedule-filters__input_search{
    background: url(../images/2024/search_open.svg) left center no-repeat;
    background-size: 20px;
    padding-left: 40px;
}

.b-schedule-filter__clearbtn{
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    color: #064497;
    height: auto;
    padding: 14px 10px;
    line-height: 20px;
}

.b-schedule-filter__clearbtn:hover{
    background: #064497;
}

@media only screen and (max-width: 1200px) {
    .header24__contacts__link, .header-see__link, .header-top__fns{
        font-size: 14px;
    }

    .mainHero_2024 {
        flex-direction: column;
    }

    .mainHero__sliderWrapper {
        margin-bottom: 35px;
        width: 100%;
    }

    .mainHero__banners {
        width: 100%;
    }

    .directionsItem__name{
        font-size: 22px;
    }

}

@media only screen and (max-width: 1000px) {

    /* mob menu */
    .adaptive-menu-toggle{
        z-index: 250;
    }

    .s-adaptive-slide__logo{
        padding-top: 5px;
        padding-left: 25px;
        text-align: right;
    }

    .s-adaptive-slide__logo img{
        max-width: 130px;
    }

    .s-adaptive-slide__action:first-child{
        padding: 15px 15px 0;
    }

}

@media only screen and (max-width: 767px) {
    .main_directions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main_directions__item {
        width: 48%;
    }

    /*.fullSize__newItems .slick-arrow{*/
    /*    display: flex;*/
    /*    align-items: center;*/
    /*    justify-content: center;*/
    /*    top: -80px;*/
    /*}*/
    /*.fullSize__newItems .slick-arrow.slick-prev{*/
    /*    right: 60px;*/
    /*}*/
    /*.fullSize__newItems .slick-arrow svg{*/
    /*    height: 50px;*/
    /*    width: 50px;*/
    /*}*/
    .slick-dots {
        margin-top: 30px;
        width: 100%;
    }

    /* filter */
    .b-schedule-filter{
        margin-bottom: 30px;
    }
    .b-schedule-filters__trigger{
        height: auto;
    }
    .b-schedule-filters__triggerbtn{
        border-radius: 8px;
        color: #064497;
        height: auto;
        padding: 8px 10px;
        line-height: 20px;
    }
    .b-schedule-filter__clearbtn{
        padding: 8px 10px;
    }
}

@media only screen and (max-width: 640px) {

}

@media only screen and (max-width: 480px) {
    .heroBanner__item {
        padding: 30px;
    }

    .heroBanner__name {
        font-size: 22px;
        min-height: 57px;
    }

    .main_directions {
        flex-wrap: wrap;
        margin: 0;
        width: 100%;
    }

    .main_directions__item {
        margin: 0 0 16px;
        width: 100%;
    }

    .directionsItem__name {
        font-size: 22px;
        max-width: 360px;
    }


    .newsList_24 {
        flex-wrap: wrap;
        margin: 0;
        width: 100%;
    }

    .newsList24__item {
        margin: 0 0 16px;
        width: 100%;
    }

}

@media only screen and (max-width: 400px) {
    .directionsItem__name {
        font-size: 20px;
    }
}

@media only screen and (max-width: 350px) {
    .heroBanner__item {
        padding: 20px;
    }
}


/* ================================
   Стили блока "Академия" на главной
   ================================ */

/* Контейнер с описанием академии */
.s_section.academy-banner .academy-info__content {
  border: 2px solid #cddaea;
  border-radius: 16px;
  margin: 1%;
  padding: 24px;
}

.s_section.academy-banner .academy-info__content {
  margin: 0 0 16px;
}

.s_section.academy-banner .academy-info__content .academy-info__title {
  font-size: 34px;
  color: #064497;
}

/* Контейнер статистики — элементы в ряд */
.s_section.academy-banner .academy-stats {
  display: flex;            /* Раскладываем элементы в строку */
  gap: 16px;                /* Единый зазор между карточками */
  flex-wrap: wrap;          /* Переносим на следующую строку на узких экранах */
  align-items: stretch;     /* Растягиваем элементы на одинаковую высоту */
}

/* Элемент статистики (карточка) */
.s_section.academy-banner .academy-stats__item {
  border: 2px solid #cddaea;
  border-radius: 16px;
  padding: 24px;
  flex: 1 1 220px;          /* Адаптивная ширина карточки, без жесткой фиксации */
}

/* Число в карточке статистики */
.s_section.academy-banner .academy-stats__number {
    font-weight: bold;
    font-size: 2rem;
    color: #064497;
    margin: 0 0 5%;
    text-align: center;
}

.s_section.academy-banner .academy-stats__text {
    color: #064497;
    font-size: 16px;
    line-height: 1.5;
}

/* Сетка 2×2 для блока баннеров сразу после academy-banner */
.homeBannersGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.homeBannersGrid .heroBanner__item {
    height: 100%;
}

/* Мобильная адаптация: по одному в ряд */
@media only screen and (max-width: 767px) {
    .homeBannersGrid {
        grid-template-columns: 1fr;
    }
}

/* leadSlider custom styles */
.leadSlider {
    position: relative;
}

.leadSlider .slick-list {
    overflow: hidden;
}

.leadSlider .slick-track {
    display: block; /* use default slick behavior to avoid layout issues */
}

/* Arrows hidden by default, appear on hover/focus */
.leadSlider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20; /* above slide content */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* prevent clicks when hidden */
}

.leadSlider:hover .slick-arrow,
.leadSlider:focus-within .slick-arrow,
.leadSlider .leadSlider__list:hover ~ .slick-arrow {
    opacity: 1;
    pointer-events: auto;
    display: block !important; /* override inline display:none until JS runs */
}

.leadSlider .slick-prev {
    left: 20px;
}

.leadSlider .slick-next {
    right: 20px;
    transform: translateY(-50%) rotate(180deg);
}

/* Two-column layout inside slide: left fixed 250px image, right flexible text */
.leadSlider .w50_wrapper {
    display: flex;
    gap: 20px;
    margin: 0;
    align-items: center;
}

.leadSlider .w50 {
    margin: 0;
    width: auto;
}

.leadSlider .w50:first-child {
    flex: 0 0 250px;
}

.leadSlider .w50:first-child img {
    width: 100%;
    height: auto;
    display: block;
}

.leadSlider .w50:last-child {
    flex: 1 1 auto;
}

@media (max-width: 640px) {
    .leadSlider .w50_wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .leadSlider .w50:first-child,
    .leadSlider .w50:last-child {
        flex: 0 0 auto;
        width: 100%;
    }
    /* Override inline width on mobile */
    .leadSlider .w50:first-child img {
        width: 100% !important;
        height: auto;
    }
}

/* Контейнер с флагманскими программами */
.s_section.flagman-prog .flagman-prog__content {
  border: 2px solid #cddaea;
  border-radius: 16px;
  margin: 1%;
  padding: 24px;
  margin: 0 0 16px;
}

.s_section.flagman-prog .flagman-prog__content .flagman-prog__title {
  font-size: 1.3em;
  color: #064497;
}

.s_section.flagman-prog .flagman-prog__content .flagman-prog__meta {
  margin: 0 0 15px 0;
  color: #064497;
}