:root {
    --primary-color: #a80034;
    --secondary-color: #fdc62b;
}
/* --- Подключение полного семейства шрифта TT Norms Pro --- */

/* Thin (100) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* ExtraLight (200) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* Light (300) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Regular (400) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-Regular.ttf') format('truetype');
    font-weight: 400; /* normal */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-Italic.ttf') format('truetype'); /* Имя файла для обычного курсива */
    font-weight: 400; /* normal */
    font-style: italic;
    font-display: swap;
}

/* Medium (500) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-Medium.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-MediumItalic.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Bold (700) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-Bold.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 700; /* bold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-BoldItalic.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 700; /* bold */
    font-style: italic;
    font-display: swap;
}

/* ExtraBold (800) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-ExtraBold.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-ExtraBoldItalic.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Black (900) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-Black.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-BlackItalic.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ExtraBlack (также 900, стандартный CSS не имеет веса > 900) */
@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-ExtraBlack.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 900; /* Максимальный стандартный вес */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms Pro';
    src: url('/assets/fonts/ttnormspro/TTNormsPro-ExtraBlackItalic.ttf') format('truetype');
    /* WOFF2/WOFF */
    font-weight: 900; /* Максимальный стандартный вес */
    font-style: italic;
    font-display: swap;
}

:target {
    scroll-margin-top: 180px;
}

::selection{
    background-color: var(--primary-color);
    color: white;
}

.center-list a{
    color:var(--primary-color);
    text-decoration: none;
}

.center-list > div {
    margin: 3px 0;
}

.docs > div{
    margin-bottom: 7px;
    margin-top: 7px;
}
.open .search-form{
    display: block!important;
}
.center-list{
    width: 90%;
    margin: auto;
    font-size: large;
    text-transform: uppercase;
}

.container-custom-width {
    /* Базовые стили для отступов и центрирования */
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

/* Применяем максимальную ширину 1200px на экранах >= 1200px */
@media (min-width: 1200px) {
    .container-custom-width {
        max-width: 1200px;
    }
}
div{
    /*border: black 1px solid;*/
}
body{
    font-family: 'TT Norms Pro';
}
#app{
    /*overflow: hidden;*/
}
.hdr{
    margin-top: 0;
    height: 120px;
    background-color: var(--primary-color);
    line-height: 1;
    letter-spacing: 0.1rem;
}

main{
    flex: 1;
}

.logo-big img{
    margin-left: 10px;
    margin-top: 20px;
    object-fit: contain;
    width: auto;
    height: 90%;
    max-width: 100%;
}
.logo-big{
    /*background: url("/assets/files/images/") no-repeat ;*/
}

.first-menu{
    font-size: 15px;
    font-weight: 500;
    min-height: 60px;

}

.second-menu a, .mob-second-menu a{
    text-decoration: none;
}
.second-menu{
    font-size: 12px;
    font-weight: bold;
    height: 60px;
    letter-spacing: 0.03rem;
    display: none;
}

.first-menu{
    font-weight: 500;
}

.button-support{
    height: 30px;
    min-width: 80px;
    display: flex !important;
    align-content: center;
    justify-content: center;
    text-align: center;
    padding: 4px 15px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    color: var(--primary-color);
    display: flex;
    width: fit-content;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    flex-wrap: wrap;
}

.teaser{
    display: flex;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-image: url("/assets/images/teaser.jpg");
    background-repeat: norepeat;
    height: 450px;
    width: 100%;
    background-position: center center;
    background-size: cover;
}

.banner-container img{
    object-fit: cover;
    width: 100%;
}
.banner-container{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 35 / 6;
    background-color: #fff;
    border-top: 1px solid #ddd;
    z-index: 1000;
}
#closer{
    width: 1.5rem;
    height: 1.5rem;
    padding: 0 5px;
    border-radius: .5rem;
    background: white;
    border: 1px solid black;
    position: absolute;
    top: -11px;
    right: 11px;
}

.hidden{
    display: none!important;
}

.half-text{
    padding: 10px 50px;
    height: 145px;
    width: 50%;
    margin-top: auto;
    background-color: rgba(168,0,52,0.85);
    color: white;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 200;
}

.line_ylw{
    height: 10px;
    background-color: #fdc62b;
}

.tesis-list h1{
    color: var(--primary-color);
    font-weight: 500;
    font-size: larger;
}
.news-body img{
    max-width: 100%;
    height: auto;
}

.item{
    height: 250px;
    max-width: 100%;
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
    margin: 15px 0;
}

