﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    background-color: #fff;
    width: 100%;
    overflow-x: hidden;
}

.news-section {
    padding: 40px 0;
    background: linear-gradient(to right, rgba(236, 247, 239), rgba(242, 239, 246));
}

.news-container {
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.news-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, rgb(51, 176, 100) 0%, rgb(65, 26, 117) 50%, rgb(51, 176, 100) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.news-description {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.5;
}

.news-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.news-item {
    flex: 0 0 calc(33.33% - 14px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .news-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    text-align: left;
}

.news-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.news-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.news-link {
    display: inline-block;
    font-size: 14px;
    color: rgb(51, 176, 100);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .news-link:hover {
        color: rgb(65, 26, 117);
    }

@media (max-width: 1024px) {
    .news-container {
        width: 90%;
    }

    .news-title {
        font-size: 28px;
    }

    .news-description {
        font-size: 16px;
    }

    .news-item {
        flex: 0 0 calc(50% - 10px);
    }

    .news-image {
        height: 180px;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-date, .news-text, .news-link {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .news-container {
        width: 100%;
        padding: 0 15px;
    }

    .news-title {
        font-size: 24px;
    }

    .news-description {
        font-size: 14px;
    }

    .news-items {
        gap: 15px;
    }

    .news-item {
        flex: 0 0 100%;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 10px;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-date, .news-text, .news-link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .news-container {
        padding: 0 10px;
    }

    .news-title {
        font-size: 20px;
    }

    .news-description {
        font-size: 13px;
    }

    .news-items {
        gap: 10px;
    }

    .news-item {
        flex: 0 0 100%;
    }

    .news-image {
        height: 160px;
    }

    .news-content {
        padding: 8px;
    }

    .news-item-title {
        font-size: 14px;
    }

    .news-date, .news-text, .news-link {
        font-size: 11px;
    }
}
