        .main-news .tp-post-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 25px;
}

.main-news .tp-post-item .tp-post__thumbnail-wrapper {
    padding: 0;
    margin: 0;
}

.main-news .tp-post-item .tp-post__thumbnail img {
    aspect-ratio: 3/2;
}

.main-news .tp-post-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(0deg,rgba(46, 168, 234, 1) 0%, rgba(46, 168, 234, 0) 100%);
    transition: all .4s;
}
.main-news .tp-post-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(180deg, rgb(0 0 0) 0%, rgba(46, 168, 234, 0) 100%);
    opacity: 0;
    transition: all .4s;
}

.main-news .tp-post-item:hover::before {
    opacity: 0;
    transition: all .4s;
}

.main-news .tp-post-item:hover::after {
    opacity: 1;
    transition: all .4s;
}

.main-news .tp-post__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    transition: all .4s;
}

.main-news .tp-post-item:hover .tp-post__content {
    bottom: 100%;
    transform: translateY(100%);
    transition: all .4s;
}

.main-news .tp-post__content .btn-page {
    margin-top: 20px;
    display: none;
}
.main-news .tp-post__content .tp-body {
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all .4s;
}

.main-news .tp-post-item:hover .btn-page {
    display: block;
}
.main-news .tp-post-item:hover .tp-body {
    opacity: 1;
    height: auto;
    visibility: visible;
    transition: all .4s;
}

.main-news .tp-post-item .tp-col__content {
    margin-top: 0;
}


@media (max-width: 1200px) {
    .main-news .tp-post__content .btn-page {
        display: block;
    }
    
    .main-news .tp-post-item::before {
        opacity: 1 !important;
        background: linear-gradient(0deg, rgb(0 0 0) 0%, rgba(46, 168, 234, 0) 100%);
    }
    
    .main-news .tp-post-item:hover .tp-post__content {
        bottom: 0;
        transform: translateY(0);
    }
    
    .main-news .tp-post-item:hover .tp-body {
        height: 0;
        opacity: 0;
        visibility: hidden;
    }
    
    .main-news .tp-post-item:hover::after {
        opacity: 0;
    }
}

@media (max-width: 767.98px) {
    #m_193243627 .tp-title {
        overflow: hidden;
       display: -webkit-box;
       -webkit-line-clamp: 4;
       -webkit-box-orient: vertical;
    }
}
