.news-hero {
    padding: 2rem 2rem;
    text-align: center;
    background: radial-gradient(circle, var(--bg-secondary) 0%, var(--white-color) 100%);
}

.news-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.news-hero .subtitle {
    font-size: 1.25rem;
    color: var(--subText-color);
    max-width: 700px;
    margin: 0 auto;
}

.news-category-section {
    width: 100%;
    padding: 5rem 0;
    overflow: hidden;
}

.news-category-section.alt-bg {
    background-color: var(--bg-secondary);
}

.category-title-wrap {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
}

.category-title-wrap h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    padding-left: 1.5rem;
    border-left: 4px solid var(--theme-color);
    line-height: 1.3;
}

.news-carousel {
    display: flex;
    overflow: hidden;
    padding-left: 2rem;
}

.news-list {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    animation: slide-news 60s linear infinite;
}

.news-carousel:hover .news-list {
    animation-play-state: paused;
}

.news-card {
    display: block;
    width: 300px;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    margin-right: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #374151;
}

.alt-bg .news-card {
    background-color: var(--white-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    border-color: var(--theme-color);
}

.news-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--theme-color);
    color: #fff;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    white-space: normal;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.news-date {
    font-size: 0.9rem;
    color: var(--subText-color);
}


@keyframes slide-news {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 1200px) {
    .news-carousel {
        padding-left: 2rem;
    }
}

@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2.5rem;
    }
    .category-title-wrap {
        padding: 0 1rem;
    }
    .category-title-wrap h2 {
        font-size: 2rem;
    }
    .news-carousel {
        padding-left: 1rem;
    }
    .news-card {
        width: 280px;
        margin-right: 1rem;
    }
}