body{
    margin: 0;
    max-width: 100%;
    /* overflow-x: hidden; */
    /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
    font-family: sans-serif;
}
.qaz__change{
    display: flex; 
    align-items: center;
}
.qaz{
    display: flex;
    width: 130px;
    height: 25px;
    color: #fff;
    text-decoration: none;
    text-transform: none;
    background: #0374FF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    border-right: 2px solid rgb(168, 165, 165);
    border-bottom: 2px solid rgb(168, 165, 165);
}
.pressed__qaz{
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-left: 2px solid rgb(168, 165, 165);
    border-top: 2px solid rgb(168, 165, 165);
}
.article_img{
    width: 100%;
    max-width: 500px;
    height: auto;
}
.content{
    display: flex;
    width: 100%;
}
.slide__text{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    overflow: hidden;
}
.slide__img{
    width: 30%;
    height: 30%;
    overflow: hidden;
}
.slide__img img{
    top: 50%;
    left: 50%;
    height: 30%;
    transform: translate(-50%,-50%);
    object-fit: cover;
    position: relative;
}
h1{
    /* font-size: 85px; */
    font-size: 58px;
    text-transform: uppercase;
    text-align: start;
    margin-top: 20px;
    margin-bottom: 20px;
    letter-spacing: 0px;
}

.h1-2 {font-size: 96px;} .h1-4 {font-size: 70px;}

a {
    cursor: pointer !important;
}

.static{
    width: 100%;
    display: flex;
    /* position: fixed; */
}

.left{
    display: flex;
    width: 100px;
    height: 100vh;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    /* max-width: max-content; */
    background-color: #132c4b;
    /* transition: width 0.5s; */
    transition: 0.5s;
}

.logo__info{
    width: 100%;
}

.logo{
    display: flex;
    justify-content: center;
    background-color: #0374ff;
}

.logo__img{
    width: 29px;
    padding: 23px;
}

/* .logo:target{
    background-color: red;
    width: 300px;
} */
.biggest{
    width: 200px;
    transition: 0.5s;
}

.social__content{
    position: relative;
    top: 11%;
    opacity: 0;
    animation: ani 0.5s forwards;
}

@keyframes ani {
    0% {opacity: 0;}
    100% {opacity: 1;}
  }

.social__content a{
    display: flex;
    margin-bottom: 20px;
    justify-content: center;  
    font-size: 32px;
    text-decoration: none;
    color: #5275a1;  
    /* opacity: 0.5s; */
}

.social__content a :hover{
    color: #7ea3cf;
}

