/* 新闻容器样式 - 模仿讯飞星火官网 */
.originapp_news_container__A3Fxi {
    padding: 80px 0;
    background-image: url(../images/banner-2.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.originapp_news_container__A3Fxi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* 新闻标题区域 */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.news-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.news-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #357abd);
    border-radius: 2px;
}

.news-title p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 新闻选项卡 */
.news-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tab-item {
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.tab-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.tab-item:hover::before {
    left: 100%;
}

.tab-item:hover {
    color: #4a90e2;
    transform: translateY(-2px);
}

.tab-item.active {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.tab-item.active:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* 新闻内容区域 */
.news-content {
    position: relative;
    min-height: 600px;
}

.news-tab-content {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.news-tab-content.active {
    display: block;
}

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

/* 新闻网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

/* 新闻项目 */
.news-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-item:hover::before {
    opacity: 1;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.news-item.featured {
    grid-column: span 2;
}

.news-item.featured .news-image {
    height: 280px;
}

.news-item.featured .news-title {
    font-size: 22px;
}

.news-item.featured .news-excerpt {
    font-size: 16px;
    line-height: 1.7;
}

/* 新闻图片 */
.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.news-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 新闻信息 */
.news-info {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    align-items: center;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.news-category {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: #4a90e2;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-stats {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 13px;
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-stats span::before {
    content: '';
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
}

/* 查看更多按钮 */
.news-more {
    text-align: center;
    margin-top: 60px;
}

.news-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.news-more-btn:hover::before {
    left: 100%;
}

.news-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.news-more-btn i {
    transition: transform 0.3s ease;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .originapp_news_container__A3Fxi {
        padding: 60px 0;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .news-title h2 {
        font-size: 36px;
    }
    
    .news-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .news-item.featured {
        grid-column: span 1;
    }
    
    .news-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .originapp_news_container__A3Fxi {
        padding: 40px 0;
    }
    
    .news-title h2 {
        font-size: 28px;
    }
    
    .news-title p {
        font-size: 16px;
    }
    
    .news-tabs {
        padding: 6px;
        gap: 4px;
    }
    
    .tab-item {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .news-item.featured .news-image {
        height: 200px;
    }
    
    .news-info {
        padding: 20px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    .news-more-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .news-header {
        margin-bottom: 30px;
    }
    
    .news-title h2 {
        font-size: 24px;
    }
    
    .news-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .tab-item {
        text-align: center;
        border-radius: 8px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-info {
        padding: 16px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* 加载动画 */
.news-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.news-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 新闻项目进入动画 */
.news-item {
    animation: slideInUp 0.6s ease-out;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }

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

/* 鼠标悬停时的光晕效果 */
.news-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 0;
}

.news-item:hover::after {
    width: 120%;
    height: 120%;
} 