/* 资讯详情页面样式 */

/* 分类信息横幅 */
.category-banner {
    background: linear-gradient(135deg, rgba(39, 39, 39, 0.9) 0%, rgba(245, 250, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 0;
    margin-top: 60px;
}

.category-banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(123, 97, 255, 0.03) 0%, transparent 70%);
    z-index: -1;
}

.category-info {
    text-align: center;
    color: white;
}

.category-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-info h2 i {
    color: var(--secondary);
}

.category-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* 面包屑导航 */
.breadcrumb-section {
    background: rgba(5, 12, 26, 0.9);
    padding: 20px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb .current {
    color: var(--secondary);
    font-weight: 500;
}

.breadcrumb i {
    font-size: 0.8rem;
}

/* 资讯详情容器 */
.news-detail {
    padding-top: 40px;
    padding-bottom: 40px;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: rgba(5, 5, 5, 0.5);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 文章头部 */
.article-header {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    align-items: center;
}

.article-category {
    background: var(--gradient-light);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-meta i {
    margin-right: 5px;
    color: var(--secondary);
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: white;
}

.article-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* 文章内容 */
.article-content {
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 20px 30px 30px;
}

.article-content p {
    margin-bottom: 1.5rem;
}
.article-content p img{
    max-width: 100%;
    height: auto;
}
.article-content .lead {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.article-content h2 {
    color: var(--secondary);
    margin: 2.5rem 0 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.article-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-light);
}

.article-content h3 {
    color: white;
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

/* 数据表格 */
.data-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th {
    background: var(--gradient-light);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 高亮框 */
.highlight-box {
    background: rgba(0, 217, 255, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 25px;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

/* 挑战列表 */
.challenge-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.challenge-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.challenge-list li:hover {
    transform: translateX(10px);
    border-color: var(--accent);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.challenge-content h4 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.challenge-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* 案例示例 */
.case-example {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin: 2rem 0;
    border: 2px solid rgba(0, 217, 255, 0.2);
}

.case-example h3 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.case-example ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.case-example ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.case-example ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.case-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

/* 专家引用 */
.expert-quote {
    border-left: 4px solid var(--secondary);
    padding: 25px;
    margin: 2rem 0;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 0 10px 10px 0;
}

.expert-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.expert-quote footer {
    color: var(--secondary);
    font-weight: 500;
}

/* 文章页脚 */
.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.tags-title {
    color: var(--secondary);
    font-weight: 600;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--gradient-light);
    color: white;
    transform: translateY(-2px);
}

.article-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.share-title {
    color: var(--secondary);
    font-weight: 600;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: translateY(-5px);
}

.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.qq { background: #12B7F5; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0077B5; }

/* 响应式设计 */
@media (max-width: 992px) {
    .category-info h2 {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .category-info h2 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .highlight-box {
        flex-direction: column;
    }
    
    .challenge-list li {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .category-info h2 {
        font-size: 1.5rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
}