﻿      :root {
                  --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #f8f9fa;
            --dark: #1a252f;
            --success: #27ae60;
            --warning: #f39c12;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            --border-radius: 12px;
			
           
        }
        
           * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
    
        /* 容器样式 - 响应式宽度 */
        .container {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        @media screen and (max-width: 1560px) {
            .container {
                width: 85%;
                max-width: none;
            }
        }
        
        @media screen and (max-width: 1280px) {
            .container {
                width: 96%;
            }
        }
		
		.section-header {
            text-align: left;
        }
        
        .section-title {
            font-size: 2.8rem;
            color: #333333;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
			font-weight:400
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 5px;
            background: linear-gradient(to right, var(--elite), var(--secondary));
            bottom: -12px;
            left: 0%;
            transform: translateX(-0%);
            border-radius: 5px;
        }
		
@media (max-width: 768px) {
		 
        .section-title {
            font-size: 2.3rem;
            color: #333333;
            margin-bottom: 0rem;
            position: relative;
            display: inline-block;
			font-weight:400
        }
		 }
        
       /* 资源列表容器 */
        .resources-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
            gap: 45px;
            margin-bottom: 4rem;
			 grid-auto-flow: dense; 
        }
        
        @media screen and (max-width: 1280px) {
            .resources-container {
                grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
            }
        }
          .main-content {
            padding: 4rem 0;
        }

        .resource-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
            display: flex;
            align-items: flex-start;
            gap: 25px;
            height: 100%;
            position: relative;
        }
        
        .resource-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
        }
        .resource-card:last-of-type {
    margin-bottom: 40px;
}
        .resource-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: var(--secondary);
            flex-shrink: 0;
        }
        
        .resource-content {
            flex: 1;
        }
        
        .resource-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0rem;
        }
        
        .resource-title {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .resource-category {
            display: inline-block;
            padding: 4px 12px;
            background: rgba(52, 152, 219, 0.1);
            color: var(--secondary);
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .resource-desc {
            color: #666;
            margin-bottom: 1rem;
            line-height: 1.6;
			 display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6em * 2);
        }
        
        .resource-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 1.7rem;
            flex-wrap: wrap;
			min-width:100px
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #777;
            font-size: 0.95rem;
        }
        
        .meta-item i {
            color: var(--secondary);
        }
        
        .resource-actions {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .action-btn {
            padding: 10px 14px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }
        
        .btn-primary {
            background: var(--secondary);
            color: white;
        }
        
        .btn-primary:hover {
            background: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
        }
        
        .btn-secondary {
            background: #f8f9fa;
            color: var(--dark);
            border: 1px solid #e0e0e0;
        }
        
        .btn-secondary:hover {
            background: #e9ecef;
            border-color: #bdc3c7;
        }
        
        /* 新增资源样式 */
        .resource-new {
            position: relative;
        }
        
        .new-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--accent);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        /* 文章内容模态框 */
        .article-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 200000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }
        
        .article-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .article-content {
            width: 100%;
            max-width: 1200px;
            max-height: 96vh;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        
        .article-header {
            padding: 1.5rem 2rem;
            background: var(--primary);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        
        .article-header h3 {
            font-size: 1.8rem;
            margin: 0;
        }
        
        .article-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            transition: var(--transition);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .article-close:hover {
            color: var(--accent);
            transform: rotate(90deg);
        }
        
        .article-body {
            flex: 1;
            padding: 2rem;
            overflow-y: auto;
            background: #f8f9fa;
        }
        
        .article-text {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            line-height: 1.8;
        }
        
        .article-text h4 {
            color: var(--primary);
            margin: 1.5rem 0 1rem;
            font-size: 1.4rem;
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 0.5rem;
        }
        
        .article-text p {
            text-align: justify;
        }
        
        .article-text ul {
            margin: 1rem 0 1rem 2rem;
        }
        
        .article-text li {
            margin-bottom: 0.5rem;
        }
        
        .article-footer {
            padding: 1.5rem 2rem;
            background: var(--light);
            border-top: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .article-meta {
            display: flex;
            gap: 1.5rem;
            color: #666;
            font-size: 0.9rem;
        }
        
        /* PDF下载样式 */
        .pdf-download {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--secondary);
            text-decoration: none;
            font-weight: 500;
            padding: 8px 16px;
            border: 2px solid var(--secondary);
            border-radius: 6px;
            transition: var(--transition);
        }
        
        .pdf-download:hover {
            background: var(--secondary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }
        
        .no-pdf {
            color: #999;
            font-style: italic;
            padding: 8px 16px;
            background: #f5f5f5;
            border-radius: 6px;
            border: 1px solid #e0e0e0;
        }
        
        /* 底部 */

        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }
        
        .footer-section h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--accent);
        }
        
        .footer-section p {
            opacity: 0.8;
            margin-bottom: 1rem;
        }
        
        .contact-info {
            list-style: none;
        }
        
        .contact-info li {
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            opacity: 0.8;
        }
        
        .contact-info i {
            color: var(--secondary);
            width: 20px;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
        }
        
        /* 响应式设计 */
        @media screen and (max-width: 992px) {
     
            .nav-content {
                flex-direction: column;
                gap: 1.5rem;
            }
            
            .category-header {
                flex-direction: column;
                gap: 1.5rem;
                align-items: stretch;
            }
            
            .search-box {
                width: 100%;
            }
            
            .resources-container {
                grid-template-columns: 1fr;
            }
            
            .resource-card {
                flex-direction: column;
                gap: 20px;
            }
            
            .resource-icon {
                align-self: center;
            }
        }
        
        @media screen and (max-width: 768px) {
           .main-content {
            padding:2.5rem 0;
        }
          
            
           .section-header h3 {
                font-size: 1.8rem;
            }
            
            .resource-header {
                flex-direction: column;
                gap: 10px;
            }
            
            .resource-actions {
                flex-direction: column;
            }
            
            .action-btn {
                width: 100%;
                justify-content: center;
            }
            
            .stats-bar {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .article-content {
                width: 100%;
            }
            
            .article-header {
                padding: 1rem;
            }
            
            .article-header h3 {
                font-size: 1.5rem;
            }
            
            .article-body {
                padding: 0.5rem;
            }
            
            .article-text {
                padding: 1rem;
            }
            
            .article-footer {
                padding: 1rem;
                flex-direction: column;
                align-items: stretch;
            }
        }
        

        /* 下载进度条 */
        .download-progress {
            width: 100%;
            height: 4px;
            background: #e0e0e0;
            border-radius: 2px;
            overflow: hidden;
            margin-top: 10px;
            display: none;
        }
        
        .download-progress-bar {
            height: 100%;
            background: var(--success);
            width: 0%;
            transition: width 0.3s ease;
        }
        
        /* 隐藏的文章内容模板 */
        .article-template {
            display: none;
        }
 
 
 
    .faq-container {
            max-width: 1500px;
            margin: 0 auto;
        }
        
        /* 问答卡片样式 - 桌面端两列布局 */
        .faq-category {
            margin-bottom: 4rem;
        }
        
        .category-title {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 3px solid var(--secondary);
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .category-title i {
            color: var(--secondary);
            font-size: 1.5rem;
        }
        
        /* 修改：使用flex布局替代grid，让每列独立 */
        .faq-list {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
        }
        
        .faq-column {
            flex: 1 1 calc(50% - 12.5px);
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .faq-item {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border-left: 4px solid transparent;
            height: auto; /* 让高度自适应内容 */
        }
        
        .faq-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
        
        .faq-item.active {
            border-left-color: var(--secondary);
        }
        
        .faq-question {
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            background: white;
            transition: var(--transition);
        }
        
        .faq-question:hover {
            background: #f8f9fa;
        }
        
        .faq-question.active {
            background: #f0f7ff;
        }
        
        .question-text {
            font-size: 1.2rem;
            font-weight: 400;
            color: var(--primary);
            flex: 1;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .question-number {
           display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 30px;
    height: 30px;
    background: #02a7eb;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0; 
        }
        .question-number i {
    font-size: 0.9rem;
    line-height: 1;
}
        .question-icon {
            color:#666;
            font-size: 1.1rem;
            transition: var(--transition);
            width: 24px;
            text-align: center;
        }
        
        .faq-item.active .question-icon {
            transform: rotate(180deg);
            color: var(--secondary);
        }
        
        .faq-answer {
            padding: 0 2rem;
            max-height: 0;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            background: white;
        }
        
        .faq-item.active .faq-answer {
            padding: 0 2rem 2rem;
            max-height: 2000px; /* 设置为足够大的值 */
        }
        
        .answer-content {
            padding-top: 1.5rem;
            border-top: 1px solid #eaeaea;
        }
        
        .answer-text {
            color: #555;
            line-height: 1.8;
            font-size: 1.05rem;
        }
        
        .answer-text p {
            margin-bottom: 1rem;
        }
        
        .answer-text ul, .answer-text ol {
            margin: 1rem 0 1rem 2rem;
        }
        
        .answer-text li {
            margin-bottom: 0.5rem;
        }
        
        .answer-meta {
            display: flex;
            gap: 20px;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px dashed #eaeaea;
            font-size: 0.9rem;
            color: #888;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .meta-item i {
            color: var(--secondary);
        }
		
		
		
		.quick-links {
            background: white;
            padding: 0rem;
            margin-top: 2rem;
			margin-bottom: 5rem;
            text-align: center;
        }
        
        .quick-links h3 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 2rem;
        }
        
        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }
        
        .link-card {
            background: #f8f9fa;
            border-radius: var(--border-radius);
            padding: 2rem;
            text-align: center;
            transition: var(--transition);
            border: 2px solid transparent;
        }
        
        .link-card:hover {
            border-color: var(--secondary);
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
        
        .link-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #555, #555);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
            margin: 0 auto 1.5rem;
        }
        
        .link-card h4 {
            font-size: 1.3rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
        
        .link-card p {
            color: #666;
            margin-bottom: 1.5rem;
        }
        
        .action-btn {
            display: inline-block;
            padding: 10px 20px;
            background: var(--secondary);
            color: white;
            border-radius: 6px;
            font-weight: 500;
            transition: var(--transition);
            text-decoration: none;
        }
        
        .action-btn:hover {
            background: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
		
		
		  @media screen and (max-width: 1500px) {
            .faq-column {
                flex: 1 1 calc(50% - 12.5px);
            }
		 .faq-container {
            max-width: 85%
            margin: 0 auto;
        }
        }
        @media screen and (max-width: 1280px) { .faq-container {
            max-width: 85%
            margin: 0 auto;
        }
}
        @media screen and (max-width: 992px) {
         
            
      
            
            .faq-list {
                flex-direction: column;
            }
            
            .faq-column {
                flex: 1 1 100%;
            }
            
            .faq-question {
                padding: 1.25rem 1.5rem;
            }
            
            .faq-item.active .faq-answer {
                padding: 0 1.5rem 1.5rem;
            }
            
            .question-text {
                font-size: 1.1rem;
            }
        }
        
        @media screen and (max-width: 768px) {
           
          
            .faq-question {
                padding: 1rem 1.25rem;
            }
            
            .question-text {
                font-size: 1rem;
                gap: 10px;
            }
            
            .question-number {
                width: 25px;
                height: 25px;
                line-height: 25px;
                font-size: 0.8rem;
            }
            
            .quick-links {
                padding: 0.3rem;
            }
            
            .quick-links h3 {
                font-size: 1.8rem;
            }
            
            .expand-controls {
                flex-direction: column;
            }
			
			     
        .links-grid {
            display: grid;
             grid-template-columns: 1fr;
            gap: 25px;
        }
        }
        
		

/* 新闻 */
.NewsList ul {
    padding-bottom: 1.5%;
}

.NewsList li {
    margin-bottom: 4%;
    transition: all 0.3s ease;
}

.NewsList li a {
    display: block;
    padding: 0;
    position: relative;
    background: #fff;
    box-shadow: 0px 0px 20px rgba(89, 89, 89, 0.1);
    overflow: hidden;
    border-radius: 8px;
}

.NewsList li .effect-img {
    width: 25%;
    float: left;
    position: relative;
    height: 200px;
}

.NewsList li .effect-img span {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: transform 0.3s ease;
}

.NewsList li .txt {
    width: 60.5%;
    float: left;
    padding: 3% 0;
    color: #6f6f6f;
    font-size: 12px;
    line-height: 24px;
    margin-left: 2%;
}

.NewsList li .txt .date {
    padding: 15px 0px 0px 38px;
    color: #999;
    font-family: Arial;
    width: 10%;
    position: absolute;
    right: 0px;
    top: 5%;
    bottom: 5%;
    border-left: 1px solid #e6e6e6;
}

.NewsList li .txt .date .name {
    display: block;
    font-size: 22px;
    line-height: 30px;
    color: #222;
}

.NewsList li .txt .date em {
    display: inline-block;
    font-size: 14px;
    line-height: 45px;
}

.NewsList li .txt .date .more {
    display: block;
    margin-top: 12px;
    width: 27px;
    height: 11px;
    background-image: url(../img/more5.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.NewsList li .txt h3 {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    color: #333;
    font-weight: normal;
    margin: 0 0 5px 0;
}

.NewsList li .txt .info {
    max-height: 72px;
    overflow: hidden;
    font-size: 14px;
    color: #999;
    line-height: 24px;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
	 text-indent: 2em;
}

/* 悬停效果 */
.NewsList li:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.NewsList li:hover .txt,
.NewsList li:hover .txt .date .name,
.NewsList li:hover .txt h3 {
    color: #E20A16;
}

.NewsList li:hover .txt .date .more {
    background-image: url(../img/more6.png);
}

.NewsList li:hover .effect-img span {
    transform: scale(1.05);
}

/* 平板设备适配 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .NewsList li .effect-img {
        height: 180px;
    }
    
    .NewsList li .txt {
        padding: 2.5% 0;
    }
    
    .NewsList li .txt h3 {
        font-size: 17px;
        height: 26px;
        line-height: 26px;
    }
    
    .NewsList li .txt .info {
        font-size: 13px;
        line-height: 22px;
        max-height: 66px;
        -webkit-line-clamp: 3;
		
    }
}

/* 手机设备适配 (小于768px) */
@media screen and (max-width: 768px) {
    .NewsList ul {
        padding-bottom: 10px;
    }
    
    .NewsList li {
        margin-bottom: 15px;
        width: 100%;
        float: none;
    }
    
    .NewsList li a {
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    
    .NewsList li .effect-img {
        width: 100% !important;
        float: none;
        height: 200px;
        order: 1;
    }
    
    .NewsList li .txt {
        width: 100% !important;
        float: none;
        padding: 15px;
        margin-left: 0;
        order: 2;
        box-sizing: border-box;
    }
    
    .NewsList li .txt .date {
        position: relative;
        width: 100%;
        padding: 0;
        border-left: none;
        margin-top: 0px;
        padding-top: 0px;
        text-align: right;
        display: flex;
        align-items: center;
		  justify-content: flex-end;
    }
    
    .NewsList li .txt .date .name {
        font-size: 16px;
        line-height: 1.2;
        display: inline;
		 margin-left: auto;
    }
    
    .NewsList li .txt .date em {
        font-size: 12px;
        line-height: 1.2;
        display: none;
    }
    
    .NewsList li .txt .date .more {
        display: none;
    }
    
    .NewsList li .txt h3 {
        font-size: 18px;
        height: auto;
        line-height: 1.4;
        white-space: normal;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden; font-weight:bold
    }
    
    .NewsList li .txt .info {
        font-size: 14px;
        line-height: 1.6;
        max-height: none;
        -webkit-line-clamp: 2;
        margin-top: 5px;
		 text-indent: 0;
    }
    
    /* 小手机适配 (小于480px) */
    @media screen and (max-width: 480px) {
        .NewsList li .effect-img {
            height: 180px;
        }
        
        .NewsList li .txt {
            padding: 12px;
        }
        
        .NewsList li .txt h3 {
            font-size: 15px;
            -webkit-line-clamp: 2;
        }
        
        .NewsList li .txt .info {
            font-size: 13px;
            -webkit-line-clamp: 2;
        }
        
        .NewsList li .txt .date .name {
            font-size: 14px;
        }
        
        .NewsList li .txt .date em {
            font-size: 11px;
        }
    }
    

}

/* 清除浮动 */
.NewsList:after,
.NewsList ul:after,
.NewsList li a:after {
    content: "";
    display: table;
    clear: both;
}



/* 新闻详情页样式 */

.news-detail-container {
    margin: 80px auto 100px;
    background: #fff;
    border: 2px solid #f2f2f2;
    box-shadow: 2px 1px 20px 0px rgba(229, 229, 229, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-wrapper {
    padding: 30px;
}

.news-title-section {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.news-detail-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
    word-wrap: break-word;
    text-align: center; /* 标题居中 */
}

.news-meta-info {
    font-size: 14px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 元信息居中 */
    gap: 20px;
    margin-top: 15px;
    text-align: center; /* 确保元信息内容居中 */
}

.news-meta-info span {
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    display: inline-block;
}

.news-content-section {
    padding: 30px 0;
    min-height: 300px;
    text-align: left;
}

.news-content-body {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: left;
    width: 100%;
    max-width: 100%;
}
/*
.news-content-body * {
    text-align: left !important;
}
*/

.news-content-body p {
    margin-bottom: 6px;
    text-indent: 2em;
    text-align: left;
}

.news-content-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    text-align: center;
}

.news-content-body h1,
.news-content-body h2,
.news-content-body h3,
.news-content-body h4 {
    margin: 30px 0 15px;
    color: #222;
    font-weight: bold;
    text-align: left;
}

.news-content-body h1 { font-size: 28px; }
.news-content-body h2 { font-size: 24px; }
.news-content-body h3 { font-size: 20px; }
.news-content-body h4 { font-size: 18px; }

.news-content-body ul,
.news-content-body ol {
    margin: 15px 0;
    padding-left: 2em;
    text-align: left;
}

.news-content-body li {
    margin-bottom: 8px;
    text-align: left;
}

.news-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
    text-align: left;
}

.news-content-body table th,
.news-content-body table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.news-content-body table th {
    background: #f5f5f5;
    font-weight: bold;
    text-align: left;
}

.news-content-body blockquote {
    border-left: 4px solid #E20A16;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
    text-align: left;
}

/* 导航区域 */
.news-navigation {
    margin: 40px 0 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: left;
}

.prev-next-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
}

.prev-article,
.next-article {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.prev-article a,
.next-article a {
    display: block;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.prev-article a:before,
.next-article a:before {
    content: "← 上一篇";
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
    text-align: left;
}

.next-article a:before {
    content: "下一篇 →";
    text-align: right;
}

/* 错误和空状态 */
.error-message,
.no-content,
.no-permission {
    text-align: center; /* 错误信息保持居中 */
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
    background: #f9f9f5;
    border-radius: 8px;
    margin: 20px 0;
}

/* 强制重置任何可能的居中样式 */
div[align="center"],
td[align="center"],
.center,
.text-center {
    text-align: left !important;
}


@media screen and (max-width: 1280px) {

    
    .news-detail-title {
        font-size: 28px;
    }
    
    .news-content-body {
        font-size: 16px;
    }
}

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .news-detail-container {
        margin: 60px auto 80px;
    }
    
    .news-detail-wrapper {
        padding: 20px;
    }
    
    .news-detail-title {
        font-size: 24px;
    }
    
    .news-content-body {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .prev-article,
    .next-article {
        min-width: 250px;
    }
}

/* 手机设备 (小于768px) */
@media screen and (max-width: 768px) {
    .news-detail-container {
        margin: 0px auto 40px;
        border: 0px solid #eee;
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0.05);
    }
    
    .news-detail-wrapper {
        padding: 5px;
    }
    
    .news-detail-title {
        font-size: 20px;
        margin-bottom: 15px;
        line-height: 1.5;
        text-align: center; /* 手机端标题也居中 */
    }
    
    .news-meta-info {
        font-size: 12px;
        gap: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .news-meta-info span {
        width: auto;
        text-align: center;
        box-sizing: border-box;
    }
    
    .news-content-section {
        padding: 0px 0;
        text-align: left;
    }
    
    .news-content-body {
        font-size: 15px;
        line-height: 1.6;
        text-align: left;
    }
    
    .news-content-body p {
        margin-bottom: 15px;
        text-indent: 1.5em;
        text-align: left;
    }
    
    .news-content-body h1,
    .news-content-body h2,
    .news-content-body h3,
    .news-content-body h4 {
        text-align: left;
    }
    
    .news-content-body h1 { font-size: 22px; }
    .news-content-body h2 { font-size: 20px; }
    .news-content-body h3 { font-size: 18px; }
    .news-content-body h4 { font-size: 16px; }
    
    .news-content-body img {
        margin: 15px auto;
    }
    
    .news-navigation {
        margin: 30px 0 20px;
        padding-top: 20px;
        text-align: left;
    }
    
    .prev-next-box {
        flex-direction: column;
        gap: 15px;
    }
    
    .prev-article,
    .next-article {
        min-width: 100%;
        text-align: left;
    }
    
    .prev-article a,
    .next-article a {
        padding: 12px 15px;
        text-align: left;
    }
    
    .prev-article a:before,
    .next-article a:before {
        font-size: 13px;
    }
}

/* 小手机设备 (小于480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .news-detail-title {
        font-size: 18px;
        text-align: center;
    }
    
    .news-content-body {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }
    
    .news-content-body p {
        text-indent: 1em;
        text-align: left;
    }
    
    .news-meta-info {
        font-size: 11px;
        text-align: center;
    }
}

/* 清除浮动 */
.clear {
    clear: both;
}




.jiaowu-container {
    padding: 60px 0;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 40px;
    background: #fff;
    border: 2px solid #e0e6ff;
    border-radius: 30px;
    color: #4a6cf7;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: #f0f3ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 108, 247, 0.15);
}

.filter-btn.active {
    background: #4a6cf7;
    border-color: #4a6cf7;
    color: #fff;
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.3);
}

.filter-btn.active:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

/* 文章列表 */
.jiaowu-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

/* 文章卡片样式 */
.article-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid #f0f2f8;
}

.article-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e0e6ff;
}

/* 图片区域 */
.article-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.article-image:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 100%);
    z-index: 1;
}

.article-image span {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.article-item:hover .article-image span {
    transform: scale(1.08);
}

/* 分类标签 */
.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    background: rgba(74, 108, 247, 0.95);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* 内容区域 */
.article-content {
    padding: 24px;
}

/* 日期样式 */
.article-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #f0f3ff 0%, #e8edff 100%);
    border-radius: 20px;
    color: #4a6cf7;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-date:before {
    content: '📅';
    font-size: 12px;
}

/* 标题样式 */
.article-title {
    font-size: 23px;
    font-weight: 700;
    color: #005d83;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a {
font-size:18px;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;

}

.article-title a:hover {
    color: #02a7ea;
}
@media screen and (max-width: 768px) {
.article-title a {
font-size:17px;


}
}

/* 摘要样式 */
.article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 信息来源 */
.article-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f2f8;
    font-size: 14px;
    color: #888;
}

.article-source:before {
    content: '📝';
    margin-right: 5px;
}


.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    color: #555;
    text-decoration: none;
    border-radius: 25px; border:#ccc 1px solid;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.read-more-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.read-more-btn:hover:before {
    left: 100%;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2,167,235, 0.2);
}

