/* ©2026 zhaozhishi.com */
/* CSS Document */

/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: none;
    word-break: break-all;
    background: #f5f7fa;
    max-width: 640px;
    margin: 0 auto;
    overflow-x: hidden;
    line-height: 1.6;
}
body {
    color: #333;
    background: #f5f7fa;
}
a {
    text-decoration: none;
    color: inherit;
}
li {
    list-style: none;
}
img {
    border: 0;
    vertical-align: middle;
    max-width: 100%;
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 指定的报纸字体样式 */
.newspaper-text { 
    text-indent: 2em; 
    text-align: left; 
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; 
    font-size: 17px; 
    font-weight: 400; 
    line-height: 1.7; 
    color: #212121; 
    letter-spacing: 0; 
    word-spacing: 0; 
    margin: 0 0 1em 0; 
} 
@media (min-width: 768px) { 
    .newspaper-text { 
        font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; 
        font-size: 16px; 
        font-weight: 400; 
        color: #212121; 
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c4zIwLAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAgICAgICAgICAgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz8wGJAAAALnRFWHRDcmVhdGlvbiBUaW1lADIwMjYvMy8xNwAAACNJREFUeNrs2TEBAAAIAMEG0dN49177R64V0fLzIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMh008wABp9aL5sAAAAASUVORK5CYII="); 
        background-blend-mode: overlay; 
        -webkit-font-smoothing: antialiased; 
        -moz-osx-font-smoothing: grayscale; 
    } 
} 
/* H1 标题：移动端缩小与正文一样大，大屏正常 */
.news-title { 
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif; 
    font-size: 22px; 
    font-weight: 600; 
    color: #1a1a1a; 
    line-height: 1.3; 
    margin: 0 0 16px 0; 
}
@media (max-width: 767px) {
    .news-title {
        font-size: 17px !important;
    }
}

/* 标题层级统一：从大到小 + 绿色竖线 */
h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 12px 0;
    padding-left: 10px;
    border-left: 3px solid #4d9b13;
}
h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin: 10px 0;
    padding-left: 10px;
    border-left: 3px solid #4d9b13;
}
h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 8px 0;
    padding-left: 10px;
    border-left: 3px solid #4d9b13;
}
/* h5 浅绿渐变背景 + 高反差文字 + 自适应宽度 */
h5 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #084918;
    background: linear-gradient(90deg, #f0f9f0, #e6f7e6);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    width: auto;
    margin: 8px 0;
}

/* 自定义h22标签样式 */
h22 {
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 44px;
}

/* 更多按钮统一：浅灰色 + 右对齐 */
.more-btn {
    font-size: 14px !important;
    color: #999 !important;
    float: right !important;
    text-align: right !important;
}

/* 头部 —— 左对齐 + 标题字体缩小 */
.m-header {
    width: 100%;
    height: 48px;
    position: relative;
    background: #4d9b13;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 48px;
}
.top_return {
    width: 48px;
    height: 48px;
    background: url(/skin/yidongduan/pic/top_ico.png) center no-repeat;
    background-size: 24px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
}
.top_title {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}
.top_home {
    width: 48px;
    height: 48px;
    background: url(/skin/yidongduan/pic/return.png) center no-repeat;
    background-size: 24px;
    position: absolute;
    right: 48px;
    z-index: 9;
}
.top_menu {
    width: 48px;
    height: 48px;
    background: url(/skin/yidongduan/pic/nav.png) center no-repeat;
    background-size: 24px;
    position: absolute;
    right: 0;
    z-index: 9;
}

/* 内容容器 */
content {
    display: block;
    width: 100%;
    padding: 8px;
}

/* 标题区域 + 边框边缘感 */
.caption {
    background: #fff;
    padding: 16px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* 信息文字缩小到 10px 左右（0.65em）*/
.caption_txt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #999;
    font-size: 0.65em;
}
.caption_txt span,
.caption_txt samp {
    color: #999;
    font-size: 0.65em;
}
/* 右侧图标保持靠右 */
.caption_right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* 图标为 advice.png */
.f_size {
    width: 30px;
    height: 30px;
    background: url(/skin/yidongduan/pic/advice.png) center no-repeat;
    background-size: 18px;
    cursor: pointer;
}
/* good2.png 图标 */
.good_icon {
    width: 30px;
    height: 30px;
    background: url(/skin/yidongduan/pic/good2.png) center no-repeat;
    background-size: 18px;
    cursor: pointer;
}
/* 竖线分隔 */
.split_line {
    color: #ddd;
    padding: 0 3px;
}
.advice {
    color: #4d9b13;
    font-size: 13px;
}
.size_up, .size_box {
    display: none !important;
}

