﻿@charset "utf-8";

        /* ========== 新闻内页 - 精简版Banner头部 ========== */
        :root {
            --xdg-green: #003429;
            --xdg-accent: #49ac35;
            --xdg-orange: #F5821E;
            --xdg-text-dark: #1f2d3d;
            --xdg-text-soft: #4e6266;
            --xdg-border: rgba(0, 52, 41, 0.08);
            --shadow-sm: 0 8px 20px -6px rgba(0, 52, 41, 0.06);
            --shadow-hover: 0 20px 35px -12px rgba(0, 52, 41, 0.12);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background: linear-gradient(145deg, #f5f8f7 0%, #ffffff 100%);
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            color: var(--xdg-text-dark);
            line-height: 1.5;
        }
        
        /* ========== 精简版Banner - 只保留渐变背景 + 极简文字 ========== */
        .news-banner {
            width: 100%;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #003429 0%, #0a5c4a 50%, #1a7a62 100%);
            min-height: 280px;
            display: flex;
            align-items: center;
            isolation: isolate;
        }
        
        /* 仅保留一个柔和的光晕装饰 */
        .news-banner::before {
            content: '';
            position: absolute;
            top: -80px;
            right: -80px;
            width: 350px;
            height: 350px;
            background: radial-gradient(circle, rgba(73, 172, 53, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        
        /* Banner内容区 - 极简居中 */
        .banner-content {
            position: relative;
            z-index: 2;
            width: 80%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 3rem 0;
            color: white;
            text-align: center;
        }
        
        /* 主标题 - 干净利落 */
        .banner-title {
            font-size: 3rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 0.75rem;
            letter-spacing: -0.02em;
        }
        
        /* 副标题 - 简洁 */
        .banner-subtitle {
            font-size: 1.1rem;
            opacity: 0.8;
            font-weight: 400;
        }
        
        /* 主容器 */
        .news-master {
            width: 80%;
            max-width: 1400px;
            margin: 2.5rem auto 5rem;
            position: relative;
        }
        
        /* 面包屑导航 */
        .breadcrumb {
            margin-bottom: 1.8rem;
            font-size: 0.85rem;
            color: var(--xdg-text-soft);
        }
        
        .breadcrumb a {
            color: var(--xdg-text-soft);
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .breadcrumb a:hover {
            color: var(--xdg-orange);
        }
        
        .breadcrumb .separator {
            margin: 0 8px;
            color: #c0cfca;
        }
        
        .breadcrumb .current {
            color: var(--xdg-accent);
            font-weight: 500;
        }
        
        /* 分类导航 */
        .category-tabs {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
            border-bottom: 1px solid var(--xdg-border);
            padding-bottom: 1rem;
        }
        
        .tab-btn {
            display: inline-block;
            background: rgba(240, 248, 243, 0.8);
            border: 1px solid rgba(73, 172, 53, 0.15);
            padding: 0.5rem 1.8rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 60px;
            color: var(--xdg-text-soft);
            cursor: pointer;
            transition: all 0.25s ease;
            text-decoration: none;
        }
        
        .tab-btn.active {
            background: linear-gradient(135deg, var(--xdg-green) 0%, #0a5c4a 100%);
            color: white;
            border-color: transparent;
            box-shadow: 0 8px 18px -6px rgba(0, 52, 41, 0.3);
        }
        
        .tab-btn:hover:not(.active) {
            background: rgba(200, 230, 210, 0.8);
            color: var(--xdg-green);
            transform: translateY(-2px);
        }
        
        /* 文章网格 */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        /* 卡片设计 */
        .news-card {
            background: #ffffff;
            border-radius: 24px;
            transition: all 0.35s ease;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--xdg-border);
            display: flex;
            flex-direction: column;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .news-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 0;
            background: linear-gradient(135deg, var(--xdg-accent), var(--xdg-orange));
            transition: height 0.4s ease;
            z-index: 1;
        }
        
        .news-card:hover::before {
            height: 100%;
        }
        
        .news-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(73, 172, 53, 0.2);
        }
        
        .card-content {
            padding: 1.8rem 1.8rem 2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 2;
        }
        
        .card-meta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.9rem;
            flex-wrap: wrap;
        }
        
        .card-date {
            font-size: 0.75rem;
            letter-spacing: 0.5px;
            color: #8ba0a0;
            text-transform: uppercase;
            font-weight: 450;
        }
        
        .card-category {
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.2rem 0.8rem;
            border-radius: 30px;
            background: rgba(73, 172, 53, 0.12);
            color: var(--xdg-accent);
        }
        
        .card-title {
            font-size: 1.45rem;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 1rem;
            color: var(--xdg-green);
            transition: color 0.2s;
            letter-spacing: -0.3px;
        }
        
        .news-card:hover .card-title {
            color: var(--xdg-orange);
        }
        
        .card-title a {
            text-decoration: none;
            color: inherit;
        }
        
        .card-summary {
            color: var(--xdg-text-soft);
            line-height: 1.7;
            margin-bottom: 1.6rem;
            font-size: 0.96rem;
            flex: 1;
        }
        
        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            color: var(--xdg-green);
            text-decoration: none;
            border-bottom: 1.5px solid transparent;
            transition: all 0.25s;
            width: fit-content;
            font-size: 0.9rem;
            padding-bottom: 2px;
        }
        
        .read-more span {
            transition: transform 0.2s;
        }
        
        .read-more:hover {
            color: var(--xdg-orange);
            border-bottom-color: var(--xdg-orange);
            gap: 12px;
        }
        
        .read-more:hover span {
            transform: translateX(4px);
        }
        
        /* 分页器 */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin: 2rem 0 2rem;
            flex-wrap: wrap;
        }
        
        .pagination a, .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 12px;
            border-radius: 40px;
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.25s ease;
            background: white;
            border: 1px solid var(--xdg-border);
            color: var(--xdg-text-soft);
        }
        
        .pagination a:hover {
            background: var(--xdg-green);
            color: white;
            border-color: var(--xdg-green);
            transform: translateY(-2px);
        }
        
        .pagination .current {
            background: linear-gradient(135deg, var(--xdg-green) 0%, #0a5c4a 100%);
            color: white;
            border-color: transparent;
            cursor: default;
        }
        
        .pagination .disabled {
            opacity: 0.4;
            cursor: not-allowed;
            pointer-events: none;
        }
        
        /* 金句引言区 */
        .insight-quote {
            background: linear-gradient(115deg, #f4f9f6 0%, #ffffff 100%);
            border-radius: 32px;
            padding: 2rem 2.8rem;
            margin: 2rem 0 2rem;
            border-left: 5px solid var(--xdg-accent);
            box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.06);
        }
        
        .insight-quote p {
            font-size: 1.25rem;
            font-weight: 450;
            color: #1e2f3a;
            line-height: 1.55;
        }
        
        .insight-quote small {
            display: block;
            margin-top: 0.9rem;
            color: #8ba09a;
            font-weight: 500;
        }
        
        /* 返回首页按钮 */
        .back-home {
            margin-top: 1rem;
            text-align: center;
        }
        
        .back-home a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: white;
            padding: 0.7rem 2rem;
            border-radius: 60px;
            color: var(--xdg-green);
            text-decoration: none;
            border: 1px solid rgba(0, 52, 41, 0.2);
            transition: all 0.25s;
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .back-home a:hover {
            background: var(--xdg-green);
            color: white;
            border-color: var(--xdg-green);
            transform: translateY(-2px);
        }
        
        /* 响应式 */
        @media (max-width: 1100px) {
            .news-master {
                width: 85%;
            }
            .banner-content {
                width: 85%;
            }
        }
        
        @media (max-width: 800px) {
            .news-master {
                width: 80%;
                margin: 1.5rem auto 3rem;
            }
            .articles-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .tab-btn {
                padding: 0.7rem 1.5rem;
                font-size: 1rem;
            }
            .category-tabs { gap: 0.6rem; margin-bottom: 1.5rem; }
            .card-title {
                font-size: 1.35rem;
            }
            .banner-title {

                font-size: 2rem;
            }
            .banner-subtitle {
                font-size: 0.95rem;
            }
            .insight-quote {
                padding: 1.5rem 1.8rem;
            }
            .insight-quote p {
                font-size: 1rem;
            }
            .pagination a, .pagination span {
                min-width: 36px;
                height: 36px;
                font-size: 0.85rem;
            }
        }
        
        @media (max-width: 500px) {
            .news-master {
                width: 92%;
            }
            .banner-content {
                padding: 2rem 0;
            }
            .banner-title {
                font-size: 1.6rem;
            }
        }
		
		
		
		        /* Blog Detail Page Styles */
        .blog-detail-page {
            padding: 60px 0 80px 0;
            background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(248, 249, 250, 0.98) 50%,
                rgba(255, 255, 255, 0.95) 100%
            );
            position: relative;
            overflow: hidden;
        }

        .blog-detail-page::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(30, 74, 139, 0.02);
            pointer-events: none;
        }

        .blog-detail-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 30px;
            position: relative;
            z-index: 1;
        }

        /* Page Header */
        .page-header {
            text-align: center;
            margin-bottom: 40px;
            margin-top: 10px;
        }

        .page-header h1 {
            font-size: 2.25rem;
            color: #1e4a8b;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .page-header h1::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #ff6b35, #1e4a8b);
            border-radius: 2px;
        }

        /* Blog Detail Card */
        .blog-detail-card {
            background: #fff;
            border-radius: 24px;
            padding: 60px;
            box-shadow: 0 15px 50px rgba(30, 74, 139, 0.12);
            position: relative;
        }

        .blog-detail-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #ff6b35, #1e4a8b);
        }

        /* Article Meta */
        .article-meta {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-bottom: 35px;
            padding-bottom: 30px;
            border-bottom: 2px solid rgba(30, 74, 139, 0.1);
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #666;
            font-size: 0.95rem;
        }

        .meta-item i {
            color: #ff6b35;
            font-size: 1.1rem;
        }

        /* 子分类导航 */
        .subcategory-nav {
            display: flex;
            gap: 12px;
            margin-bottom: 30px;
            flex-wrap: wrap;
            align-items: center;
        }

        .subcategory-item {
            padding: 8px 20px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 30px;
            color: #6c757d;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .subcategory-item:hover {
            background: #e7f0ff;
            border-color: #1e4a8b;
            color: #1e4a8b;
            transform: translateY(-2px);
        }

        .subcategory-item.active {
            background: linear-gradient(135deg, #1e4a8b 0%, #2d5aa0 100%);
            border-color: #1e4a8b;
            color: #fff;
            font-weight: 600;
        }

        /* 上一篇/下一篇导航 */
        .article-nav {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin-top: 50px;
            padding-top: 40px;
            border-top: 2px solid rgba(30, 74, 139, 0.1);
        }

        .article-nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .article-nav-label {
            font-size: 0.9rem;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .article-nav-title {
            font-size: 1rem;
            color: #1e4a8b;
            font-weight: 600;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-nav-item:hover .article-nav-title {
            color: #ff6b35;
        }

        .article-nav-item.prev {
            align-items: flex-start;
        }

        .article-nav-item.next {
            align-items: flex-end;
            text-align: right;
        }

        /* Article Title */
        .article-title {
            font-size: 2.2rem;
            color: #1e4a8b;
            font-weight: 700;
            margin-bottom: 25px;
            line-height: 1.3;
        }

        /* Article Content */
        .article-content {
            color: #444;
            line-height: 1.9;
            font-size: 1.05rem;
        }

        /* 处理数据库中导入的div标签 */
        .article-content > div {
            margin-bottom: 20px;
            color: #444;
            line-height: 1.9;
            font-size: 1.05rem;
        }

        /* 图片处理 */
        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            margin: 20px 0;
        }

        /* 小图片居中 */
        .article-content > div:has(img) {
            text-align: center;
        }

        /* 大图片单独处理（占满宽度） */
        .article-content img.large-image {
            width: 100%;
            display: block;
            margin: 20px auto;
        }

        /* Back Button */
        .blog-back-btn {
            text-align: center;
            margin-top: 50px;
        }

        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #ff6b35, #ff8c5a);
            color: #ffffff !important;
            padding: 15px 40px;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none !important;
            transition: all 0.4s ease;
            box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
        }

        .back-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
            background: linear-gradient(135deg, #ff8c5a, #ff6b35);
            color: #ffffff !important;
            text-decoration: none !important;
            gap: 15px;
        }

        .back-btn i {
            transition: transform 0.3s ease;
            color: #ffffff !important;
        }

        .back-btn:hover i {
            transform: translateX(-5px);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .blog-detail-page {
                padding: 40px 0;
            }

            .page-header h1 {
                font-size: 2.5rem;
            }

            .blog-detail-card {
                padding: 45px;
            }

            .article-title {
                font-size: 1.9rem;
            }
        }

        @media (max-width: 768px) {
            .blog-detail-page {
                padding: 40px 0;
            }

            .blog-detail-container {
                padding: 0 20px;
            }

            .page-header {
                margin-bottom: 35px;
                margin-top: 0;
            }

            .page-header h1 {
                font-size: 2rem;
                margin-bottom: 8px;
            }

            .page-header h1::after {
                bottom: -6px;
            }

            .blog-detail-card {
                padding: 35px 25px;
                border-radius: 20px;
            }

            .article-meta {
                gap: 20px;
                padding-bottom: 25px;
                margin-bottom: 30px;
            }

            .meta-item {
                font-size: 0.9rem;
            }

            .article-title {
                font-size: 1.7rem;
            }

            .article-content {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .blog-detail-page {
                padding: 40px 0;
            }

            .blog-detail-container {
                padding: 0 15px;
            }

            .page-header h1 {
                font-size: 1.75rem;
            }

            .blog-detail-card {
                padding: 30px 20px;
            }

            .article-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            .article-title {
                font-size: 1.5rem;
            }

            .article-content {
                font-size: 0.95rem;
                line-height: 1.8;
            }

            .back-btn {
                padding: 12px 30px;
                font-size: 0.95rem;
            }
        }
		