
/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "宋体", "Microsoft Yahei", sans-serif;
}
body {
    background-color: #ffffff;
    color: #333333;
    min-height: 100vh;
    font-size: 16px;
}

/* 移动端基础字体设置 */
@media screen and (max-width: 991px) {
    html {
        font-size: 16px;
    }
}
a{
    text-decoration: none;
}

.app{
    margin: 0 auto;
    width: 991px;
    max-width: 100%;
    overflow-x: auto;
}

/* 头部区域 */
.header {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}
.header-top {
    position: relative;
    height: 142px;
    background: url(banner.png) no-repeat center center;
    background-size: cover;
}
.language{
    position: absolute;
    top: 8px;
    right: 15px;
    color: #fff;
    font-size: 14px;
    z-index: 2;
}

/* 移动端菜单内的语言切换 */
.mobile-menu .language {
    position: static;
    display: block;
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 0;
}
/* 轮播容器样式 - 适配SuperSlide */

.header-banner{
    margin-bottom: 1px;
    overflow: hidden;
    width: 100%;
}
.header-banner .bd ul{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.header-banner .bd ul li{
    width: 16.66%;
    height: auto;
    float: left;
    margin-right: 2px;
    list-style: none;
}
.header-banner .bd ul li:last-child{
    margin-right: 0;
}
/* SuperSlide轮播图样式 */
.header-banner li img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* 导航栏 保持原有样式 */
.nav {
    margin-bottom: 28px;
    background-color: #4071bb;
    height: 40px;
    line-height: 40px;
    width: 100%;
}
.nav ul {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0 10px;
}
.nav li {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 80px;
}
.nav a {
    display: block;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
}
.nav a:hover {
    background-color: #0066cc;
    color: #ffffff;
}

/* 主体容器 保持原有样式 */
.container {
    display: flex;
}
/* 左侧侧边栏 背景色#c5dffc */
.sidebar-left {
    margin-right: 14px;
    width: 201px;
    flex: 0 0 201px;
    background-color: #c5dffc;
}
/* 右侧侧边栏 背景色#c5dffc */
.sidebar-right {
    margin-left: 21px;
    width: 174px;
    flex: 0 0 174px;
    background-color: #c5dffc;
}
.main-content {
    flex: 1;
}

/* 板块标题 保持原有样式 */
.section-title {
    background-color: #1d72ce;
    text-align: center;
    color: #ffffff;
    padding: 8px 15px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}

/* 列表项 保持原有样式 */
.sidebar-left .list-item {
    margin-bottom: 20px;
}
.list-container {
    padding: 15px;
}
.list-item {
    margin: 5px 0;
    font-size: 15px;
    line-height: 1.6;
    list-style: disc;
    list-style-position: inside;
}
.main-content .list-container {
    padding-left: 30px;
}
.main-content .list-item{
    list-style-position: outside;
}
.list-item a {
    color: #000;
    text-decoration: none;
}
.list-item a:hover {
    color: #0066cc;
    text-decoration: underline;
}
.list-item span {
    color: #999999;
    font-size: 13px;
    margin-left: 10px;
    float: right;
}

/* 更多按钮 保持原有样式 */
.more-btn {
    text-align: right;
    margin-top: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
}
.more-btn a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}
.more-btn a:hover {
    text-decoration: underline;
}
.main-section-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 14px 0 22px;
    height: 33px;
    background-color: #c5dffc;
}
.main-section-title .title{
    font-size: 18px;
    font-weight: 500;
}
.main-section-title .more{
    font-size: 14px;
    color: #000;
}