/* 正文内容 + 边框边缘感 */
.detail_con {
    background: #fff;
    padding: 16px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.detail_con img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
	width: auto;
    height: auto;
}

/* 分页样式 */
.show_pages {
    width: 100%;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #e6e6e6;
}
.show_pages ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.show_pages li {
    list-style: none;
}
.show_pages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 15px;
    color: #555;
    background: #fafafa;
    transition: all 0.2s;
}
.show_pages a:hover {
    background: #4d9b13;
    color: #fff;
    border-color: #4d9b13;
}
.show_pages strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 15px;
    background: #4d9b13;
    color: #fff;
    font-weight: normal;
}

/* 版权：缩小 + 极浅阴影 */
.copyright {
    text-align: left;
    padding: 12px;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.copyright-float-logo {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 50px;
    z-index: 10;
    pointer-events: none;
}

/* 标签 + 边框 + 链接下划线动态效果 */
.cont_label {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    border: 1px solid #e6e6e6;
}
.recom_tags_r {
    color: #4d9b13;
}
.recom_tags_r a {
    color: #212121;
    position: relative;
}
.recom_tags_r a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #212121;
    transition: width 0.3s ease;
}
.recom_tags_r a:hover::after {
    width: 100%;
}

/* 分享 + 边框 保留未用 */
.cont_share {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e6e6e6;
}

/* 相关文章、热门、最新 + 列表单行不换行超出隐藏 */
.related, .hot_read {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.related_top{
    padding: 0 12px;
    height: 44px;
    line-height: 44px;
    border-bottom: 1px solid #f0f0f0;
    background: url(/skin/yidongduan/pic/other_ico.png) 10px 9px no-repeat;
    background-size: 20px;
    text-indent: 35px;
}
.hot_top {
    padding: 0 12px;
    height: 44px;
    line-height: 44px;
    border-bottom: 1px solid #f0f0f0;
    background: url(/skin/yidongduan/pic/hot_ico.png) 10px 9px no-repeat;
    background-size: 20px;
    text-indent: 35px;
    display: flex;
    justify-content: space-between;
}
/* 核心：列表不换行 + 超出隐藏 */
.related_cont li, .hot_cont li {
    height: 44px;
    line-height: 44px;
    padding: 0 12px 0 20px;
    border-bottom: 1px dashed #eee;
    background: url(/skin/yidongduan/pic/li.png) 10px center no-repeat;
    background-size: 4px;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related_cont li:last-child, .hot_cont li:last-child {
    border-bottom: none;
}

/* 图文列表：图片在右，文字在左 */
.article-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px dashed #eee;
    gap: 10px;
}
.article-item dt {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    order: 2;
}
.article-item dt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.article-item dd {
    flex: 1;
    order: 1;
    overflow: hidden;
}
.article-item dd h3 {
    font-size: 15px;
    margin: 0 0 4px 0;
    border-left: none;
    padding-left: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-item dd p {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot_more {
    text-align: center;
    padding: 10px 0;
    color: #999;
}

/* 搜索框优化 + 提示文字更小 */
.cont_search {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e6e6e6;
}
.search_box {
    display: flex;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}
.search_text {
    flex: 1;
    height: 42px;
    padding: 0 12px;
    border: none;
    outline: none;
    font-size: 14px;
}
/* 搜索框提示文字更小 */
.search_text::placeholder {
    font-size: 12px !important;
    color: #ccc !important;
}
.search_btn {
    width: 50px;
    height: 42px;
    background: url(/skin/yidongduan/pic/fdj.png) center no-repeat;
    background-size: 20px;
    border: none;
    background-color: #f8f8f8;
    cursor: pointer;
}
.search_hot {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

/* 回到顶部/底部 */
.back_btn {
    position: fixed;
    right: 12px;
    bottom: 60px;
    z-index: 999;
}
.back_up, .back_down {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.back_up {
    background: rgba(0,0,0,0.5) url(/skin/yidongduan/pic/f_top.png) center no-repeat;
    background-size: 22px;
}
.back_down {
    background: rgba(0,0,0,0.5) url(/skin/yidongduan/pic/f_top2.png) center no-repeat;
    background-size: 22px;
}

/* 底部 */
footer {
    background: #fff;
    text-align: center;
    padding: 16px 12px 20px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
}
footer nav a {
    display: inline-block;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    color: #666;
    font-size: 13px;
}
footer p {
    margin-top: 6px;
    line-height: 1.6;
}