/* 移动端基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
    overflow-x: hidden; /* 防止水平滚动 */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 头部样式改进 - 使用蓝色背景 */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: #003e7e; /* 深蓝色背景 */
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.m-header.scroll-down {
    transform: translateY(-100%);
}

.m-header.scroll-up {
    transform: translateY(0);
    background-color: rgba(0, 62, 126, 0.98); /* 半透明深蓝色 */
}

.m-logo {
    height: 32px !important; /* 从38px减小到32px */
    max-height: 32px !important;
    transition: all 0.3s ease;
    filter: brightness(1.8); /* 让深色logo在深色背景上更显眼 */
}

.nav-icons {
    display: flex;
    align-items: center;
}

.search-icon {
    width: 22px;
    height: 22px;
    margin-right: 20px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
    filter: brightness(5); /* 使图标在深色背景上变白 */
}

.search-icon:active {
    opacity: 0.7;
}

.m-menu-btn {
    width: 30px;
    height: 30px;
    background: url('images/navA.png') no-repeat center;
    background-size: 24px;
    transition: transform 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(5); /* 使图标在深色背景上变白 */
}

.m-menu-btn:active {
    background-color: rgba(255,255,255,0.15);
}

/* 给头部添加学校特色的装饰线 */
.m-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #0052a5, #0077cc, #0052a5);
}

/* 顶部状态栏 - 可选 */
.m-top-bar {
    height: 22px;
    background-color: #00254e; /* 更深的蓝色 */
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
}

.m-top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-left: 15px;
    font-size: 12px;
}

/* 导航菜单改进 */
.m-menu {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: calc(100vh - 56px);
    background-color: #fff;
    z-index: 998;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.m-menu.active {
    transform: translateX(0);
}

.m-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-menu-item {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.m-menu-item:active {
    background-color: #f8f9fa;
}

.m-menu-link {
    display: block;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-right: 40px !important;
}

.m-menu-link:after {
    display: none !important;
}

/* 简化的子菜单样式 - 参考国际合作交流处新版 */
.m-menu-list li.has_sub > a {
    position: relative;
}

.menu-switch-arrow {
    position: absolute !important;
    right: 15px !important;
    width: 30px !important;
    height: 30px !important;
    top: 10px !important;
    z-index: 100 !important;
    cursor: pointer !important;
    display: block !important;
}

.menu-switch-arrow:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #999;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.m-menu-item.open > .menu-switch-arrow:before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.m-menu-item:has(ul.sub-menu) > .menu-switch-arrow {
    display: block;
}

/* 子菜单容器 */
.m-menu-list li ul {
    display: none;
    background-color: #f5f5f5;
    padding: 0;
    margin: 0;
}

.m-menu-list li.open > ul {
    display: block;
}

.m-menu-list li ul li {
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: none;
}

.m-menu-list li ul li a {
    padding-left: 40px;
    font-size: 15px;
    font-weight: normal;
}

/* 取消原有箭头 */
.m-menu-link:after {
    display: none;
}

/* 轮播图样式 */
.m-banner {
    margin-top: 56px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.m-banner .swiper-container {
    width: 100%;
}

.m-banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-banner .swiper-pagination {
    bottom: 10px;
}

.m-banner .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    opacity: 0.8;
}

.m-banner .swiper-pagination-bullet-active {
    background: #003e7e;
}

/* 替换section相关样式 */
.m-block {
    margin: 15px 16px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 0 10px;
}

.m-block-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #003e7e;
    border-bottom: 1px solid #f0f0f0;
}

.m-block-title span {
    display: inline-block;
}