/* 搜索框 保持原有样式 */
.search-box {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-box input {
    flex: 1;
    min-width: 0;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #cccccc;
    font-size: 14px;
    width: 100%;
}
.search-box select {
    flex: 0 0 77px;
    height: 30px;
    border: 1px solid #cccccc;
    font-size: 14px;
    width: 77px;
}
.search-box button {
    flex: 0 0 60px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    width: 60px;
}

/* 相关链接列表 保持原有样式 */
.links-list {
    list-style: none;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.links-list li {
    margin: 0;
    font-size: 15px;
    text-align: center;
}
.links-list li img {
    display: block;
    width: 100%;
    height: auto;
}

/* 页脚 保持原有样式 */
.footer {
    background-color: #1d72ce;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    margin-top: 30px;
    line-height: 1.8;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}


/* 详情公共样式 */
.crumbs {
    margin-top: 17px;
    margin-bottom: 20px;
    padding-left: 5px;
  }
  .crumbs a{
    color: #000000;
    font-size: 17px;
  }
  hr{
    margin-bottom: 36px;
    border-color: #000;
  }
  .view-content {
    margin-bottom: 40px;
    text-align: center;
  }
  .view-title {
    font-size: 24px;
    color: #000000;
    text-align: center;
  }
  .view-date {
    margin-top: 17px;
    font-size: 14px;
    color: #000000;
    line-height: 32px;
    text-align: center;
  }
  .view-content hr {
    border-color: #e5e5e5;
    margin-top: 23px;
    margin-bottom: 35px;
  }
  .view-content p {
    font-size: 18px;
    text-align: left;
    text-indent: 40px;
    margin-bottom: 20px;
    line-height: 30px;
    color: #000;
  }
  .view-content img {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    margin-top: 31px;
    margin-bottom: 47px;
  }
  .detail-content{
    padding: 0 15px;
  }
  .list-container .center {
    padding-left: 20px;
  }
  .list-title {
    margin-bottom: 19px;
  }

/* 汉堡菜单样式 */
.hamburger-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 15px;
    z-index: 100;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s;
}

/* 移动端菜单弹窗 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background-color: #4071bb;
    z-index: 1001;
    transition: right 0.3s;
    padding-top: 60px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

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

.mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu a {
    display: block;
    color: #fff;
    font-size: 18px;
    padding: 15px 20px;
    text-decoration: none;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 响应式设计 - 平板 */
@media screen and (max-width: 991px) {
    .app {
        width: 100%;
        min-width: auto;
    }

    .header-top .language {
        display: none;
    }

    .container {
        flex-direction: column;
    }

    .sidebar-left,
    .sidebar-right {
        width: 100%;
        flex: none;
        margin: 0 0 20px 0;
    }

    .main-content {
        order: -1;
        margin-bottom: 20px;
    }

    .nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }
}

/* 响应式设计 - 移动端 */
@media screen and (max-width: 768px) {
    .header-top {
        height: 6.25rem;
    }

    .hamburger-menu {
        top: 2.5rem;
    }

    .header-banner .bd ul li:last-child {
        margin-bottom: 0;
    }

    .section-title {
        font-size: 1.125rem;
    }

    .main-section-title .title {
        font-size: 1.125rem;
    }

    .list-item {
        font-size: 1rem;
    }

    .links-list {
        padding: 1.25rem;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
    }

    .links-list li {
        margin: 0;
        text-align: center;
    }

    .links-list li img {
        width: 100%;
        height: auto;
    }

    .footer {
        font-size: 0.75rem;
    }

    .search-box {
        padding: 0.625rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .search-box input {
        flex: 0 0 14rem;
        height: 2.1875rem;
    }

    .search-box select {
        flex: 0 0 4.6875rem;
        height: 2.1875rem;
        border-radius: 2px;
    }

    .search-box button {
        flex: 0 0 3.75rem;
        height: 2.1875rem;
        border-radius: 2px;
    }
}

@media screen and (max-width: 480px) {
    .header-top {
        height: 5rem;
    }

    .hamburger-menu {
        top: 1.875rem;
    }

    /* 小屏走马灯改为单图轮播 */
    .header-banner .bd ul li {
        width: 16.17%;
    }

    .list-container {
        padding: 0.625rem;
    }

    .main-content .list-container {
        padding-left: 1.875rem;
    }

    .list-item {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .links-list {
        padding: 0.625rem;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .search-box input {
        flex: 0 0 12rem;
        height: 2rem;
    }

    .search-box select {
        flex: 0 0 4rem;
        height: 2rem;
        border-radius: 2px;
    }

    .search-box button {
        flex: 0 0 3.5rem;
        height: 2rem;
        border-radius: 2px;
    }

    /* 详情页样式 - 手机端使用rem */
    .crumbs a {
        font-size: 1.0625rem;
    }

    .view-title {
        font-size: 1.5rem;
    }

    .view-date {
        font-size: 0.875rem;
        line-height: 2rem;
    }

    .view-content p {
        font-size: 1.125rem;
        text-indent: 2.5rem;
        line-height: 1.875rem;
    }
}