/* 健康学院官网样式 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	text-decoration: none;
	
}

/* 表格响应式样式 - 确保tbody不会超出屏幕宽度 */
table {
    width: 100%;
    max-width: 100%;
}

tbody {
    width: 100%;
    max-width: 100%;
}

tr {
    width: 100%;
}

td, th {
    max-width: 100%;
    word-break: break-word;
    word-wrap: break-word;
}

/* 表格容器 - 处理表格宽度超过屏幕的情况 */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 移动端表格样式 */
@media (max-width: 1024px) {
    table {
        min-width: 100%;
    }
    
    tbody {
        width: 100%;
        max-width: 100%;
    }
    
    td, th {
        max-width: 100%;
        word-break: break-all;
    }
    
    /* 移动端图片高度限制 */
    .item-img img {
        max-height: 440px;
    }
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #FAFAFA;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 行和列 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

.col-1 { width: 8.333333%; }
.col-2 { width: 16.666667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333333%; }
.col-5 { width: 41.666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333333%; }
.col-8 { width: 66.666667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666667%; }
.col-12 { width: 100%; }

/* 导航栏 - 按新闻网样式修改 */
.navbar-college {
    background-color: transparent;
    background-image: url('../images/college-top.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 160px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar-college .container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
}

/* 左边LOGO栏 */
.navbar-college .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-college .navbar-logo {
    width: auto;
    height: 48px;
    margin: 24px 0;
    border: none;
    outline: none;
}

.navbar-college .navbar-brand a:focus .navbar-logo,
.navbar-college .navbar-brand a:active .navbar-logo {
    outline: none;
    border: none;
}

/* 右边导航栏 */
.navbar-college .navbar-right {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}

/* 顶部信息栏 */
.navbar-college .navbar-top {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 20px;
}

.navbar-college .navbar-top-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    padding-right: 20px;
}

/* 桌面端导航栏样式 */
.navbar-college.desktop-nav {
    display: block;
    height: 140px;
}

.desktop-nav .nav-link {
    color: #363636;
    text-decoration: none;
}

.desktop-nav .nav-link:hover {
    color: #227B45;
}

.desktop-nav .nav-link::after {
    display: none;
}

.desktop-nav .dropdown-menu {
    top: 140px;
}

.desktop-nav .top-link {
    color: #363636;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.desktop-nav .top-link:hover {
    color: #227B45;
}

/* 移动端导航栏背景 */
.navbar-college.mobile-nav {
    background-color: #227B45;
    background-image: none;
    height: auto;
}

/* 搜索功能 */
.navbar-college .search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    box-shadow: none;
    background-color: transparent;
}

.navbar-college .search-container:hover {
    opacity: 0.7;
}

.navbar-college .search-input {
    width: 0;
    padding: 6px 8px;
    border: 1px solid #ccc;
    margin-right: 10px;
    font-size: 14px;
    transition: width 0.3s ease;
    opacity: 0;
}

.navbar-college .search-input:focus {
    outline: none;
}

.navbar-college .search-input.active {
    width: 120px;
    opacity: 1;
}

.navbar-college .search-icon {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.navbar-college .search-icon:hover {
    opacity: 0.7;
}

/* 主导航栏 */
.navbar-college .navbar-main {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 10px;
}

.navbar-college .navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

/* 桌面端下拉菜单 */
.nav-item {
    position: relative;
}

.nav-item.has-dropdown {
    cursor: pointer;
}

.dropdown-menu {
    position: fixed;
    top: 148px;
    left: auto;
    background-color: #fff;
    min-width: 200px;
    padding: 10px 0;
    display: block;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #363636;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #227B45;
}

/* 移动端导航栏 */
.navbar-college.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #227B45;
    height: 80px;
    padding: 0 24px;
    width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid #fff;
}

.navbar-college.mobile-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0;
    width: 100%;
    max-width: none;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    color: #fff;
}

.toggle-icon {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* 移动端导航按钮组 */
.mobile-nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 移动端搜索按钮 */
.mobile-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #fff;
    font-size: 18px;
}

.mobile-search-btn .search-icon {
    font-size: 18px;
}

/* 移动端搜索界面 */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(34, 123, 69, 0.2);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

.mobile-search-overlay.active {
    display: flex;
}

.mobile-search-container {
    position: relative;
    width: 90%;
    max-width: 400px;
}

.mobile-search-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-search-box {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 5px;
}

.mobile-search-input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
}

.mobile-search-submit {
    width: 40px;
    height: 40px;
    background-color: #249E55;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}

/* 中英文切换 */
.language-switch {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
    justify-content: flex-start;
    width: 100%;
}

.lang-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.lang-link.active {
    color: #249E55;
    font-weight: bold;
}

.lang-link:hover {
    color: #249E55;
}

/* 移动端导航链接 */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
    margin-top: 10px;
    width: 100%;
}

