/* 
 * 聊城大学东昌学院继续教育学院网站样式
 * 响应式布局设计
 */

/* 基本样式重置和通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

a:hover {
    color: #0066cc;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    position: relative;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.section-header h3 {
    font-size: 18px;
    color: #0066cc;
    font-weight: bold;
    display: inline-block;
    margin: 0;
    padding-left: 10px;
    border-left: 4px solid #0066cc;
}

.section-header .more {
    font-size: 12px;
    color: #999;
    margin-left: auto;
    align-self: center;
}

.section-header .more:hover {
    color: #0066cc;
}

/* 顶部信息栏样式 */
.top-bar {
    background-color: #f0f0f0;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar a {
    margin-left: 15px;
    color: #666;
}

.top-bar a:hover {
    color: #0066cc;
}

.top-bar i {
    margin-right: 5px;
}

/* 头部区域样式 */
.header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 24px;
    color: #0066cc;
    margin: 0;
    font-weight: bold;
}

.logo-text h2 {
    font-size: 18px;
    color: #666;
    margin: 5px 0 0;
    font-weight: normal;
}

.search-box {
    position: relative;
    max-width: 300px;
    margin-left: auto;
}

.search-box input {
    width: 100%;
    padding: 8px 40px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.search-box button:hover {
    color: #0066cc;
}

/* 导航菜单样式 */
.main-nav {
    background-color: #0066cc;
}

.navbar-toggler {
    display: none;
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
}

.nav-menu li {
    position: relative;
    flex: 1;
    text-align: center;
}

.nav-menu li a {
    display: block;
    padding: 15px 10px;
    color: #fff;
    font-size: 16px;
}

.nav-menu li.active a,
.nav-menu li a:hover {
    background-color: #005bb8;
}

/* 轮播图样式 */
.banner {
    width: 100%;
    padding: 0;
    margin: 0;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 500px;
    /* 设置一个固定高度，可以根据需要调整 */
    overflow: hidden;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例并填充整个容器 */
    display: block;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}

.slider-controls .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-btn,
.next-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    display: flex;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
}

/* 主要内容区域样式 */
.main-content {
    padding: 20px 0;
}