.left__down{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.burger{
    display: flex;
    padding-bottom: 20px;
    justify-content: center;
}

.burger__hide{
    display: none;
}

.burger__img{
    width: 35px;
    padding: 5px;
}

.mini{
    display: flex;
    margin-bottom: 10px;
    justify-content: center;
}
.fa-brands{
    margin: 0 5px;
}
.contacts{
    display: none;
    text-align: center;
    font-size: 12px;
    color: #fff;
}

.contacts__show{
    display: block;
}

.cross{
    display: none;
    margin: 15px;
    width: 25px;
    height: 25px;
    background-image: url(/image/cross.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.cross__show{
    display: block;
}

.right__static{
    width: 100%;

    display: flex;
    flex-direction: column;
    /* justify-content: space-between;  */

}





.header{
    width: 100%;
    height: min-content;
    position: relative;
    /* background-color: #fff; */
}

#myLinks{
    /* margin-right: 30px; */
}

.ni__hub{
    width: 95%;
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    padding-left: 30px;
    text-transform: uppercase;
}

.lang{
    position: absolute;
    right: 30px;
    top:auto;
    padding: 5px 20px 5px 5px;
    margin: 5px 0;
    /* padding: 0; */
    background-color: #fff;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-top: 2px solid #0374ff;
    visibility: hidden;
    z-index: 7;
    transition: .3s linear;
    transform: rotateX(90deg);
    transform-origin: 0% 0%;
}
.lang li{
    width: 100px;
}
.lang li a{
    display: block;
    width: 100%;
    color:#132c4b;
    text-decoration: none;
    text-transform:initial;
}
.dropdown__lang{
    /* margin-top: 10px; */
    margin-right: 30px;
    max-height: 50px;
    margin-left: 30px;
}
.dropdown__lang:hover > .lang {
    visibility: visible;
    transform: rotateX(0deg);

}
.dropdown__lang > a{
    text-transform: initial;
    padding-bottom: 10px;
}
.dropdown__lang:hover > a{
    color:#0374ff;
}


                                                        /* Nav */
li{
    list-style: none;
}
nav {
    padding-left: 30px;
    background: #0374ff;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
nav ul:after {
    content: "";
    display: table;
    clear: both;
}
ul .submenu{box-shadow: 0px 0px 5px rgba(0,0,0,0.2);}

/* .submenu ul:hover{border-top: 2px solid #0374ff;} */

nav a {
    text-decoration: none;
    display: block;
    color: #fff;
    padding: 20px 5px;
    /* transition: 0.2s linear; */
}
.topmenu > li {
    float: left;
    position: relative;
    width: 148px;
}
.topmenu > li:first-child {border-left: 0;}
.topmenu > li > a {  
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 5px;
    font-size: 16px;
    color: black;
}
.topmenu > li > a.active, 

.topmenu a:hover {font-weight: 700;} 

.active span{
    position: absolute;
}

/* .active span{
    display:none;
} */


.fa, .submenu .fa {
    margin-left: 5px;
    color: inherit;
}

.flex__nav{
    display: flex; 
    padding-right: 15px;
    justify-content: space-between;
    padding-right: 30px;
}
.nav__link{
    /* width: max-content; */
}

.nav__link li ul li a{
    display: flex;
    justify-content: space-between;
}

nav a:hover{color: #fff;     letter-spacing: -0.7px;}

ul li a:hover{color: #000000;}

.submenu {
    position: absolute;
    z-index: 11;
    max-width: 255px;
    min-width: 250px;
    background: white;
    /* border-top: 1px solid #CBCBCC; */
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    visibility: hidden;
    opacity: 0; 
    transform-origin: 0% 0%;
    transform: rotateX(-90deg);
    transition: .3s linear;  
}
.submenu2{
    max-height:none !important;
}
.submenu li {position: relative; }
.submenu li a {
    color: #282828;
    padding: 10px 20px;
    font-size: 16px;
    /* border-bottom: 1px solid #CBCBCC; */
}

.submenu li:first-child{  
    border-top: 2px solid #0374ff;
}

.submenu li:last-child{
    border-bottom: 1px solid #CBCBCC;
    top: -1px;
}
.nav__link .submenu .submenu {
    position: absolute;
    left: 100%;
    top: -1px;
    transition: .3s linear;
    max-height: 285px;
    overflow-y: auto;
}


.nav__link:last-child .submenu{
    right: 30px;
}
.nav__link:nth-last-child(-n+2) .submenu .submenu{
    left: -100%;
    /* width: 200px; */
}
@media(min-width: 1366px){
    .nav__link:nth-last-child(-n+2) .submenu .submenu{
        /* left: -97%; */
    }
}

nav li:hover> .submenu {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1;
}
.slider__item{
    /* display: block; */
    display: none;
    height: 55vh;
    /* background-color: #7ea3cf20; */

}
.scroll{
    width: 100%;
    height: 100%;
    display: flex;
    align-self: center;
}
.scroll img{
    height: 100% !important;
    width: auto!important;
}
.slide__show{
    /* display: block; */
    /* display: none; */
}
/* .slider__active{
    display: block;
} */
/*-------------------------------------------------------------*/
.news__content {
    display: flex;
    justify-content: center; /* Центрирование блоков */
    gap: 50px; /* Отступы между блоками */
    margin: 0 auto; /* Выравнивание по центру */
    margin-bottom: 100px;
    margin-top: 100px;
}

.news-block {
    width: calc(33.33%); /* Три в ряд, минус отступ */
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 180px;
    box-sizing: border-box; /* Чтобы padding не влиял на ширину */
    display: flex;
    flex-direction: column;
    justify-content:space-between;
}

.news-block h2 {
    position: relative; /* Либо оставить static, если не работает */
    top: 0;
    font-size: clamp(14px, calc(1vw + 8px), 18px); 
    margin: 0 0 10px 0;
    padding: 0 0 0 0;
}



.read-more {
    width: calc(90%-10px); /* Три в ряд, минус отступ */
    font-size: clamp(14px, calc(1vw + 8px), 14px); 
    display: inline-block;
    margin-top: 35px;
    padding: 8px 12px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.read-more:hover {
    background: #0056b3;
}



/*-------------------------------------------------------------*/
                                                /* Footer-info */

.down__static__footer{
    position: absolute;
    min-width: 89vw;
    display: flex;
    flex-direction: column;
    bottom: 0;
    z-index: 10;
}
.all__info{
    text-align: center;
    margin-top: 40px;
}
.down__static__footer .all__info{
    width: 75%;
    display: flex;
    justify-content: center;
}
.static__footer{
    width: 98%;
    display: flex;
    justify-content: space-between;
    margin: 0px 20px 0 20px
}
.footer__info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    width: 100%;
    margin: 5px;
    padding: 0 15px 15px 15px;
    font-size: 13px;
    text-align: justify;
    background-color: #fff;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    /* border: 1px solid rgb(206, 206, 206);
    border-radius: 10px; */
    /* overflow: hidden; 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; */
}
.footer__info a{
    color: black;
    text-decoration:wavy;
}
.buttons{
    display: flex;
    width: 80%;
    margin-left: 30px;
    margin-bottom: 30px;
    justify-content: space-between;
}
.more{
    display: flex;
    width: 200px;
    height: 55px;
    color: #fff;
    background: #0374FF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}
.more:hover, .more:focus{
    box-sizing: border-box;
    border: 2px solid #93c4ff;
}
#prev, #next{
    display: flex;
    width: 55px;
    height: 55px;
    color: #fff;
    background: #0374FF;
    /* box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25); */
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-color: white;
}
#prev i, #next i{
    font-size: 25px;
}
.sub__more{
    margin-bottom: 5px;
    overflow: hidden; 
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.after{
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: space-between;
}
.after::after {
    content: "";
    display: inline-block;
    width: 62px;
    height: 1px;
    background-color:#282828;
}
.all__info a{
    padding-bottom: 10px;
    font-weight: 600;
    color: rgb(165, 165, 165);
}                                                /* article_list.php */
.all__news{
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0px 30px 5px 30px;
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.3;
}
.all__news a{
    text-decoration: none;
    color:#0374ff;
}
.content__info__inner{
    padding-left: 30px;
    padding-right: 50px;
    height: 100%;
    overflow: auto;
    color: black!important;
}
.content__info__inner img{
    /* width: 50% !important;
    height: auto !important; */
}
.content__info__inner video{
    width: auto !important;
    height: 32vh !important;
}
.old__news{
    text-align: center;
    font-weight: 700;
    padding-bottom: 40px;
    color: #0374ff;
}
                                                /* 1600 */

@media(max-width: 1600px){
    .logo__img{
        width: 23px;
    }
    h1{
        font-size: 29px;
    }
    .h1-2{
        font-size: 31px;
    }
    .h1-3{
        font-size: 29px;
    }
    .h1-4{
        font-size: 29px;
    }
    .header{
        font-size: 14px;
        width: 100%;
    }
    .slide__text{
        /* padding-bottom: 12vh; */
        font-size: 14px;
    }
    nav a{
        padding: 10px 5px;
    }
    .static__footer{
        width: 98%;
    }
    .footer__info{
        max-height: 120px;
        overflow: hidden;
    }
    .buttons{
        margin-bottom: 10px;
    }
    .sub__more{
        -webkit-line-clamp: 3;
    }
                                                /* 1366 */
}
@media(max-width: 1366px) or (max-height: 550px){
    .more{

        width: 170px;
        height: 45px;
        bottom: 26%;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
        border-radius: 10px;
    }
    #prev, #next{
        width: 45px;
        height: 45px;
    }
    h1{
        font-size: 25px;
    }
    .h1-2{
        font-size: 27px;
    }
    .h1-3{
        font-size: 25px;
    }
    .h1-4{
        font-size: 25px;
    }
    .header{
        width: 100%;
    }
    .dropbtn{
        font-size: 16px;
    }
    .ni__hub{
        padding-top: 10px;
        padding-left: 15px;
    }
    .submenu li a{
        font-size: 13px;
    }
    .left{
        width: 75px;
    }
    .biggest{
        width: 150px;
    }
    .logo__img{
        width: 15px;
    }
    .social__content a{
        font-size: 25px;
        margin-bottom: 10px;
    }
    .burger__img{
        width: 25px;
    }
    .slider__control {
        width: 40px;
        height: 40px;
        bottom: 24%;
    }
    .slider__control::before {
        width: 35px;
        height: 35px;
    }
}
@media(max-height: 550px){
    .sub__more{
        -webkit-line-clamp: 1;
    }
}
                                                /* 650 */
@media(max-width: 650px){
    #myLinks{
        position: absolute;
        top: 0px;
        width: 100%;
    }
    #prev, #next{
        margin-left: 10px;
        width: 55px;
        height: 55px;
    }
    .buttons{
        width: 100%;
    }
    li{
        user-select: none;
    }
    .static{
        position: initial;
        display: block;
        /* height: 100vh; */
    }
    .left{
        width: 100%;
        height: auto;
        flex-direction: row;
    }
    .logo__info{
        width: auto;
    }
    .logo__img{
        width: 25px;
    }
    nav{
        /* display: none; */
        /* width: min-content; */
        visibility: hidden;
        background-color: #fff !important;
    }
    nav a{
        color: black !important;
    }
    nav a:hover{
        color: #0374ff !important;
        font-weight: 700 !important;
    }
    .flex__nav{
        flex-direction: column;
        padding: 0;
    }
    .nav__link{
        width: auto;
    }
    .social__content{
        display: flex;
        position: absolute;
        left: 42%;
        top: 4%;
    }
    .burger{
        padding: 0 20px;
    }
    .burger__img{
        width: 30px;
    }
    .hr__mobile{
        color: #132c4b; 
        display: block !important;
    }
    .slide__img{
        display: none;
    }
    .header{
        /* display: none; */
    }
    .content__info__inner{
        text-align: justify;
    }
    .slide__text{
        padding-top: 0px;
        height: 65vh;
    }
    .scroll{
        display: flex;
        justify-content: center;
        flex-direction: column;
        height: 100%;
        overflow-y: auto;
    }
    .scroll h1{
        font-size: 30px;
    }
    .all__news{
        padding-bottom: 100px;
    }
    .more{
        height: 55px;
    }
    .static{
        width: 100%;
    }
    .static__footer{
        flex-direction: column;
        width: 78%;
    }
    .down__static__footer{
        top: 90%;
        width: 100%;
        position: absolute;
    }
    .down__static__footer .all__info{
        width: auto;
    }
    .slider__item{
        /* overflow-y: auto; */
    }
    .nav__link:last-child .submenu .submenu{
        left: 100px;
        width: 200px;
    }
    .slider__control::before {
        width: 38px;
        height: 38px;
    }
    .news__content{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .news-block{
        width: 80%;
    }
    
}
@media(max-width: 450px){
    .qaz__change{
        margin-right: 0px;
        flex-direction: column;
        justify-content: center;
}
}