.news_posts{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
}
.news_contaner{
    height: 300px;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    transition: 0.5s;
}
.news_contaner:hover{
    background-size: 120%;
}
.news_text{
    font-family: 'Montserrat',Arial,sans-serif;
    color:#fff;
    font-size:20px;
    position: absolute;
    bottom: 0;
    z-index: 1;
    padding:20px;
    padding-bottom:40px;
}
.news_img_brightness{
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    position: absolute;
}
.detail_news_container_text{
    width: 50%;
}
.detail_news_title{
    color: #fff;
    font-family: 'Montserrat',Arial,sans-serif;
    font-size: 24px;
    margin-bottom: 30px;
}
.detail_news_text{
    color: #fff;
    white-space:pre-line;
    font-family: 'Montserrat',Arial,sans-serif;
    font-size: 18px;
}
.detail_news_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news_gallery{
    width: 45%;
    border-radius:10px;
    overflow: scroll;
    display: flex;
    background:#f2f2f2;
}
.news_gallery div{
    width:400px;
    margin: auto 0;
}
.news_gallery::-webkit-scrollbar {
    display: none;
}
.news_gallery div img{
    width:100%;
}
.center_img{
    margin:0 auto!important;
}
.mobile_width{
    width: 320px!important;
}
.swiper-pagination-bullet{
    background: #fff!important;
    opacity:0.5!important;
}
.swiper-pagination-bullet-active{
    background: #fff!important;
    opacity:1!important;
}
@media(max-width:900px){
    .news_posts{
        display: flex;
        flex-direction: column;
    }
    .detail_news_container{
        display:block;
    }
    .news_gallery{
        width:100%;
        margin-bottom: 20px;
    }
    .detail_news_container_text{
        width:100%;
    }
}
@media(max-width:450px){
    .news_gallery div{
        width:250px;
    }
}