.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-card-image-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 12.125rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.2);
}

.news-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.news-card-title {
    font-size: 1.25rem;
    line-height: 130%;
    color: var(--color-primary);
}

.news-card-date {
    font-size: 0.75rem;
    line-height: 150%;
    color: var(--color-grey-dark);
}

.news-card-description {
    font-size: 0.875rem;
    line-height: 150%;
    color: var(--color-grey-2);
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tags {
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {
    .news-list {
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .news-card {
        flex-direction: row;
    }

    .news-card-image-wrapper {
        width: 17.875rem;
    }

    .news-tags {
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 1280px) {
    .news-list {
        padding-bottom: 2.5rem;
    }

    .news-card {
        gap: 2.5rem;
    }

    .news-card-content {
        gap: 1rem;
    }

    .news-card-image-wrapper {
        width: 28.625rem;
        height: 19.375rem;
    }

    .news-card-title {
        font-size: 1.5rem;
    }

    .news-card-date {
        font-size: 1.125rem;
    }

    .news-card-description {
        font-size: 1.125rem;
    }

    .news-tags {
        margin-bottom: 2.5rem;
    }
}

@media screen and (min-width: 1920px) {
    .news-card-title {
        font-size: 2rem;
    }
}