.read-more-btn:after {
    content: '→';
    transition: transform 0.3s;
}

.read-more-btn:hover:after {
    transform: translateX(4px);
}

/* 空状态 */
.no-articles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f3ff 100%);
    border-radius: 20px;
    border: 2px dashed #d1d9ff;
}

.no-articles p {
    font-size: 18px;
    color: #7a8bf2;
    margin: 0;
}

/* 分页样式 */
.jiaowu-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-item {
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e0e6ff;
    border-radius: 10px;
    color: #4a6cf7;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.pagination-item:hover {
    background: #f0f3ff;
    border-color: #4a6cf7;
    transform: translateY(-2px);
}

.pagination-item.active {
    background: #4a6cf7;
    border-color: #4a6cf7;
    color: white;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* 响应式设计 */
@media screen and (max-width: 1560px) {
    .jiaowu-container {
        width: 85%;
        max-width: none;
    }
}

@media screen and (max-width: 1280px) {
    .jiaowu-container {
        width: 96%;
    }
    
    .jiaowu-articles {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
    }
}

/* 平板设备 */
@media screen and (max-width: 1024px) {
    .jiaowu-container {
        padding: 40px 0;
    }
    
    .category-filter {
        margin-bottom: 40px;
    }
    
    .filter-btn {
        padding: 10px 30px;
        font-size: 15px;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .article-title {
        font-size: 18px;
    }
}

/* 手机设备 */
@media screen and (max-width: 768px) {
    .jiaowu-container {
        padding: 30px 15px;
    }
    
    .category-filter {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 10px 25px;
        font-size: 14px;
        flex: 1;
        min-width: calc(50% - 12px);
    }
    
    .jiaowu-articles {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .article-title {

    margin: 0 0 10px 0;

}
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 16px 12px 13px 12px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .article-excerpt {
        font-size: 14px;
    }
    
    .article-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .pagination-item {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 40px;
    }
}






.works-container {
    padding: 40px 0;
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.work-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.work-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-info {
    padding: 20px;
}

.work-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.work-author {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.work-description {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页样式 */
.works-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    padding: 10px 20px;
    border: none;
    background: white;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 25px;
    min-width: 40px;
}

.page-btn:hover {
    background: #d4a574;
    color: white;
}

.page-btn.active {
    background: #d4a574;
    color: white;
}

/* 图片放大模态框 */
.works-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1001110;
    animation: fadeIn 0.3s ease;
}

.works-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.works-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.works-modal-close:hover {
    background: rgba(0,0,0,0.7);
    transform: rotate(90deg);
}

.works-modal-body {
    display: flex;
    flex-direction: column;
}

.works-modal-body img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    background: #f5f5f5;
}

.works-modal-info {
    padding: 25px;
}

.works-modal-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.works-modal-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.works-modal-author {
    color: #d4a574 !important;
    font-weight: 600;
    margin-top: 20px !important;
    font-size: 16px !important;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
.works-container {
    padding: 20px 0;
}
    .works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
		  margin: 30px 10px;
    }

    .works-modal-content {
        width: 95%;
        margin: 30px auto;
    }
    
    .works-modal-body {
        flex-direction: column;
    }
    
    .works-modal-body img {
        max-height: 400px;
    }
}