
.nav-menu {
    display: flex;
    justify-content: center; /* 水平居中 */
    list-style: none; /* 移除默认列表样式 */
    padding: 0; /* 移除默认内边距 */
    margin: 0;}

.nav-menu li {
    position: relative;}

.submenu {
    display: none; /* 默认隐藏子菜单 */
    position: absolute; /* 绝对定位子菜单 */
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff; /* 子菜单背景色 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);}

.nav-menu li:hover .submenu {
    display: block;}
    .search-box {
    margin-left: auto;
    display: flex;
    width: 300px;
    max-width: 400px;
    align-items: center;
    position: relative;
    justify-content: flex-end;}

/* 确保脚本不占用空间 */
.search-box script {
    display: none;
    position: absolute;
    height: 0;
    width: 0;
    overflow: hidden;}

/* 调整表单样式 */
.search-box form {
    flex: 1;
    display: flex;}

/* 确保输入框和按钮紧密贴合 */
.search-box .txt {
    width: 100%;
    box-sizing: border-box;}

/* 调整按钮样式 */
.search-box button {
    margin-left: 1px; /* 确保按钮紧贴输入框 */
    flex-shrink: 0;}

  
            /* 基础样式 */
        @font-face {
            font-family: 'Noto Serif SC';
            font-style: normal;
            font-weight: 400;
src: url(/css/fonts/NotoSerifSC-Regular.otf) format('opentype');
            font-display: swap;}

         @font-face {
            font-family: 'Noto Sans SC';
            font-style: normal;
            font-weight: 400;
src: url(/css/fonts/NotoSansSC-Regular.otf) format('opentype');
            font-display: swap;}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family:  'Microsoft YaHei','Noto Serif SC', 'Noto Sans SC', 'Segoe UI', serif;}
        
        :root {
           --primary: #0077b3;
            --primary-dark: #006699;
            --primary-light: #e6f0ff;
            --secondary: #e6a23c;
            --light: #f5f7fa;
            --dark: #333;
            --gray: #666;
            --light-gray: #f0f0f0;
            --border: #e0e0e0;
            --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;}
        
        body {
            background-color: #f9f9f9;
            color: var(--dark);
            line-height: 1.6;
            padding-top: 0px;}
        
        a {
            text-decoration: none;
            color: var(--primary);
            transition: var(--transition);}
        
        a:hover {
            color: var(--secondary);}
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;}
        
        .section-title {
            position: relative;
            margin-bottom: 25px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 0;
            padding: 8px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
            border-bottom: 2px solid var(--secondary);}
        
        .section-title h2 {
            font-size: 18px;
            color: white;
            margin: 0;
            position: relative;}
        
        .section-title h2 i {
            margin-right: 22px;}
        
        .section-title .more {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: normal;
            transition: var(--transition);
            padding: 4px 10px;
            border-radius: 4px;
            background-color: rgba(255, 255, 255, 0.2);}
        
        .section-title .more:hover {
            color: white;
            background-color: rgba(255, 255, 255, 0.3);
            transform: translateX(3px);}
        
        .section-title .more:hover {
            color: var(--primary);
            transform: translateX(3px);}
        
        .btn {
            display: inline-block;
            padding: 8px 20px;
            background: var(--primary);
            color: white;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;}
        
        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
        
        /* 顶部栏样式 - 移除固定定位 */
        .top-bar {
            background-color: transparent !important;
            color: white;
            padding: 8px 0;
            font-size: 14px;
            width: 100%;
            z-index: 1;}
        
        .top-bar .container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;}
        
        .top-links a {

            color: white;
            margin-left: 15px;
            display: inline-flex;
            align-items: center;}
        
        .top-links a i {
            margin-right: 5px;}
        
        .top-links a:hover {
            color: var(--secondary);}
        
        /* 头部样式 */
        .header-main {
            background-color: var(--primary);
            background-image: url(map.png);
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
            padding: 0 0 20px 0;
            box-shadow: var(--shadow);
            position: relative;
            z-index: 2;}
        
        .header-content {
            display: flex;
            align-items: center;
            flex-wrap: wrap;}
        
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            max-width: 100%;}
        
        .logo img {
            max-height: 81px;
            height: auto;
            width: auto;
            margin-right: 15px;
            object-fit: contain;}

        @media (max-width: 768px) {
            .logo img {
                max-height: 60px;}
        }

        @media (max-width: 576px) {
            .logo img {
                max-height: 45px;
                margin-right: 10px;}
        }
        
        .logo-text {
            display: flex;
            flex-direction: column;}
        
        .logo-text h1 {
            font-size: 24px;
            color: var(--primary);
            margin-bottom: 5px;
            font-weight: 700;}
        
        .logo-text p {
            font-size: 16px;
            color: var(--gray);
            letter-spacing: 1px;}
        
        .search-box {
            margin-left: auto;
            display: flex;
            width: 100%;
            max-width: 400px;}
        
        .search-box input {
            padding: 12px 15px;
            border: 1px solid var(--border);
            border-radius: 4px 0 0 4px;
            width: 100%;
            font-size: 14px;
            transition: var(--transition);}
        
        .search-box input:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 2px rgba(0, 102, 179, 0.2);}
        
        .search-box button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0 20px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-size: 16px;
            transition: var(--transition);}
        
        .search-box button:hover {
            background-color: var(--primary-dark);}
        
        /* 导航样式 */
       
        .main-nav {
            background-color: var(--primary-dark);
            position: sticky;
            top: 0;
            z-index: 999;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);}
        
        @media (max-width: 768px) {
            .main-nav {
                top: 0;}
        }
        
        .nav-container {
            position: relative;}
        
        .nav-menu {
            display: flex;
            list-style: none;
            flex-wrap: wrap;}
        
        .nav-menu > li {
            position: relative;}
        
        .nav-menu > li > a {
            display: block;
            padding: 15px 20px;
            color: white;
            font-weight: bold;
            font-size: 16px;
            transition: var(--transition);}
        
        .nav-menu > li > a:hover {
            background-color: var(--primary);}
        
        .submenu {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 200px;
            box-shadow: var(--shadow);
            z-index: 1000;
            list-style: none;
            animation: fadeIn 0.3s ease;}
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px);}
            to { opacity: 1; transform: translateY(0);}
        }
        
        .nav-menu > li:hover .submenu {
            display: block;}
        
        .submenu li a {
            display: block;
            padding: 12px 20px;
            color: var(--dark);
            border-bottom: 1px solid var(--border);
            font-size: 14px;
            transition: var(--transition);}
        
        .submenu li a:hover {
            background-color: var(--primary-light);
            color: var(--primary);
            padding-left: 25px;}
        
        .menu-toggle {
            display: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            position: fixed;
            right: 30px;
            bottom: 90px; /* 放在返回顶部按钮上方 */
            width: 50px;
            height: 50px;
            background: var(--primary);
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            z-index: 100;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: var(--transition);}
        
        .menu-toggle:hover {
            background: var(--primary-dark);
            transform: translateY(-5px);}
        
          /* 轮播图样式 */
        .slider {
            position: relative;
            height: 430px;
            overflow: hidden;
            width: 100%;
            margin: -30px 0 -20px 0;}
        
        .slider .bd {
            height: 100%;
            width: 100%;}
        
        .slider .bd ul {
            height: 100%;
            width: 100%;
            margin: 0;
            padding: 0;
            list-style: none;}
        
        .slider .bd li {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease;}
        
        .slider .bd li a {
            display: block;
            width: 100%;
            height: 100%;}
        
        .slider .bd li img {
            width: 100%;
            height: 100%;
            object-fit: cover;}
        
        .slider .bd li.active {
            opacity: 1;}
        
        .slider-dots {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            z-index: 10;
            gap: 10px;}
        
        .slider-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s;}
        
        .slider-dot.active {
            background: white;
            transform: scale(1.3);}
        
        @media (max-width: 768px) {
            .slider {
                height: 350px;}
        }
        
        /* 主要内容区域样式 */
        .main {
            margin: 30px 0;}
        
        .grid-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 40px;}
        
        .news-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s, box-shadow 0.3s;}
        
        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);}
        
        .news-img {
            height: 200px;
            overflow: hidden;
            position: relative;}
        
        .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;}
        
        .news-card:hover .news-img img {
            transform: scale(1.05);}
        
        .news-content {
            padding: 10px 20px 20px 20px;}
        
        .news-content h3 {
            font-size: 18px;
            margin-bottom: 10px;
            line-height: 1.4;
            transition: var(--transition);}
        
        .news-content h3 a {
            color: var(--dark);}
        
        .news-content h3 a:hover {
            color: var(--primary);}
        
        .news-content p {
            color: var(--gray);
            font-size: 14px;
            margin-bottom: 15px;}
        
        .news-date {
            display: flex;
            align-items: center;
            color: var(--secondary);
            font-size: 14px;}
        
        .news-list {
            list-style: none;}
        
        .news-list li {
            padding: 12px 0;
            border-bottom: 1px dashed var(--border);
            display: flex;
            justify-content: space-between;}
        
        .news-list li:last-child {
            border-bottom: none;}
        
        .news-list li a {
            color: var(--dark);
            transition: var(--transition);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 80%;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* 显示2行 */
            line-clamp: 2;
            -webkit-box-orient: vertical;
            white-space: normal; /* 允许换行 */
            max-height: 3.2em;}
        
        .news-list li a:hover {
            color: var(--primary);}
        
        .news-list li .date {
            color: var(--secondary);
            font-size: 14px;
            min-width: 50px;
            text-align: right;}
        
        /* 教师风采样式 */
        .teachers-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;}
        
        .teacher-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            text-align: center;
            transition: var(--transition);}
        
        .teacher-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);}
        
        .teacher-img {
            height: 220px;
            overflow: hidden;
            position: relative;}
        
        .teacher-img:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
            z-index: 1;}
        
        .teacher-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;}
        
        .teacher-card:hover .teacher-img img {
            transform: scale(1.05);}
        
        .teacher-info {
            padding: 15px;}
        
        .teacher-info h3 {
            font-size: 18px;
            margin-bottom: 5px;
            color: var(--primary);}
        
        .teacher-info p {
            color: var(--gray);
            font-size: 14px;}
        
        /* 荣誉榜样式 - 2行8列照片墙 */
        .honors-container {
            background: white;
            border-radius: 8px;
            padding: 25px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;}

        .honors-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(2, 200px);
            gap: 15px;
            margin: 0 auto;}

        .honor-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            transition: var(--transition);
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);}

        .honor-item:hover {
            transform: scale(1.05);
            z-index: 2;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);}

        .honor-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;}

        .honor-img:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
            opacity: 0;
            z-index: 1;
            transition: opacity 0.3s ease;}

        .honor-item:hover .honor-img:before {
            opacity: 1;}

        .honor-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;}

        .honor-item:hover .honor-img img {
            transform: scale(1.1);}

        .honor-title {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 15px;
            color: white;
            font-size: 14px;
            font-weight: bold;
            z-index: 2;
            text-align: center;
            transition: var(--transition);
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.3s ease, transform 0.3s ease;}

        .honor-item:hover .honor-title {
            opacity: 1;
            transform: translateY(0);}

        /* 响应式调整 */
        @media (max-width: 992px) {
            .honors-grid {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(2, 180px);}
        }

        @media (max-width: 576px) {
            .honors-grid {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(4, 160px);
                gap: 10px;}
        }
        
        /* 友情链接样式 */
        .friendship-links {
            background: white;
            border-radius: 8px;
            padding: 25px;
            box-shadow: var(--shadow);}
        
        .links-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;}
        
        .link-item {
            display: flex;
            align-items: center;
            padding: 10px;
            border: 1px solid var(--border);
            border-radius: 4px;
            transition: var(--transition);}
        
        .link-item:hover {
            border-color: var(--primary);
            background: rgba(0, 102, 179, 0.05);
            transform: translateY(-3px);}
        
        .link-item img {
            height: 40px;
            margin-right: 15px;
            border-radius: 4px;}
        
        /* 页脚样式 */
        .footer {
            background-color: var(--primary);
            color: rgba(255, 255, 255, 0.7);
            padding: 40px 0 20px;}
        
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
            margin-bottom: 30px;}
        
        .footer-about h3 {
            color: white;
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;}
        
        .footer-about h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 260px;
            height: 2px;
            background: var(--secondary);}
        
        .contact-info {
            list-style: none;
            margin-top: 15px;}
        
        .contact-info li {
            margin-bottom: 10px;
            display: flex;
            align-items: flex-start;}
        
        .contact-info i {
            margin-right: 10px;
            margin-top: 5px;
            width: 20px;
            text-align: center;
            color: var(--secondary);}
        
        .footer-qr {
            display: flex;
            justify-content: flex-end;}
        
        .qr-item {
            text-align: center;
            margin-left: 30px;}
        
        .qr-item img {
            width: 120px;
            height: 120px;
            background: white;
            padding: 5px;
            border-radius: 8px;
            transition: var(--transition);}
        
        .qr-item:hover img {
            transform: scale(1.05);}
        
        .qr-item p {
            margin-top: 10px;
            font-size: 14px;}
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;}
        
        /* 全屏背景样式 */
        .fullscreen-bg {
            position: relative;
            background-image: url(shuimo.png);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            min-height: calc(100vh - 200px); /* 减去顶部导航和轮播图高度 */
            z-index: 0;
            margin: -30px 0 -20px 0;}
        
        /* 确保页脚在背景之外 */
        .footer {
            position: relative;
            z-index: 1;}

        /* 返回顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            opacity: 0;
            visibility: hidden;
            z-index: 100;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);}

        /* 颜色切换器样式 */
        .color-switcher {
            position: fixed;
            right: 0;
            top: 100px;
            width: 200px;
            padding: 20px;
            background: white;
            border-radius: 10px 0 0 10px;
            box-shadow: var(--shadow);
            z-index: 1000;}

        .color-switcher h2 {
            text-align: center;
            margin-bottom: 30px;
            color: var(--dark);
            font-size: 24px;}

        .color-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 0;}

        .color-button {
            width: 100%;
            padding: 20px;
            border: none;
            border-radius: 8px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
            position: relative;
            overflow: hidden;}

        .color-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);}

        .color-button.active {
            outline: 3px solid var(--secondary);
            outline-offset: 2px;}

        .color-button::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            opacity: 0;
            transition: opacity 0.3s;}

        .color-button:hover::after {
            opacity: 1;}

        /* 响应式设计 */
        @media (max-width: 768px) {
            .color-switcher {
                position: static;
                width: 100%;
                margin: 20px 0;
                border-radius: 10px;}
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;}
        
        .back-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-5px);}
        
        /* 校园文化卡片内容区域调整 */
        .campus-activity {
            margin-bottom: 15px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 15px;}

        .campus-activity:last-child {
            border-bottom: none;
            margin-bottom: 0;}

        /* 图片容器大小调整 */
        .activity-img {
            width: 100%;
            height: 120px;
            overflow: hidden;
            border-radius: 4px;
            margin-bottom: 10px;}

        /* 图片样式调整 */
        .activity-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;}

        /* 文字信息样式优化 */
        .activity-info {
            display: flex;
            justify-content: space-between;
            align-items: center;}

        .activity-info a {
            flex: 1;
            margin-right: 10px;
            font-size: 14px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;}

        .activity-info .date {
            color: var(--secondary);
            font-size: 12px;}
        
        /* 资源平台和热点聚焦布局 */
        .resources-grid, .hot-topics {
            display: grid;
            grid-template-columns: 1fr;  /* 改为单列 */
            gap: 10px;  /* 稍微减小间距使垂直排列更紧凑 */
            width: 90%;
            margin: 0 auto;}
        
        .resource-item, .topic-item {
            text-align: center;
            transition: var(--transition);
            padding: 20px;  /* 保持内边距 */
            border: 1px solid var(--border);
            border-radius: 8px;
            margin-bottom: 15px;  /* 保持底部间距 */
            display: flex;  /* 使用flex布局 */
            align-items: center;  /* 垂直居中 */
            justify-content: center;  /* 水平居中 */
            flex-direction: column;}
        
        .resource-item:hover, .topic-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);}
        
        .resource-item i, .topic-item i {
            font-size: 40px;  /* 进一步增大图标大小 */
            margin-bottom: 15px;  /* 添加底部间距 */
            transition: var(--transition);
            color: var(--primary);
            display: block;  /* 改为块级元素 */
            text-align: center;}
        
        .resource-item:hover i, .topic-item:hover i {
            transform: scale(1.2);
            color: var(--secondary);}
        
        .resource-item p, .topic-item p {
            font-size: 18px;  /* 保持文字大小 */
            color: var(--dark);
            margin: 0;  /* 重置所有外边距 */
            text-align: center;  /* 文字居中 */
            font-weight: 500;  /* 保持字重 */
            width: 100%;}
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .grid-container {
                grid-template-columns: repeat(2, 1fr);}
            
            .teachers-grid, .honors-grid {
                grid-template-columns: repeat(2, 1fr);}
            
            .links-grid {
                grid-template-columns: repeat(3, 1fr);}
            
            .footer-grid {
                grid-template-columns: 1fr;}
            
            .footer-qr {
                justify-content: flex-start;
                margin-top: 20px;}
            
            /* 教研科研板块响应式调整 */
            .news-content[style*="grid-template-columns: repeat(2, 1fr)"] {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 15px;}
        }
        
        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;}
            
            .nav-menu {
                display: none;
                width: 100%;
                flex-direction: column;}
            
            .nav-menu.active {
                display: flex;}
            
            .nav-menu > li {
                width: 100%;}
            
            .nav-menu > li > a {
                padding: 12px 20px;}
            
            .submenu {
                position: static;
                width: 100%;
                box-shadow: none;}
            
            .slider {
                height: 300px;}
            
            .grid-container {
                grid-template-columns: 1fr !important;
                gap: 20px;}
            
            .teachers-grid, .honors-grid, .links-grid {
                grid-template-columns: 1fr;}
            
            .footer-qr {
                flex-direction: column;}
            
            .qr-item {
                margin-left: 0;
                margin-top: 20px;}
            
            /* 新闻动态和通知公告响应式优化 */
            .news-card {
                width: 100%;}
            
            /* 通知公告日历样式优化 */
            .calendar-date {
                min-width: 28px;
                height: 28px;}
            
            .calendar-month {
                font-size: 7px;}
            
            .calendar-day {
                font-size: 12px;}
            
            .news-card:nth-child(2) .news-list li a {
                max-width: calc(100% - 40px);
                font-size: 14px;}
            
            /* 教研科研板块响应式调整 */
            .news-content[style*="grid-template-columns: repeat(2, 1fr)"] {
                grid-template-columns: 1fr !important;
                gap: 15px;}
            
            .news-item {
                padding: 12px;}
            
            .news-title {
                font-size: 15px;}
            
            .news-summary {
                font-size: 13px;}
        }
        
        @media (max-width: 576px) {
            /* 更小屏幕的额外优化 */
            .news-list li {
                padding: 10px 0;}
            
            .news-list li a {
                font-size: 14px;
                max-width: 75%;}
            
            .calendar-date {
                min-width: 26px;
                height: 26px;
                margin-right: 6px;}
            
            .calendar-month {
                font-size: 6px;}
            
            .calendar-day {
                font-size: 11px;
                line-height: 1.3;}
            
            .news-card:nth-child(2) .news-list li a {
                max-width: calc(100% - 35px);}
            
            /* 校园文化板块优化 */
            .activity-img {
                height: 100px;}
            
            .activity-info a {
                font-size: 13px;}
            
            /* 资源平台和热点聚焦优化 */
            .resources-grid, .hot-topics {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;}
            
            .resource-item, .topic-item {
                padding: 15px 10px;}
            
            .resource-item i, .topic-item i {
                font-size: 30px;
                margin-bottom: 10px;}
            
            .resource-item p, .topic-item p {
                font-size: 12px;}
        }
        
        @media (max-width: 480px) {
            .top-bar .container {
                flex-direction: column;
                align-items: center;}
            
            .top-links {
                margin-top: 10px;}
            
            .top-links a {
                margin: 0 8px;}
            
            .slider {
                height: 250px;}
            
            .header-content {
                flex-direction: column;
                align-items: flex-start;}
            
            .search-box {
                margin-left: 0;
                margin-top: 15px;
                max-width: 100%;}
        }
        /* 容器基础样式 */
        .container {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 15px;
            box-sizing: border-box;
            width: 100%;
            position: relative;}

        /* 主容器特定样式 */
        .main.container {
            display: block;
            clear: both;}
    /* 图片新闻专区样式 */
    .featured-news-container {
/*        background: #30a4ac;*/
        border-radius: 8px;
        box-shadow: var(--shadow);
        margin: 30px 0;
        overflow: hidden;}
    
    .featured-news-layout {
        display: flex;
        gap: 20px;
        padding: 0 20px 20px;}
    
    .featured-news-slider {
        flex: 1;
        min-width: 33.33%;}
    
    .featured-news-list {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);}

