.news {
    padding: 80px 0;
    padding-bottom: 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    border: 0.5px solid #dadada;
    border-radius: 12px;
    padding: 0 24px;
}

.news-item {
    background: #ffffff;
    border-bottom: 0.5px solid #dadada;
    padding: 24px 0;
    display: grid;
    grid-template-columns: 282px 1fr auto;
    gap: 24px;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
}

.news-image {
    width: 282px;
    height: 228px;
    border-radius: 8px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-date {
    font-family: "Poiret One", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.17;
    color: #050505;
}

.news-title {
    font-family: "Poiret One", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.17;
    color: #050505;
    text-stroke: 0.3px #050505;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-excerpt {
    font-family: "Poiret One", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.17;
    color: #050505;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-all-link {
    display: flex;
    justify-content: center;
    max-width: fit-content;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .news {
        padding: 60px 0;
        padding-bottom: 0;
    }

    .news-item {
        grid-template-columns: 240px 1fr auto;
        gap: 20px;
        padding: 20px;
    }

    .news-image {
        width: 240px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .news {
        padding: 40px 0;
        padding-bottom: 0;
    }

    .news-list {
        padding: 0 16px;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0px;
    }

    .news-content {
        gap: 8px;
    }

    .news-image {
        width: 100%;
        height: 200px;
    }

    .news-title {
        font-size: 20px;
    }

    .news-excerpt {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .news-image {
        height: 160px;
    }

    .news-title {
        font-size: 18px;
    }

    .news-excerpt {
        font-size: 14px;
    }
}
