.news_posts{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.news_contaner{
    width: calc(33% - 20px);
    height: 300px;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    transition: 0.5s;
}
.news_text{
    font-family: 'Intro',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: 100%;
}
.detail_news_title{
    font-family: 'Intro',Arial,sans-serif;
    font-size: 24px;
    margin-bottom: 30px;
}
.detail_news_text{
    white-space:pre-line;
    font-family: 'Intro',Arial,sans-serif;
    font-weight: 300;
    font-size: 16px;
}
.detail_news_container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.news_gallery{
    width: 100%;
    border-radius:10px;
    aspect-ratio: 1 / 1;
    background:#f2f2f2;
}
.news_gallery .swiper-pagination{
    bottom: 30px!important;
    background: linear-gradient(360deg, #0000006b, transparent)!important;
    padding-top: 5px!important;
    padding-bottom: 10px!important;
}
.news_gallery div{
    width: 95%;
    margin: auto 0;
    position: relative;
}
.news_gallery::-webkit-scrollbar {
    display: none;
}
.news_gallery div iframe{
    width: 100%;
}
.news_gallery div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.center_img{
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    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:960px){
    .news_contaner{
        width: calc(50% - 20px);
    }
}
@media(max-width:900px){
    .detail_news_container{
        display:block;
    }
    .news_gallery{
        width:100%;
        margin-bottom: 20px;
    }
    .detail_news_container_text{
        width:100%;
    }
    .news_contaner{
        width:100%;
    }
}