.featured-news-list .list {
    margin: 0;
    padding: 0;}

.featured-news-list .list li {
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;}

.featured-news-list .list li:last-child {
    border-bottom: none;}

.featured-news-list .list li:hover {
    background: rgba(0, 0, 0, 0.02);
    transform: translateX(5px);}

.featured-news-list .list li a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    transition: color 0.3s;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* 限制为2行 */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;  /* 约为2行的高度 */
    padding-right: 15px;
    white-space: normal;}

.featured-news-list .list li a:hover {
    color: var(--primary);}

.featured-news-list .list .date {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    min-width: 70px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);}

.featured-news-list .list li:hover .date {
    background: var(--primary);
    color: white;
    border-color: var(--primary-dark);}

/* 添加序号标记 */
.featured-news-list .list li::before {
    content: attr(data-index);
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
    min-width: 20px;}

/* 响应式调整 */
@media (max-width: 768px) {
    .featured-news-list .list li {
        padding: 15px 0;}
    
    .featured-news-list .list li a {
        font-size: 15px;}
    
    .featured-news-list .list .date {
        font-size: 13px;
        min-width: 60px;}
}

@media (max-width: 576px) {
    .featured-news-list .list li {
        flex-direction: column;
        align-items: flex-start;}
    
    .featured-news-list .list li::before {
        margin-bottom: 8px;}
    
    .featured-news-list .list .date {
        margin-top: 8px;
        align-self: flex-end;}
}
    
            /* 响应式样式优化 */
            @media (max-width: 1200px) {
                .tpxw-pic {
                    height: 300px;}
            
                .shadow h2 {
                    font-size: 16px;
                    max-height: 48px;}
            }
        
            @media (max-width: 992px) {
                .tpxw-pic {
                    height: 280px;}
            
                .news-arrow {
                    width: 32px;
                    height: 32px;
                    font-size: 12px;}
            }
        
            @media (max-width: 768px) {
                            .featured-news-layout {
                                display: flex !important;
                                flex-direction: column !important;
                                grid-template-columns: 1fr !important;}
                
                            .featured-news-layout > div {
                                width: 100% !important;
                                margin-bottom: 20px;}
            
                            .tpxw-pic {
                                height: 250px;}
            
                            .shadow {
                                padding: 20px 15px;}
            
                            .shadow h2 {
                                font-size: 15px;
                                max-height: 45px;}
            
                            .D1fBt {
                                gap: 8px;}
            
                            .D1fBt a {
                                width: 20px;
                                height: 20px;
                                line-height: 20px;
                                font-size: 12px;}
            
                            .news-arrow {
                                width: 30px;
                                height: 30px;
                                font-size: 12px;}
                
                            .featured-news-list {
                                margin-top: 20px;}
                        }
        
            @media (max-width: 576px) {
                .tpxw-pic {
                    height: 220px;}
            
                .shadow {
                    padding: 15px 12px;}
            
                .shadow h2 {
                    font-size: 14px;
                    max-height: 42px;
                    line-clamp: 2;
                    -webkit-line-clamp: 2;}
            
                .news-arrow {
                    width: 28px;
                    height: 28px;
                    font-size: 11px;}
            
                .D1fBt {
                    gap: 6px;
                    margin-bottom: 8px;}
            
                .D1fBt a {
                    width: 18px;
                    height: 18px;
                    line-height: 18px;
                    font-size: 11px;}
            }
    
    /* 新的标题样式 */
    .featured-news-title {
        position: relative;
        margin-bottom: 25px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border-radius: 5px 5px 0 0;
        padding: 8px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        border-bottom: 2px solid var(--secondary);}
    
    .featured-news-title h2 {
        font-size: 18px;
        color: white;
        margin: 0;
        position: relative;
        text-align: left;}
    
    .featured-news-title h2 i {
        margin-right: 22px;}
    
    /* 图片新闻网格布局 */
    .featured-news-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        padding: 0 15px 20px;
        height: 100%;}
    
    .featured-news-item {
/*        background: rgba(255, 255, 255, 0.1);*/
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        width: 100%;
        max-width: 800px;
        display: flex;
        flex-direction: column;
        align-items: center;}
    
    .featured-news-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);}
    
    .featured-news-img {
        width: 100%;
        max-width: 800px;
        height: 400px;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        transition: all 0.3s ease;}

    /* 保持响应式设计 */
    @media (max-width: 768px) {
        .featured-news-img {
            max-width: 300px;}
    }

    @media (max-width: 576px) {
        .featured-news-img {
            max-width: 250px;}
    }

    
    .featured-news-img img {
        width: 100%;
        height:  auto;
        object-fit: cover;
        transition: transform 0.5s;}
    
    .featured-news-item:hover .featured-news-img img {
        transform: scale(1.08);}
    
    .featured-news-content {
        padding: 15px;
        min-height: 100px;}
    
    .featured-news-content h3 {
        font-size: 16px;
        margin: 0 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        max-height: 45px;
        word-break: break-word;}
    
    .featured-news-content h3 a {
        color: #000000;
        transition: var(--transition);}
    
    .featured-news-content h3 a:hover {
        color: #000000;
        opacity: 0.8;}
    
    .featured-news-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px dashed rgba(255, 255, 255, 0.3);
        padding-top: 12px;
        margin-top: 5px;}
    
    .featured-news-date {
/*        color: white;*/
        font-size: 14px;}
    
    .read-more {
        color: white;
        font-size: 18px;
        transition: transform 0.3s;}
    
    .featured-news-item:hover .read-more {
        transform: rotate(90deg);}
    
    /* 响应式设计 */
    @media (max-width: 992px) {
        .featured-news-grid {
            grid-template-columns: repeat(2, 1fr);}
    }
    
    @media (max-width: 576px) {
        .featured-news-grid {
            grid-template-columns: 1fr;}
        
        .featured-news-title h2::before,
        .featured-news-title h2::after {
            width: 30px;}
    }

    /* 通知公告日历样式 */
    .news-card:nth-child(2) .news-list li {
        display: flex;
        align-items: center;
        padding: 15px 0;}
    .calendar-date {
        min-width: 55px;
        height: 55px;
        background-color: #f5f5f5;
        border-radius: 0;
        overflow: hidden;
        margin-right: 12px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        text-align: center;
        border: 1px solid #e0e0e0;}
    .calendar-month {
        background-color: var(--primary);
        color: white;
        font-size: 14px;
        padding: 2px 0;
        font-weight: bold;
        line-height: 1;}
    .calendar-day {
        font-size: 22px;
        font-weight: bold;
        color: #333;
        padding: 2px 0 0 0;
        line-height: 1.4;}
    .news-card:nth-child(2) .news-list li a {
        flex: 1;
        max-width: calc(100% - 80px);}
      /* 幻灯样式 */
         .tpxw {
            background: #f8f9fa;
            border-radius: 6px;
            overflow: hidden;}
        
        .list-title {
            background: linear-gradient(to right, #2c3e50, #4a6491);
            color: white;
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;}
        
        .list-title .fl b {
            font-size: 18px;}
        
        .list-title .fr a {
            color: #f1c40f;
            text-decoration: none;
            font-size: 14px;}
        
        .tpxw-pic {
            position: relative;
            height:  100%;
            overflow: hidden;}
        
        .focus {
            height: 100%;
            position: relative;}
        
        .fPic {
            height: 100%;
            position: relative;}
        
        /* 修复关键CSS - 幻灯片项 */
        .fcon {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            z-index: 1;
            display: flex;
            flex-direction: column;}
        
        .fcon.active {
            opacity: 1;
            z-index: 10;}
        
        .banner-pic {
            display: block;
            width: 100%;
            height: calc(100% - 60px); /* 减去标题高度 */
            position: relative;}
        
        .banner-pic img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            max-width: 100%;}
        
        .shadow {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 60px; /* 固定标题高度 */
            background: white;
            padding: 10px 15px;
            text-align: center;
            border-top: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: center;}
        
        .shadow h2 {
            color: #333;
            font-size: 15px;
            margin: 0;
            line-height: 1.4;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            max-height: 42px;
            font-weight: normal;
            width: 100%;}
        
        .shadow a {
            color: #333;
            text-decoration: none;
            display: flex;
            width: 100%;
            height: 100%;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;}
        
        .shadow a:hover {
            background-color: #f9f9f9;}
        
        .shadow a:hover h2 {
            color: var(--primary);}
        
        /* 调整响应式样式 */
        @media (max-width: 768px) {
            .banner-pic {
                height: calc(100% - 50px);}
            
            .shadow {
                height: 50px;
                padding: 8px 12px;}
            
            .shadow h2 {
                font-size: 14px;
                line-height: 1.3;
                max-height: 36px;}
        }
        
        @media (max-width: 576px) {
            .banner-pic {
                height: calc(100% - 45px);}
            
            .shadow {
                height: 45px;
                padding: 6px 10px;}
            
            .shadow h2 {
                font-size: 13px;
                line-height: 1.2;
                max-height: 31px;}
        }
        
        /* 优化幻灯片控制按钮 */
        .D1fBt {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 10px;}
        
        .D1fBt a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            line-height: 24px;
            background: rgba(255,255,255,0.4);
            color: #333;
            border-radius: 50%;
            text-align: center;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
            font-size: 14px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);}
        
        .D1fBt a:hover {
            background: rgba(255,255,255,0.8);
            transform: scale(1.1);}
        
        .D1fBt a.current {
            background: var(--primary);
            color: white;
            transform: scale(1.2);}
        
        /* 调整幻灯片容器 */
        .tpxw-pic {
            position: relative;
            height: 420px;
            overflow: hidden;
            border-radius: 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            background-color: white;}
        
        /* 优化幻灯片整体效果 */
        .focus {
            height: 100%;
            position: relative;
            background-color: white;}
        
        /* 确保图片和标题之间没有间隙 */
        .banner-pic {
            margin-bottom: 0;}
        
        /* 添加边框效果 */
        .tpxw-pic {
            border: 1px solid #eaeaea;}
        
        /* 优化标题区域 */
        .shadow {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 70px; /* 增加高度以完整显示两行文字 */
            background: white;
            padding: 8px 15px;
            text-align: center;
            border-top: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: center;}
        
        .shadow h2 {
            color: #333;
            font-size: 16px;
            margin: 0;
            line-height: 1.6;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            max-height: 48px; /* 确保两行文字完整显示 */
            font-weight: normal;
            width: 100%;}
        
        /* 调整图片区域高度以适应新的标题高度 */
        .banner-pic {
            height: calc(100% - 70px);}
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .shadow {
                height: 65px;
                padding: 6px 12px;}
            
            .banner-pic {
                height: calc(100% - 65px);}
            
            .shadow h2 {
                font-size: 14px;
                line-height: 1.5;
                max-height: 42px;}
        }
        
        @media (max-width: 576px) {
            .shadow {
                height: 60px;
                padding: 5px 10px;}
            
            .banner-pic {
                height: calc(100% - 60px);}
            
            .shadow h2 {
                font-size: 13px;
                line-height: 1.4;
                max-height: 36px;}
        }
        
        /* 修复可能的溢出问题 */
        .fPic {
            overflow: hidden;}
        
        /* 分页按钮 */
        .fbg {
            position: absolute;
            bottom: 80px; /* 调整到新标题高度上方 */
            left: 0;
            width: 100%;
            text-align: center;
            z-index: 20;
            padding: 10px 0;
            background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2));}
        
        .D1fBt {
            display: flex;
            justify-content: center;
            gap: 8px;}
        
        .D1fBt a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background: rgba(255,255,255,0.8);
            color: #333;
            border-radius: 50%;
            text-decoration: none;
            font-size: 13px;
            font-weight: normal;
            transition: all 0.3s;
            border: 1px solid rgba(255,255,255,0.9);}
        
        .D1fBt a:hover {
            background: white;
            transform: scale(1.1);}
        
        .D1fBt a.current {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: scale(1.1);}

        @media (max-width: 768px) {
            .fbg {
                bottom: 60px;
                padding: 8px 0;}
            
            .D1fBt a {
                width: 20px;
                height: 20px;
                font-size: 12px;}
        }

        @media (max-width: 576px) {
            .fbg {
                bottom: 55px;
                padding: 6px 0;}
            
            .D1fBt a {
                width: 18px;
                height: 18px;
                font-size: 11px;}
        }

        /* 通知公告日历样式 - 应用到2531-2557行 */
        .xxxw .notice_left {
            min-width: 55px;
            height: 55px;
            background-color: #f5f5f5;
            border-radius: 0;
            overflow: hidden;
            margin-right: 12px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            text-align: center;
            border: 1px solid #e0e0e0;
            padding: 0;}
        
        .xxxw .notice_left span {
            display: block;
            width: 100%;}
        
        .xxxw .notice_left span:first-child {
            background-color: var(--primary);
            color: white;
            font-size: 14px;
            padding: 2px 0;
            font-weight: bold;
            line-height: 1;}
        
        .xxxw .notice_left span:last-child {
            font-size: 22px;
            font-weight: bold;
            color: #333;
            padding: 2px 0 0 0;
            line-height: 1.4;}
        
        .xxxw .notice_right {
            flex: 1;
            max-width: calc(100% - 80px);}

        /* 教研科研学术卡片样式 */
        .jiaoyan {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 20px;}

        .jiaoyan li {
            background: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border-left: 4px solid var(--primary);
            transition: all 0.3s ease;
            position: relative;}

        .jiaoyan li:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);}

        .jiaoyan li a {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 10px;
            display: block;
            line-height: 1.4;
            text-decoration: none;
            transition: color 0.3s;}

        .jiaoyan li a:hover {
            color: var(--primary);}

        .jiaoyan li p {
            font-size: 14px;
            color: #555;
            line-height: 1.6;
            margin: 10px 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;}

        .jiaoyan li .show_time {
            background: var(--primary-light);
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 13px;
            color: var(--primary-dark);
            float: right;
            border: 1px solid var(--primary);
            font-weight: 500;
            margin-left: 15px;
            transition: var(--transition);}
        
        .jiaoyan li:hover .show_time {
            background: var(--primary);
            color: white;
            border-color: var(--primary-dark);}

        /* 学术风格细节 */
        .jiaoyan li::before {
            content: "";
            position: absolute;
            top: 0;
            left: -4px;
            height: 100%;
            width: 4px;
            background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
            border-radius: 4px 0 0 4px;}

        /* 响应式调整 */
        @media (max-width: 768px) {
            .jiaoyan li {
                padding: 15px;}
            
            .jiaoyan li a {
                font-size: 15px;}
        }

        @media (max-width: 576px) {
            .jiaoyan li {
                padding: 12px;}
            
            .jiaoyan li a {
                font-size: 14px;}
        }
        /* 主容器优化 */
