/* Banner区域 - 参考qualifications页面样式 */
.news-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 150px 0 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.news-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    animation: bannerShift 20s ease-in-out infinite;
}

.news-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

@keyframes bannerShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-20px) translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.news-banner .banner-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.news-banner .banner-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: 1px;
}

.news-banner .banner-overlay p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.news-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-img {
    transform: scale(1.1);
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 8px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #0d6efd;
}

.news-summary {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-more {
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-more:hover i {
    transform: translateX(5px);
}

.search-box .form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

.highlight {
    background-color: #fff3cd;
    padding: 2px;
    border-radius: 2px;
    font-weight: bold;
    color: #856404;
}

@media (max-width: 992px) {
    .news-banner .banner-overlay h1 {
        font-size: 2.5rem;
    }
    
    .news-banner .banner-overlay p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .news-banner {
        padding: 120px 0 80px;
    }
    
    .news-banner .banner-overlay h1 {
        font-size: 2rem;
    }
    
    .news-banner .banner-overlay p {
        font-size: 1rem;
    }
    
    .news-img-wrapper {
        height: 180px;
    }
    
    .news-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .news-banner {
        padding: 100px 0 60px;
    }
    
    .news-banner .banner-overlay h1 {
        font-size: 1.8rem;
    }
    
    .news-banner .banner-overlay p {
        font-size: 0.95rem;
    }
}

