/* 子页面通用样式 */

/* 页面头部 banner */
.page-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    margin-top: 0;
    padding-top: 80px;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 24px;
}

.page-banner-content h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 12px;
}

.page-banner-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--bg-light);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-inner a {
    color: var(--primary);
    transition: var(--transition);
}

.breadcrumb-inner a:hover {
    color: var(--accent);
}

.breadcrumb-inner span {
    margin: 0 8px;
    color: var(--text-muted);
}

/* 内容区域 */
.page-content {
    padding: 80px 0;
    background: var(--bg);
}

.page-content-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.page-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin: 40px 0 16px;
}

.page-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.page-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-content ul li {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* 服务特色卡片 */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.service-feature-item {
    background: var(--bg-light);
    padding: 28px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.service-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-feature-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.service-feature-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* 新闻详情 */
.news-detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.news-detail-header .news-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0, 184, 212, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.news-detail-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.4;
}

.news-meta {
    font-size: 14px;
    color: var(--text-muted);
}

.news-meta span {
    margin: 0 12px;
}

.news-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.news-body p {
    margin-bottom: 20px;
}

.news-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin: 32px 0 16px;
}

.news-body img {
    width: 100%;
    border-radius: var(--radius);
    margin: 24px 0;
    box-shadow: var(--shadow);
}

/* 上一篇/下一篇导航 */
.news-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.news-nav a {
    display: flex;
    flex-direction: column;
    max-width: 45%;
    transition: var(--transition);
}

.news-nav a:hover {
    color: var(--primary);
}

.news-nav .nav-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.news-nav .nav-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.news-nav .next {
    text-align: right;
    align-items: flex-end;
}

/* 法律页面 */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
}

.legal-content h3 {
    font-size: 18px;
    margin-top: 28px;
}

.legal-content p {
    font-size: 15px;
}

/* 网站地图 */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.sitemap-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.sitemap-section ul li {
    margin-bottom: 10px;
}

.sitemap-section ul li a {
    color: var(--text-light);
    transition: var(--transition);
    font-size: 15px;
}

.sitemap-section ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* 响应式 */
@media (max-width: 768px) {
    .page-banner {
        height: 300px;
        padding-top: 60px;
    }
    
    .page-banner-content h1 {
        font-size: 28px;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .news-detail-header h1 {
        font-size: 24px;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .news-nav a {
        max-width: 100%;
    }
    
    .news-nav .next {
        align-items: flex-start;
        text-align: left;
    }
}


/* ===== 时间线样式 ===== */
.timeline {
    margin: 40px 0;
    padding-left: 30px;
    border-left: 3px solid #e0e0e0;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-step {
    position: absolute;
    left: -46px;
    top: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.timeline-content h4 {
    font-size: 18px;
    color: #0d47a1;
    margin-bottom: 8px;
}
.timeline-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== 案例卡片样式 ===== */
.case-studies {
    margin-top: 30px;
}
.case-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    border-left: 4px solid #1e88e5;
}
.case-card:last-child {
    margin-bottom: 0;
}
.case-card h4 {
    font-size: 20px;
    color: #0d47a1;
    margin-bottom: 15px;
}
.case-card p {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #555;
}
.case-card ul {
    margin: 15px 0;
    padding-left: 20px;
}
.case-card ul li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}
.case-card strong {
    color: #0d47a1;
}

/* ===== 服务页面增强样式 ===== */
.service-features-grid {
    margin-top: 30px;
}
