*{
    padding:0;
    margin:0;
    border:0;
}
*,*:before,*:after{
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing: border-box;
}
:focus,:active{outline:none;}
a:focus,a:active{outline:none;}

html,body{
    height:100%;
    width:100%;
    line-height:auto;
    font-size:16px;
    -ms-text-size-adjust:100%;
    -moz-text-size-adjust:100%;
    -webkit-text-size-adjust:100%;
    font-weight: 400;

}
input,button,textarea{font-family:inherit;}

input:-ms-clear{display:none;}
button{cursor:pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a, a:visited{text-decoration:none;}
a:hover{text-decoration:none;}
ul li{list-style:none;}
img{vertical-align:top;}

h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:400;}

img {
    pointer-events: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/*------------------------------------↓ОБЩИЕ------------------------------------↑ОБНУЛЕНИЕ*/
body{
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background: #141927;
    color: #808594;
}
.wrapper{
    overflow: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}
._container{
    max-width: 1218px;
    padding: 0 24px;
    margin: auto;
}
a{color: #ffffff;}

h1,h2,h3,h4,h5,h6{color: #808594;}
/*--------------------------------------------------------------------↓ШАПКА*/

/*------------------------------------------------------------------ПОИСКОВИК*/
.search {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 185px 0 101px 0;
    width: 100%;
    padding: 0 24px;
    box-sizing: content-box;
    gap: 25px;
}
@media (max-width: 1920px){
    .search{
        margin-top: calc(135px + 50 * ((100vw - 1024px) / (1920 - 1024)));
    }
}
@media (max-width: 1024px) and (min-width: 800px){
    .search{
        margin-top: calc(110px + 25 * ((100vw - 800px) / (1024 - 800)));
        margin-bottom: calc(50px + 61 * ((100vw - 800px) / (1024 - 800)));
    }
}
@media (max-width: 800px){
    .search{
        margin-top: 110px;
        margin-bottom: 50px;
    }
}
@media (max-width: 555px){
    .search{
        margin-bottom: 25px;
    }
}
@media (max-width: 555px){
    .search{
        flex-direction: column;
        align-items: start;
    }
}
.search h1{
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 28px;
    line-height: 39.6px;
    font-weight: 700;
    color: #ffffff;
}
.input{
    height: 64px;
    max-width: 438px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    position: relative;
    background-color: #161B2E;
    padding: 0 96px 0 40px;
}
.input input{
    /* width: 100%;
    height: 100%;
    font-size: 18px;
    border: none;
    border-radius: 50px;  */
    /* background-color: #161B2E; */
    /* padding: 0 96px 0 40px;
    outline: none;
    color: #fff; */
}
.input .icon{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    position: absolute;
    right: 35px;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
@media (max-width: 555px){
    .input{
        margin: auto;
    }
}
/*----------------------------------------------------------------------------------ОСНОВА*/
.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 362px;
}
.main-container{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.main h1{
    color: #ffffff;
}
.main .details{
    color: #ffffff;
}
/*----------------------------------------------------------------------------верх-ОСНОВЫ*/
.section1{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.big-article{
    display: flex;
    width: 1022px;
    height: 280px;
    justify-content: space-between;
    margin: auto;
    background-color: #161B2E;
    border-radius: 25px;
}
.big-article .content-big{
    display: flex;
    flex-direction: column;
    width: 54.545%;
    padding: 41.5px 50px;
    gap: 13px;
}
@media (max-width: 1071px) and (min-width: 800px){
    .big-article .content-big{
        padding-top: calc(30px + 11.5 * ((100vw - 800px) / (1071 - 800)));
        padding-bottom: calc(30px + 11.5 * ((100vw - 800px) / (1071 - 800)));
        padding-left: calc(27.5px + 22.5 * ((100vw - 800px) / (1071 - 800)));
        padding-right: calc(27.5px + 22.5 * ((100vw - 800px) / (1071 - 800)));
    }
}
.big-article .content-big h1{
    max-width: 368px;
    font-size: 24px;
    line-height: 110%;
    font-family: 'Bai Jamjuree', sans-serif;
    color: #ffffff;
    font-weight: 700;
    overflow: hidden;
}
@media (max-width: 1071px){
    .big-article{
        width: calc(752px + 270 * ((100vw - 800px) / (1071 - 800)));
        height: calc(230px + 70 * ((100vw - 800px) / (1071 - 800)));
    }
    .big-article .content-big h1{
        font-size: calc(20px + 4 * ((100vw - 800px) / (1071 - 800)));
    }
}
.big-article .content-big>.p{
    max-width: 370px;
    line-height: 121.916%;
    font-family: 'Montserrat', sans-serif;
    justify-content: space-between;
    /*max-height: 55px;*/
    overflow: hidden;
    flex: 1 1 auto;
}
.big-article .content-big .bottom{
    max-width: 370px;
    display: flex;
    justify-content: space-between;
}
.big-article .content-big .bottom .date{
    line-height: 121.916%;
}
.big-article .content-big .bottom>.comment {
    line-height: 121.916%;
    display: flex;
    margin-left: -12%;
}
.big-article .content-big .bottom>.comment>img{
    width: 100%;
}
.big-article .content-big .bottom .comment .p-number{
    margin-left: 6.94px;
}
.big-article .content-big .bottom .comment .p-string{
    margin-left: 6px;
}
.big-article .content-big .bottom .details{
    font-weight: 700;
    font-size: 14px;
    line-height: 110%;
    font-family: 'Bai Jamjuree', sans-serif;
}
.big-article img{
    width: 45.455%;
    object-fit: cover;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
@media (max-width: 800px){
    .big-article{
        flex-direction: column;
        flex-direction: column-reverse;
        width: 314px;
        height: 418px;
    }
    .big-article .content-big{
        height: 54.785%;
        width: 100%;
        padding: 30px 27.5px 30px 27.5px;
    }
    .big-article .content-big>.p{
        width: 100%;
        /*max-height: 45px;*/
        overflow: hidden;
    }
    .big-article .content-big h1{
        width: 100%;
        font-size: 20px;
        overflow: hidden;
    }
    .big-article>img{
        width: 100%;
        height: 45.215%;
        border-top-left-radius: 25px;
        border-bottom-right-radius: 0;
    }
    .big-article .content-big .bottom{
        width: 100%;
    }
    .big-article .content-big .bottom .p-string{display: none;
    }
}
.date-publication{
    margin: 50px 0 50px 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 17.5px;
    max-width: 1022px;
    cursor: pointer;
}
.date-publication .number{
    font-size: 18px;
    line-height: 121.8%;
}
.date-publication div{
    height: 1px;
    background-color: #808594;
    width: 200px;
    flex-grow: 1;
}
.main{
    gap: 25px;
}
@media (max-width: 800px){
    .date-publication{
        display: none;
    }
}
.date-publication:hover *{
    color: #87C6ED;
    background-color: #87C6ED;
}
.date-publication:hover p{
    background-color: #141927;
}
/*------------------------------------------------------------------------------низ-ОСНОВЫ*/
.section2{
    max-width: 1022px;
    gap: 40px;
    display: flex;
    flex-wrap: wrap;
    flex: 0 1 auto;
}
@media (max-width: 1069px){
    .section2{
        max-width: 668px;
    }
}
@media (max-width: 800px){
    .section2{
        max-width: 420px;
        gap: 25px;
    }
}
.small-article{
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-direction: column-reverse;
    height: 418px;
    width: 314px;
    justify-content: space-between;
    background-color: #161B2E;
    min-width: 314px;
    border-radius: 25px;
}
.small-article .image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 190px;
}

.small-article .content-small{
    height: 54.785%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 27.5px 30px 27.5px;
    justify-content: space-between;
    gap: 13px;
}
.small-article .content-small>.p{
    width: 100%;
    overflow: hidden;
    line-height: 121.916%;
    font-family: 'Montserrat', sans-serif;
    flex: 1 1 auto;
}
.small-article .content-small h1{
    line-height: 110%;
    font-family: 'Bai Jamjuree', sans-serif;
    color: #ffffff;
    font-weight: 700;
    width: 100%;
    font-size: 20px;
    max-height: 65px;
    overflow: hidden;
}
.small-article img{
    width: 100%;
    /* border-top-left-radius: 25px;
    border-top-right-radius: 25px; */
    /* object-fit: cover; */
    /* height: 45.215%; */
}
.small-article .content-small .bottom{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.small-article .content-small .bottom .date{
    line-height: 121.916%;
}
.small-article .content-small .bottom .comment{
    line-height: 121.916%;
    display: flex;
    margin-left: -12%;
}
.small-article .content-small .bottom .comment img{
    width: 100%;
    height: 100%;
}
.small-article .content-small .bottom .comment .p-number{
    margin-left: 6.94px;
}
.small-article .content-small .bottom .details{
    font-weight: 700;
    font-size: 14px;
    line-height: 110%;
    font-family: 'Bai Jamjuree', sans-serif;
}
@media (max-width: 800px){
    .section2{
        justify-content: center;
    }
}
.details a:hover{
    color: #87C6ED;
}
.details a{
    color: inherit;
}


.search_menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: inherit;
    border-radius: 25px;
    padding: 40px 40px;
    padding-top: 64px;
    display: none;
    flex-direction: column;
    z-index: -1;
    font-size: 18px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 30vh;
    box-shadow: 0px 18px 62px rgb(0 0 0 / 29%);
}

.search_menu .search_item {
    /* overflow: hidden; */
    padding: 5px;
    cursor: pointer;
    color: #fff;
}

.search_menu .search_item:hover {
    color: #87C6ED;
}

.search_menu {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.search_menu::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.search_menu.active {
    display: flex;
}

.fullHeight {
    height: 100%;
    width: initial !important;
}

@media  screen and (max-width: 1023px) {
    .flex-footer {
        flex-direction: column;
    }
    .flex-deksription {
        padding-top: 25px;
    }
}

.flex-footer {
    width: 100%;
    display: flex;
    justify-content: column;
    align-items: center;
}

.license-style {
    color: #FFFFFF;
}