@charset "utf-8";
/* ===== 全局重置 ===== */
* {font-family: Microsoft YaHei;}
body {margin: 0;background: #fff;font-size: 12px;color: #333;font-family: PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;}
html, html body {height: 100%;}
body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, steer_s, details, figcaption, figure, footattend, header, menu, nav, section {margin: 0;padding: 0;border: 0;}
ul, li, ol {list-style-type: none;}
table, input, textarea, select, button {font-size: 12px;vertical-align: middle;}
img, a img {border: none;}
/* ===== 链接样式 ===== */
a {cursor: pointer;blr: expression(this.onFocus = this.blur());outline: none;}
a:link, a:visited {outline-style: none;text-decoration: none;color: #3e6304;}
a:hover, a:active {color: #7ab806;text-decoration: underline;}
/* ===== 工具类 ===== */
.hidden {display: none;}
.sr-only {font-size: 0;text-indent: -999em;line-height: 0;}
.clear {clear: both;font-size: 1px;}
.gap {height: 10px;clear: both;font-size: 1px;overflow: hidden;}
.fl {float: left;}
.fr {float: right;}
/* ===== 顶部通栏 ===== */
#bar {width: 100%;height: 36px;line-height: 18px;border-bottom: 1px solid #d0dfb6;background: linear-gradient(to bottom,#fafdf5 0%,#f5fae8 40%,#f0f6e0 100%);}
.bar-wrap {height: 40px;width: 1200px;margin: 0 auto;overflow: hidden;}
.bar-left {width: 980px;padding-top: 5px;overflow: hidden;float: left;color: #3d3d3d;}
.bar-left span {float: left;line-height: 30px;margin-right: 5px;}
.bar-right {float: right;width: 160px;padding-top: 10px;}
.bar-right a {padding-left: 25px;}
.bar-right a:hover {color: #578A06;}
/* ===== 导航（保留原有黄绿渐变主配色） ===== */
.menu { height: 48px; border-top: 2px solid #578A06; border-bottom: 1px solid #d0dfb6; z-index: 1800; background: linear-gradient(to bottom, #fafdf5 0%, #f5fae8 40%, #f0f6e0 100%); box-shadow: 0 1px 3px rgba(87, 138, 6, 0.06); }
.menu-wrap { width: 1200px; margin: 0 auto; overflow: hidden; }
.menu-list { float: left; width: 1200px; }
.menu-list li { float: left; font-size: 16px; line-height: 48px; color: #4a4a4a; }
.menu-list li a { text-decoration: none; display: inline-block; padding: 0 55px 0 0; color: #3d3d3d; position: relative; transition: color 0.25s ease; }
.menu-list li a:hover { color: transparent; background: linear-gradient(135deg, #578A06 0%, #3e6304 100%); -webkit-background-clip: text; background-clip: text; }
.menu-list li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(to right, #578A06, #7ab806); transition: width 0.3s ease; }
.menu-list li a:hover::after { width: calc(100% - 55px); }
.menu-list li i { display: inline-block; width: 2px; height: 17px; background: #c5d8a4; position: relative; top: 3px; margin-left: 14px; }
.menu-list .first { padding-left: 0; left: 0; }
.rescue { float: right; width: 190px; height: 48px; }
.rescue_l { display: block; float: left; padding: 0 15px; width: 65px; height: 48px; color: #555; overflow: hidden; transition: all 0.25s ease; border-radius: 3px; }
.rescue_l:hover { background: linear-gradient(135deg, #578A06 0%, #3e6304 100%); color: #fff; }
.rescue_l p { float: left; margin-top: 15px; font-size: 14px; margin-left: 5px; }
/* ===== 搜索 ===== */
.seek {height: 30px;border-bottom: solid 0px #d0dfb6;margin-top: 6px;float: right;}
.seek-box {width: 330px;margin-top: 6px;height: 30px;float: right;}
.seek-input {background: #FFF;width: 258px;height: 28px;line-height: 28px;border-radius: 5px 0px 0px 5px;padding-left: 10px;overflow: hidden;color: #333;margin: 1px 0 0 0px;float: left;border: 1px solid #c5d8a4;border-right: none;}
.seek-btn {background: #578A06;color: #FFF;cursor: pointer;border-radius: 0px 5px 5px 0px;font-size: 14px;border: none;width: 60px;height: 29px;line-height: 29px;overflow: hidden;margin: 1px 0 0 0px;float: left;}
.seek-btn:hover {background: #3e6304;}
/* ===== 广告 ===== */
#ad {width: 1200px;margin: 0 auto;margin-top: 10px;margin-bottom: 10px;position: relative;line-height: 0px;}
.ad-tag {margin: 0 auto;height: 17px;background: rgba(62, 99, 4, 0.6);background: #000\9;color: #fff;border-radius: 0 8px 0px 0px;line-height: 17px;width: 30px;text-align: left;overflow: hidden;font-size: 12px;font-family: Arial;position: absolute;left: 0;bottom: 0;z-index: 3;}
#banner2 {width: 1200px;margin: 0 auto;margin-bottom: 10px;margin-top: 10px;position: relative;line-height: 0px;}
/* ===== 焦点图 ===== */
#hero {width: 380px;height: 254px;overflow: hidden;float: left;margin: 0;padding: 0;position: relative;}
.hero-inner {width: 380px;position: relative;overflow: hidden;height: 254px;font-weight: bold;font-size: 13px;text-align: center;}
.strip {position: relative;width: 100%;height: 230px;overflow: hidden;}
.strip .track {display: flex;transition: transform 0.6s ease;height: 230px;will-change: transform;}
.strip .track a {flex: 0 0 100%;min-width: 100%;display: block;overflow: hidden;height: 230px;}
.strip .track a img {width: 100%;height: 230px;display: block;object-fit: cover;}

/* ===== 纯色背景 strip 显示 ===== */
.strip .track a > span,
.strip a > span {display: flex;align-items: center; justify-content: center; width: 100%;height: 230px;box-sizing: border-box;padding: 0 12px;text-align: center;line-height: 1.4;font-size: 15px;
    font-weight: 600;word-break: break-all;overflow: hidden;background-color: #b5c48f; background-clip: padding-box;}
.strip .track a,
.strip a { background-color: transparent; }
.strip .track a > img {width: 100%;height: 230px;display: block;object-fit: cover;}

/* 标题遮罩 - 固定在容器底部 */
.strip .caption {position: absolute;bottom: 0;left: 0;right: 0;z-index: 10;padding: 0 12px;background: rgba(62, 99, 4, 0.82);color: #fff;font-size: 14px;text-align: left;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;height: 32px;line-height: 32px;pointer-events: none;box-sizing: border-box;}
/* 底部切换点 */
.dots {text-align: center;padding-top: 0px;height: 12px; overflow: hidden;margin-top: 30px;}
.dots p {width: 28px;height: 6px;overflow: hidden;margin: 0 5px;background: #c5d8a4;display: inline-block;cursor: pointer;border-radius: 3px;transition: background 0.3s;}
.dots p.dot-on {background: #578A06;}
/* 左右箭头 - 优化清晰度 */
.ctrl {position: absolute;top: 50%;left: 0;right: 0;transform: translateY(-50%);z-index: 20;pointer-events: none;height: 0;}
.prev, .next {display: block;width: 32px;height: 44px;position: absolute;top: 50%;transform: translateY(-50%);cursor: pointer;pointer-events: auto;border-radius: 4px;background: rgba(62, 99, 4, 0.6);transition: background 0.3s, opacity 0.3s;opacity: 0.8;border: none;outline: none;}
.prev:hover, .next:hover {background: rgba(62, 99, 4, 0.9);opacity: 1;}
.prev {left: 4px;}
.next {right: 4px;}
/* 使用纯CSS箭头 - 白色可见 */
.prev::after, .next::after {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 12px;height: 12px;border-style: solid;border-color: #ffffff;border-width: 3px 3px 0 0;}
.prev::after {transform: translate(-50%, -50%) rotate(-135deg);margin-left: 2px;}
.next::after {transform: translate(-50%, -50%) rotate(45deg);margin-right: 2px;}

/* ===== 主容器 ===== */
.stage {width: 1200px;margin: 0 auto;overflow: hidden;}
.stage-main {width: 850px;float: left;}
.col-head {height: 35px;line-height: 35px;padding-left: 10px;font-size: 16px;font-weight: bold;border-bottom: 1px solid #d0dfb6;background: linear-gradient(to bottom, #fafdf5 0%, #f5fae8 100%);}
.col {width: 440px;height: auto;float: right;}
.lead {font-size: 16px;font-weight: bold;padding: 6px 0px 6px 10px;text-align: left;position: relative;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.lead::before {content: ''; position: absolute; left: 0; top: 14px; width: 3px; height: 3px; border-radius: 50%; background: #7ab806;}
.lead2 {font-size: 16px;font-weight: bold;padding: 8px 0px 6px 10px;margin-top: 8px;border-top: dashed 1px #d0dfb6;position: relative;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.lead2::before {content: ''; position: absolute; left: 0; top: 18px; width: 3px; height: 3px; border-radius: 50%; background: #7ab806;}
.col-list li {text-align: left;padding: 6px 0px 6px 10px;font-size: 14px;position: relative;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.col-list li::before {content: ''; position: absolute; left: 0; top: 15px; width: 3px; height: 3px; border-radius: 50%; background: #7ab806;}
.stage-head {width: 838px;padding-left: 10px;height: 45px;line-height: 45px;border: 1px solid #d0dfb6;margin-bottom: 20px;overflow: hidden;}
.stage-head dt h1 {font-size: 32px;height: 45px;font-weight: bold;line-height: 24px;color: #3e6304;margin: 0 3px;}
.stage-head dt a {text-decoration: none;font-family: "黑体";padding-top: 20px;}
.rail {width: 330px;float: right;}
/* ===== 左栏区块 ===== */
.tile {width: 380px;height: auto;margin-top: 12px;margin-bottom: 15px;border: 1px solid #d0dfb6;float: left;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.tile-head { border-top: 2px solid #578A06; }
.tile-head strong {font-size: 14px;font-weight: bold;color: #3d3d3d;float: left;padding-top: 8px;padding-left: 8px;}
.tile-head strong a {float: none;margin: 0;padding: 0;color: #3e6304;}
.tile-head strong a:hover {color: #578A06;}
.tile-head a {float: right;margin: 10px 4px 0 4px;color: #7a8a5f;}
.tile-head a:hover {color: #578A06; font-weight: bold;}
.tile-head span {margin-top: 10px;float: right;color: #7a8a5f;}
.tile-list {text-align: left;width: 350px;margin-right: 4px;padding-top: 4px;padding-left: 8px;float: left;}
.tile-list li {height: 28px;line-height: 28px;position: relative;padding-left: 11px;text-indent: 0;font-size: 13px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.tile-list li::before {content: ''; position: absolute;border-radius: 50%;left: 2px; top: 12px; width: 3px; height: 3px; background: #9cb86f;}
.tile-list li a:hover {color: #578A06;}
/* ===== 右栏区块 ===== */
.box {width: 328px;overflow: hidden;padding-bottom: 9px;background-color: #fff;border: 1px solid #d0dfb6;border-top: none;}
.box2 {width: 328px;overflow: hidden;padding-bottom: 9px;margin-top: 10px;background-color: #fff;border: 1px solid #d0dfb6;border-top: none;}
.box-head, .tile-head { width: 100%; height: 32px; line-height: 18px; border-bottom: 1px solid #d0dfb6; background: linear-gradient(to bottom, #f5fae8 0%, #eef5d8 15%, #e6f0c8 40%, #ddeab5 70%, #d4e3a3 100%); }
.box-head { border-top: 2px solid #578A06; }
.box-head strong {font-size: 14px;font-weight: bold;color: #3d3d3d;float: left;padding-top: 8px;padding-left: 8px;}
.box-head strong a {float: none;margin: 0;padding: 0;color: #3e6304;position: relative;display: inline-block;transition: color 0.25s ease;}
.box-head strong a:hover {color: #578A06;}
.box-head strong a::after {content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: linear-gradient(to right, #578A06, #7ab806); transition: width 0.3s ease; pointer-events: none;}
.box-head strong a:hover::after {width: 100%;}
.box-head a {float: right; margin: 16px 12px 0 0; color: #7a8a5f; position: relative; display: inline-block; transition: color 0.25s ease; text-decoration: none;}
.box-head a:hover {color: #578A06; text-decoration: none;}
.box-head a::after {content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: linear-gradient(to right, #578A06, #7ab806); transition: width 0.3s ease; pointer-events: none;}
.box-head a:hover::after {width: 100%;}
.box-list {text-align: left;width: 310px;margin-right: 4px;padding-top: 4px;padding-left: 8px;float: left;}
.box-list li {width: 310px;height: 26px;line-height: 26px;position: relative;padding-left: 11px;text-indent: 0;vertical-align: bottom;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.box-list li::before {content: ''; position: absolute;border-radius: 50%;left: 2px; top: 12px; width: 3px; height: 3px; background: #9cb86f;}
.box-list li a {float: left;margin-right: 2px;}
.box-list li a:hover {color: #578A06;}
.heel li {font-size: 14px;line-height: 34px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
/* ===== Side 模块 ===== */
.side {width: 330px;float: right;border-bottom: 1px solid #d0dfb6;}
.side > div:last-child {border-bottom: none;}
.rbox {width: 328px;margin-bottom: 10px;overflow: hidden;background-color: #fff;border: 1px solid #d0dfb6;}
.rbox:first-child {padding-top: 0;}
.rhead {height: 35px;line-height: 35px;background: #fff;border-bottom: 1px solid #d0dfb6;}
.rhead h2 {display: block;float: left;position: relative;font-size: 14px;padding-left: 8px;line-height: 35px;font-weight: bold;}
.rhead h2 a {color: #3e6304;}
.rhead:hover h2 {border-top: 0px solid #578A06;}
.rhead:hover h2 a {color: #578A06;}
.rlist {margin-top: 1px;}
.rlist li {height: 32px;font-size: 12px;line-height: 32px;text-indent: 5px;background-position: 0 -55px;}
.rlist li a {margin-left: 5px;}
.item {float: right;position: relative;}
.item:first-child {float: left;}
.item p {position: absolute;left: 0;bottom: 0;width: 100%;height: 22px;overflow: hidden;font-size: 12px;text-indent: 10px;line-height: 22px;background-color: rgba(62, 99, 4, 0.5);background-color: #000\9;}
.item a {color: #fff;text-decoration: none;}
.rlist li a:first-child {color: #3e6304;margin: 0 5px;}
/* 图片网格：仅此处使用 .grid/.cell/.item/.txt */
.grid {width: 330px;float: left;position: relative;margin-left: -14px;}
.cell {float: left;margin: 12px 0 0px 15px;width: 150px;}
.item img {width: 150px;height: 88px;border-radius: 5px;overflow: hidden;margin-left: 6px;transition: all 1s ease 0s;}
.cell:hover .item img {-webkit-transform: scale(1.1);transform: scale(1.1);background: #333;}
.cell:hover .txt {background: #f5fae8;}
.txt {font-size: 13px;line-height: 26px;max-height: 50px;width: 150px;position: relative;text-align: center;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;color: #3d3d3d;}
.txt::after {position: absolute;bottom: 0;right: 0;padding-left: 40px;background: -webkit-linear-gradient(left, transparent, #fff 55%);background: -o-linear-gradient(right, transparent, #fff 55%);background: -moz-linear-gradient(right, transparent, #fff 55%);background: linear-gradient(to right, transparent, #fff 55%);}
.rlist li {font-size: 14px;line-height: 34px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.rlist li a:hover {color: #578A06;}
.along {width: 1200px;margin: 0 auto;border-top: solid 0px #e4e4e4;}
/* ===== 列表样式（新闻列表卡片） ===== */
.block {margin: 5px 0px 10px 0px;height: 44px;line-height: 44px;border-bottom: 1px solid #d0dfb6;}
.block-title {height: 44px;line-height: 44px;border-bottom: 2px solid #578A06;float: left;font-size: 20px;font-weight: bold;color: #3e6304;}
.block a {color: #3e6304;}
.block:hover {border-bottom: 2px solid #7ab806;}
.block:hover a {color: #578A06;}
.feed {margin-top: 1px;overflow: hidden;}
.feed ul {margin-top: -5px;}
.feed li {border-bottom: 1px solid #e6f0c8;padding: 15px 0px;position: relative;overflow: hidden;text-overflow: ellipsis;transition: background 0.25s ease;}
.feed li:hover {background: #f5fae8;}
/* 图片色块 */
.feed .pic img {float: left;width: 260px;height: 146px;border-radius: 5px;margin-right: 30px;max-width: 100%;}
/* 纯色块：260×146，尺寸不变；文字水平+垂直居中 */
.feed .pic > span {display: flex;align-items: center;justify-content: center;float: left;width: 260px;height: 146px;margin-right: 30px;box-sizing: border-box;
    padding: 0 6px;border-radius: 5px;color: #fff;font-size: 14px;font-weight: 600;line-height: 1.4;text-align: center;word-break: break-all;overflow: hidden;background-color: #b5c48f;}
.feed table {height: 125px;}
.feed .tag {line-height: 45px;height: 45px;}
.feed h3 {font-size: 18px;line-height: 26px;max-height: 52px;margin-top: 5px;font-weight: bold;color: #3d3d3d;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;display: -webkit-box;-webkit-line-clamp: 2;transition: color 0.25s ease;}
.feed li:hover h3 {color: #578A06;}
.feed p {line-height: 25px;height: 25px;margin-top: 0px;}
.feed p span {color: #6b7a55;margin-right: 20px;}
.feed p label {color: #9aa88a;}
.brief {height: 45px;overflow: hidden;font-size: 14px;line-height: 24px;color: #666666;}
.brief .more {margin-left: 20px;font-size: 14px;color: #578A06;}
.brief .more span {margin-left: 5px;font-family: "simsun";}
.brief .more:hover {color: #3e6304;}
.labels {height: 25px;margin-top: 10px;font-size: 12px;}
.labels a {height: 22px;display: inline-block;padding: 0 10px;margin-right: 5px;line-height: 22px;color: #8a9a70;border: 1px solid #d0dfb6;border-radius: 2px;}
.labels a:hover {color: #578A06;border-color: #578A06;}

/* ===== 分页 ===== */
#pager {text-align:center;font-family:"Microsoft YaHei","宋体",sans-serif;font-size:12px;margin-top:15px;padding:10px 0;}
#pager a, #pager span {display:inline-block;padding:5px 12px;margin:0 2px;border:1px solid #d0dfb6;border-radius:3px;line-height:1.2;text-align:center;vertical-align:middle;}
#pager a {color:#3d3d3d;text-decoration:none;background:#fafdf5;}
#pager a:hover {background:#f0f6e0;border-color:#a9c47a;color:#578A06;}
#pager .current {background:#578A06;color:#fff;border-color:#578A06;}
#pager .disabled {color:#9aa88a;border-color:#eef5d8;}
#pager a t, #pager span t {border:none !important;padding:0 !important;margin:0 !important;display:inline;background:transparent !important;color:#3d3d3d;}
/* ===== 内容区 ===== */
.post {overflow: hidden;}
.post-body {margin: 0px 0;}
.post-body h1 {font-size: 24px;line-height: 1.3;padding-top: 10px;margin: 0 auto;text-align: center;margin-bottom: 10px; }
.info {margin: 0 auto;text-align: center;width: auto; max-width: 650px; font-size: 12px;line-height: 20px;margin-bottom: 10px;color: #666;padding: 0 15px;}
.info > * {margin-right: 10px;}
#Btn1, #Btn2 {border: 1px solid #eef5d8;padding: 0px 6px 0px 6px;cursor: pointer;}
.prose {font-size: 16px;line-height: 2em;text-align: justify;text-justify: inter-ideograph;border-top: 1px solid #e6f0c8;padding: 0 10px;}
.prose p {margin: 5px 0;}
.prose img, .prose p img {max-width: 100% !important;width: auto !important;height: auto !important;display: inline;font-weight: normal !important;}
.edit {float: right;font-size: 12px;color: #666;margin-right: 30px;}
/* ===== 底部 ===== */
#fnav {background: linear-gradient(to bottom, #fafdf5 0%, #f5fae8 100%);color: #3d3d3d;text-align: center;line-height: 30px;padding-top: 10px;margin-top: 10px;border-top: 2px solid #578A06;}
#fcopy {background: linear-gradient(to bottom, #f5fae8 0%, #f0f6e0 100%);color: #7a8a5f;text-align: center;line-height: 30px;padding-top: 0px;border-top: 0px solid #d0dfb6;}
#fnav a, #fcopy a {color: #7a8a5f;}
#fnav a:hover, #fcopy a:hover {color: #578A06 !important;}
/* ===== 头部 ===== */
.head {width: 1200px;margin: 0 auto;overflow: hidden;}
.head-main {overflow: hidden;margin-top: 20px;padding-bottom: 20px;width: 1200px;position: relative;}
.head-main {overflow: hidden;}
.head-main .head-nav {float: left;}
.head-main .seek {float: right;}
.head-main .brand {float: left;}
.logo-img {float: left;}
.logo-img a {float: left;height: auto;display: block;}
.logo-img img {width: auto;height: auto;max-height: 60px;display: block;}
/* 动态Logo样式 */
.brand {display: flex;align-items: center;gap: 8px;}
.brand a {display: flex;align-items: center;gap: 8px;text-decoration: none;}
.logo-icon {font-size: 34px;display: inline-block;animation: logoFloat 3s ease-in-out infinite;filter: drop-shadow(0 2px 4px rgba(87, 138, 6, 0.1));color: #578A06;}
.logo-text {background: linear-gradient(135deg, #578A06 0%, #3e6304 100%);-webkit-background-clip: text;background-clip: text;color: transparent;letter-spacing: 1px;font-size: 28px;font-weight: bold;position: relative;}
.logo-text::after {content: '';position: absolute;bottom: -4px;left: 0;width: 0;height: 2px;background: linear-gradient(90deg, #578A06, #7ab806);transition: width 0.3s ease;}
.brand:hover .logo-text::after {width: 100%;}
.brand:hover {transform: scale(1.02);filter: drop-shadow(0 2px 8px rgba(87, 138, 6, 0.3));}
@keyframes logoFloat {0%, 100% {transform: translateY(0px);} 50% {transform: translateY(-3px);}}
.chan {position: absolute;margin-top: 2px;margin-left: 15px;width: 225px;text-decoration: none;font-size: 24px;color: #3d3d3d;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.chan a {font-size: 22px;color: #3d3d3d;text-decoration: none;}
.chan a:hover {color: #578A06;}

.head-main ul {width: 365px;margin: 21px 0 0 0;float: left;padding: 0;}
.head-main ul li {float: left;margin: 0 6px;}
.head-main ul li a {display: block;padding: 5px 0;font-size: 14px;color: #333;text-decoration: none;white-space: nowrap;}
.head-main ul li a:hover {color: #578A06;}
.head-main #i_home, .head-main #i_menu {display: none;}
/* ===== 其他 ===== */
.body {margin-bottom: 0px;margin-top: 0px;}
.side-b {*zoom: 1;}
.body:after, .side-b:after {clear: both;display: block;overflow: hidden;height: 0;visibility: hidden;content: ".";}
.body-col {width: 810px;margin-top: 0px;float: left;border-top: 1px solid #e6f0c8;}
.path {padding-top: 10px;}
.path > * {font-size: 14px;}
/* 修复：正文图片失败时"小编推荐"错位，且保持与正文同宽 */
.post { overflow: hidden; }
.block,
.feed { clear: both; width: 100%; max-width: 810px; box-sizing: border-box; }
.rail { float: right; margin-top: -10000px; padding-top: 10000px; }

/* ★★★ 核心修改：内容页/栏目页/父栏目页统一 Grid 布局，右栏始终与左栏顶部对齐 ★★★ */
.body {
    display: grid;
    grid-template-columns: 810px 330px;
    column-gap: 60px;
    width: 1200px;
    margin: 0 auto;
    align-items: start;
    clear: both;
}
.body-col {
    width: 810px;
    min-width: 0;
    margin-top: 0px;
    float: none;
    border-top: 1px solid #e6f0c8;
    display: block;
    overflow: visible;
    grid-column: 1;
    grid-row: 1;
}
/* 内容页：小编推荐标题与列表跟随左栏第 2、3 行 */
.body > .block { grid-column: 1; grid-row: 2; width: 810px; }
.body > .feed  { grid-column: 1; grid-row: 3; width: 810px; }
/* 右栏固定在左栏第 1 行，顶部对齐（覆盖上面 float + 负 margin hack） */
.body > .rail {
    grid-column: 2;
    grid-row: 1;
    width: 330px;
    float: none;
    align-self: start;
    margin-top: 10px;
    padding-top: 0;
    position: static;
}

/* ===== 响应式：平板端 ===== */
@media screen and (max-width: 1024px) {
body .menu {display: block;}
.menu {border: none;background-color: transparent;height: auto;z-index: 1800;}
.menu-list li i {display: none;}
.menu.menu-wrap {width: 100%;}
.media {display: none;}
.menu {display: none;}
.menu .menu-list {position: absolute;right: 0;top: 0;width: 100px;height: 100%;background: linear-gradient(to bottom, #3e6304 0%, #578A06 100%);}
.menu-list li:first-child a:after {font-size: 14px;content: "";color: #fff;}
.menu-list li {float: none;}
.menu-list li a {padding: 0;width: 100%;border-bottom: 1px solid #4f7605;text-align: center;color: #fff;}
.menu-list li a:link, .menu-list li a:visited {color: #fff;}
.menu-list li a:hover {background-color: #7ab806;border-left: 2px solid #a9c47a;color: #fff;}
.showmenu {-webkit-transform: translate3d(-100px, 0px, 0px);transition: all 0.1s;}
.menu-mobile {display: none;transition: all 0.3s;}
.menu-list li:first-child a:link, .menu-list li:first-child a:visited {line-height: 49px;padding: 0px;}
}
/* ===== 响应式：手机端 ===== */
@media screen and (max-width: 768px) {
.pop {display: none;}
.post .prose p {font-weight: normal !important;}
.post {overflow: inherit;display: inline-block;width: 100%;}
.post-body .info {margin-top: 15px;overflow: inherit;display: inline-block;width: 100%;}
.share-fixed, .article-share {display: none;}
.body-col.path, .head-main ul, .side-tool, .stage-head, .box, .along, .tile, .seek, .rail, .side {display: none;}
.head-nav > a {background-image: url(/skin/ico.png); background-size: 98% 96%;}
.head {width: auto;padding-bottom: 10px;}
.head-main {border-bottom: none;margin: 0;padding: 0;}
.head-nav {position: relative;width: 100%;height: 49px;background: linear-gradient(to bottom, #fafdf5 0%, #f5fae8 100%);border-top: 2px solid #578A06;}
.head-nav > a {display: block !important;position: absolute;top: 12px;width: 24px;height: 24px;}
.head-nav > a#i_home {left: 10px;background-position: -25px -100px;}
.head-nav > a#i_menu {right: 10px;background-position: 0 -100px;}
.chan {width: 180px;margin-left: 0px;font-size: 20px;margin-top: 5px;}
.head-main {overflow: hidden;width: auto;}

/* ★ 关键：手机端彻底退出 grid，避免 330px 第二列撑出视口 */
.body {
    background: none;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: none;
    column-gap: 0;
}
.body > * {float: none;width: 100%;max-width: 100%;box-sizing: border-box;}
.body-col {width: 100%;max-width: 100%;box-sizing: border-box;}
.rail {display: none;}

.post .article-tool, .article-relate, .rbox, .app, .brief, .labels, .seek, .seek_r, .seek_in, #fnav, .rescue, .rescue_l, .rbox, #bar, .bar, #ad {display: none;}
.post h1 {font-size: 22px;line-height: 30px;margin: 0px 10px 0px 10px;}
.post .prose {padding: 0;font-size: 18px;line-height: 32px;}
.post .prose #text_content {padding: 0 5px;}
.post .prose p {font-size: 1.1em;line-height: 1.9em;margin: 10px 10px 0px 10px;}
.post .prose .edit {margin-right: 15px;padding-bottom: 0px;}
.col {padding-top: 10px;}

.block {margin: 0em 3% 1em 3%; width: auto; max-width: 94%; box-sizing: border-box;}
.feed {margin: 2px 3%; width: auto; max-width: 94%; box-sizing: border-box; overflow: hidden;}
.feed li {border-bottom: 1px solid #e6f0c8;padding: 1em 0em 1em 0em;position: relative;overflow: hidden;text-overflow: ellipsis;width: 100%; max-width: 100%; box-sizing: border-box;}
.feed li:hover {background: #f5fae8;}
.feed .pic img, .feed .pic > span {float: left;width: 10em;height: 6.2em;border-radius: 0.2em;margin-right: 1em;max-width: 40%;}
.feed .pic + div {display: flex;flex-direction: column;justify-content: center;height: 6.2em;margin-left: 11em;overflow: hidden;max-width: calc(100% - 11em);box-sizing: border-box;}
.feed .pic > span {display: flex;align-items: center;justify-content: center;box-sizing: border-box;padding: 0 0.4em;color: #fff;font-size: 0.9em;font-weight: 600;line-height: 1.3;text-align: center;word-break: break-all;overflow: hidden;background-color: #b5c48f;}
.feed > div > div {display: block;float: none;margin-left: 11em;min-height: 6.2em;height: 6.2em;overflow: hidden;max-width: calc(100% - 11em);box-sizing: border-box;}
.feed .tag {display: none;}
.feed table {height: 4.8em;font-size: 1em;}
.feed h3 {font-size: 1.2em;font-weight: normal;line-height: 1.8em;max-height: 3.6em;margin-top: -10px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;color: #3d3d3d;width: 100%; max-width: 100%; box-sizing: border-box; word-break: break-all; overflow-wrap: break-word;}
.feed h3 a {word-break: break-all; overflow-wrap: break-word;}
.feed p {font-size: 1.0em;height: auto;line-height: 1.2em;margin-top: 0;overflow: visible;white-space: nowrap;max-width: 100%;box-sizing: border-box;}
.feed p span {color: #6b7a55;margin-right: 1em;}
.feed p label {color: #9aa88a;}
.feed .brief {max-width: 100%; box-sizing: border-box; word-break: break-all; overflow-wrap: break-word;}
.stage-main {margin-left: 6px;width: 450px;}
.tile {margin-top: 12px;padding-bottom: 10px;overflow: hidden;border: 1px solid #d0dfb6;float: left;}
#foot {background: linear-gradient(to bottom, #fafdf5 0%, #f5fae8 100%);color: #3d3d3d;text-align: center;line-height: 26px;padding-top: 0px;border-top: 0px solid #578A06;}
#pager {text-align: center;font-family: 宋体;font-size: 12px;margin-top: 10px;}
#pager a {text-align: center;display: inline-block;width: auto;height: 27px;line-height: 30px;background: #fafdf5;color: #3d3d3d;border: 1px solid #d0dfb6;text-align: center;padding: 0 5px;}
#pager a:hover {background: #578A06;color: #fff;text-decoration: none;}
#pager b {text-align: center;display: inline-block;width: 12px;height: 27px;line-height: 30px;background: #578A06;color: #fff;border: 1px solid #d0dfb6;text-align: center;padding: 0 5px;}
#pager b a:hover {background: #7ab806;color: #fff;text-decoration: none;}
}
/* ===== 额外响应式 ===== */
@media screen and (max-width: 560px) {
div.windows-define-dg {width: 480px !important;}
}
@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 667px) and (min-device-width: 375px) {
#text_content, #text_content p {font-size: 17px;line-height: 1.6;}
}
@media (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
.post h1 {font-size: 25px;line-height: 1.4;}
}

/* ============================================================
   代码块样式（静态内容页显示用）
   与编辑器 editor.css 中的代码块样式保持一致
   ============================================================ */
.code-block-container { margin: 1.2em 0; border-radius: 12px; overflow: hidden; background: #0f172a; font-family: 'Fira Code', 'JetBrains Mono', 'Cascadia Code', 'SF Mono', 'Courier New', monospace; border: 1px solid #334155; }
.code-block-header { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 16px; background: #0a0f1c; border-bottom: 1px solid #1e293b; }
.code-block-header button { background: rgba(255, 255, 255, 0.08); border: none; color: #94a3b8; padding: 4px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 500; transition: all 0.15s; }
.code-block-header button:hover { background: #1e293b; color: #f1f5f9; }
.code-editor-wrapper { display: flex; background: #0f172a; overflow: hidden; position: relative; height: auto; max-height: 380px; overflow-y: auto; }
.code-line-numbers { background: #0a0f1c; color: #5b6e8c; font-family: inherit; font-size: 13.5px; line-height: 1.55; text-align: right; padding: 16px 12px 16px 16px; user-select: none; pointer-events: none; white-space: pre; border-right: 1px solid #1e293b; flex-shrink: 0; position: relative; z-index: 2; height: 100%; overflow: hidden; }
.code-scroll-area { flex: 1; overflow: auto; position: relative; height: 100%; }
.code-content-wrap { position: relative; display: block; min-height: 100%; }
.code-text { display: none; }
.code-highlight-wrap { position: relative; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.code-highlight { padding: 16px; font-family: inherit; font-size: 13.5px; line-height: 1.55; white-space: pre; color: #e2e8f0; background: #0f172a; margin: 0; min-height: 100%; overflow-x: auto; }
.code-highlight .keyword { color: #7aa2f7; font-weight: 500; }
.code-highlight .string { color: #9ece6a; }
.code-highlight .comment { color: #565f89; font-style: italic; }
.code-highlight .number { color: #ff9e64; }
.code-highlight .function { color: #bb9af7; font-weight: 500; }
.code-scroll-area::-webkit-scrollbar { width: 10px; height: 10px; }
.code-scroll-area::-webkit-scrollbar-track { background: #0f172a; }
.code-scroll-area::-webkit-scrollbar-thumb { background: #334155; border-radius: 5px; }
.code-scroll-area::-webkit-scrollbar-thumb:hover { background: #475569; }
@media (max-width: 768px) {
.code-block-container { border-radius: 6px; margin: 10px 0; max-width: 100%; overflow: hidden; }
.code-block-header { padding: 4px 10px; flex-wrap: wrap; gap: 4px; }
.code-block-header button { font-size: 10px; padding: 2px 8px; }
.code-editor-wrapper { max-height: 260px; }
.code-text, .code-highlight { font-size: 11px; padding: 10px; line-height: 1.4; }
.code-line-numbers { font-size: 11px; padding: 10px 4px 10px 8px; min-width: 24px; }
}