/* ===== News Tabs ===== */
.news-tab-section {
    padding: 30px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.news-tab {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.news-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.news-tab.active {
    background: var(--gradient-1);
    color: #000;
    border-color: transparent;
    font-weight: 600;
}

/* ===== News Main Section ===== */
.news-main-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.news-hero-card {
    display: grid;
    grid-template-columns: 500px 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.news-hero-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.news-hero-image {
    position: relative;
    height: 320px;
}

.hero-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: #ff6b6b;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
}

.news-hero-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--primary);
    margin-bottom: 16px;
    width: fit-content;
}

.tag-tech { color: #00d4ff; background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.2); }
.tag-show { color: #ff6b6b; background: rgba(255, 107, 107, 0.1); border-color: rgba(255, 107, 107, 0.2); }
.tag-company { color: #00ff88; background: rgba(0, 255, 136, 0.1); border-color: rgba(0, 255, 136, 0.2); }
.tag-industry { color: #ffd700; background: rgba(255, 215, 0, 0.1); border-color: rgba(255, 215, 0, 0.2); }

.news-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
}

.news-hero-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.news-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== News List Section ===== */
.news-list-section {
    padding: 60px 0 100px;
    background: var(--bg-secondary);
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.news-main-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.news-list-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.news-list-thumb {
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

.news-list-body {
    display: flex;
    flex-direction: column;
}

.news-list-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-list-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.news-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--gradient-1);
    color: #000;
    border-color: transparent;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 8px;
}

/* ===== News Sidebar ===== */
.news-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Hot List */
.hot-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hot-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.rank-1 { background: #ffd700; color: #000; }
.rank-2 { background: #c0c0c0; color: #000; }
.rank-3 { background: #cd7f32; color: #fff; }

.hot-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
    line-height: 1.4;
}

.hot-item:hover .hot-title {
    color: var(--primary);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud .tag {
    cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .news-hero-card {
        grid-template-columns: 1fr;
    }
    
    .news-hero-image {
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .news-list-item {
        grid-template-columns: 1fr;
    }
    
    .news-list-thumb {
        height: 180px;
    }
    
    .news-sidebar {
        grid-template-columns: 1fr;
    }
}