.main {
    padding: 30px 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);}

.w1200 {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;}

/* 左侧导航栏优化 */
.fl {
    width: 240px;
    flex-shrink: 0;}

.nav2-top {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--secondary);}

.nav2 {
    background: white;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;}

.nav2 ul {
    list-style: none;
    padding: 0;
    margin: 0;}

.nav2 li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);}

.nav2 li:last-child {
    border-bottom: none;}

.nav2 li a {
    display: block;
    padding: 14px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;}

.nav2 li a:hover {
    background-color: rgba(48, 164, 172, 0.1);
    color: var(--primary);
    padding-left: 25px;}

/* 当前页面高亮效果 */
.nav2 li a.active,
.nav2 li a[href="xwdt.htm"] {
    background-color: var(--primary);
    color: white;
    border-left: 4px solid var(--secondary);
    padding-left: 16px;}

/* 右侧内容区域优化 */
.fr {
    flex: 1;}

.list4 {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;}

.list-title1 {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--secondary);}

.list-title1 .fl b {
    font-size: 18px;
    font-weight: bold;}

.where {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);}

.where a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;}

.where a:hover {
    color: white;
    text-decoration: underline;}

/* 新闻列表优化 */
.list {
    padding: 15px 20px;}

.list ul {
    list-style: none;
    padding: 0;
    margin: 0;}

