@charset "utf-8";
/* CSS Document */

        :root {
            /* -- 使用新配色方案 -- */
            --primary-color: #04503a;
            --primary-dark: #0d7154;
            --primary-light: #E6F7FF;
            --secondary-color: #FF7D00;
            --secondary-light: #FFF3E0;
            --accent-color: #36B37E;
            --accent-light: #E6F4EA;
            --dark-color: #1F2937;
            --danger-color: #FF5630;
            --warning-color: #FFAB00;
            --gray-100: #F9FAFB;
            --gray-200: #E5E7EB;
            --gray-300: #D1D5DB;
            --gray-400: #9CA3AF;
            --gray-500: #6B7280;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.07);
            --transition: all 0.3s ease;
            /* -- 兼容旧代码中的变量名 -- */
            --primary: var(--primary-color);
            --secondary: var(--secondary-color);
            --accent: var(--accent-color);
            --dark: var(--dark-color);
            --light: var(--gray-100);
            --gray: var(--gray-500);
            --hover-bg: var(--gray-100);
        }

        /* 全局样式 */
        body {
            font-family: "Microsoft YaHei", sans-serif;
            color: #333;
            background-color: var(--light);
            padding-top: 0;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
        }

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

        .text-primary {
            color: var(--primary) !important;
        }

        .bg-primary {
            background-color: var(--primary) !important;
        }

        .bg-secondary {
            background-color: var(--secondary) !important;
        }

        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
        }

		.fl{float: left}
        /* 头部样式 */
        .top-bar {
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            color: white;
        }

        .school-logo {
            max-height:60px;
        }

        .search-container {
            position: relative;
        }

        /* --- 简化后的搜索框样式 --- */
        .search_content {
            flex: 1;
            padding: 10px 15px;
            border: 2px solid var(--primary-color);
            border-right: none;
            border-radius: 4px 0 0 4px;
            outline: none;
            font-size: 0.9rem;
            transition: border-color 0.3s ease;
        }
        .search_content:focus {
             border-color: var(--primary-dark);
             box-shadow: 0 0 0 0.2rem rgba(4, 80, 58, 0.25); /* 添加焦点状态的阴影 */
        }
        .search_from button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 0 20px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search_from button:hover {
            background-color: var(--primary-dark);
        }
        /* --- 简化后的搜索框样式结束 --- */

        /* 导航样式 */
        .desktop-nav {
            transition: all 0.3s ease;
            z-index: 1000;
           background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));

        }

        .desktop-nav.fixed {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            animation: slideDown 0.3s ease forwards;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .desktop-nav .nav-link {
            color: #fff;
            padding: 0.75rem 1rem;
            position: relative;
            font-weight: 500;
            border-radius: 0.375rem;
            margin: 0 0.25rem;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .desktop-nav .nav-link:hover,
        .desktop-nav .nav-link:focus {
            background-color: var(--hover-bg);
            color: var(--primary);
        }

        .desktop-nav .nav-link.active {
            color: white;
            background-color: var(--primary);
        }

        .desktop-nav .nav-link.active:hover {
             background-color: var(--primary-dark);
        }

        /* 地区导航增强样式 */
        .sub-nav {
            background-color: var(--gray-100); /* 使用新配色 */
            border-top: 1px solid var(--gray-200); /* 使用新配色 */
            border-bottom: 1px solid var(--gray-200); /* 使用新配色 */
        }

        .sub-nav .region-label {
            color: var(--gray); /* 保持旧变量名，但已映射到新颜色 */
            margin-right: 10px;
            white-space: nowrap;
            font-weight: 500;
        }

        .sub-nav .nav-link.region-item {
            padding: 0.5rem 0.75rem;
            margin: 0.25rem 0.125rem;
            border-radius: 0.25rem;
            font-size: 0.9rem;
            transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
        }

        .sub-nav .nav-link.region-item:hover,
        .sub-nav .nav-link.region-item:focus {
            background-color: white;
            color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .sub-nav .nav-link.region-item.text-accent {
            color: var(--accent); /* 使用新配色 */
        }

        .sub-nav .nav-link.region-item.text-accent:hover {
            color: #2a9c67; /* 调暗一点的强调色 */
        }

        /* 移动端菜单 - 左侧显示 */
        .mobile-sidebar {
            position: fixed;
            top: 0;
            left: -300px;
            width: 300px;
            height: 100vh;
            background-color: white;
            z-index: 1050;
            transition: left 0.3s ease;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        }

        .mobile-sidebar.open {
            left: 0;
        }

        .mobile-sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1040;
            display: none;
        }

        .mobile-sidebar-overlay.open {
            display: block;
        }

        .sidebar-nav-item {
            display: block;
            padding: 0.75rem 1.5rem;
            color: #333;
            border-bottom: 1px solid #f1f1f1;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .sidebar-nav-item:hover,
        .sidebar-nav-item:focus {
            color: var(--primary);
            background-color: var(--hover-bg);
        }

        .sidebar-nav-item.active {
            color: white;
            background-color: var(--primary);
        }

        .sidebar-sub-nav-item {
            display: block;
            padding: 0.5rem 1.5rem 0.5rem 2.5rem;
            color: #333;
            transition: color 0.2s ease;
        }

        .sidebar-sub-nav-item:hover,
        .sidebar-sub-nav-item:focus {
            color: var(--primary);
        }

        /* 面包屑导航优化 - 添加图标 */
        .breadcrumb-container {
            background-color: white;
            border-bottom: 1px solid var(--gray-100); /* 使用新配色 */
            padding: 0.75rem 0;
        }

        .breadcrumb {
            margin-bottom: 0;
            padding-left: 0;
        }

        .breadcrumb-item + .breadcrumb-item::before {
            content: ">";
            color: var(--gray); /* 保持旧变量名，但已映射到新颜色 */
            padding: 0 0.5rem;
        }

        .breadcrumb-item a {
            color: var(--gray); /* 保持旧变量名，但已映射到新颜色 */
            transition: color 0.2s ease;
        }

        .breadcrumb-item a:hover {
            color: var(--primary);
            text-decoration: underline;
        }

        .breadcrumb-item.active {
            color: var(--primary);
            font-weight: 500;
        }

        /* 主要内容区域样式 - 融合新布局 */
        .container.main { margin-top: 10px;
        }

        /* 主内容布局 */
        .main-content {
            display: flex;
            gap: 30px;
            margin-bottom: 40px;
        }

        .left-column {
            flex: 3;
        }

        .right-column {
            flex: 1;
        }

        .content-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            padding: 20px;
            margin-bottom: 30px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .section-title {
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: #333;
            display: flex;
            align-items: center;
            font-weight: 600;
        }

        /* 文章内容 */
        .article-header {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--gray-200);
        }

        .article-title {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #333;
            font-weight: 700;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            font-size: 0.9rem;
            color: var(--gray-500);
        }

        .article-meta-item {
            display: flex;
            align-items: center;
        }

        .article-meta-item i {
            margin-right: 5px;
            color: var(--primary);
        }

        .article-content {
            line-height: 1.8;
        }

        .article-content p {
            margin-bottom: 15px;
        }

        .article-content h2 {
            font-size: 1.5rem;
            margin: 25px 0 15px 0;
            color: #333;
            font-weight: 600;
        }

        .article-content h3 {
            font-size: 1.3rem;
            margin: 20px 0 10px 0;
            color: #333;
            font-weight: 600;
        }

        .article-content ul, .article-content ol {
            padding-left: 20px;
            margin-bottom: 15px;
        }

        .article-content li {
            margin-bottom: 8px;
        }

        .article-image {
            width: 100%;
            height: auto;
            border-radius: 6px;
            margin: 20px 0;
            box-shadow: var(--shadow-md);
        }

        .article-image-caption {
            text-align: center;
            font-size: 0.85rem;
            color: var(--gray-500);
            margin-top: 5px;
        }

        /* 侧边栏 */
        .sidebar-sticky {
            position: sticky;
            top: 20px;
        }

        .sidebar-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            padding: 20px;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .sidebar-title {
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: #333;
            display: flex;
            align-items: center;
            font-weight: 600;
        }

        .qr-code {
            text-align: center;
            margin-bottom: 20px;
        }

        .qr-code img {
            max-width: 150px;
            margin: 0 auto 10px;
            display: block;
        }

        .qr-text {
            font-size: 0.9rem;
            color: #666;
        }

        .highlight {
            color: var(--primary);
            font-weight: 600;
        }

        .button-full {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        .news-list {
            list-style: none;
            padding: 0;
        }

        .news-item {
            padding: 10px 0;
            border-bottom: 1px solid var(--gray-100); /* 使用新配色 */
            display: flex;
        }

        .news-item:last-child {
            border-bottom: none;
        }

        .news-icon {
            margin-right: 10px;
            color: var(--primary); /* 使用新的主色 */
        }

        .news-content h4 {
            font-size: 0.95rem;
            margin-bottom: 3px;
        }

        .news-content p {
            font-size: 0.85rem;
            color: var(--gray); /* 保持旧变量名，但已映射到新颜色 */
            margin: 0;
        }

        /* 滚动指示器/返回顶部按钮 */
        .scroll-indicator {
            position: fixed;
            right: 30px;
            bottom: 30px;
            width: 45px;
            height: 45px;
            background-color: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 100;
        }

        .scroll-indicator.visible {
            opacity: 1;
            visibility: visible;
        }

        /* 动画延迟类 */
        .delay-1 { transition-delay: 0.1s; }
        .delay-2 { transition-delay: 0.2s; }
        .delay-3 { transition-delay: 0.3s; }
        .delay-4 { transition-delay: 0.4s; }
        .delay-5 { transition-delay: 0.5s; }

        /* 页脚样式 */
        footer {
            background-color: var(--dark); /* 使用新配色 */
            color: white;
            margin-top: 2rem;
        }

        .footer-content {
            padding-bottom: 1rem;
        }

        .footer-bottom {
            background-color: #212529; /* 保持原样 */
            padding: 1rem 0;
            text-align: center;
            font-size: 0.875rem;
            color: #adb5bd; /* 保持原样 */
        }

        .footer-links h4 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary); /* 使用新的主色 */
            display: inline-block;
        }

        .footer-links ul {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: #adb5bd; /* 保持原样 */
            transition: color 0.2s ease, padding-left 0.2s ease;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .copyright {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #495057; /* 保持原样 */
            font-size: 0.8rem;
            color: #6c757d; /* 保持原样 */
        }

        /* 悬浮菜单 */
        .float-menu {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 100;
        }

        .float-menu-item {
            background-color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .float-menu-item:hover {
            background-color: var(--gray-100); /* 使用新配色 */
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .float-menu-icon {
            font-size: 1.25rem;
            margin-bottom: 3px;
        }

        .float-menu-text {
            font-size: 0.7rem;
            color: #6c757d; /* 保持原样 */
        }

        .qrcode-popup {
            position: absolute;
            right: 60px;
            background-color: white;
            padding: 10px;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
            display: none;
            z-index: 101;
        }

        .qrcode-popup.show {
            display: block;
        }

        .qrcode-popup img {
            width: 120px;
            height: 120px;
        }

        .qrcode-popup p {
            text-align: center;
            font-size: 0.875rem;
            margin-top: 5px;
            color: #6c757d; /* 保持原样 */
        }

        /* 响应式调整 */
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
        }

        /* 响应式隐藏样式 */
        @media (max-width: 768px) {
            .mobile-hidden-display {
                display: none !important;
            }
            
            .mobile-hidden-visibility {
                visibility: hidden !important;
            }
            
            .mobile-hidden-opacity {
                opacity: 0 !important;
            }
            
            .mobile-hidden-transform {
                transform: scale(0) !important;
            }
            
            .mobile-hidden-width {
                width: 0 !important;
                height: 0 !important;
                overflow: hidden !important;
            }
            
            .article-title {
                font-size: 1.5rem;
            }
        }
        @media (max-width: 768px) {
            .float-menu {
                display: none;
            }
        }

        @media (max-width: 576px) {
            .article-meta {
                flex-direction: column;
                gap: 5px;
            }
        }
        
        /* VIP内容提示样式 */
        .only-erphpdown-vip {
            background-color: var(--secondary-light);
            border: 1px solid var(--secondary);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .only-erphpdown-vip .icon-crown-s {
            color: var(--secondary);
            font-size: 2rem;
            margin-bottom: 10px;
        }
        
        .only-erphpdown-vip p {
            color: #333;
            font-weight: 500;
        }
        
        .only-erphpdown-vip a {
            color: var(--secondary);
            text-decoration: none;
        }
        
        .only-erphpdown-vip a:hover {
            color: #e06c00;
        }
        
        /* 文章标签样式 */
        .article-tags {
            margin: 20px 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .article-tags a {
            background-color: var(--gray-100);
            color: var(--gray-500);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: all 0.2s ease;
        }
        
        .article-tags a:hover {
            background-color: var(--primary);
            color: white;
        }
        
        /* 文章导航样式 */
        .article-nav {
            margin: 30px 0;
            padding: 20px 0;
            border-top: 1px solid var(--gray-200);
            border-bottom: 1px solid var(--gray-200);
            display: flex;
            justify-content: space-between;
        }
        
        .article-nav-prev, .article-nav-next {
            width: 48%;
        }
        
        .article-nav-prev a, .article-nav-next a {
            color: var(--gray-500);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        .article-nav-prev a:hover, .article-nav-next a:hover {
            color: var(--primary);
        }
        
        /* 评论区样式 */
        #comments {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid var(--gray-200);
        }
        
        .comment-list {
            list-style: none;
            padding: 0;
        }
        
        .comment-body {
            padding: 15px 0;
            border-bottom: 1px solid var(--gray-100);
        }
        
        .comment-author {
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .comment-metadata {
            font-size: 0.85rem;
            color: var(--gray-500);
            margin-bottom: 10px;
        }
        
        /* 文章内容折叠/展开按钮 */
        .article-content-all-more {
            text-align: center;
            margin: 20px 0;
        }
        
        .article-content-all-more span {
            display: inline-block;
            background-color: var(--primary-light);
            color: var(--primary);
            padding: 10px 20px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .article-content-all-more span:hover {
            background-color: var(--primary);
            color: white;
        }
        
        /* 文章选项卡样式 */
        .article-tabs-tab {
            display: flex;
            border-bottom: 1px solid var(--gray-200);
            margin-bottom: 20px;
        }
        
        .article-tabs-tab a {
            padding: 10px 20px;
            margin-right: 10px;
            border-bottom: 2px solid transparent;
            transition: all 0.2s ease;
        }
        
        .article-tabs-tab a.active {
            border-bottom-color: var(--primary);
            color: var(--primary);
            font-weight: 500;
        }
        
        .article-tab-item {
            display: none;
        }
        
        .article-tab-item.active {
            display: block;
        }
