/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f9;
    background: url(../images/topbg.png) no-repeat;
    background-size: contain;
}
        
.searchform{
    background-color: #d8e8f8;
    border: none;
    width: 396px;
    background-repeat: no-repeat;
    background-position: 306px center;
    height: 32px;
    padding-left: 10px;
}
button.search-btn{
    width: 40px;
    border: 0;
    cursor: pointer;
    background: url(../images/search_btn.png) no-repeat center center;
    outline: none;
}
input:focus,input:focus-visible{
    border: 0;
    outline: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.news-detail-title{
    font-size: 24px;
    text-align: center;
}
.member-container {
    background-color: #fff;
    padding: 25px;
    margin: 0 auto;
    max-width: 1200px;
}
/* 移动端适配样式 */
@media screen and (max-width: 768px) {
    /* 头部样式 */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: #fff;
    }
    .header-top-right{
        display: none !important;
    }
    .header-top {
        display: none; /* 隐藏顶部信息栏 */
    }

    .header-main {
        padding: 10px;
    }

    .header-main .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }

    .logo img {
        height: 40px !important;
    }
    .logo img.pc-logo{
        display: block;
    }
    .mobile-logo{
        display: none;
        height: 40px !important;
    }
    .contact-info {
        display: none; /* 隐藏联系方式 */
    }

    .main-nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        transition: 0.3s;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-links li {
        width: 100%;
        padding: 4px 10px;
        border-bottom: 1px solid #eee;
    }

    .navbar-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    /* 底部样式 */
    /* 主内容区域 */
    main {
        padding-top: 60px; /* 头部高度 */
        padding-bottom: 60px; /* 底部高度 */
    }

    /* 轮播图适配 */
    .featured-news-swiper {
        height: 200px !important;
    }

    /* 新闻列表适配 */
    .news-section {
        padding: 10px;
    }

    .news-links li {
        padding: 8px 0;
    }

    /* 标签页适配 */
    .tab-headers {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-header {
        padding: 8px 15px;
        font-size: 14px;
    }

    /* 容器宽度适配 */
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .news-detail-title {
        font-size: 18px;
        font-weight: bold;
    }
}
/* 头部样式 */
.header-top {
    background-color: #09090938;
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    padding: 8px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    gap: 20px;
}

