.news-cards__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 20px;
    margin-bottom: 100px;
}

.news-cards__card {
    flex: 1;
    aspect-ratio: 0.9;
    color: #292929;
    text-decoration: none;
    border: 1px solid #000000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.news-cards__photo {
    margin-bottom: 25px;
}

.news-cards__photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-cards__card-title {
    max-width: 400px;
    font-family: "Manrope";
    font-size: 22px;
    font-weight: 600;
    padding-left: 17px;
    margin-bottom: 20px;
}

.news-cards__date {
    color: #AEAAAA;
    font-family: "Manrope";
    font-size: 12px;
    font-weight: 600;
    padding-left: 17px;
}

.news-cards__load {
    width: 185px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #292929;
    font-family: "Manrope";
    text-decoration: none;
    border: 1px solid #292929;
    border-radius: 5px;
    margin: 0 auto;
}

@media (max-width: 1600px) {
    .news-cards__card-title {
        font-size: 18px;
    }
}

@media (max-width: 1400px) {
    .news-cards__card {
        display: flex;
        flex-direction: column;
        aspect-ratio: 0.75;
    }

    .news-cards__date {
        flex: 1;
        display: flex;
        align-items: flex-end;
        padding-bottom: 20px;
    }
}

@media (max-width: 1024px) {
    .news-cards__container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-cards__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 35px;
    }

    .news-cards__card {
        display: flex;
        flex-direction: column;
        border: none;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(48, 48, 48, 0.1);
    }

    .news-cards__photo {
        margin-bottom: 10px;
    }

    .news-cards__card-title {
        max-width: 135px;
        font-size: 13px;
        padding-left: 13px;
        margin-bottom: 10px;
    }

    .news-cards__date {
        font-size: 8px;
        padding-left: 13px;
        padding-bottom: 11px;
    }

    .news-cards__load {
        width: 160px;
        height: 40px;
        font-size: 13px;
        margin: 0;
    }
}