﻿.search-news.layout-container {
    margin-top: 2.4rem;
}

.category-news_list .news .news-image {
    width: 100%;
    height: 13.3rem;
    border-radius: .8rem;
    object-fit: cover;
}

.news > img {
    border-radius: .8rem;
    width: 100%;
    max-height: 208px;
    object-fit: cover;
}

.news h3.news-title {
    margin-top: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: .3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-title {
    color: #fe0000;
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 10px;
    text-transform: uppercase;
}

    .section-title::before {
        background-color: #fe0000;
        border-radius: 20px;
        content: '';
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 2px;
    }

.news-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 24px;
}

.news {
    width: calc(33.333333% - 20px);
    margin-right: 20px;
}

.news:hover h3.news-title {
    color: #fe0000;
}

.news-date, .news-date > div {
    display: flex;
    align-items: center
}

.news-date {
    gap: .8rem;
    margin-top: .5rem;
}

    .news-date > div {
        gap: .4rem;
        font-size: 1.2rem;
        color: #666;
    }

        .news-date > div > img {
            width: 12px;
        }

@media (max-width: 1200px) {
    .news-searched-results.layout-container {
        width: 100%;
        padding: 10px;
    }

    .news-list {
        flex-direction: column;
        gap: 8px;
    }

    .news {
        width: 100%;
        margin-right: 0;
    }
}