.page-title {
    background: var(--red);
}

.news-content {
    margin-top: 32px;
}

.news-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.news-card {
    width: calc((100% / 4) - (24px * 3) / 4);
}

.news-card:hover .news-card-title {
    color: var(--purple);
}

.news-card-image {
    width: 100%;
    aspect-ratio: 288/180;
    border-radius: 16px;
    overflow: hidden;
}

.news-card-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    color: var(--dark);
    margin-top: 12px;
    transition: all 200ms;
}

.news-card-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 133%;
    margin-top: 4px;
    color: #868686;
    --webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-date {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 133%;
    color: #868686;
    margin-top: 8px;
}

.news-button {
    margin-top: 32px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.news-single-content {
    max-width: 808px;
}

.news-single-title {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 40px;
    line-height: 130%;
    color: var(--dark);
}

.news-single-date {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    color: #868686;
    margin-top: 4px;
}

.news-single-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--dark);
    margin-top: 12px;
}

.news-single-text p + p {
    margin-top: 10px;
}

.news-other {
    margin-top: 120px;
}

.news-other-title {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 56px;
    text-align: center;
    color: var(--dark);
}

.news-other-cards {
    margin-top: 32px;
    display: flex;
    gap: 24px;
}

@media screen and (max-width: 1000px) {
    .news-card {
        width: calc((100% / 3) - (16px * 2) / 3);
    }
    .news-cards {
        gap: 16px;
    }
    .news-single-title {
        font-size: 32px;
        line-height: 125%;
    }
    .news-other-title {
        font-size: 40px;
        line-height: 125%;
    }
    .news-other-cards {
        flex-wrap: wrap;
        gap: 16px;
    }
    .news-other-cards .news-card {
        width: calc(50% - 8px);
    }
}

@media screen and (max-width: 800px) {
    .news-card {
        width: calc(50% - 8px);
    }
    .news-cards {
        gap: 16px;
    }
}

@media screen and (max-width: 600px) {
    .news-card {
        width: 100%;
    }
    .news-other-cards .news-card {
        width: 100%;
    }
    .news-single-title {
        font-size: 24px;
    }
}