.header-top-right {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.header-top-right a {
    color: #fff;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s;
}

.header-top-right a:hover {
    color: #ffd700;
}

.header-main {
    background-color: transparent;
    padding: 20px 0;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* height: 48px; */
}

.logo h1 {
    font-size: 28px;
    color: #1a4b8c;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    gap: 20px;
    color: #eee;
}

.main-nav {
    background-color: #1a4b8c;
    /*border-top: 1px solid #eee;*/
    /*border-bottom: 2px solid #1a4b8c;*/
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 导航切换按钮样式 */
.navbar-toggle {
    display: none; /* 默认隐藏 */
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

.main-nav .nav-links {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.main-nav .nav-links li {
    margin: 0;
    position: relative;
}

.main-nav .nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: #fff;
    background-color: #1a4b8c;
}

.main-nav .nav-links li:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #ffd700;
    transition: width 0.3s;
}

.main-nav .nav-links li:hover::after {
    width: 80%;
}

/* 横幅区域 */
.banner {
    color: #fff;
    margin: 10px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* 内容区域布局 */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
    /*padding: 25px;*/
    box-sizing: border-box;
    background-color: #fff;
    /*border-radius: 4px;*/
    box-shadow: none;
    /*border: 1px solid #eee;*/
    overflow: hidden;
}

/* 新闻区域样式 */
.news-section {
    background-color: transparent;
    height:432px;
    padding: 0;
    /*margin-bottom: 15px;*/
    border-radius: 0;
    box-shadow: none;
    transition: none;
    border: none;
    width: 100%;
    overflow: hidden;
}

.news-section:hover {
    transform: none;
    box-shadow: none;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1a4b8c;
}

.section-title h2 {
    color: #1a4b8c;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #1a4b8c;
    border-radius: 2px;
}

.more {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

.more:hover {
    color: #1a4b8c;
    background-color: #f0f5ff;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* padding-top: 20px; */
}

.news-item {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    border: none;
}

.news-item:hover {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

.news-image {
    flex: 0 0 300px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #eee;
}

.news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.03);
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s;
}

.news-item:hover .news-content h3 {
    color: #1a4b8c;
}

.news-links {
    list-style: none;
    width: 100%;
}

.news-links li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
    width: 100%;
    cursor:pointer;
}

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

.news-links li:hover {
    background-color: #f9f9f9;
    padding-left: 10px;
    border-radius: 4px;
}
.news-links li:hover a,.news-links li:hover p{
    
    color:#1a4b8c;
}
.news-links a {
    color: #333;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
    padding-right: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.news-links a:hover {
    color: #1a4b8c;
}

.news-links .date {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 资讯中心标签页 */
.news-tabs {
    margin-top: 12px;
}

.tab-headers {
    display: flex;
    /* border-bottom: 2px solid #1a4b8c; */
    margin-bottom: 4px;
    background-color: #f5f5f5;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.tab-header {
    padding: 12px 25px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    text-align: center;
    flex: 1;
}

.tab-header.active {
    color: #1a4b8c;
    background-color: #e8f0ff;
}

.tab-header:hover:not(.active) {
    color: #1a4b8c;
    background-color: #e8f0ff;
}

/* 会员风采 */
.member-section {
    background-color: #fff;
    padding: 0;
    border-radius: 4px;
    box-shadow: none;
    margin: 20px auto;
    max-width: 1200px;
    overflow: hidden;
    /* border: 1px solid #eee; */
}

.member-section:hover {
    transform: none;
}

.member-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

/* 大屏幕下显示 5 列 */
@media (min-width: 1200px) {
    .member-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

.member-item {
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    transition: all 0.3s;
    border: 1px solid #1a4b8c;
    box-shadow: none;
}

.member-item:hover {
    background-color: #f9f9f9;
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.member-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: none;
}

.member-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.member-item p {
    font-size: 14px;
    color: #666;
}

/* 通知区域 */
.notice-section {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 30px;
    transition: none;
    border: none;
    width: 100%;
    margin-bottom: 20px;
}

.notice-section:hover {
    transform: none;
    box-shadow: none;
}

.notice-list {
    list-style: none;
}

.notice-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
    width: 100%;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list li:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.notice-list a {
    color: #333;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
    font-size: 14px;
    line-height: 1.5;
    padding-right: 10px;
}

.notice-list a:hover {
    color: #1a4b8c;
}

.notice-list .date {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #1a4b8c 0%, #2a6bb9 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-content p {
    margin: 10px 0;
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-image {
        flex: 0 0 auto;
    }
}


/* 右侧边栏 */
.sidebar {
    /* 保持原有样式 */
}

/* 通用页面内容布局 */
.content-page {
    margin-top: 24px;
    margin-bottom: 24px;
    background-color: #fff;
    box-shadow: none;
    padding: 25px;
    box-sizing: border-box;
    min-height: 500px;
}

/* 面包屑导航 */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #1a4b8c;
}

.breadcrumb .fas {
    margin-right: 5px;
    color: #1a4b8c;
}

.page-content-wrapper {
    display: flex; /* 改回flex布局 */
    gap: 30px; /* 恢复间距 */
}

/* 左侧菜单样式 */
.sidebar-menu {
    flex: 0 0 200px; /* 固定左侧菜单宽度 */
    /* background-color: #f9f9f9; */
    border-right: 1px solid #eee; /* 右侧分隔线 */
    padding-right: 30px; /* 与分隔线间距 */
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px dashed #eee;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    color: #1a4b8c;
    background-color: #e8f0ff;
    padding-left: 4px;
}

.sidebar-menu .fas {
    margin-right: 8px;
    font-size: 12px;
    transition: transform 0.3s;
}

.sidebar-menu a.active .fas {
    transform: rotate(90deg);
}

/* 右侧内容样式 */
.main-page-content {
    flex: 1; /* 恢复占据剩余空间 */
    /* width: 100%; 移除width: 100%，由flex控制宽度 */
}

.main-page-content h2 {
    color: #1a4b8c;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a4b8c; /* 标题下划线 */
    position: relative;
}

.main-page-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #1a4b8c;
    border-radius: 2px;
    display: none; /* 移除标题前的装饰条 */
}

.association-intro {
    display: flex; /* 使用flex布局 */
    gap: 20px; /* 图片与文字间距 */
    align-items: flex-start; /* 顶部对齐 */
}

.association-intro img {
    max-width: 300px; /* 限制图片最大宽度 */
    height: auto;
    border-radius: 4px; /* 圆角 */
    border: 1px solid #eee; /* 边框 */
    box-shadow: none; /* 移除阴影 */
}

.association-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .page-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    /* 手机端sidebar-menu样式 */
    .sidebar-menu {
        flex: 0 0 auto; /* 取消固定宽度 */
        width: 100%; /* 宽度自适应 */
        border-right: none; /* 移除右侧边框 */
        padding-right: 0; /* 移除内边距 */
        border-bottom: 1px solid #eee; /* 添加底部边框 */
        padding-bottom: 20px; /* 添加底部内边距 */
    }

    .sidebar-menu ul {
        display: flex; /* 菜单项横向排列 */
        flex-wrap: wrap; /* 允许换行 */
        gap: 10px; /* 调整菜单项间距 */
    }

    .sidebar-menu li {
        margin-bottom: 0; /* 移除底部外边距 */
    }

    .sidebar-menu a {
        padding: 8px 15px; /* 调整菜单项内边距 */
        border: 1px solid #eee; /* 添加边框 */
        border-bottom: none; /* 移除底部虚线 */
        border-radius: 4px; /* 添加圆角 */
        text-align: center;
    }

    .sidebar-menu a:hover,
    .sidebar-menu a.active {
        padding-left: 15px; /* 调整悬停/活动左侧内边距 */
    }

    .sidebar-menu .fas {
        display: none; /* 小屏幕下隐藏箭头图标 */
    }

    .association-intro {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .association-intro img {
        max-width: 100%;
    }

    .news-detail .detail-title {
        font-size: 22px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .news-detail .detail-meta {
        font-size: 13px;
        margin-bottom: 20px;
        padding: 6px 10px;
    }

    .news-detail .detail-content {
        font-size: 15px;
    }

    .news-detail .detail-content img {
        margin: 15px auto;
    }

    .pagination {
        margin-top: 20px;
    }

    .pagination a {
        padding: 6px 12px;
        margin: 0 !important;
        font-size: 14px;
    }

    /* 菜单打开时，给页面内容添加滤镜效果 */
    body.menu-open main,
    body.menu-open footer {
        filter: brightness(50%) blur(3px); /* 变暗并模糊 */
        pointer-events: none; /* 禁用下方内容的点击事件 */
        transition: filter 0.3s ease-in-out; /* 添加过渡动画 */
    }

    /* 确保header在滤镜上方 */
    body.menu-open header {
        z-index: 101; /* 确保header在滤镜和导航上方 */
        position: relative; /* 确保z-index生效 */
    }

    /* 为固定定位的header-main腾出空间 */
    main {
        margin-top: 80px;
    }
}

/* 新闻详情样式 */
.news-detail {
    /* 添加新闻详情页面的样式 */
}

.news-detail .detail-title {
    font-size: 26px;
    color: #333; /* 修改为黑色相关的颜色 */
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: none; /* 移除标题下方的线条 */
}

.news-detail .detail-meta {
    font-size: 14px;
    color: #666; /* 调整颜色 */
    text-align: center;
    margin-bottom: 30px;
    background-color: #f0f0f0; /* 添加背景色 */
    padding: 8px 15px; /* 添加内边距 */
    border-radius: 4px; /* 添加圆角 */
    display: block; /* 修改为块级元素 */
    width: 100%; /* 宽度占满父容器 */
    box-sizing: border-box; /* 确保内边距和边框包含在宽度内 */
}

.news-detail .detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

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

.news-detail .detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* 重要新闻区域 */
.featured-news {.featured-news-list
    background-color: #fff;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
    /*border: 1px solid #eee;*/
    /*border-radius: 4px;*/
}

.featured-news-content {
    display: flex;
    gap: 12px;
    padding: 0;
}

.featured-news-swiper {
    flex: 1.5;
    border-radius: 4px;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    position: relative;
}

.featured-news-swiper .swiper-slide {
    position: relative;
}

.featured-news-swiper .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-news-swiper .image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 16px;
}

/* 轮播图分页器样式 */
.featured-news-swiper .swiper-pagination {
    position: absolute !important;
    bottom: 4px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.featured-news-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 5px;
}

.featured-news-swiper .swiper-pagination-bullet-active {
    background: #2664af;
    width: 20px;
    border-radius: 5px;
}

.featured-news-list {
    flex: 1;
    padding: 10px 20px 10px 0;
}

.featured-news-list .news-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-news-list .news-links li {
    padding: 0;
    border-bottom: 1px dashed #eee;
}

.featured-news-list .news-links li:last-child {
    border-bottom: none;
}

.featured-news-list .news-links a {
    font-size: 18px;
    font-weight: bold;
    /*color: #1a4b8c;*/
    line-height: 1.3;
    display: inline-block;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: auto;
    flex: none;
    min-width: auto;
}

.featured-news-list .news-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-news-list .date {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
    display: inline;
    text-align: right;
    float: right;
}


.featured-news-list .news-links li {
    padding: 15px;
    border-bottom: 1px dashed #eee;
    display: block;
}

.featured-news-list .news-links li:last-child {
    border-bottom: none;
}

/* 友情链接区域 */
.friend-links {
    background-color: #fff;
    padding: 30px 0;
    margin: 30px auto;
    max-width: 1200px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.friend-links-content {
    padding: 0 25px;
}

.friend-links h3 {
    color: #1a4b8c;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}

.friend-links h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #1a4b8c;
    border-radius: 2px;
}

.links-categories {
    display: flex;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.link-category {
    flex: 1;
    border-right: 1px solid #eee;
    position: relative;
}

.link-category:last-child {
    border-right: none;
}

.category-header {
    background-color: #f5f5f5;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.category-header:hover {
    background-color: #e8f0ff;
}

.category-header h4 {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.toggle-icon {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s;
}

.links-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
}

.link-category:hover .links-wrapper {
    visibility: visible;
    opacity: 1;
}

.link-category:hover .toggle-icon {
    transform: rotate(180deg);
}

.links-wrapper a {
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.links-wrapper a:hover {
    color: #1a4b8c;
    background-color: #f0f5ff;
}

@media (max-width: 768px) {
    
    .logo img.pc-logo{
        display: none;
    }
    .logo img.mobile-logo{
        display: block;
        height: 40px !important;
    }
    .news-section {
        height: auto;
    }
    .member-list {
        grid-template-columns: 1fr;
    }

    .tab-headers {
        flex-wrap: wrap;
    }

    .tab-header {
        flex: 1;
        text-align: center;
        padding: 10px;
    }

    header {
        position: relative; /* 使绝对定位的子元素参照header定位 */
        padding-bottom: 0; /* 移除可能的底部内边距 */
    }

    .header-main {
        padding: 12px 15px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 100;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .header-main .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        position: relative;
        max-width: 100%;
    }

    .logo h1 {
        font-size: 24px;
        text-align: left;
        margin: 0;
    }

    .contact-info {
        display: none;
    }

    .navbar-toggle {
        display: block;
        position: fixed;
        top: 8px;
        right: 15px;
        transform: none;
        z-index: 111;
        font-size: 28px;
        color: #1a4b8c;
        margin: 0;
        padding: 5px;
        cursor: pointer;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: auto;
        right: 0;
        width: 80%;
        height: calc(100% - 60px);
        background-color: #fff;
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        z-index: 90;
        border-bottom: none;
    }

    .main-nav.active { /* 导航激活时 */
        transform: translateX(0); /* 移入视口 */
    }

    .main-nav .nav-links {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        text-align: left; /* 菜单项左对齐 */
        border-top: none;
        display: flex;
    }

    .main-nav .nav-links li {
        border-bottom: 1px solid #eee;
    }

    .main-nav .nav-links li:last-child {
        border-bottom: none;
    }

    .main-nav .nav-links a {
        padding: 12px 25px; /* 调整内边距 */
        color:#3b3b3b;
    }

    .main-nav .nav-links li:hover::after { /* 手机端隐藏底部黄色指示条 */
        display: none;
    }

    .header-top {
        display: none; /* 手机端隐藏header-top */
    }

    .header-top .container {
        flex-direction: column;
        gap: 10px;
        padding: 8px 15px;
    }

    .header-top-left,
    .header-top-right,
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .banner {
        padding: 15px 0 0;
    }

    .banner-content h2 {
        font-size: 24px;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
        max-width: 100%; /* 手机端宽度设置为100% */
        margin: 20px auto; /* 调整手机端外边距 */
        box-shadow: none; /* 移除阴影 */
        border: none; /* 移除边框 */
    }

    .news-item {
        flex-direction: column;
        gap: 15px;
    }

    .news-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .news-image img {
        height: 150px;
    }

    .news-content h3 {
        font-size: 16px;
    }

    .news-links li {
        padding: 10px 0;
    }

    .news-links a {
        font-size: 13px;
        padding-right: 10px;
    }

    .news-links .date {
        font-size: 12px;
        margin-left: 10px;
    }

    .tab-headers {
        flex-wrap: wrap;
    }

    .tab-header {
        flex: 1;
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }

    .member-section,
    .friend-links,
    .featured-news,
    .content-page {
        padding: 20px 15px;
        margin: 20px auto;
    }

    .section-title h2 {
        font-size: 20px;
    }

    .member-list {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .member-item img {
        height: 120px;
    }

    .friend-links-content {
        padding: 0;
    }

    .friend-links h3 {
        padding-left: 15px;
    }

    .links-categories {
        flex-direction: column;
        border: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .link-category {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .link-category:last-child {
        border-bottom: none;
    }

    .category-header {
        background-color: #e0e9f4;
        border-bottom: none;
        padding: 10px 15px;
    }

    .links-wrapper {
        position: static;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        border: none;
        padding-top: 10px;
        flex-direction: column;
        gap: 5px;
    }

    .links-wrapper a {
        background-color: transparent;
        border: none;
        padding: 5px 0;
        text-align: left;
    }

    .featured-news-content {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .featured-news-swiper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .featured-news-swiper .swiper-slide img {
        height: 180px;
    }

    .featured-news-swiper .image-title {
        font-size: 14px;
        padding: 8px 15px;
    }

    .featured-news-list {
        padding-left: 0;
    }

    .featured-news-list .news-links li {
        padding: 10px 0; /* Adjust padding for mobile */
    }

    .featured-news-list .news-links a {
        width: 100%; /* 手机端宽度100% */
        /* 确保文本溢出处理和单行显示 */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block; /* 确保是块级或行内块级元素 */
        margin-bottom: 0; /* 调整标题下方间距 */
        width: 100% !important;
    }

    .featured-news-list .news-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 5px;
    }

    .featured-news-list .date {
        font-size: 12px;
        color: #999;
        margin-top: 0;
    }

    .content-page {
        margin-top: 0 !important; /* 手机端移除顶部外边距 */
        padding: 20px 15px;
        margin-bottom: 20px;
        padding: 20px 15px;
        border: none;
        box-shadow: none;
    }

    .breadcrumb {
        font-size: 13px;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .page-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    /* 手机端sidebar-menu样式 */
    .sidebar-menu {
        flex: 0 0 auto; /* 取消固定宽度 */
        width: 100%; /* 宽度自适应 */
        border-right: none; /* 移除右侧边框 */
        padding-right: 0; /* 移除内边距 */
        border-bottom: 1px solid #eee; /* 添加底部边框 */
        padding-bottom: 20px; /* 添加底部内边距 */
    }

    .sidebar-menu ul {
        display: flex; /* 菜单项横向排列 */
        flex-wrap: wrap; /* 允许换行 */
        gap: 10px; /* 调整菜单项间距 */
    }

    .sidebar-menu li {
        margin-bottom: 0; /* 移除底部外边距 */
    }

    .sidebar-menu a {
        padding: 8px 15px; /* 调整菜单项内边距 */
        border: 1px solid #eee; /* 添加边框 */
        border-bottom: none; /* 移除底部虚线 */
        border-radius: 4px; /* 添加圆角 */
        text-align: center;
    }

    .sidebar-menu a:hover,
    .sidebar-menu a.active {
        padding-left: 15px; /* 调整悬停/活动左侧内边距 */
    }

    .sidebar-menu .fas {
        display: none; /* 小屏幕下隐藏箭头图标 */
    }

    .association-intro {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .association-intro img {
        max-width: 100%;
    }

    .news-detail .detail-title {
        font-size: 22px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .news-detail .detail-meta {
        font-size: 13px;
        margin-bottom: 20px;
        padding: 6px 10px;
    }

    .news-detail .detail-content {
        font-size: 15px;
    }

    .news-detail .detail-content img {
        margin: 15px auto;
    }



    /* 菜单打开时，给页面内容添加滤镜效果 */
    body.menu-open main,
    body.menu-open footer {
        filter: brightness(50%) blur(3px); /* 变暗并模糊 */
        pointer-events: none; /* 禁用下方内容的点击事件 */
        transition: filter 0.3s ease-in-out; /* 添加过渡动画 */
    }

    /* 确保header在滤镜上方 */
    body.menu-open header {
        z-index: 101; /* 确保header在滤镜和导航上方 */
        position: relative; /* 确保z-index生效 */
    }

    /* 为固定定位的header-main腾出空间 */
    main {
        margin-top: 60px;
    }
}