.news-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--mainColor);
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 60px;
}

.news-item {
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-8px);
}

.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-image {
    width: 386px;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin: 0 auto;
    display: block;
}

.news-item:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 25px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item:hover .news-title {
    color: var(--mainColor);
}

.news-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

    .section-title {
        font-size: 32px;
    }

    .news-grid {
        gap: 30px;
    }

    .news-image {
        width: 100%;
        max-width: 386px;
    }
}

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

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .news-content {
        padding: 20px;
    }

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

    .news-description {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .news-section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .news-grid {
        gap: 20px;
    }

    .news-image-wrapper {
        height: 200px;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 15px;
    }

    .news-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .news-description {
        font-size: 12px;
        line-height: 1.5;
    }
}