.m-block-more {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

/* 新闻列表样式改进 */
.m-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-news-item {
    padding: 12px 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.m-news-title {
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.m-news-title a {
    color: #333 !important;
    text-decoration: none !important;
}

/* 带图新闻样式改进 */
.m-news-img {
    display: flex !important;
    align-items: center !important;
}

.m-news-img .m-news-thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.m-news-img .m-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.m-news-img:active .m-news-thumb img {
    transform: scale(1.05);
}

.m-news-img .m-news-content {
    margin-left: 10px !important;
    padding: 0 !important;
}

/* 学术动态布局优化 */
.m-academic-event {
    padding: 15px 10px !important;
    position: relative !important;
}

/* 事件信息行 */
.event-info-row {
    display: flex !important;
    margin-bottom: 8px !important;
    align-items: flex-start !important;
}

/* 时间和地点标签 */
.event-time, 
.event-location {
    flex-shrink: 0 !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-right: 10px !important;
    min-width: 50px !important; /* 确保标签宽度一致 */
}

/* 简介内容 */
.m-academic-event .m-news-summary {
    flex: 1 !important;
    white-space: pre-wrap !important; /* 保留换行 */
    color: #666 !important;
    font-size: 14px !important;
    line-height: 2.1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 学术动态标题 */
.m-academic-event .m-news-title {
    font-size: 16px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    padding-right: 0 !important;
}

/* 学术动态元信息容器 */
.m-academic-event .m-info-container {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-bottom: 8px !important;
}

/* 时间标签后的内容 */
.m-academic-event .event-time-value {
    font-weight: normal !important;
    color: #666 !important;
}

/* 地点标签后的内容 */
.m-academic-event .event-location-value {
    font-weight: normal !important;
    color: #666 !important;
}

/* 时间行特殊处理 - 允许简介紧跟其后 */
.m-academic-event .time-row {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 8px !important;
}

.event-time {
    flex-shrink: 0 !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-right: 10px !important;
    min-width: 50px !important;
}

.summary-container {
    flex: 1 !important;
}

.m-news-summary {
    white-space: pre-wrap !important;
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    max-height: 60px !important; /* 限制高度，避免过长 */
    overflow: hidden !important;
}

.event-location {
    display: block !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-top: -35px !important;
    clear: both !important;
}

/* 手机版搜索框样式 - 开始 */
.m-search-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.m-search-box.active {
    display: block !important;
    opacity: 1;
}

.m-search-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 450px;
}

.m-search-input {
    width: 85%;
    padding: 14px 45px 14px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.m-search-input:focus {
    outline: none;
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
}

.m-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #003e7e;
    border-radius: 18px;
}

.m-search-btn img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.m-search-btn:active img {
    opacity: 1;
}

/* 搜索框关闭按钮 */
.m-search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.m-search-close:before,
.m-search-close:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #fff;
}

.m-search-close:before {
    transform: rotate(45deg);
}

.m-search-close:after {
    transform: rotate(-45deg);
}

/* 搜索结果样式 */
.m-search-results {
    margin-top: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.m-search-result-item {
    background-color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.m-search-result-link {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
}

.m-search-result-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.m-search-result-snippet {
    font-size: 14px;
    color: #666;
}

/* 适配不同屏幕尺寸 */
@media (max-width: 480px) {
    .m-search-container {
        width: 85%;
    }
    
    .m-search-input {
        font-size: 15px;
        padding: 12px 40px 12px 12px;
    }
    
    .m-search-btn {
        width: 36px;
        height: 36px;
        background: #003e7e;
        border-radius: 18px;
    }
    
    .m-search-btn img {
        width: 18px;
        height: 18px;
    }
    
    .m-search-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 360px) {
    .m-search-input {
        font-size: 14px;
        padding: 10px 36px 10px 10px;
    }
    
    .m-search-btn {
        width: 32px;
        height: 32px;
        background: #003e7e;
        border-radius: 16px;
    }
    
    .m-search-btn img {
        width: 16px;
        height: 16px;
    }
}
/* 手机版搜索框样式 - 结束 */

/* 底部样式改进 */
.m-footer {
    padding: 15px !important;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    font-size: 13px !important;
    line-height: 1.8;
    border-radius: 15px 15px 0 0;
    margin-top: 30px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.m-footer div {
    margin-bottom: 5px;
    opacity: 0.85;
}

.m-footer div:last-child {
    margin-top: 15px;
    opacity: 0.7;
    font-size: 12px;
}

/* 添加页面载入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.m-block {
    animation: fadeInUp 0.5s ease forwards;
}

.m-block:nth-child(2) { animation-delay: 0.1s; }
.m-block:nth-child(3) { animation-delay: 0.2s; }
.m-block:nth-child(4) { animation-delay: 0.3s; }
.m-block:nth-child(5) { animation-delay: 0.4s; }
.m-block:nth-child(6) { animation-delay: 0.5s; }

/* 列表页样式 */
.m-list-header {
    margin-top: 56px; /* 头部高度 */
    padding: 15px;
    background: #fff;
}

.m-list-container {
    padding: 0 15px;
}

.m-news-item:last-child {
    border-bottom: none;
}

.news_box {
    padding: 12px 15px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important; /* 确保子元素左对齐 */
    text-align: left !important;
}

.m-news-thumb {
    width: 100px;
    height: 70px;
    margin-right: 15px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.m-news-content {
    flex: 1;
}

.m-news-summary {
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

/* 文章详情页样式 */
.m-breadcrumb-container {
    margin-top: 78px; /* 56px头部高度 + 22px状态栏高度 */
    padding: 10px 16px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.m-article-container {
    background-color: #fff;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.m-article-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.m-article-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    color: #003e7e;
    margin: 0 0 12px;
}

.m-article-meta {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
}

.m-article-meta span {
    margin-right: 15px;
    margin-bottom: 5px;
}

.m-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    overflow: hidden;
}

.m-article-content img {
    max-width: 100% !important;
    height: auto !important;
    margin: 10px auto;
    display: block;
}

.m-article-content p {
    margin: 16px 0;
}

.m-article-content h1,
.m-article-content h2,
.m-article-content h3,
.m-article-content h4,
.m-article-content h5,
.m-article-content h6 {
    margin: 20px 0 10px;
    font-weight: bold;
    color: #333;
}

.m-article-content a {
    color: #003e7e;
    text-decoration: none;
}

.m-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
}

.m-article-content table th,
.m-article-content table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.m-article-content table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* 文章附件样式 */
.m-article-attachments {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.m-attachment-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.m-attachment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-attachment-item {
    margin-bottom: 10px;
}

.m-attachment-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 8px 10px;
    background-color: #fff;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.m-attachment-link:active {
    background-color: #f0f0f0;
}

.m-attachment-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: url('images/attachment-icon.png') no-repeat center;
    background-size: contain;
}

.m-attachment-name {
    font-size: 14px;
    word-break: break-all;
}

/* 文章导航样式 */
.m-article-navigation {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.m-pre-article, 
.m-next-article {
    margin-bottom: 10px;
    line-height: 1.5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-label {
    color: #666;
    font-weight: bold;
}

.pre-link, 
.next-link {
    color: #003e7e;
    text-decoration: none;
}

/* 相关文章样式 */
.m-related-articles {
    background-color: #fff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.m-related-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    padding-left: 12px;
    border-left: 3px solid #003e7e;
}

.m-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.m-related-item:last-child {
    border-bottom: none;
}

.m-related-link {
    flex: 1;
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-related-dot {
    width: 6px;
    height: 6px;
    background-color: #003e7e;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.m-related-text {
    font-size: 14px;
}

.m-related-time {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    flex-shrink: 0;
}

/* 分享工具栏 */
.m-share-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 10px 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.m-share-title {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.m-share-buttons {
    display: flex;
}

.m-share-btn {
    width: 36px;
    height: 36px;
    margin: 0 8px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px;
}

.m-share-wechat {
    background-image: url('images/wechat-icon.png');
    background-color: #09BB07;
}

.m-share-weibo {
    background-image: url('images/weibo-icon.png');
    background-color: #E6162D;
}

.m-share-qq {
    background-image: url('images/qq-icon.png');
    background-color: #12B7F5;
}

/* 特别针对无图新闻项的标题调整 */
.m-news-item:not(.m-news-img) .m-news-title {
    padding: 0 10px;
}

/* 调整菜单链接样式以兼容箭头 */
.m-menu-item:has(ul.sub-menu) > .m-menu-link {
    padding-right: 40px;
}

/* 修改子菜单和箭头的z-index */
.sub-menu, .menu-switch-arrow {
    z-index: 10;
}

/* 确保子菜单链接正常显示 */
.sub-menu .m-menu-link {
    padding-left: 30px !important;
}

.sub-menu {
    display: none;
    background-color: #f5f5f5;
    padding: 0;
    margin: 0;
    list-style: none;
}

.m-menu-item.open > .sub-menu {
    display: block;
}

/* 针对有图片的新闻项调整 */
.m-news-img .m-news-meta {
    padding-left: 0 !important;
}

/* 确保新闻标题和时间一致对齐 */
.m-news-title {
    padding-left: 0 !important;
    margin-bottom: 5px !important;
}

/* 整体内容区域的左边距调整 */
.m-news-content {
    padding-left: 0 !important; /* 移除整体内容区域的内边距 */
}

/* 无图片的新闻内容边距调整 */
.m-news-item:not(.m-news-img) {
    padding: 12px 10px;
}

/* ===== 重写新闻时间元数据样式 - 彻底解决重叠问题 ===== */
/* 删除之前所有相关样式 */
.m-news-meta {
    /* 清除之前的所有样式 */
    background: none !important; /* 移除背景图像 */
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #999 !important;
    margin: 6px 0 8px 0 !important;
    padding: 0 !important; /* 移除所有内边距 */
    line-height: 1.4 !important;
    position: static !important; /* 不使用相对定位 */
}

/* 添加图标 */
.m-news-meta:before {
    content: '' !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    margin-right: 6px !important; /* 图标与文字间距 */
    background: url('images/list_icon_01.png') no-repeat center !important;
    background-size: contain !important;
    flex-shrink: 0 !important; /* 防止图标缩小 */
    position: static !important; /* 不使用绝对定位 */
    transform: none !important; /* 移除任何变换 */
}

/* 新闻项边距和内边距 */
.m-news-item {
    padding: 12px 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* 有图片的新闻项 */
.m-news-img {
    display: flex !important;
    align-items: center !important;
}

.m-news-img .m-news-content {
    margin-left: 10px !important; /* 使用margin代替padding */
    padding: 0 !important; /* 移除所有内边距 */
}

/* 新闻标题样式 */
.m-news-title {
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* 链接样式 */
.m-news-title a {
    color: #333 !important;
    text-decoration: none !important;
}

/* 学术动态主讲人样式 */
.m-academic-speaker {
    font-size: 14px !important;
    color: #0066cc !important;
    margin: 6px 0 10px 0 !important;
    font-weight: 500 !important;
}

/* 更多按钮样式 */
.more_btn {
    cursor: pointer;
}

.more_text {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

/* 标题和更多按钮样式 */
.m-block .tt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.m-block .tit {
    font-size: 18px;
    font-weight: bold;
    color: #003e7e;
    margin: 0;
}

.m-block .title {
    display: inline-block;
}

/* 列表页样式 */
.col_news_head {
    padding: 12px 15px !important;
    border-bottom: 1px solid #eaeaea;
    background-color: #fff;
    margin-bottom: 10px;
}

.col_name {
    font-size: 18px !important;
    color: #003e7e;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.col_metas {
    font-size: 14px;
    color: #999;
    margin: 0;
    padding: 0;
    list-style: none;
}

.col_path {
    font-size: 13px !important;
}

.path_name {
    color: #666;
}

.col_news_con {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.news_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news_item {
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
}

.news_title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px;
    text-align: left !important;
    width: 100% !important;
}

.news_title a {
    color: #333;
    text-decoration: none;
    word-break: break-word !important;
    text-align: left !important;
}

.news_meta {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-align: left !important;
    justify-content: flex-start !important; /* 确保内容左对齐 */
    width: 100% !important;
}

.news_meta:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background: url('images/list_icon_01.png') no-repeat center;
    background-size: contain;
}

/* 美化列表页整体 */
.m-container {
    background-color: #f8f9fa;
    padding-bottom: 20px;
}

.wrapper {
    padding: 0 !important;
}

.inner {
    padding: 0 !important;
}

.mod {
    margin-top: 10px;
}

/* 确保所有容器元素适应屏幕宽度 */
.m-container,
.wrapper,
.inner,
.mod,
.col_news,
.col_news_box,
.col_news_head,
.col_news_con,
.col_news_list {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 调整列表页整体布局 */
.col_news {
    float: none !important;
    width: 100% !important;
}

/* 调整列表项内容 */
.news_box {
    padding: 12px 15px !important;
}

/* 调整标题和路径导航 */
.col_news_head {
    padding: 0 15px !important;
    height: 50px;
}

.col_name {
    font-size: 18px !important;
}

.col_path {
    font-size: 13px !important;
}

/* 移除任何可能的固定宽度 */
.col_news_con,
.col_news_list,
.news_list,
.news_item {
    width: 100% !important;
    max-width: 100% !important;
}

/* 确保图片不会溢出容器 */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* 修复可能的浮动问题 */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* 调整底部边距 */
.m-footer {
    padding: 15px !important;
    font-size: 13px !important;
}

/* 确保列表项内容左对齐 */
.col_news_list,
.news_list,
.news_item {
    text-align: left !important;
}

/* 确保栏目标题和路径左对齐 */
.col_name,
.col_path {
    text-align: left !important;
}

/* 详情页样式 */
.col_news_head1 {
    padding: 12px 20px;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}

.col_path1 {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    text-align: left;
}

.infobox {
    background-color: #fff;
    padding: 15px 20px !important;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.article {
    width: 100%;
}

.arti_title {
    font-size: 20px;
    line-height: 1.4;
    color: #333;
    margin: 0 0 15px 0;
    text-align: left;
    font-weight: bold;
    padding: 0 5px;
}

h2.arti_title {
    font-size: 18px;
    color: #666;
    margin: 10px 0;
    padding: 0 5px;
}

.arti_metas {
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.arti_publisher, 
.arti_update, 
.arti_views {
    margin-right: 15px;
}

.entry {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    padding: 0 5px;
}

.read {
    width: 100%;
    overflow-x: hidden;
    padding: 0 5px;
}

/* 确保详情页内容中的图片响应式且有适当边距 */
.read img {
    max-width: calc(100% - 10px) !important;
    height: auto !important;
    margin: 10px auto;
    display: block;
}

/* 确保详情页内容中的表格响应式 */
.read table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse;
    margin: 15px 0;
    display: block;
    overflow-x: auto;
}

.read table td,
.read table th {
    padding: 8px;
    border: 1px solid #ddd;
}

/* 详情页内容样式优化 */
.read p {
    margin: 10px 0;
    text-align: justify;
}

.read a {
    color: #0066cc;
    text-decoration: none;
}

.read h1, 
.read h2, 
.read h3, 
.read h4, 
.read h5, 
.read h6 {
    margin: 20px 0 10px;
    color: #333;
}

/* 左图右文列表样式 */
.news_list_img {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news_item_img {
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
}

.news_box_img {
    padding: 15px;
    display: flex;
    align-items: flex-start;
}

.news_img {
    width: 100px;
    height: 75px;
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.news_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* 确保文本可以正确截断 */
}

.news_list_img .news_title {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 6px;
    max-height: 42px; /* 约两行文字高度 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news_list_img .news_title a {
    color: #333;
    text-decoration: none;
}

.news_summary {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 6px;
    max-height: 38px; /* 约两行文字高度 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news_list_img .news_meta {
    font-size: 12px;
    color: #999;
    margin-top: auto; /* 将日期推到底部 */
}

/* 处理缺少缩略图的情况 */
.news_img img[src=""],
.news_img img:not([src]) {
    display: none;
}

.news_img:empty {
    display: none;
}

.news_img:empty + .news_content {
    width: 100%;
}

/* 默认缩略图 */
img[onerror] {
    object-fit: contain;
    background-color: #f5f5f5;
}






