#aconnect_news {
    padding: 40px 20px;
}
#aconnect_news,
#news_list,
#news_detail {
    overflow: hidden;
    position: relative;
}
#news_detail {
    padding: 20px 5px 50px 5px;
}
#news_main .title-lg h1 {
    font-size: 36px;
    font-family: 'titb';

}
#aconnect_news>.decor {
    position: absolute;
    top: 0;
    right: 0;
}
#aconnect_news>.decor>img {
    max-width: 600px;
}
#news_list .project-list-title {
    padding: 0 10px 10px 20px;
}
#news_list .project-list-title h1 {
    font-size: 18px;
    color: #fff;
    background-color: var(--green);
    padding: 20px;
    line-height: 1;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: 'titb';
}


#news_detail>.decor>img {
    z-index: -1;
    position: absolute;
    top: 0;
    right: -50px;
    max-width: 600px;
    display: block;
}
#news_main {
    padding: 20px;
}
#news_main .box-in,
.detail-title {
    justify-content: center;
}
#news_main .list-images {
    padding-bottom: 50px;
    margin: 0 -10px;
}
#news_main .list-images .list-images-in {
    padding: 10px;
}
#news_main .list-images .list-images-in img {
    width: 100%;
    display: block;
}
#news_other .news-other-title h2 {
    padding: 20px;
    font-family: 'titb';
    color: var(--green);
    text-align: center;
    text-transform: uppercase;
}

/*video*/
.news-list-video {
    padding: 10px;
}
.news-item-video {
    width: calc(100% - 20px);
    margin: 10px;
    display: inline-block;
}
.news-item-video h4 {
    font-family: 'mainm';
    line-height: 1.3;
    padding: 10px 20px;
}
.news-item-video .image iframe {
    width: 100% !important;
    height: 240px !important;
}
/*grid*/
.news-list-grid {
    padding: 0 0 0 10px;
}
.news-list-grid ul li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-item-grid {
    background-color: #f1f1f1;
    border: 3px solid #f1f1f1;
    overflow: hidden;
    height: calc(100% - 20px);
    margin: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 15px 10px -10px #a1a1a1;
    transition: 0.2s;
}
.news-item-grid:hover {
    background-color: var(--green);
    border: 3px solid var(--green);

}
.news-item-grid .image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}
.news-item-grid .image img {
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s;
}
.news-item-grid:hover .image img {
    transform: scale(1.1);
}
.news-item-grid .info {

    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-grid .info-in {
    display: flex;
    justify-content: space-between;
    flex: 1;
}
.news-item-grid h4 {
    font-size: 14px;
    line-height: 1.4;
    font-family: 'mainm';
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: 0.2s;
}

.news-item-grid .read-more {
    padding-left: 15px;
    display: flex;
    align-items: flex-end;
}
.news-item-grid .read-more i {
    font-size: 20px;
    color: var(--pink);
}
.news-item-grid:hover h4 {
    color: #fff;
}
@media screen {}
/*ma-xl*/@media (max-width: 768px) {
    .news-item-grid {
        margin: 10px 5px;
    }
    .news-item-grid .info {
        padding: 10px;
    }
    .news-item-grid h4 {
        font-size: 12px;
    }
}
/*ma-xl*/@media (max-width: 568px) {
    #aconnect_news {
        padding: 40px 10px;
    }
    #news_contact {
        padding: 20px;
    }
    .news-list-grid,
    #news_contact .form-site .form-site-full {
        padding: 0;
    }
    #news_main .list-images,
    #list_news_contact_in {
        margin: 0; 
    }
    .news-list-grid {
        padding: 0;
    }
    #news_list .project-list-title {
        padding: 20px 5px 0 5px;
    }
    
}