/* =========================================================================
   1. ПОДКЛЮЧЕНИЕ ШРИФТА UNBOUNDED ДЛЯ НОВОГО ЛЕНДИНГА
========================================================================= */
@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/Unbounded/Unbounded-Regular.woff2') format('woff2'),
         url('../fonts/Unbounded/Unbounded-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/Unbounded/Unbounded-Bold.woff2') format('woff2'),
         url('../fonts/Unbounded/Unbounded-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/Unbounded/Unbounded-Black.woff2') format('woff2'),
         url('../fonts/Unbounded/Unbounded-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================================================
   2. ТВОИ ИСХОДНЫЕ ГЛОБАЛЬНЫЕ СТИЛИ (Без изменений)
========================================================================= */
.faces__man{
    max-height: 610px;
}

.faces__man img {
    max-height: 610px;
}

.vertical-nav li.drops{
    position: relative;
}

.search-suggestions a {
    display: block;
}

.search-suggestions a:hover{
    background-color: #FCFCFF;
    text-decoration: none;
}

.newscard_card_text p{
    color: #70787d;
    font-size: 0.875rem;
    margin-bottom: 0;
}
.breadcrumb > li + li:before{
    content: "";
    padding: 0;
}

.icon {
    display: inline-block;
    overflow: hidden;
    width: 20px;
    height: 20px;
    vertical-align: text-top;
    background: url(img/all-icons.png) 0 0 no-repeat;
}

.icon-special-version {
    background-position: -40px -80px;
    width: 25px;
}

.special-panel {
    height: 50px;
    background-color: #a0a0a0;/*#6A5FEA;*/
}

.special-panel a {
    padding: 11px;
    font-size: 14px;
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
}

.special-panel .fl-r {
    float: right;
}

.special-panel .hide{
    display: none;
}

.special-settings {
    display: none;
}

.special-aaVersion-on .special-settings {
    display: block; }

.aa-show {
    display: none; }

.special-aaVersion-on .aa-show {
    display: inline-block;
    float: right; }

.special-aaVersion-on .aa-hide {
    display: none; }


.newscard_card_text{
    max-height: 78px;
    overflow: hidden;
}

#ajax_result{
    background-color: #84da84;
    padding: 4px 11px;
    border-radius: 4px;
    color: black;
}

#ajax_result.error{
    background-color: red;
    color: white;
}

@media (min-width:768px) {
/* .menu__item:first-child>.menu__link.menu__link--white
{
 background: #ff1557; #0ab8e6;
 
}*/

header .menu .menu__item
{
background:  #ff1557;
}
}

.ubi
{
text-transform: uppercase;
text-align: center;
}

.ubi-w
{margin-bottom: 4rem;}

.ubi-w img
{margin-bottom: 1rem;
display: block;
margin-left: auto;
margin-right: auto;
max-width: 75%;
}

.ubi a
{
 font-size: 26px;
    line-height: 34px;
 display: block;
 color: #001374;
text-decoration: none;
}

.ubi a:hover, .ubi a:focus
{
text-decoration: none; 
color: #0023d6;
}

@media (max-width:1200px)
{
 .ubi a
 {
 font-size: 22px; 
  line-height: 26px;
 }
}


@media (max-width:768px)
{
 .ubi-w img
 {
 max-width: 180px;
 }
 .ubi a
 {
 font-size: 26px;
    line-height: 34px;
 }
}

#zashita .dropdown.bootstrap-select
{width: 100%;
}

.btn-input
{display: block; width: 100%;}


.hrefstyle a[href^="#"] 
{
cursor: inherit;
text-decoration: none; 
 color: inherit;
}

@media (min-width:768px) {
.announcement
{margin-bottom: 30px;}

.slick-track
{margin-left: 0;
}
}

.block-link
{padding-top: 30px;
padding-bottom: 30px;
}

.box-blue-wrap
{margin-bottom: 20px;}

.blue-box
{color: #fff;
font-size: 18px; 
padding: 23px;
}

.blue-box-col
{margin-bottom: 16px;}

.blue-box .title
{
   font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1;
    min-height: 72px;
    display: flex;
    align-items: center;
}
 
.blue-box .caption
{
font-family: 'Circe Extra';
} 

