/* News page styles - 水动力主题版 */

.news-container {
    padding: 0;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 60px;
    margin-bottom: 6rem;
}

.news-item {
    display: flex;
    gap: 2.5rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.news-item:hover {
    transform: translateX(10px);
}

.news-item-img {
    width: 320px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-flat);
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.news-content h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.sidebar .widget {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 1rem;
}

.sidebar h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.hot-news-list {
    list-style: none;
}

.hot-news-item {
    padding: 1rem 0;
    border-bottom: 1px dotted var(--border-color);
}

.hot-news-item a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
}

.hot-news-item:hover a {
    color: var(--primary-color);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tag {
    padding: 0.5rem 1.25rem;
    background: var(--bg-section);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.tag:hover, .tag.active {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 992px) {
    .news-container {
        grid-template-columns: 1fr;
    }
    .news-item {
        flex-direction: column;
    }
    .news-item-img {
        width: 100%;
        height: 240px;
    }
}