.mobile-nav-links .top-link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 10px 0;
    text-align: left;
    transition: color 0.3s ease;
}

.mobile-nav-links .top-link:hover {
    color: #249E55;
}

/* 移动端二级导航 */
.mobile-nav-item {
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
}

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-align: left;
}

.mobile-nav-toggle::after {
    content: '';
    font-size:32px;
    color: #fff;
    float: right;
    transition: transform 0.3s ease;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 40px;
}

.mobile-nav-item:has(.mobile-dropdown) .mobile-nav-toggle::after {
    content: '▸';
    transform: rotate(0deg);
}

.mobile-nav-item:has(.mobile-dropdown) .mobile-nav-toggle.active::after {
    content: '▾';
    transform: rotate(0deg);
}

.mobile-dropdown {
    display: none;
    flex-direction: column;
    padding: 0;
    border-top: none;
    margin-top: 0;
}

.mobile-dropdown.active {
    display: flex;
}

.mobile-dropdown-item {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 24px 10px 48px;
    background-color: transparent;
    border-radius: 0;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 移动端导航菜单 */
.mobile-nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    background-color: #227B45;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    box-sizing: border-box;
    z-index: 9999;
    padding: 0 24px;
    opacity: 0;
    visibility: hidden;
}

.mobile-nav-menu.active {
    max-height: calc(100vh - 80px);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.navbar-toggle.active .toggle-icon {
    background-color: #249E55;
}

.mobile-nav-menu .container {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 10px 0;
    text-align: left;
    width: 100%;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.mobile-nav-menu .nav-link:hover {
    color: #6ff3b0;
}

/* 左侧导航栏 */
.sidebar {
    background-color: #F7F7F7;
 
}

/* 列表页底色 */
body {
    background-color: #FFF;
}

.main {
    background-color: #FFF;
}

.sidebar-title {
    background-color: #227B45;
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.sidebar-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.sidebar-menu {
    padding: 0;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover {
    background-color: #e9ecef;
    color: #227B45;
}

.sidebar-menu a.active {
    background-color: #49a96e;
    color: white;
}

/* 移动端侧边栏下拉列表样式 */
.mobile-sidebar-toggle {
    cursor: pointer;
    position: relative;
}

.sidebar-toggle-icon {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.mobile-sidebar-dropdown {
    display: block;
}

@media (max-width: 1024px) {
    .sidebar-toggle-icon {
        display: block;
    }
    .health-news-content p {
    color: #666;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
}
    .mobile-sidebar-dropdown {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-sidebar-dropdown.active {
        display: block;
        max-height: 500px;
    }
    
    .mobile-sidebar-toggle.active .sidebar-toggle-icon {
        transform: translateY(-50%) rotate(180deg);
    }
    
    /* 确保侧边栏在移动端显示在内容上方 */
    .sidebar {
        order: -1;
        width: 100%;
    }
    
    .sidebar + .content {
        order: 1;
        width: 100%;
    }
}

/* 右侧内容 */
.content {
    margin-top: 20px;
    padding-left: 30px;
}

.content-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.content-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.content-list {
    margin-bottom: 30px;
}

.content-item {
    min-height:60px;
    padding: 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-item-title {
    flex: 1;
    padding: 10px 0;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.content-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-item-title a:hover {
    color: #227B45;
}

.content-item-meta {
    padding: 10px 0;
    white-space: nowrap;
    color: #B3B3B3;
    font-size: 14px;
    display: flex;
    align-items: center;
}

/* 分页 */
.pagination {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination .page-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination .page-btn:hover:not(.disabled) {
    background-color: #33AB63;
    border-color: #33AB63;
    color: white;
}

.pagination .page-btn.current {
    background-color: #33AB63;
    border-color: #33AB63;
}

.pagination .page-no {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e0e0e0;
    color: #999;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
}

.pagination li {
    margin: 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination a:hover {
    background-color: #33AB63;
    border-color: #33AB63;
    color: white;
}

.pagination .current {
    display: inline-block;
    padding: 8px 16px;
    background-color: #33AB63;
    color: white;
    border: 1px solid #33AB63;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}
.pagination .page-btn.current,
.pagination .page-btn.active {
    background-color: #33AB63;
    border-color: #33AB63;
    color: white;
}
/* 底部栏 */
.footer {
    background-color: #227B45;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
}

.contact-label {
	    min-width: 120px;
    text-align: right;
    margin-right: 10px;
    text-align: justify;
    text-justify: inter-character;
    color: #fff;
}

.contact-value {
    margin-left: 8px;
    text-align: left;
}
.footer-contact {
    text-align: center;
    margin-bottom: 20px;
}

.contact-label {
	font-size: 0.8rem;
    font-weight: bold;
    margin-right: 10px;
}

.footer-qrcode {
    text-align: center;
    margin-bottom: 20px;
}

.qrcode-item {
    display: inline-block;
    text-align: center;
}

.qrcode-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 8px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

/* 学院横幅 */
.health-banner {
    position: relative;
    margin-top: 140px;
    width: 100%;
    overflow: hidden;
}

.health-banner-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 25%; /* 4:1 宽高比，可根据实际图片调整 */
    overflow: hidden;
}
.health-banner-image-wrapper img{
	width: 100%!important;
}
.health-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.health-title {
    color: white;
    text-align: center;
}

.health-title h1 {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
}

.health-title p {
    margin: 10px 0 0;
    font-size: 18px;
    opacity: 0.9;
}

/* 学院新闻区域 */
.health-news-section {
    padding: 40px 0;
    background-color: #fff;
}

.health-news-section-news {
    background-image: url('../images/backgound-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.health-news-section-party {
    background-image: url('../images/backgound-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.health-section {
    margin-bottom: 40px;
}

.health-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #227B45;
}

.health-section-title h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.health-section-title .more-link {
    color: #227B45;
    text-decoration: none;
    font-size: 14px;
}

.health-news-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.health-news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.health-news-card2 {
    background-color: #fff;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
    overflow: hidden;
	height: 120px;
    transition: box-shadow 0.3s ease;
}

.health-news-card2:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.health-news-card-large {
   
    display: flex;
    flex-direction: column;
}

.health-news-image2 {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.health-news-card-large .health-news-image {
    height: 300px;
	background-size: cover;
    background-position: center;
}

.health-news-content {
    padding: 20px;
	height: 240px;
}

.health-news-content2 {
    padding: 20px;
}
.health-news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.health-news-title a {
    color: #333;
    text-decoration: none;
}

.health-news-title a:hover {
    color: #227B45;
}

.health-news-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.health-news-content2 p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.health-news-date {
    color: #B3B3B3;
    font-size: 14px;
}

.health-news-date-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 10px;
    margin-right: 15px;
    border-bottom: 3px solid #227B45;
}

.health-news-content2.small-news {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
	
}

.health-news-date-day {
    font-size: 24px;
    font-weight: bold;
    color: #227B45;
}

.health-news-date-year {
    font-size: 12px;
    color: #999;
}

.health-news-card:not(.health-news-card-large) .health-news-content {
    display: flex;
    align-items: center;
}
.health-news-card:not(.health-news-card-large) .health-news-content2 {
    display: flex;
    align-items: center;
}

.health-news-card:not(.health-news-card-large) .health-news-title {
    flex: 1;
    margin-bottom: 0;
    padding-left: 10px;
}

.health-news-card2:not(.health-news-card-large) .health-news-content {
    display: flex;
    align-items: center;
}
.health-news-card2:not(.health-news-card-large) .health-news-content2 {
    display: flex;
    align-items: center;
}
.health-news-card2:not(.health-news-card-large) .health-news-title {
    flex: 1;
    margin-bottom: 0;
    padding-left: 10px;
}
/* 通知公告区域 */
.health-notice-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.health-notice-list {
  	 display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.health-notice-item {
    flex: 0 0 33.333333%;
    padding: 0 15px;
    margin-bottom: 20px;
}

.health-notice-card {
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.health-notice-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.health-notice-card:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #227B45;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.health-notice-title {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.health-notice-title a {
    color: #363636!important;
}
.health-notice-card:hover .health-notice-title a {
    color: #227B45!important;
}

.health-notice-title a:hover {
    color: #227B45!important;
}

.health-notice-date {
    color: #B3B3B3;
    font-size: 14px;
}

/* 党建活动区域 */
.health-activity-section,
.health-environment-section {
    width: 100%;
    padding: 40px 0;
}

.health-activity-section {
    background-color: #f8f9fa;
}

.health-environment-section {
    background-color: #fff;
}

.health-activity-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.health-activity-item {
    flex: 0 0 33.333333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.health-activity-card {
    background-color: white;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.health-activity-image {
    width: 100%;
    aspect-ratio: 4/2.2;
    background-size: cover;
    background-position: center;
}

.health-activity-content {
    padding: 20px;
}

.health-activity-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.health-activity-title {
    font-size: 16px;
    margin-bottom: 10px;
    min-height: 42px;
    font-weight: bold;
}

.health-activity-title a {
    color: #333;
    text-decoration: none;
}

.health-activity-title a:hover {
    color: #227B45;
}

.health-activity-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

/* 教学环境区域 */
.health-environment-wrapper {
    position: relative;
    width: 100%;
}

.health-environment-link:hover .health-environment-img {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.health-environment-wrapper .health-environment-title {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.health-environment-link:hover .health-environment-title {
    color: #227B45;
}

/* 响应式设计 - 移动端断点 1024px */
@media (max-width: 1024px) {
    /* 容器调整 */
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    /* 导航栏切换 - 桌面端隐藏，移动端显示 */
    .navbar-college.desktop-nav {
        display: none !important;
    }
    
    .navbar-college.mobile-nav {
        display: block !important;
    }
    
    /* 显示移动端按钮 */
    .navbar-toggle {
        display: flex !important;
    }
    
    .mobile-search-btn {
        display: flex !important;
    }
    
    /* 桌面端导航栏缩小（备用） */
    .navbar-college.desktop-nav .navbar-nav {
        gap: 20px;
    }
    
    .navbar-college.desktop-nav .nav-link {
        font-size: 14px;
    }
    /* 学院横幅 */
.health-banner {
    position: relative;
    margin-top: 80px;
    width: 100%;
    overflow: hidden;
}
	.health-news-title{
		    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
	}
    /* 健康活动项目 */
    .health-activity-item {
        flex: 0 0 50%;
    }
    
    .health-notice-item {
        flex: 0 0 100%;
    }
    
    /* 内容区域 */
    .content {
        padding-left: 0;
        margin-top: 0;
    }
    
    /* 移动端时左侧导航在右侧列表上方 */
    .sidebar {
        margin-bottom: 30px;
        order: -1;
        width: 100%;
    }
    
    .sidebar + .content {
        order: 1;
        width: 100%;
    }
    
    /* 侧边栏下拉列表 */
    .sidebar-toggle-icon {
        display: block;
    }
    
    .mobile-sidebar-dropdown {
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-sidebar-dropdown.active {
        display: block;
        max-height: 500px;
    }
    
    .mobile-sidebar-toggle.active .sidebar-toggle-icon {
        transform: translateY(-50%) rotate(180deg);
    }
    
    /* 内容项 */
    .content-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content-item-meta {
        margin-top: 5px;
    }
    
    /* 分页 */
    .pagination ul {
        flex-wrap: wrap;
    }
    
    .pagination li {
        margin: 5px;
    }
    
    /* 页脚 */
    .footer-content .col-3 {
        width: 50%;
        margin-bottom: 20px;
    }
    
    .footer-content .col-sm-12 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-content .col-sm-6 {
        width: 50%;
        margin-bottom: 20px;
    }
}
@media (max-width: 880px) {
	.health-news-image2 {
    height: 400px;
    background-size: cover;
    background-position: center;
}
	.health-news-content {
    padding: 20px;
    height: 200px;
}
}
@media (max-width: 768px) {
	.health-news-title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}
}
@media (max-width: 480px) {
    .health-activity-item {
        flex: 0 0 100%;
    }
	.health-news-title a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
	.health-notice-title a{
		font-size: 14px;
	}
	.navbar-college .navbar-logo{
		    height: 30px;
	}
}

@media (max-width: 428px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .row {
        margin: 0 -15px;
    }
    
    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        padding: 0 15px;
    }
    
    .health-banner-image-wrapper {

    }
    
    .mobile-nav {
        padding: 0 24px;
    }
    
    .mobile-nav .navbar-brand a {
        font-size: 16px;
        max-width: 70%;
    }
    
    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }
    
    .footer-content .col-3 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-content .col-3:nth-child(1) {
        order: 1;
    }
    
    .footer-content .col-3:nth-child(2) {
        order: 2;
    }
    
    .footer-content .col-3:nth-child(3),
    .footer-content .col-3:nth-child(4) {
        order: 3;
        width: 50%;
        max-width: 150px;
    }
    
    .footer-contact p {
        flex-direction: row;
        justify-content: left;
		padding-left: 30px;
    }
}

/* 搜索弹窗样式 */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(34, 123, 69, 0.2);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.search-overlay.active {
    display: flex;
}

.search-overlay .search-container {
    background-color: #fff !important;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.search-overlay .search-box {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.search-overlay .search-input {
    flex: 1;
    width: auto !important;
    min-width: 200px;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    color: #333;
    background-color: #fff;
    cursor: text;
    display: block;
    opacity: 1 !important;
    transition: none;
}

.search-overlay .search-input:focus {
    outline: none;
    border-color: #227B45;
}

.search-overlay .search-input::placeholder {
    color: #999;
    opacity: 1;
}

.search-overlay .search-input::-webkit-input-placeholder {
    color: #999;
}

.search-overlay .search-input:-moz-placeholder {
    color: #999;
}

.search-overlay .search-input::-moz-placeholder {
    color: #999;
}

.search-overlay .search-input:-ms-input-placeholder {
    color: #999;
}

.search-overlay .search-submit {
    background-color: #227B45;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-overlay .search-submit:hover {
    background-color: #1a6336;
}