.news-item {
    position: relative;
    font-size: 0.875rem;
}

.news-item-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.news-item-cover {
    position: relative;
}

.news-item-cover .news-item-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1.5rem;
    z-index: 2;
    pointer-events: none;
}

.news-item-cover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.news-item-cover .text-row.row-2 {
    -webkit-line-clamp: 3;
}

.news-item-cover .news-item-image {
    height: 100%;
    margin: 0;
}

.news-item-cover .news-item-title {
    font-size: 1.375rem;
}

.news-item-cover .secondary-color {
    color: var(--text);
}

.news-item-image {
    border-radius: 0.5rem;
    background-color: #f0f2f5;
    overflow: hidden;
    margin-bottom: 1rem;
}

.news-item-cat {
    position: relative;
    z-index: 5;
}

.news-item-cat a {
    color: var(--accent);
    text-decoration: none;
}

.news-item-cat a:hover {
    text-decoration: underline;
}

.news-item-title {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.news-item-title a {
    display: block;
    text-decoration: none;
}

@media (min-width: 576px) {
    .news-item-cover {
        font-size: 1rem;
    }

    .news-item-cover .news-item-title {
        font-size: 2rem;
    }

    .news-item-cover .text-row.row-2 {
        -webkit-line-clamp: 4;
    }
}

@media (min-width: 768px) {
    .news-item-cover .news-item-title {
        font-size: 2.5rem;
    }

    .news-item-cover .news-item-content {
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .news-item-cover {
        height: 100%;
    }

    .news-item-cover .news-item-title {
        position: absolute;
        left: 0;
        top: 6rem;
        padding: 0 1.5rem;
        font-size: 1.875rem;
    }

    .news-item-cover .news-item-content {
        padding: 1.5rem;
    }

    .news-item-cover .text-row.row-2 {
        -webkit-line-clamp: 5;
    }
}

@media (min-width: 1200px) {
    .news-item-cover .news-item-title {
        font-size: 2.125rem;
        padding: 0 2rem;
    }

    .news-item-cover .news-item-content {
        padding: 2rem;
    }
}

@media (min-width: 1400px) {
    .news-item-cover .news-item-title {
        font-size: 2.625rem;
    }
}