.list li {
    padding: 16px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;}

.list li:last-child {
    border-bottom: none;}

.list li:hover {
    background-color: rgba(48, 164, 172, 0.05);
    transform: translateX(5px);}

.list li a {
    color: var(--dark);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    display: block;
    padding-right: 100px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;}

.list li a:hover {
    color: var(--primary);}

.list li .date {
    position: absolute;
    right: 0;
    top: 0;
    color: var(--secondary);
    font-size: 14px;}

/* 分页控件优化 */
.headStyle1x7dm7l4c7 {
    margin-top: 20px;
    text-align: center;}

.headStyle1x7dm7l4c7 a, 
.headStyle1x7dm7l4c7 .this-page {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border-radius: 4px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border);
    font-size: 14px;
    line-height: 1;}

.headStyle1x7dm7l4c7 a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);}

.headStyle1x7dm7l4c7 .this-page {
    background: var(--primary);
    color: white;
    border-color: var(--primary);}

.headStyle1x7dm7l4c7 .PrevDisabled,
.headStyle1x7dm7l4c7 .NextDisabled {
    opacity: 0.5;
    cursor: not-allowed;}

.defaultButtonStyle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;}

.defaultButtonStyle:hover {
    background: var(--primary-dark);}

.defaultInputStyle {
    border: 1px solid var(--border);
    padding: 7px;
    border-radius: 4px;
    width: 40px;
    text-align: center;}

