/* ==================== 招生动态页面 - 现代化简洁设计 ==================== */

/* 页面主体 */
.news-page-section {
    padding: 50px 0 100px;
    background: #f8fafc;
    min-height: 60vh;
}

/* 分类标签 - 现代化药丸式 */
.news-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.news-tab {
    padding: 10px 24px;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 500;
}

.news-tab:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8f9ff;
}

.news-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 置顶文章 - 大卡片设计 */
.news-featured {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-featured:hover {
    box-shadow: 0 8px 40px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(255, 77, 79, 0.3);
}

.featured-image {
    height: 320px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-featured:hover .featured-image img {
    transform: scale(1.03);
}

.featured-content {
    padding: 32px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #1e293b;
}

.featured-title a:hover {
    color: #667eea;
}

.featured-excerpt {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 24px;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.author i {
    color: #667eea;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

/* 文章列表 - 简洁卡片式 */
.news-list-full {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
}

.news-full-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.news-full-item:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.news-full-item.hidden {
    display: none;
}

.news-full-img {
    position: relative;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
}

.news-full-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-tag-overlay {
    display: none;
}

.news-full-info {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-full-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #1e293b;
}

.news-full-title a:hover {
    color: #667eea;
}

.news-full-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-full-meta {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.news-full-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 标签颜色 - 柔和配色 */
.tag-policy { background: #eff6ff; color: #3b82f6; }
.tag-school { background: #f0fdf4; color: #22c55e; }
.tag-major { background: #fffbeb; color: #f59e0b; }
.tag-guide { background: #ecfeff; color: #06b6d4; }
.tag-career { background: #fdf2f8; color: #ec4899; }
.tag-hot { background: #fef2f2; color: #ef4444; }

.news-tag-overlay.tag-policy { background: #3b82f6; color: white; }
.news-tag-overlay.tag-school { background: #22c55e; color: white; }
.news-tag-overlay.tag-major { background: #f59e0b; color: white; }
.news-tag-overlay.tag-guide { background: #06b6d4; color: white; }
.news-tag-overlay.tag-career { background: #ec4899; color: white; }

/* 加载更多 */
.load-more {
    text-align: center;
    padding-top: 20px;
}

.btn-load-more {
    padding: 16px 48px;
    background: white;
    border: 2px solid #667eea;
    border-radius: 50px;
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-load-more:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .news-full-item {
        grid-template-columns: 240px 1fr;
    }
}

@media (max-width: 768px) {
    .news-page-section {
        padding: 30px 0 60px;
    }

    .news-tabs {
        gap: 8px;
        margin-bottom: 24px;
    }

    .news-tab {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .featured-image {
        height: 220px;
    }

    .featured-content {
        padding: 24px;
    }

    .featured-title {
        font-size: 1.25rem;
    }

    .featured-excerpt {
        font-size: 0.9rem;
    }

    .news-full-item {
        grid-template-columns: 200px 1fr;
    }

    .news-full-info {
        padding: 20px;
    }

    .news-full-title {
        font-size: 1.05rem;
    }

    .news-full-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 640px) {
    .news-full-item {
        grid-template-columns: 1fr;
    }

    .news-full-img {
        height: 180px;
        min-height: auto;
    }

    .featured-image {
        height: 180px;
    }

    .featured-title {
        font-size: 1.1rem;
    }

    .featured-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .news-full-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    .news-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .news-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
