#news-list img, #news-list video {
    object-position: center;
    object-fit: cover;
    height: 215px;
    border-radius: 5px;
    width: 100%;
}

#hero-news {
    padding: 50px 0;
}

#hero-news p {
    width: 55%;
}

#hero-news h1 {
    font-size: 35px!important;
    font-weight: 700;
    color: #2e2e2e;
}

#news-list {
    padding: 50px 0;
}

#news-list .row {
    padding: 0 0 25px 0;
    margin: 0 0 25px 0;
    border-bottom: 1px solid #e5e5e5;
}

#news-list .row:last-child {
    border-bottom: none;
}

#news-list a h3:hover {
    color: var(--primary)!important;
}

#news-list a h3 {
    font-family: 'Poppins'!important;
    font-size: 20px !important;
    font-weight: 600;
    /* margin-bottom: 20px; */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

#news-list .row p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
}

#news-list .col-lg-4, #news-list .container {
    padding: 0 20px 0 0 !important;
}

.filter-sort {
    padding: 0 0 30px 0;
}

.sort-by {
    text-align: right;
    justify-content: flex-end;
    display: flex;
    position: relative;
}

.sort-by h5 {
    font-weight: 400;
}

.sort-by i {
    font-size: 15px;
    margin-left: 15px;
}

#news-list .sort-by img {
    object-fit: contain;
    height: 17px;
    max-width: 17px;
    width: 100%;
}

.filter-by {
    padding: 0 0 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.filter-by {
    margin: 0 0 20px 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.subscribe-modal {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    right: 0;
    z-index: 99;
    position: absolute;
    margin-top: 35px;
}

.subscribe-modal i {
    margin-left: 0;
}

@media screen and (max-width: 980px) {
    #hero-news {
        padding: 20px 0 0 0;
    }

    #hero-news h1 {
        font-size: 28px !important;
    }

    #news-list a h3 {
        font-size: 20px !important;
    }

    .filter-sort {
        padding: 0;
    }

    #news-list .col-lg-4,
    #news-list .col-lg-8,
    #news-list .container,
    #news-list  {
        padding: 0 !important;
    }

    #news-list img {
        margin-bottom: 15px;
    }

    #news-list .row {
        padding: 0;
    }

    #hero-news p {
        width: 100%;
    }

    .subscribe-modal {
        text-align: left;
        width: 100%;
        padding: 15px;
    }
}