.blue-box .readmore a
{
 color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    font-family: 'Circe Extra';
    text-decoration: underline;
 color: #fff;
}

.blue-box .text p
{   
 line-height: 1.3;
    font-size: 16px;
    margin-bottom: 2px;
}
.blue-box .text
{
 line-height: 1.3;
    font-size: 16px;
}
.blue-box-3 .blue-box
{
background: #0a47b2; /* Old browsers */
background: -moz-linear-gradient(left, #0a47b2 0%, #001d7f 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #0a47b2 0%,#001d7f 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #0a47b2 0%,#001d7f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a47b2', endColorstr='#001d7f',GradientType=1 ); /* IE6-9 */
height: 100%
}


.blue-box-2 .blue-box
{
background: #0276d9; /* Old browsers */
background: -moz-linear-gradient(left, #0276d9 0%, #0a47b2 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #0276d9 0%,#0a47b2 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #0276d9 0%,#0a47b2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0276d9', endColorstr='#0a47b2',GradientType=1 ); /* IE6-9 */
height: 100%
}



.blue-box-1 .blue-box
{
background: #15a0ff; /* Old browsers */
background: -moz-linear-gradient(left, #15a0ff 0%, #0276d9 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #15a0ff 0%,#0276d9 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #15a0ff 0%,#0276d9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#15a0ff', endColorstr='#0276d9',GradientType=1 ); /* IE6-9 */
height: 100%
}

.news-list
{margin-bottom:15px;}

.news-date
{font-size: 14px;}

.news-link
{line-height: 1.2;}

.news-link a
{
     font-family: 'Circe Extra';
    color: #fff;
    font-size: 16px;
}

.blue-box .readmore-big
{
 margin-top: 30px;
}

.blue-box .readmore-big a
{
 color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    border: 4px solid #fff;
    text-transform: uppercase;
    font-family: 'Circe Extra';
    font-size: 16px;
}


.blue-box .img img
{
width: 100%;
   object-fit: cover;
    height: 211px;
    border: 6px solid #fff;
    border-radius: 30px;
}

.blue-box .svg img
{
    max-width: 40px;
     margin-bottom: 15px;
}


@media (max-width:768px) {
 .blue-box .img
 {margin-bottom: 15px;}
 .blue-box .img img
 {height: auto;}
 
 .blue-box .title
 {font-size: 28px;}
 
 .blue-box .title
 {min-height:auto;}
}

/* =========================================================================
   3. ГЛОБАЛЬНЫЙ ФИКС ДЛЯ НОВОГО ЛЕНДИНГА (БРОНЯ ДЛЯ ШАПКИ)
========================================================================= */
@media (min-width: 1200px) {
    /* Делаем шапку принудительно БЕЛОЙ */
    .menu-wrapper {
        background-color: #ffffff !important; 
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
        padding: 10px 0 !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
    /* Убиваем синие полосы, которые генерировал старый шаблон */
    .menu-wrapper::after,
    .menu-wrapper::before {
        display: none !important;
    }

    /* Выстраиваем логотип слева, а меню справа */
    .navigation {
        background-color: transparent !important;
        display: flex !important;
        justify-content: space-between !important; 
        align-items: center !important;
        height: auto !important;
        width: 100% !important;
    }

    /* Ставим логотип и текст в одну линию */
    .navigation-wrap__logo {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        text-decoration: none !important;
    }
    
    .navigation__logo img {
        max-width: 60px !important; /* Размер яблока */
        height: auto !important;
        display: block !important;
    }
    
    /* Применяем шрифт Unbounded к названию вуза */
    .navigation__title {
        color: #000000 !important; 
        font-family: 'Unbounded', sans-serif !important; 
        font-size: 14px !important;
        font-weight: 900 !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-transform: uppercase !important;
        text-align: left !important;
        white-space: nowrap !important; /* Запрещаем перенос слов в логотипе */
    }

    .navigation__title a {
        color: #000000 !important;
        text-decoration: none !important;
    }

    /* Убираем лишние отступы у меню, чтобы оно прижалось вправо */
    .menu-main {
        margin: 0 !important;
        background: transparent !important;
    }

    /* Применяем шрифт Unbounded к кнопкам меню (перебивая Circe Extra) */
    ul#menu-main > .menu__item > .menu__link {
        font-family: 'Unbounded', sans-serif !important;
    }
    .navigation .menu .menu__item > .menu__link {
        font-family: 'Unbounded', sans-serif !important;
    }
}

/* =========================================================================
   ИЗОЛИРОВАННЫЕ СТИЛИ ДЛЯ НОВЫХ ШАБЛОНОВ МЕНЮ
========================================================================= */

/* Шапка */
.new-landing-header {
    font-family: 'Unbounded', sans-serif !important;
    background-color: #ffffff;
    padding: 15px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}
.nl-logo-link { display: flex; align-items: center; gap: 15px; text-decoration: none !important; }
.nl-logo-link img { width: 60px; height: auto; display: block; }
.nl-logo-text { color: #000000 !important; font-size: 14px; font-weight: 900; line-height: 1.15; margin: 0; }

/* Верхние кнопки */
.nl-top-nav { display: flex; align-items: center; gap: 12px; }
.nl-btn {
    background-color: #4d5efc; color: #ffffff !important; padding: 12px 24px;
    border-radius: 50px; font-size: 12px; font-weight: 700; text-transform: uppercase;
    text-decoration: none !important; transition: all 0.3s ease; border: none;
}
.nl-btn:hover { background-color: #3b4be0; transform: translateY(-2px); }
.nl-btn-green { background-color: #d3f338; color: #000000 !important; }
.nl-btn-green:hover { background-color: #c4e429; }

/* Оверлей и Сайдбар */
.nl-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px);
    z-index: 1999; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.nl-overlay.is-active { opacity: 1; visibility: visible; }

.nl-sidebar {
    position: fixed; top: 0; right: -400px; width: 340px; height: 100vh;
    background-color: #4d5efc; box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    z-index: 2000; padding: 70px 20px 30px 20px; box-sizing: border-box;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Unbounded', sans-serif !important; overflow-y: visible;
}
.nl-sidebar.is-active { right: 0; }
.nl-close-btn { position: absolute; top: 15px; right: 25px; background: none; border: none; color: #ffffff; font-size: 32px; cursor: pointer; transition: transform 0.3s; padding: 0; }
.nl-close-btn:hover { transform: rotate(90deg) scale(1.1); }

/* Вложенные списки бокового меню */
ul.nl-side-list, ul.nl-side-dropdown { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
li.nl-side-item { position: relative; width: 100%; }

.nl-side-link {
    display: flex; justify-content: space-between; align-items: center;
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important; padding: 12px 15px; border-radius: 20px;
    font-size: 12px !important; /* Уменьшенный шрифт */
    font-weight: 600; text-transform: uppercase; text-decoration: none !important;
    line-height: 1.3; white-space: normal; /* Разрешаем перенос длинных слов */
    transition: all 0.3s ease; text-align: left;
}
.nl-side-link:hover { background: rgba(255, 255, 255, 0.1); border-color: #ffffff; }

.nl-arrow { font-size: 9px; opacity: 0.7; }

/* Логика выпадающего меню (выпадает ВЛЕВО от сайдбара) */
.nl-side-dropdown {
    position: absolute; right: 100%; top: 0; width: 280px;
    background-color: #3b4be0; padding: 15px; border-radius: 20px;
    margin-right: 15px; box-shadow: -5px 5px 15px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden; transition: all 0.2s ease;
    transform: translateX(10px);
}
.has-dropdown:hover > .nl-side-dropdown { opacity: 1; visibility: visible; transform: translateX(0); }

/* Дизайн ссылок ВНУТРИ выпадающего меню */
.nl-side-dropdown .nl-side-link {
    border: none; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; padding: 10px 5px;
}
.nl-side-dropdown .nl-side-link:hover { background: transparent; color: #d3f338 !important; border-color: rgba(255,255,255,0.3); transform: translateX(5px); }

/* Кнопка приоритет */
.nl-side-link-green { background-color: #d3f338; color: #000000 !important; border: none; font-weight: 800; margin-top: 10px; justify-content: center; border-radius: 50px;}
.nl-side-link-green:hover { background-color: #c4e429; }

@media (max-width: 991px) {
    .new-landing-header { padding: 15px 20px; }
    .nl-btn:not(.nl-btn-green) { display: none; }
    .nl-logo-text { font-size: 11px; }
}