/* 新闻公告区域样式 */
.news-section {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.tabs {
    display: inline-flex;
    margin-left: 20px;
    max-width: calc(100% - 100px);
    /* 为"更多"链接预留空间 */
    flex-wrap: wrap;
}

.tab {
    padding: 5px 15px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

.tab-content {
    display: none;
    padding: 15px 0;
}

.tab-content.active {
    display: block;
}

.news-list li {
   
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    margin-right: 15px;
}

.news-list li a{
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* 教育项目介绍样式 */
.education-programs {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.program-card {
    text-align: center;
    padding: 20px 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-icon {
    font-size: 36px;
    color: #0066cc;
    margin-bottom: 15px;
}

.program-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.program-card p {
    color: #666;
    margin-bottom: 15px;
    height: 60px;
    /* 增加高度以容纳更多文本 */
    overflow: hidden;
    font-size: 13px;
    /* 稍微减小字体大小 */
    line-height: 1.4;
    /* 调整行高以优化显示 */
}

.btn-more {
    display: inline-block;
    padding: 5px 15px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}

.btn-more:hover {
    background-color: #005bb8;
    color: #fff;
}

/* 侧边栏样式 */
.quick-links {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 5px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background-color: #0066cc;
    color: #fff;
}

.quick-link i {
    font-size: 24px;
    margin-bottom: 8px;
}

.sidebar-notice {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.sidebar-notice-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.sidebar-notice-list li:last-child {
    border-bottom: none;
}

.sidebar-notice-list a {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}

.notice-date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

.contact-info {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.contact-content p {
    padding: 8px 0;
    color: #666;
}

.contact-content i {
    margin-right: 10px;
    color: #0066cc;
    width: 16px;
    text-align: center;
}

/* 常见问题样式 */
.faq-section {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.faq-content {
    padding: 5px 0;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 15px;
}

.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.faq-question i {
    color: #0066cc;
    margin-right: 8px;
    font-size: 16px;
    margin-top: 2px;
}

.faq-answer {
    padding-left: 24px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* 校园风采样式 */
.campus-gallery {
    background-color: #fff;
    padding: 30px 0;
    margin-bottom: 20px;
}

.campus-gallery .section text-align: center;
border-bottom: none;
margin-bottom: 30px;
}

.campus-gallery .section-header h3 {
    border-left: none;
    padding-left: 0;
    font-size: 24px;
}

.campus-gallery .section-header p {
    color: #666;
    margin-top: 10px;
}

.gallery-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin: 0;
    font-size: 16px;
    text-align: center;
}

/* 友情链接样式 */
.friend-links {
    background-color: #fff;
    padding: 20px 0;
    margin-bottom: 20px;
}

.links-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.links-wrapper a {
    margin-right: 20px;
    margin-bottom: 10px;
    color: #666;
}

.links-wrapper a:hover {
    color: #0066cc;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0 20px;
}

.footer-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-qrcode {
    display: flex;
    justify-content: flex-end;
}

.qrcode-item {
    text-align: center;
    margin-left: 20px;
}

.qrcode-item img {
    width: 100px;
    height: 100px;
    background-color: #fff;
    padding: 5px;
    margin-bottom: 5px;
}

.qrcode-item p {
    color: #ccc;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 12px;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 102, 204, 0.8);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0066cc;
    color: #fff;
}

/* 新闻列表详细样式 */
.news-list-detailed {
    margin: 0;
    padding: 0;
}

.news-item {
    padding: 16px 0;
    border-bottom: 1px solid #eaeaea;
    transition: all 0.3s ease;
    position: relative;
}

.news-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.news-item:hover::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background-color: #0066cc;
    border-radius: 2px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-content {
    padding: 0 15px;
}

.news-item-title {
    margin-bottom: 10px;
}

.news-item-title a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    padding-left: 12px;
}

.news-item-title a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #0066cc;
    border-radius: 50%;
}

.news-item-title a:hover {
    color: #0066cc;
}

.news-item-meta {
    margin-bottom: 10px;
    color: #888;
    font-size: 11px;
    display: flex;
    flex-wrap: wrap;
}

.news-item-meta span {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
}

.news-item-meta i {
    margin-right: 4px;
    color: #0066cc;
    font-size: 14px;
}

.news-item-summary {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    height: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 分页样式优化 */
.pagination-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pagination .page-link {
    color: #666;
    border-color: #ddd;
    margin: 0 3px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: #0066cc;
    border-color: #0066cc;
}

.pagination .page-link:hover {
    background-color: #f0f0f0;
    color: #0066cc;
}

.pagination .page-item.active .page-link:hover {
    background-color: #0066cc;
    color: #fff;
}

/* 侧边栏样式优化 */
.col-lg-4>div {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.col-lg-4>div:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 快速链接样式 */
.quick-links .section-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.quick-links .section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 12px;
}

.quick-links .section-header h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: #0066cc;
    border-radius: 2px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-link:hover {
    background-color: #e6f0ff;
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.quick-link i {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 8px;
}

.quick-link span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* 联系方式样式 */
.contact-info .section-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.contact-info .section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 12px;
}

.contact-info .section-header h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: #0066cc;
    border-radius: 2px;
}

.contact-content p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.contact-content p i {
    color: #0066cc;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

/* 面包屑导航样式优化 */
.breadcrumb-wrapper {
    background-color: #f5f5f5;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: #666;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #0066cc;
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: #999;
}

/* 页面banner样式优化 */
.page-banner {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.page-banner:hover img {
    transform: scale(1.02);
}

/* 导航菜单样式优化 */
.main-nav {
    background-color: #0066cc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu li.active a {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 顶部信息栏样式优化 */
.top-bar {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #eaeaea;
}

.top-bar a {
    color: #666;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.top-bar a:hover {
    color: #0066cc;
    text-decoration: none;
}

.top-bar i {
    margin-right: 5px;
    color: #0066cc;
}

/* 页脚样式优化 */
.footer {
    background-color: #333;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #0066cc;
}

.footer p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #ccc;
    transition: all 0.3s ease;
    font-size: 14px;
    display: block;
}

.footer-links li a:hover {
    color: #fff;
    text-decoration: none;
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0066cc;
    transform: translateY(-3px);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-box,
.col-lg-4>div {
    animation: fadeIn 0.5s ease-out forwards;
}

/* 搜索框样式优化 */
.search-form {
    position: relative;
    margin-bottom: 20px;
}

.search-form input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-form input[type="text"]:focus {
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
    outline: none;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    color: #0066cc;
}

/* 按钮样式优化 */
.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0055aa;
    border-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.btn-outline-primary {
    color: #0066cc;
    border-color: #0066cc;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

/* 表单元素样式优化 */
.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}

/* 微交互效果 */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 响应式优化 */
@media (max-width: 767px) {
    .news-item-title a {
        font-size: 15px;
    }

    .news-item-meta span {
        margin-right: 10px;
        font-size: 11px;
    }

    .news-item-summary {
        font-size: 12px;
        height: 38px;
    }

    .quick-link i {
        font-size: 20px;
    }

    .quick-link span {
        font-size: 12px;
    }

    .section-header h3 {
        font-size: 16px;
    }

    .content-box {
        padding: 15px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header .more {
        margin-top: 10px;
        margin-left: 0;
    }

    .tabs {
        margin-top: 10px;
        margin-left: 0;
        max-width: 100%;
    }
}

/* 打印样式优化 */
@media print {

    .top-bar,
    .main-nav,
    .footer,
    .sidebar {
        display: none;
    }

    .content-box {
        box-shadow: none;
        padding: 0;
    }

    .news-item {
        page-break-inside: avoid;
    }
}

/* 新闻内容页样式 */
.news-detail {
    padding: 20px 0;
}

/* 新闻标题和元数据样式 */
.news-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.news-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    color: #888;
    font-size: 13px;
    margin-bottom: 0;
}

.news-meta span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
}

.news-meta i {
    margin-right: 5px;
    color: #0066cc;
}

/* 新闻内容样式 */
.news-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.news-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.news-image {
    margin: 25px 0;
    text-align: center;
}

.news-image img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-image img:hover {
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.image-caption {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* 新闻标签和分享按钮样式 */
.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    margin-top: 30px;
}

.news-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.news-tags span {
    color: #666;
    font-size: 14px;
    margin-right: 10px;
}

.news-tags a {
    display: inline-block;
    padding: 3px 10px;
    background-color: #f0f0f0;
    color: #666;
    font-size: 12px;
    border-radius: 3px;
    margin-right: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.news-tags a:hover {
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
}

.news-share {
    display: flex;
    align-items: center;
}

.news-share span {
    color: #666;
    font-size: 14px;
    margin-right: 10px;
}

.news-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 50%;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.news-share a:hover {
    background-color: #0066cc;
    color: #fff;
    transform: translateY(-3px);
}

/* 上一篇/下一篇导航样式 */
.news-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #eaeaea;
}

.prev-next-news {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prev-news,
.next-news {
    display: flex;
    align-items: center;
}

.prev-news span,
.next-news span {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
    white-space: nowrap;
}

.prev-news a,
.next-news a {
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prev-news a:hover,
.next-news a:hover {
    color: #0066cc;
    text-decoration: none;
}

/* 相关新闻列表样式 */
.related-news {
    margin-top: 30px;
}

.related-news .section-header {
    margin-bottom: 15px;
}

.news-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list-simple li {
    padding: 10px 0;
    border-bottom: 1px dashed #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.news-list-simple li:last-child {
    border-bottom: none;
}

.news-list-simple li a {
    color: #333;
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    padding-left: 12px;
    transition: all 0.3s ease;
}

.news-list-simple li a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #999;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.news-list-simple li a:hover {
    color: #0066cc;
    transform: translateX(5px);
    text-decoration: none;
}

.news-list-simple li a:hover:before {
    background-color: #0066cc;
}

.news-list-simple .news-date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* 响应式优化 - 新闻内容页 */
@media (max-width: 767px) {
    .news-title {
        font-size: 20px;
    }

    .news-meta span {
        margin-right: 12px;
        font-size: 12px;
    }

    .news-content {
        font-size: 14px;
        line-height: 1.7;
    }

    .news-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-share {
        margin-top: 15px;
    }

    .prev-next-news {
        flex-direction: column;
    }
}

/* 内容盒子样式 */
.content-box {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.content-box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 区块标题样式 */
.section-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 12px;
}

.section-header h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #0066cc;
    border-radius: 2px;
}

/* 标签切换样式 */
.tabs {
    display: flex;
}

.tab {
    padding: 5px 12px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #0066cc;
    background-color: #f5f5f5;
}

.tab.active {
    color: #0066cc;
    background-color: #e6f0ff;
}

/* 响应式布局 */
@media (max-width: 991px) {
    .logo-area {
        justify-content: center;
        margin-bottom: 15px;
    }

    .search-box {
        margin: 0 auto;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-menu li {
        flex: 0 0 25%;
    }

    .footer-qrcode {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .navbar-toggler {
        display: block;
        width: 100%;
        text-align: left;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        flex: 0 0 100%;
    }

    .tabs {
        margin-left: 10px;
    }

    .tab {
        padding: 5px 8px;
        font-size: 12px;
    }

    .news-list li {
        flex-direction: column;
    }

    .news-date {
        margin-bottom: 5px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 150px;
    }

    .footer-info,
    .footer-qrcode {
        text-align: center;
    }

    .qrcode-item {
        margin: 0 10px;
    }
}

@media (max-width: 575px) {
    .logo {
        height: 60px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-text h2 {
        font-size: 16px;
    }

    .section-header h3 {
        font-size: 16px;
    }

    .program-card {
        margin-bottom: 15px;
    }

    .gallery-item img {
        height: 120px;
    }
}