.item img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    box-sizing: border-box;
}
.item .item-text a{
    color: white;
    text-decoration: none;
}
.item .item-text{
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    height: 6rem;
    width: 100%;
    margin-top: -6rem;
    z-index: 200;
    position: relative;
    padding: 10px 30px;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
}


html {
    /*overflow-y:scroll;*/
}
header{
    position: sticky;
    top: 0;
    z-index: 1000;
    /*
    margin-left: calc(-0.5 * var(--bs-gutter-x) + 1px) !important;
    margin-right: calc(-0.5 * var(--bs-gutter-x) - 1px) !important;
    padding-left: calc(0.5 * var(--bs-gutter-x));
    padding-right: calc(0.5 * var(--bs-gutter-x));
    */
}

footer {
    height: auto!important;
}

.tb{
    background-image: url("/assets/images/tb__.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 25 / 9.35;
    aspect-ratio: 1200 / 448;
    background-color: var(--primary-color);
}
.bb{
    background-image: url("/assets/images/bb.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 55px;
}

.item .ustav{
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}
.red-block{
    background-color:var(--primary-color);
    padding: 50px 30px;
    margin-top: -20px;
    color: white;
    font-size: large;
    line-height: 1.4rem;
}
.news, .party{
    margin-top: 30px;
}
.party{margin-bottom: 50px}

.news-list .timestamp{
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 7px;
}
.news-item{
    font-size: 1.4rem;
    line-height: 1.8rem;
}
.news-item a{
    text-decoration: none;
    color: #3b3f42;
}
.news-list a.titler:hover{
    text-decoration: underline;
}
.news-list a{
    color: black;
    text-decoration: none;
}
.news-list a.titler{
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: var(--primary-color);
}
.news-list h2{
    color: var(--primary-color);
    /*text-transform: uppercase;*/
    font-size: 2.3rem;
    font-weight: 600;
}
.news-index p{
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.active>.page-link, .page-link.active {
    background: var(--primary-color);
    border: var(--primary-color) solid 1px;
}
.page-link:hover {
    color: var(--primary-color);
}
.page-link {
    color: var(--primary-color);
}

.sticky-panel{
    top: 205px;
    position: sticky;
}


.sec{
    color: var(--secondary-color)!important;
}
.e-font-icon-svg{
    fill: var(--primary-color);
    width: 20px;
    margin-left: -3px;
}
.social{
    padding-top: 20px!important;
    padding-right: 7px;
    justify-content: end;
    transform: scale(0.85);
    margin-top: 10px;
}

.social > div{
    background-color: white;
    height: 33px;
    padding: 6px 8px;
    margin-right: 8px;
}
.social-vert .e-font-icon-svg{
    fill: white;
}
.social-vert > div{
    background-color: var(--primary-color);
    width: 35px;
    margin: 10px 0;
}

.social-vert{
    position: relative;
    display: flex;
    flex-direction: column;
    top: -150px;
    right: -300px;
    max-width: 75px;

}
.party .news-item{
    margin: 20px 0;
}

.has-child span::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px; /* Невидимая зона для курсора */
    width: 70%;
    background: transparent;
}

.has-child span:hover .submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.submenu .menu-child span:hover {
    color: var(--primary-color);
}

.submenu a{
    color: black;
    text-decoration: none;
    text-transform: none;
    font-weight: normal;
}
.submenu{
    /*display: none;*/
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    position: absolute;
    width: 400px;
    font-style: normal;
    height: auto;
    background-color: white;
    top:160%;
    left: 0;
    z-index: 1000;
}

.has-child.active .mob-submenu {
    height: auto;
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}
.has-child.active .submenu {
    height: auto;
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.mob-submenu{
    transition: all 0.6s ease;
    pointer-events: none;
/*    position: absolute;*/
    width: 300px;
    font-style: normal;
    height: 0;
    /*background-color: white;*/
    /*
    top:160%;
    left: 0;
    */
    overflow: hidden;
    z-index: 1000;
}

.menu-child{
    border: lightgrey 1px solid;
    padding: 4px 20px;
}

.icon-arrow{
    height: 14px;
    width: 20px;
    padding: 1px 2px;
    display: inline-block;
}
.second-menu .has-child a:hover ~ .icon-arrow:before{
    transform: scaleY(0.7) rotate(180deg);
}
.mob-second-menu .has-child.active .icon-arrow:before{
    transform: scaleY(0.7) rotate(180deg);
}
.second-menu .has-child.active .icon-arrow:before{
    transform: scaleY(0.7) rotate(180deg);
}
.icon-arrow:before{
    content: "\25BC";
    display: block;
    transform: scaleY(0.7);
    transition: transform 0.3s ease;
}

.nav-art{
    padding: 15px;
}

.page-content p{
    text-align: left;
}

.nav-art a{
    color: black;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    font-size: small;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100000;
    transition: all 0.3s ease;
}

.hamburger:hover {
    /*opacity: 0.7;*/
}

.hamburger:focus {
    outline: none;
}

.active .hamburger__line {
    background-color: #fff;
}
.hamburger__line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger--classic.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger--classic.active .hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger--classic.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/*
.second-menu.has-children.open::after {
    transform: rotate(180deg); !* Поворачиваем при открытии *!
}
*/

/*
.second-menu.has-children::after {
    content: "\25BC"; !* Стрелка вниз для закрытого подменю *!
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}
*/
.active  .second-menu{display: flex;}

.active + .mob-second-menu{
    visibility: visible;
    opacity: 1;
}
.mob-second-menu{
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s ease;
    position: fixed;
    top:0px;
    left:0;
    z-index: 10000;
    width: 100%;
    background-color: var(--primary-color);
    height: 100vh;
    flex-direction: column;
}
iframe{
    max-width: 100%;
}

@media (min-width: 450px) {

    .tesis-list h1{
        font-size: 1.6rem;
    }
    .hdr{
        height: 140px;
    }
}

/* ==========================================================================
   SM (Small devices - 576px и выше)
   Mobile
   ========================================================================== */


@media (min-width: 576px) {

    .tesis-list h1{
        font-size: 1.6rem;
    }
    .hdr{
        height: 175px;
    }
}

/* ==========================================================================
   MD (Medium devices - 768px и выше)
   Tablets
   ========================================================================== */

@media (min-width: 768px) {
    .tesis-list h1{
        font-size: 2.2rem;
    }
    .button-support{
        height: 50px;
        min-width: 165px;
        display: flex !important;
        align-content: center;
        justify-content: center;
        text-align: center;
        padding: 6px 25px;
        background-color: var(--secondary-color);
        border-radius: 4px;
        color: var(--primary-color);
        display: flex;
        width: fit-content;
        text-transform: uppercase;
        font-weight: 500;
        font-size: 16px;
        flex-wrap: wrap;
    }
    .page-content p{
        text-align: justify;
    }
    .social{
        transform: none;
        margin-top: 0px;
    }
    .social > div{
        background-color: white;
        height: 33px;
        padding: 7px 9px;
    }
    .item .item-text{
        height: 8rem;
        margin-top: -8rem;
    }

}

/* ==========================================================================
   LG (Large devices - 992px и выше)
   Desktops
   ========================================================================== */

@media (min-width: 992px) {
    .hdr{
        height: 175px;
    }

    .second-menu{
        display: flex;
    }
    .social > div {
        margin: 2px 6px;
    }
    .center-list{
        width: 70%;
        margin: auto;
    }

}

/* ==========================================================================
   XL (X-Large devices - 1200px и выше)
   Large desktops
   ========================================================================== */

@media (min-width: 1200px) {
    .second-menu {
        font-size: 14px;
    }
    .tesis-list h1{
        font-size: 2rem;
    }


}
@media (min-width: 1300px) {
    .d-xml-flex{
        display: flex!important;
    }
}

/* ==========================================================================
   XXL (XX-Large devices - 1400px и выше)
   Larger desktops
   ========================================================================== */

@media (min-width: 1400px) {

}

/* ==========================================================================
   ДИАПАЗОНЫ МЕДИАЗАПРОСОВ (между брейкпоинтами)
   ========================================================================== */

/* Только XS (до 575.98px) */
@media (max-width: 575.98px) {

}

/* Только SM (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {

}

/* Только MD (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {

}

/* Только LG (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {

}

/* Только XL (1200px - 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {

}

/* ==========================================================================
   МАКСИМАЛЬНЫЕ ШИРИНЫ (max-width медиазапросы)
   ========================================================================== */

/* До SM (максимум 575.98px) */
@media (max-width: 575.98px) {
    iframe{
        max-height: 500px;
        max-width: 100%;
    }
}

/* До MD (максимум 767.98px) */
@media (max-width: 767.98px) {

}

/* До LG (максимум 991.98px) */
@media (max-width: 991.98px) {

}

/* До XL (максимум 1199.98px) */
@media (max-width: 1199.98px) {

}

/* До XXL (максимум 1399.98px) */
@media (max-width: 1399.98px) {

