/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.breadcrumb a:link, .breadcrumb a:visited {
    color: #079446;
}
/* 设置html和body高度 */
html, body {
    height: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 14px;
}

/* 头部样式 */
.header {
    background: #079446;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* 头部内容容器 */
.header .container-fluid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

/* 头部顶部区域 */
.header-top {
    background: url('/shx/images/bg_top.png') no-repeat center top;
    background-size: cover;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 头部内容容器 */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* 头部左侧内容 */
.header-left {
    display: flex;
    align-items: center;
    width: 60%;
}

/* Logo样式 */
.logo {
    width: auto;
    height: 80px;
    max-width: 100%;
}

/* 头部右侧内容 */
.header-right {
    display: flex;
    align-items: center;
    min-width: 33%;
    justify-content: space-around;
}

/* 头部搜索框样式 */
.header-search {
    max-width: 300px;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.header-search .form-control {
    border-radius: 5px 0 0 5px;
    background: #008039;
    border: 1px solid #027335;
    color: #fff;
    box-shadow: none;
    height: 32px;
    font-size: 14px;
}

.header-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.header-search .form-control:focus {
    border-color: #027335;
    box-shadow: none;
    background: #008039;
}

/* 搜索按钮样式 */
.btn-search {
    border-radius: 0 5px 5px 0;
    border: 1px solid #027335;
    border-left: none;
    color: #fff;
    background: #008039;
    box-shadow: none;
    height: 32px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    color: #fff;
    background: #006600;
    border-color: #006600;
}

/* 学校首页按钮样式 */
.btn-school {
    background: #fff;
    color: #005727;
    border-color: #008039;
    border-radius: 5px;
    box-shadow: none;
    height: 32px;
    line-height: 14px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
}

.btn-school:hover {
    background: #005727;
    color: #fff;
    border-color: #005727;
}

/* 导航菜单样式 */
.header-nav {
    background: #fff;
    padding: 0;
    margin: 0;
}

/* PC版菜单 */
.navbar-pc {
    display: none;
    margin: 0 auto;
    border: none;
    border-radius: 0;
    background: transparent;
    min-height: 50px;
    max-width: 1280px;
    width: 100%;
    padding: 0;
}

/* PC版菜单导航列表 */
.navbar-pc .navbar-nav {
    margin: 0 auto;
    display: table;
    table-layout: auto;
    float: none;
    width: auto;
    list-style: none;
    padding: 0;
}

/* PC版菜单项 */
.navbar-pc .navbar-nav > li {
    float: left;
    text-align: center;
    display: table-cell;
    float: none;
    white-space: nowrap;
}

/* PC版菜单项链接 */
.navbar-pc .navbar-nav > li > a {
    color: #333 !important;
    padding: 15px 25px;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0;
    white-space: nowrap;
}

/* PC版菜单项悬停效果 */
.navbar-pc .navbar-nav > li > a:hover,
.navbar-pc .navbar-nav > li.active > a {
    background: #005727 !important;
    color: #fff !important;
}

/* 移动版菜单 */
.navbar-mobile {
    display: none;
    margin: 0 auto;
    border: none;
    border-radius: 0;
    background: transparent;
    min-height: 50px;
    width: 100%;
    padding: 0;
}

/* 移动版导航容器 */
.navbar-mobile > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* 移动版始终显示的4个菜单项 */
.navbar-nav-visible {
    display: flex;
    flex: 1;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 移动版始终显示的菜单项 */
.navbar-nav-visible > li {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    min-width: 25%;
}

/* 移动版始终显示的菜单项链接 */
.navbar-nav-visible > li > a {
    color: #333 !important;
    padding: 10px 5px;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0;
    font-weight: bold;
    text-decoration: none;
}

/* 移动版始终显示的菜单项悬停效果 */
.navbar-nav-visible > li > a:hover,
.navbar-nav-visible > li.active > a {
    background: #005727 !important;
    color: #fff !important;
}

/* 移动版折叠按钮区域 */
.navbar-toggle-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

/* 移动版导航栏折叠按钮 */
.navbar-toggle {
    border-color: #333;
    margin-right: 0;
    padding: 8px;
}

/* 移动版导航栏折叠按钮线条 */
.navbar-toggle .icon-bar {
    background-color: #333;
    width: 20px;
    height: 2px;
    margin: 2px 0;
}

/* 移动版折叠显示的菜单项 */
.navbar-nav-hidden {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    background: #fff;
}

/* 移动版折叠显示的菜单项 */
.navbar-nav-hidden > li {
    display: block;
    text-align: left;
    width: 100%;
    border-top: 1px solid #e0e0e0;
}

/* 移动版折叠显示的菜单项链接 */
.navbar-nav-hidden > li > a {
    color: #333 !important;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
}

/* 移动版折叠显示的菜单项悬停效果 */
.navbar-nav-hidden > li > a:hover {
    background: #005727 !important;
    color: #fff !important;
}

/* 移动版折叠显示的最后一个菜单项 */
.navbar-nav-hidden > li:last-child > a {
    border-bottom: none;
}

/* 响应式样式 */
@media (min-width: 768px) {
    /* 显示PC版菜单，隐藏移动版菜单 */
    .navbar-pc {
        display: block;
    }
    
    .navbar-mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    /* 显示移动版菜单，隐藏PC版菜单 */
    .navbar-pc {
        display: none;
    }
    
    .navbar-mobile {
        display: block;
    }
}

/* Banner区域样式 */
.banner {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    margin: 0;
}

.carousel-inner > .item > img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
}

/* 主要内容区域 */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

/* 区块标题样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 10px;
}

.section-header h3 {
    margin: 0;
    color: #079446;
    font-size: 20px;
}

.more-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.more-link:hover {
    color: #079446;
    text-decoration: none;
}

/* 新闻资讯样式 */
.news-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px; */
}

.news-section .section-header h3 {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.news-section .section-header h3::after {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    background: url('/shx/images/xinwendongtai.png') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
}

.news-section .more-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

/* 三列等高布局 */
.news-section .row {
    display: flex;
    flex-wrap: wrap;
}

.news-section .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.news-section .row > [class*='col-'] .row {
    margin: 0;
}

/* 左侧大图列 */
.news-section .col-md-6:first-child {
    /* background: #fff; */
}

/* 右侧两小图列 */
.news-section .col-md-6:last-child {
    padding: 0 10px 0 0;
}

/* 右侧两小图 */
.news-section .col-md-6:last-child .col-md-6,
.news-section .col-md-6:last-child .col-sm-6 {
    padding: 0 10px;
    margin-bottom: 20px;
}

/* 响应式样式 */
@media (max-width: 767px) {
    /* 新闻动态模块 */
    .news-section .row {
        margin: 0;
    }
    
    .news-section .col-md-6,
    .news-section .col-sm-12,
    .news-section .col-sm-6 {
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    /* 左侧大图新闻样式 */
    .news-main {
        height: auto;
        min-height: 250px;
    }
    
    .news-main img {
        height: 250px;
    }
    
    /* 右侧小图新闻样式 */
    .news-side img {
        height: 180px;
    }
    
    /* 右侧新闻内容 */
    .news-side .news-content {
        min-height: auto;
        padding: 10px;
    }

    /* 右侧两小图 */
    .news-section .col-md-6:last-child .col-sm-6 {
        padding: 0 15px;
    }
    
    /* 区块标题样式 */
    .news-section .section-header {
        padding: 10px 15px;
        margin-bottom: 0;
    }
}

.news-item {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 左侧大图新闻样式 */
.news-main {
    height: 350px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.news-main img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 0;
}

/* 右侧小图新闻样式 */
.news-side {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}

.news-side img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 0;
}

/* 左侧新闻内容 - 图片上方，底部对齐 */
.news-main .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.6);
    color: #333;
    padding: 15px;
    flex: none;
}

/* 右侧新闻内容 */
.news-side .news-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    flex-grow: 1;
    min-height: 150px;
    background: #f5f5f5;
}

/* 新闻内容样式 */
.news-item a.news-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    font-weight: bold;
}
.news-side:hover .news-content {
    background: rgba(7, 148, 70, 0.8);
    color: #fff;
}
.news-side:hover .news-content a, .news-side:hover .news-content .news-summary, .news-side:hover .news-content .news-date {
    color: #fff;
}
/* 左侧新闻标题白色 */
.news-main a.news-title {
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
    color: #333;
}