/* 响应式优化 */
@media (max-width: 992px) {
    .w1200 {
        flex-direction: column;}
    
    .fl {
        width: 100%;}
}

@media (max-width: 768px) {
    .list li a {
        font-size: 15px;
        padding-right: 80px;}
    
    .list li .date {
        font-size: 13px;}
}

@media (max-width: 576px) {
    .list-title1 {
        flex-direction: column;
        align-items: flex-start;}
    
    .where {
        margin-top: 10px;}
    
    .list li {
        padding: 12px 0;}
    
    .list li a {
        font-size: 14px;
        padding-right: 0;}
    
    .list li .date {
        position: static;
        display: block;
        margin-top: 5px;}
}
    /* 修复嵌套main容器导致的布局问题 */
.fullscreen-bg .container.main {
    position: relative;
    overflow: visible;
    display: block;}

.fullscreen-bg .container.main > .main {
    position: relative;
    overflow: hidden;
    display: block;
    clear: both;}

/* 确保新闻列表中的日期正确显示 */
.list li {
    position: relative;
    overflow: hidden;}

.list li .date {
    position: absolute;
    right: 0;
    top: 16px;
    float: none;}

/* 确保分页控件不会导致布局问题 */
.headStyle1x7dm7l4c7 {
    clear: both;
    position: relative;
    display: block;
    margin-top: 20px;}