/* 左侧新闻摘要 */
.news-main .news-summary {
    color: #444;
}

/* 左侧新闻日期 */
.news-main .news-date {
    color: #666;
}

.news-summary {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin: 0;
}
.news-main:hover .news-content {
    background: rgba(7, 148, 70, 0.8);
    color: #fff;
}
.news-main:hover .news-content .news-summary, .news-main:hover .news-content .news-date, .news-main:hover .news-content a  {
    color: #fff;
}
/* 通知公告样式 */
.notice-section {
    background: url('/shx/images/bg_middle.png') no-repeat center top;
    background-size: cover;
    padding: 20px 0;
    margin: 30px 0;
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

.notice-section .container-fluid {
    padding: 0;
    margin: 0;
    max-width: none;
}

.notice-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.notice-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.notice-section .section-header h3 {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.notice-section .section-header h3::after {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    background: url('/shx/images/tongzhigonggao.png') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
}

.notice-middle .section-header h3::after {
    background: url('/shx/images/dangjiansizheng.png') no-repeat center center;
    background-size: contain;
}

/* 左侧内容（2份） */
.notice-left {
    padding: 0 0 0 20px;
    background: transparent;
    border-right: none;
}

.notice-item {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
}

.notice-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* 左侧图片与内容左右结构 */
.notice-item-img {
    flex: 0 0 150px;
    margin-right: 10px;
}

.notice-item-img img {
    width: 150px;
    height: 140px;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 0;
}

.notice-item-content {
    flex: 1;
    min-width: 0;
    padding: 10px;
}

.notice-item-content a {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notice-summary {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notice-date {
    font-size: 14px;
    color: #999;
    margin: 0;
    text-align: right;
}
.notice-item:hover {
    background: rgba(7, 148, 70, 0.8);
    color: #fff;
}
.notice-item:hover a, .notice-item:hover .notice-summary, .notice-item:hover .notice-date {
    color: #fff;
}
/* 中间内容（3份） */
.notice-middle {
    padding: 0;
    background: transparent;
    border-right: none;
}

.middle-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.middle-title::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    background: url('/shx/images/jiaoxuekeyan.png') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    padding: 18px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    background: transparent;
}

.notice-list li:hover {
    background: linear-gradient(to right, transparent, rgba(7, 148, 70, 0.2), transparent);
}

.notice-list li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    flex: 1;
    margin-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.notice-list li a:hover {
    color: #008000;
}

.notice-list li span {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

/* 右侧内容（1份） */
.notice-right {
    padding: 0 20px 0 0;
    background: transparent;
}

/* 自定义列宽 */
.notice-section .col-md-5 {
    width: 39.66666667%;
}

.notice-section .col-md-2 {
    width: 20.66666667%;
}

/* 响应式样式调整 */
@media (max-width: 991px) {
    /* 中等屏幕下恢复默认宽度 */
    .notice-section .col-md-5,
    .notice-section .col-md-2 {
        width: auto;
    }
}

/* 滚动图片容器 */
.scroll-container {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.scroll-content {
    animation: scroll-up 15s linear infinite;
    position: absolute;
    width: 100%;
}

.scroll-content img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 0;
}

/* 滚动动画 */
@keyframes scroll-up {
    0% {
        top: 0;
    }
    100% {
        top: -50%;
    }
}



/* 图片展示模块样式 */
.image-gallery-section {
    margin: 20px 0;
    padding: 0;
}

.image-gallery-section .row {
    margin: 0 -10px;
}

.image-gallery-section .col-md-3 {
    padding: 0 10px;
    margin-bottom: 20px;
}

/* 图片项容器 */
.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 图片样式 */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 鼠标悬停时图片放大 */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* 蒙层样式 */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(7, 148, 70, 0.8);
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 鼠标悬停时显示蒙层 */
.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* 蒙层内容样式 */
.gallery-content {
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

/* 蒙层标题样式 */
.gallery-content a {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #fff;
    font-weight: bold;
}

/* 蒙层日期样式 */
.gallery-content p {
    font-size: 14px;
    margin: 0;
    color: #ccc;
}

/* 响应式样式 */
@media (max-width: 767px) {
    /* 图片项容器 */
    .gallery-item {
        height: 200px;
    }
    
    /* 蒙层内容样式 */
    .gallery-content a {
        font-size: 16px;
    }
    
    /* 蒙层日期样式 */
    .gallery-content p {
        font-size: 12px;
    }
    
    /* 移动版直接显示蒙版及标题内容 */
    .gallery-overlay {
        transform: translateY(0);
    }
    
    /* 移动版图片不放大 */
    .gallery-item:hover img {
        transform: scale(1);
    }
}

/* 党建思政、团学工作、招生就业样式 */
.party-section {
    margin: 20px 0;
}

.party-section .row {
    margin: 0 -5px;
}

.party-section .col-md-4 {
    padding: 0 15px;
}

.party-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.party-section .section-title {
    font-size: 20px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* 标题图标 */
.party-section .section-title::after {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-left: 8px;
    background: url('/shx/images/jiaoxuekeyan.png') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
}

/* 团学工作图标 */
.party-section .col-md-4:nth-child(2) .section-title::after {
    background: url('/shx/images/tuanxuegongzuo.png') no-repeat center center;
    background-size: contain;
}

/* 招生就业图标 */
.party-section .col-md-4:nth-child(3) .section-title::after {
    background: url('/shx/images/zhaoshengjiuye.png') no-repeat center center;
    background-size: contain;
}

.party-section .more-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.party-section .more-link:hover {
    color: #008000;
    text-decoration: none;
}

/* 内容列表 样式 */
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.content-list li:hover {
    background: linear-gradient(to right, transparent, rgba(7, 148, 70, 0.2), transparent);
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list .list-title {
    font-size: 16px;
    color: #333;
    flex: 1;
    margin-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.content-list li:hover .list-title {
    color: #008000;
}

.content-list .list-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 底部样式 */
.footer {
    margin-top: 30px;
    width: 100%;
}

/* 底部顶部链接区域 - 浅灰色 */
.footer-top {
    background: #F5F5F7;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.footer-top .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    text-align: center;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #079446;
    text-decoration: none;
}

/* 底部中间绿色区域 - 绿色 */
.footer-bottom {
    background: #079446;
    color: #fff;
    padding: 40px 0;
}

.footer-bottom .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-left {
    flex: 0 0 auto;
}

.footer-logo {
    width: auto;
    height: 80px;
    max-width: 100%;
    margin-right: 20px;
}

.footer-right {
    flex: 1;
    text-align: right;
    margin-left: 20px;
}

.footer-contact p {
    font-size: 14px;
    margin: 3px 0;
    line-height: 1.4;
    text-align: right;
}

/* 底部版权区域 - 深绿色 */
.footer-copyright {
    background: #005727;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.footer-copyright .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-copyright p {
    font-size: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Bootstrap 3 标准栅格系统媒体查询 */

/* 小屏幕（平板，大于等于 768px） */
@media (min-width: 768px) {
    /* 导航菜单样式 */
    .navbar-toggle {
        display: none;
    }
    
    .navbar-nav > li {
        float: left;
        display: table-cell;
        text-align: center;
    }
    
    /* 确保PC端内容居中 */
    .container,
    .container-fluid {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* 中等屏幕（桌面显示器，大于等于 992px） */
@media (min-width: 992px) {
    /* 确保PC端内容居中 */
    .container {
        max-width: 970px;
    }
    
    .container-fluid {
        max-width: 100%;
    }
}

/* 大屏幕（大桌面显示器，大于等于 1200px） */
@media (min-width: 1200px) {
    /* 确保PC端内容居中 */
    .container {
        max-width: 1170px;
    }
    
    .container-fluid {
        max-width: 100%;
    }
    
    /* 自定义1280px宽度 */
    .header-content,
    .navbar,
    .main-content,
    .notice-section .container,
    .footer-top .container,
    .footer-bottom .container,
    .footer-copyright .container {
        max-width: 1280px;
        margin: 0 auto;
    }
}

/* 小屏幕（平板，小于 768px） */
@media (max-width: 767px) {
    /* 通知公告样式 */
    .notice-item img {
        height: auto;
    }
    
    .scroll-container {
        height: 250px;
    }
    
    /* 头部样式 */
    .header-top {
        padding: 10px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .header-left {
        margin-bottom: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .logo {
        height: 60px;
    }
    
    .header-right {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .search-box {
        margin-right: 10px;
        margin-bottom: 0;
        width: auto;
        flex: 1;
        min-width: 150px;
    }
    
    .school-link {
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    /* 导航菜单样式 */
    .navbar-nav > li {
        float: none;
        text-align: left;
        display: block;
    }
    
    .navbar-nav > li > a {
        padding: 12px 20px;
        color: #333 !important;
    }
    
    .navbar-nav > li > a:hover,
    .navbar-nav > li.active > a {
        background: #005727 !important;
        color: #fff !important;
    }
    
    .navbar-collapse {
        border-top: 1px solid #e0e0e0;
        background: #fff;
    }
    
    /* 确保移动端折叠菜单正常显示 */
    .navbar-collapse.collapse {
        display: none !important;
    }
    
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    
    .navbar-header {
        display: block;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-nav {
        float: none !important;
    }
    
    /* 主要内容区域 */
    .main-content {
        padding: 10px;
    }
    
    /* 区块标题样式 */
    .section-header {
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header h3 {
        margin-bottom: 10px;
    }
    
    /* 底部样式 */
    /* 顶部链接区域 */
    .footer-links a {
        margin: 0 10px 10px 0;
        display: inline-block;
    }
    
    /* 底部中间绿色区域 */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-left {
        margin-bottom: 15px;
    }
    
    .footer-logo {
        height: 60px;
        width: auto;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .footer-right {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
    
    .footer-contact p {
        text-align: center;
    }
    
    /* 底部版权区域 */
    .footer-copyright p {
        font-size: 12px;
    }
}

/* 中等屏幕（桌面，小于 992px） */
@media (max-width: 991px) {
    /* 通知公告样式 */
    .notice-section .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .notice-section .more-link {
        margin-top: 10px;
    }
    
    .notice-left,
    .notice-middle,
    .notice-right {
        padding: 0 10px;
    }
    
    .scroll-container {
        height: 300px;
    }
    
    /* 导航链接样式 */
    .navbar-nav > li > a {
        padding: 15px 5px;
        font-size: 13px;
    }
}

/* 二级页面样式 */

/* 二级Banner样式 */
.secondary-banner {
    position: relative;
    width: 100%;
    height: 245px;
}

.secondary-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Banner容器 - 与main-content宽度一致 */
.secondary-banner .banner-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    z-index: 2;
}

/* Banner文字样式 - 显示在图片上方，向下突出20px */
.secondary-banner .banner-text {
    position: absolute;
    bottom: -20px;
    left: 70px;
    transform: none;
    background: rgba(7, 148, 70, 0.9);
    color: #fff;
    padding: 15px 83px;
    border-radius: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.secondary-banner .banner-text h1 {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
    text-align: center;
    color: #fff;
}

.secondary-banner h1 {
    color: #fff;
    font-size: 36px;
    margin: 0;
    text-align: center;
}

/* 分类页面内容区域 */
.category-content {
    padding: 30px 0;
}
.category-content .breadcrumb {
    text-align: right;
}
/* 左侧边栏菜单样式 */
.sidebar-menu {
    background: #f5f5f5;
    border-radius: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.sidebar-menu::-webkit-scrollbar {
    height: 0;
    background: transparent;
}

.sidebar-menu .nav {
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    min-width: 100%;
}

.sidebar-menu .nav-pills {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
}

.sidebar-menu .nav-pills > li {
    flex: 0 0 auto;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

.sidebar-menu .nav-pills > li > a {
    color: #333;
    background: transparent;
    border-radius: 0;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    margin: 0;
    transition: all 0.3s ease;
    display: block;
    border-right: 1px solid #e0e0e0;
    border-bottom: none;
}

.sidebar-menu .nav-pills > li > a:hover {
    background: #079446;
    color: #fff;
}

.sidebar-menu .nav-pills > li.active > a,
.sidebar-menu .nav-pills > li.active > a:hover,
.sidebar-menu .nav-pills > li.active > a:focus {
    background: #005727;
    color: #fff;
    border: none;
    border-right: 1px solid #005727;
}

/* 右侧内容区域 */
.content-area {
    background: #fff;
    padding: 20px 30px;
    border-radius: 0;
    min-height: 500px;
}
.thumbnail a {
    color: #333;
}
.thumbnail:hover {
    background: #079446;
    color: #fff;
}
.thumbnail:hover a {
    color: #fff;
}
.content-area h2 {
    color: #079446;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #079446;
}

.content-area p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
}

/* 新闻列表区域 */
.news-list-section {
    margin-top: 40px;
}

.news-list-section .section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.news-list-section h3 {
    color: #333;
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* 二级页面纯文字新闻项 */
.category-news-item {
    padding: 20px;
    border-radius: 0;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

.category-news-item:hover {
    background: rgba(7, 148, 70, 0.8);
    color: #fff;
}

.category-news-item h4 {
    font-size: 16px;
    margin: 0 0 5px 0;
    line-height: 1.5;
    color: #333;
    transition: color 0.3s ease;
}

.category-news-item:hover h4 {
    color: #fff;
}

.category-news-item h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.category-news-item:hover h4 a {
    color: #fff;
}

.category-news-date {
    color: #999;
    font-size: 14px;
    margin: 0;
    text-align: right;
    display: block;
    transition: color 0.3s ease;
}

.category-news-item .category-news-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.category-news-item:hover .category-news-summary {
    color: #fff;
}

.category-news-item:hover .category-news-date {
    color: #fff;
}

/* 二级页面带图片的新闻项 */
.category-news-item.category-news-with-img {
    display: flex !important;
    align-items: flex-start !important;
    flex-direction: row !important;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

.category-news-item.category-news-with-img:hover {
    background: rgba(7, 148, 70, 0.8);
    color: #fff;
}

.category-news-item.category-news-with-img .category-news-img {
    flex: 0 0 150px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 0;
}

.category-news-item.category-news-with-img .category-news-img img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-news-item.category-news-with-img:hover .category-news-img img {
    transform: scale(1.05);
}

.category-news-item.category-news-with-img .category-news-info {
    flex: 1;
}

.category-news-item.category-news-with-img h4 {
    font-size: 18px;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
}

.category-news-item.category-news-with-img:hover h4 {
    color: #fff;
}

.category-news-item.category-news-with-img h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-news-item.category-news-with-img:hover h4 a {
    color: #fff;
}

.category-news-item.category-news-with-img .category-news-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.category-news-item.category-news-with-img:hover .category-news-summary {
    color: #fff;
}

.category-news-item.category-news-with-img .category-news-date {
    color: #999;
    transition: color 0.3s ease;
}

.category-news-item.category-news-with-img:hover .category-news-date {
    color: #fff;
}

/* 响应式样式 */
@media (max-width: 767px) {
    /* 二级Banner样式 */
    .secondary-banner {
        height: 150px;
    }
    
    /* 移动版隐藏banner-text */
    .secondary-banner .banner-text {
        display: none;
    }
    
    /* 分类页面内容区域 */
    .category-content {
        padding: 20px 0;
    }
    
    /* 侧边栏菜单 - 横向滚动 */
    .sidebar-menu {
        margin-bottom: 20px;
        background: #f5f5f5;
        border-radius: 0;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        box-shadow: none;
    }
    
    .sidebar-menu::-webkit-scrollbar {
        height: 0;
        background: transparent;
    }
    
    .sidebar-menu .nav {
        margin: 0;
        display: flex;
        flex-wrap: nowrap;
        width: auto;
        min-width: 100%;
    }
    
    .sidebar-menu .nav-pills {
        display: flex;
        flex-wrap: nowrap;
        width: auto;
    }
    
    .sidebar-menu .nav-pills > li {
        flex: 0 0 auto;
        text-align: center;
        margin: 0;
        white-space: nowrap;
    }
    
    .sidebar-menu .nav-pills > li > a {
        color: #333;
        background: transparent;
        border-radius: 0;
        padding: 15px 20px;
        font-size: 16px;
        font-weight: bold;
        border: none;
        margin: 0;
        transition: all 0.3s ease;
        display: block;
        border-right: 1px solid #e0e0e0;
        border-bottom: none;
        white-space: nowrap;
    }
    
    .sidebar-menu .nav-pills > li > a:hover {
        background: #005727;
        color: #fff;
    }
    
    .sidebar-menu .nav-pills > li.active > a,
    .sidebar-menu .nav-pills > li.active > a:hover,
    .sidebar-menu .nav-pills > li.active > a:focus {
        background: #079446;
        color: #fff;
        border: none;
        border-right: 1px solid #079446;
    }
    
    /* 右侧内容区域 */
    .content-area {
        padding: 20px;
    }
    
    /* 带图片的新闻项 - 保持左右布局 */
    .category-news-item.category-news-with-img {
        flex-direction: row !important;
        padding: 15px;
    }
    
    .category-news-item.category-news-with-img .category-news-img {
        flex: 0 0 120px;
        margin-right: 15px;
    }
    
    .category-news-item.category-news-with-img .category-news-img img {
        height: 80px;
        min-height: 80px;
    }
}

@media (min-width: 768px) {
    /* 桌面端侧边栏垂直布局 */
    .sidebar-menu {
        background: #f5f5f5;
        border-radius: 0;
        padding: 20px 0;
        overflow: visible;
        white-space: normal;
    }
    
    .sidebar-menu .nav {
        display: block;
        width: 100%;
    }
    
    .sidebar-menu .nav-pills {
        display: block;
        width: 100%;
    }
    
    .sidebar-menu .nav-pills > li {
        width: 100%;
        flex: none;
        text-align: center;
        margin: 0;
    }
    
    .sidebar-menu .nav-pills > li > a {
        color: #333;
        background: transparent;
        border-radius: 0;
        padding: 12px 15px;
        font-size: 16px;
        font-weight: bold;
        border: none;
        margin: 0;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
        border-right: none;
    }
    
    .sidebar-menu .nav-pills > li > a:hover {
        background: #079446;
        color: #fff;
    }
    
    .sidebar-menu .nav-pills > li.active > a,
    .sidebar-menu .nav-pills > li.active > a:hover,
    .sidebar-menu .nav-pills > li.active > a:focus {
        background: #079446;
        color: #fff;
        border: none;
        border-right: none;
    }
}

@media (max-width: 991px) {
    /* 二级Banner样式 */
    .secondary-banner {
        height: 180px;
    }
    
    .secondary-banner h1 {
        font-size: 30px;
    }
    
    /* 带图片的新闻项 */
    .category-news-item.category-news-with-img .category-news-img {
        flex: 0 0 150px;
    }
    
    .category-news-item.category-news-with-img .category-news-img img {
        height: 100px;
    }
}

/* 内容页样式 */
.content-page {
    padding: 30px 0;
}

.content-page .breadcrumb {
    text-align: right;
}

.content-page .content-area {
    background: #fff;
    padding: 30px;
    border-radius: 0;
    min-height: 500px;
}

.content-page h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

/* 文章元信息样式 */
.article-meta {
    background: #f5f5f5;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.article-meta span {
    margin-right: 20px;
    margin-bottom: 5px;
}

.btn-close {
    background: #079446;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-close:hover {
    background: #005727;
    color: #fff;
}

/* 文章内容样式 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

/* 文章图片样式 */
.article-content img {
    max-width: 90%;
    height: auto;
    object-fit: cover;
    margin: 20px auto;
    display: block;
}

/* 响应式样式 */
@media (max-width: 767px) {
    /* 内容页样式 */
    .content-page {
        padding: 20px 0;
    }
    
    .content-page .content-area {
        padding: 20px;
    }
    
    .content-page h2 {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    /* 文章元信息样式 */
    .article-meta {
        padding: 10px 15px;
        margin-bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-meta span {
        margin-right: 15px;
        margin-bottom: 8px;
    }
    
    .btn-close {
        align-self: flex-end;
        margin-top: 10px;
    }
    
    /* 文章内容样式 */
    .article-content {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .article-content p {
        margin-bottom: 15px;
        text-indent: 2em;
    }
    
    /* 文章图片样式 */
    .article-image {
        margin: 15px 0;
    }
}