/* 增强通用清除浮动类 */
.clear {
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;}

/* 确保"当前位置"导航靠右显示 */
.where.fr {
    float: right !important;
    text-align: right;
    margin-left: auto;}

.list-title1 {
    display: flex;
    justify-content: space-between;
    align-items: center;}

.list-title1 .fl {
    flex: 0 0 auto;}

.list-title1 .where.fr {
    flex: 0 0 auto;}
     /* 内容详情页整体样式 */
.content-detail {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow-x: hidden;}

/* 标题样式 */
.content-detail h1 {
    font-size: clamp(18px, 4vw, 24px);
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
    line-height: 1.4;
    word-break: break-word;}

/* 发布时间样式 */
.content-time {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;}

/* 正文内容样式 */
.content-detail .v_news_content {
    font-size: clamp(14px, 3vw, 16px);
    line-height: 1.8;
    color: #333;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;}

/* 段落样式 */
.content-detail p {
    margin-bottom: 15px;
    text-align: justify;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;}

/* 图片响应式处理 */
.content-detail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;}

/* 表格响应式处理 */
.content-detail table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;}

.content-detail table td,
.content-detail table th {
    padding: 8px;
    border: 1px solid #ddd;
    min-width: 100px;}

/* 正文中的标题样式 */
.content-detail .v_news_content p[style*="font-family:黑体"] {
    font-size: clamp(16px, 3vw, 18px);
    font-weight: bold;
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--primary);}

/* 列表样式优化 */
.content-detail .v_news_content p[style*="line-height:37px"] {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 10px 0;
    line-height: 1.8 !important;
    overflow-wrap: break-word;
    word-wrap: break-word;}

/* 联系方式样式 */
.content-detail p[style*="text-indent:43px"] {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 6px;
    margin: 10px 0;
    overflow-wrap: break-word;
    word-wrap: break-word;}

/* 落款样式 */
.content-detail p[style*="text-indent:384px"],
.content-detail p[style*="text-indent:363px"] {
    text-align: right;
    margin-top: 30px;
    color: #666;
    overflow-wrap: break-word;
    word-wrap: break-word;}

/* 链接样式优化 */
.content-detail a {
    word-break: break-word;
    overflow-wrap: break-word;}

/* 响应式适配 */
@media (max-width: 992px) {
    .content-detail {
        padding: 25px;}
}

@media (max-width: 768px) {
    .content-detail {
        padding: 20px;}

    .content-detail h1 {
        padding-bottom: 15px;}

    .content-detail table td,
    .content-detail table th {
        padding: 6px;
        min-width: 80px;
        font-size: 14px;}
}

@media (max-width: 576px) {
    .content-detail {
        padding: 15px;}

    .content-detail h1 {
        padding-bottom: 12px;}

    .content-detail p[style*="text-indent:43px"],
    .content-detail .v_news_content p[style*="line-height:37px"] {
        padding: 10px;}
    
    .content-detail table td,
    .content-detail table th {
        padding: 4px;
        min-width: 60px;
        font-size: 13px;}
}

/* 代码块和预格式化文本 */
.content-detail pre,
.content-detail code {
    max-width: 100%;
    overflow-x: auto;
    background: #f5f6f7;
    border-radius: 4px;
    padding: 15px;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;}

/* 列表样式优化 */
.content-detail ul,
.content-detail ol {
    padding-left: 20px;
    margin: 15px 0;}

.content-detail li {
    margin-bottom: 8px;
    line-height: 1.6;}
    