/* ===== 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "微软雅黑", SimSun, Arial, sans-serif;
    font-size: 16px; color: #333; background: #eef2ee; line-height: 1.7;
}
a { color: #333; text-decoration: none; }
a:hover { color: #2e7d32; }
img { border: 0; display: block; }
ul { list-style: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.08); }/* ===== SVG 图标通用 ===== */


.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; vertical-align: -0.14em; flex: none; }/* ===== 顶部：logo + 功能导航 ===== */


.topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px 14px; }
.logo { display: flex; align-items: center; margin-left: 30px; }
.logo img { height: var(--logo-h, 52px); width: auto; margin-right: 15px; }
.logo .sitename { display: block; font-size: 27px; font-weight: bold; color: #1b5e20; letter-spacing: 2px; }
.logo .subname { display: block; font-size: 13px; color: #9bb09c; letter-spacing: 2px; margin-top: 2px; }

.topnav { display: flex; align-items: center; font-size: 15px; color: #888; }
.topnav a { display: flex; align-items: center; gap: 4px; color: #666; padding: 4px 2px; }
.topnav a .ic { font-size: 16px; color: #7ba37d; }
.topnav a:hover .ic { color: #2e7d32; }
.topnav .sep { color: #ddd; margin: 0 8px; }/* 搜索框 */


.search { display: flex; align-items: center; margin-right: 20px; }
.search input {
    width: 190px; height: 38px; padding: 0 14px; font-size: 15px; font-family: inherit;
    border: 1px solid #dcdcdc; border-right: 0; border-radius: 19px 0 0 19px; outline: none; background: #fafcf9;
}
.search input:focus { border-color: #2e7d32; background: #fff; }
.search button {
    width: 40px; height: 38px; display: flex; align-items: center; justify-content: center;
    background: #2e7d32; border: 0; border-radius: 0 19px 19px 0; cursor: pointer; color: #fff;
}
.search button .ic { font-size: 17px; }
.search button:hover { background: #1b5e20; }/* ===== 主导航栏（含二级下拉） ===== */


.mainnav { background: #2e7d32; box-shadow: 0 2px 6px rgba(0,0,0,.12); position: relative; z-index: 50; }
.mainnav ul { display: flex; }
.mainnav > ul > li { flex: 1; text-align: center; position: relative; }
.mainnav > ul > li > a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    line-height: 58px; color: #fff; font-size: 19px; letter-spacing: 2px;
    border-right: 1px solid rgba(255,255,255,.12);
}
.mainnav > ul > li:last-child > a { border-right: 0; }
.mainnav > ul > li > a .ic { font-size: 21px; opacity: .92; }
.mainnav > ul > li > a:hover { background: #1b5e20; }
.mainnav > ul > li > a.cur { background: #15431a; font-weight: bold; box-shadow: inset 0 -3px 0 #ffd54f; }/* 顶级菜单的小箭头 */


.mainnav .caret { font-size: 13px; opacity: .7; margin-left: 1px; transition: transform .25s; }
.mainnav li.has-sub:hover > a .caret { transform: rotate(180deg); opacity: 1; }/* 二级下拉面板 */


.subnav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 3px solid #ffd54f;
    box-shadow: 0 8px 18px rgba(0,0,0,.16);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .25s, transform .25s, visibility .25s;
    z-index: 60;
}
.mainnav li.has-sub:hover .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav ul { display: block; }
.subnav li a {
    display: block; padding: 0 14px; line-height: 44px;
    color: #555; font-size: 16px; text-align: center; letter-spacing: 1px;
    border-bottom: 1px solid #f2f6f2; transition: all .2s;
}
.subnav li:last-child a { border-bottom: 0; }
.subnav li a:hover { background: #f0f7f0; color: #2e7d32; }
.subnav li a.on { background: #e8f3e9; color: #2e7d32; font-weight: bold; box-shadow: inset 3px 0 0 #2e7d32; }/* ===== 轮换大图 ===== *//* 显示区 1200×var(--banner-h)；高度可在后台「首页与页脚 → 显示尺寸」调整，默认 430 */



.banner { position: relative; width: 100%; height: var(--banner-h, 430px); overflow: hidden; }
.banner .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.banner .slide.active { opacity: 1; pointer-events: auto; }   /* 只有当前帧吃点击，避免点到隐形的相邻帧 */
.banner .slide img { width: 100%; height: var(--banner-h, 430px); object-fit: cover; }
/* 整块可点层：后台「轮播大图 → 点击链接」填了才输出；压在字幕之上、左右箭头与圆点之下 */
.slide-link { position: absolute; inset: 0; z-index: 2; display: block; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 30px 26px;
    background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0)); color: #fff; }
.slide-cap b { display: block; font-size: 28px; letter-spacing: 3px; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.slide-cap span { font-size: 16px; opacity: .9; letter-spacing: 1px; }

.banner .arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 62px;
    background: rgba(0,0,0,.28); color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5; opacity: 0; transition: opacity .3s, background .3s;
}
.banner:hover .arrow { opacity: 1; }
.banner .arrow .ic { font-size: 28px; stroke-width: 2.2; }
.banner .arrow:hover { background: rgba(0,0,0,.55); }
.banner .arrow.prev { left: 0; border-radius: 0 24px 24px 0; }
.banner .arrow.next { right: 0; border-radius: 24px 0 0 24px; }

.banner .dots { position: absolute; bottom: 16px; right: 26px; display: flex; gap: 9px; z-index: 5; }
.banner .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; display: block; transition: all .25s; }
.banner .dots i.on { background: #fff; width: 26px; border-radius: 6px; }/* ===== 公园概况 数据条 ===== */


.factbar {
    display: flex; align-items: center; justify-content: space-around;
    background: linear-gradient(90deg, #f0f8f1, #e4f2e6, #f0f8f1);
    border-bottom: 1px solid #dceadc; padding: 14px 10px;
}
.fact { display: flex; align-items: center; gap: 12px; }
.fact .ic { width: 40px; height: 40px; font-size: 42px; color: #4c9a51; stroke-width: 1.4; }
.fnum { font-size: 26px; font-weight: bold; color: #1b5e20; line-height: 1.1; }
.fnum span { font-size: 14px; color: #6d8f70; font-weight: normal; margin-left: 3px; }
.flabel { font-size: 14px; color: #7d9a80; }/* ===== 通用栏目标题 ===== */


.sec-title { display: flex; align-items: center; justify-content: space-between;
    border-bottom: 2px solid #2e7d32; padding-bottom: 10px; margin-bottom: 16px; }
.sec-title h2 { display: flex; align-items: center; gap: 8px; font-size: 21px; color: #1b5e20; }
.sec-title h2 .ic { font-size: 22px; color: #2e7d32; }
.sec-title .more { display: flex; align-items: center; gap: 4px; font-size: 15px; color: #888; }
.sec-title .more .ic { font-size: 15px; }
.sec-title .more:hover { color: #2e7d32; }/* ===== 首页两栏 ===== *//* 可用宽 = 1200 - 26*2 = 1148；两栏 + 26 间距 → 每栏 561 */



.home-cols { display: flex; gap: 26px; padding: 22px 26px 6px; }
.col-left, .col-right { flex: 1; min-width: 0; }

.imgnews .imgbox { position: relative; display: block; overflow: hidden; border-radius: 4px; }
.imgnews .imgbox img { width: 100%; height: var(--imgnews-h, 330px); object-fit: cover; transition: transform .5s; }
.imgnews .imgbox:hover img { transform: scale(1.06); }
.imgnews .tag {
    position: absolute; left: 0; top: 14px; background: #ff6f43; color: #fff;
    font-size: 14px; padding: 4px 12px; border-radius: 0 14px 14px 0;
}
.imgnews .cap { margin-top: 12px; font-size: 19px; font-weight: bold; text-align: center; }
.imgnews .cap a { color: #222; }
.imgnews .cap a:hover { color: #2e7d32; }

/* 列表标题前的小图标（内联 SVG）：置顶=星 带图=相册 普通=报纸，用哪个由 t_post_ic() 判定 */
.li-ic { font-size: 17px; color: #a9bfa9; transition: color .2s; }
.li-ic.li-ic-img { color: #4c9a51; }
.li-ic.li-ic-col { color: #7ba37d; }
.li-ic.li-ic-top { color: #ff8f3c; }

.newslist li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #e3e3e3; }
.newslist li:last-child { border-bottom: 0; }
.newslist li .ic { font-size: 17px; }
.newslist li a { flex: 1; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.newslist li a:hover { color: #2e7d32; }
.newslist li .date { color: #aaa; font-size: 14px; white-space: nowrap; }
.newslist li:hover { background: #fafdfa; }
.newslist li:hover .li-ic { color: #2e7d32; }

/* ===== 首页可配置板块（便民服务与图片中心之间） ===== */
.home-blocks { display: flex; gap: 26px; padding: 22px 26px 6px; }
.home-blocks .hblock { flex: 1; min-width: 0; }
.home-blocks.one .hblock { flex: none; width: 100%; }   /* 只设了一个板块时占满整行 */
.hblock .album-grid { padding: 0 0 12px; }              /* 板块内不需要首页那对 26px 左右留白 */
.hblock .album-item { flex: 0 0 calc(50% - 9px); }      /* 半栏宽度里一行 2 张 */
.hblock .newslist li:last-child { border-bottom: 0; }/* ===== 便民服务 ===== */


.section { padding: 22px 26px 0; }
.service-grid { display: flex; gap: 16px; padding: 0 26px 6px; }
.service {
    flex: 1; display: flex; align-items: center; gap: 12px; padding: 16px 14px;
    border: 1px solid #e6efe6; border-radius: 6px; background: #fbfdfb; transition: all .28s;
}
.service .sic {
    width: 46px; height: 46px; flex: none; border-radius: 50%;
    background: #e8f3e9; color: #2e7d32; display: flex; align-items: center; justify-content: center;
}
.service .sic .ic { width: 24px; height: 24px; font-size: 26px; stroke-width: 1.6; }
.service .stxt { flex: 1; min-width: 0; }
.service .stxt b { display: block; font-size: 17px; color: #222; }
.service .stxt i { font-style: normal; font-size: 14px; color: #999; }
.service .arrow { font-size: 18px; color: #b9cdbb; transition: all .28s; }
.service:hover { border-color: #2e7d32; background: #fff; box-shadow: 0 4px 14px rgba(46,125,50,.14); transform: translateY(-2px); }
.service:hover .arrow { color: #2e7d32; transform: translateX(3px); }/* ===== 企业相册（小图） ===== *//* 可用宽 1148；一行 4 个 + 3 个 18 间距 → (1148-54)/4 = 273.5，用 flex-basis 均分 */



.album-grid { display: flex; flex-wrap: wrap; gap: 18px; padding: 0 26px 30px; }
.album-item { flex: 0 0 calc(25% - 13.5px); min-width: 0; }
/* 栏目页（在 .content 侧栏右侧）仍是一行 3 个，保持原设计 */
.content .album-item { flex: 0 0 calc(33.333% - 12px); }
.album-item .thumb {
    position: relative; display: block; width: 100%; height: var(--album-h, 196px); overflow: hidden;
    border-radius: 5px; border: 1px solid #e8eee8;
}
.album-item .thumb img { width: 100%; height: var(--album-h, 196px); object-fit: cover; transition: transform .45s; }
.album-item .thumb .zoom {
    position: absolute; inset: 0; background: rgba(27,94,32,.45); opacity: 0;
    display: flex; align-items: center; justify-content: center; transition: opacity .35s;
}
.album-item .thumb .zoom .ic { width: 26px; height: 26px; font-size: 28px; color: #fff; }
.album-item:hover .thumb img { transform: scale(1.1); }
.album-item:hover .thumb .zoom { opacity: 1; }
.album-item .cap { text-align: center; margin-top: 8px; font-size: 15px; color: #555; }
.album-item:hover .cap { color: #2e7d32; }/* 相册子页：在侧栏右侧内容区(924px)内一行 3 个 → (924-36)/3 = 296 *//* 相册子页：内容区 924px 内一行 3 个 → (924 - 18*2)/3 = 296 *//* 注意：.album-grid 自带 padding 0 26px（首页用），子页需归零，否则放不下 3 张 *//* ===== 友情链接 ===== */


.links { padding: 18px 26px; background: #f5faf5; border-top: 1px solid #e6efe6; }
.links .lt { display: flex; align-items: center; gap: 7px; font-weight: bold; color: #1b5e20; margin-bottom: 10px; }
.links .lt .ic { font-size: 19px; }
.lk-list a {
    display: inline-flex; align-items: center; margin: 0 10px 8px 0; padding: 5px 13px;
    color: #666; font-size: 15px; background: #fff; border: 1px solid #e2ece2; border-radius: 16px;
    transition: all .25s;
}
.lk-list a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #9fc49f; margin-right: 7px; }
.lk-list a:hover { color: #fff; background: #2e7d32; border-color: #2e7d32; }
.lk-list a:hover::before { background: #fff; }/* ===== 底部三栏 ===== */


.footer { background: #1b5e20; color: #b7d3b9; padding: 30px 26px 0; font-size: 15px; }
.foot-cols { display: flex; gap: 30px; }
.fcol { flex: 1; }
.fc-title {
    color: #fff; font-size: 17px; margin-bottom: 14px; padding-bottom: 9px; position: relative;
}
.fc-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: #ffd54f; border-radius: 2px; }
.fc-intro { line-height: 1.9; color: #a8caa9; }
.fc-nav li { margin-bottom: 9px; }
.fc-nav li .ic { font-size: 15px; color: #7bab7e; margin-right: 7px; }
.fc-nav a { color: #b7d3b9; }
.fc-nav a:hover { color: #ffd54f; }
.fc-contact li { display: flex; gap: 8px; margin-bottom: 9px; line-height: 1.7; }
.fc-contact .ic { font-size: 17px; color: #7bab7e; margin-top: 3px; }
.foot-extra {
    margin-top: 24px; padding-top: 16px; text-align: center; line-height: 1.9;
    border-top: 1px solid rgba(255,255,255,.13); color: #a8caa9;
}
.foot-extra a { color: #cfe8cf; }
.foot-extra a:hover { color: #ffd54f; }
.copyright {
    text-align: center; margin-top: 24px; padding: 15px 0 18px; line-height: 2;
    border-top: 1px solid rgba(255,255,255,.13); color: #9dc3a0;
}
.copyright a { color: #cfe8cf; margin: 0 4px; }
.copyright a:hover { color: #ffd54f; }/* ===== 子页：面包屑 + 布局 ===== */


.crumb { padding: 11px 26px; background: #eef5ee; color: #777; font-size: 15px; border-bottom: 1px solid #e0ebe0; }
.crumb a { color: #2e7d32; }
.sub-wrap { display: flex; gap: 24px; padding: 24px 26px; align-items: flex-start; }
.sidebar { width: 200px; flex: none; }
.sidebar .side-title { background: #2e7d32; color: #fff; padding: 12px; font-size: 17px; text-align: center; letter-spacing: 2px; }
.sidebar ul { border: 1px solid #e0ebe0; border-top: 0; }
.sidebar li a { display: block; padding: 14px 16px; border-bottom: 1px dashed #e6efe6; color: #555; }
.sidebar li a:hover, .sidebar li a.cur { background: #f0f7f0; color: #2e7d32; font-weight: bold; }
.sidebar li a.sub-item { padding-left: 32px; font-size: 15px; }
.sidebar li a.sub-item::before { content: "· "; color: #9cc79e; }
.content { flex: 1; min-width: 0; }
.content h1.title { font-size: 24px; color: #1b5e20; text-align: center; padding: 4px 0 14px; border-bottom: 1px solid #eee; }
.content .meta { text-align: center; color: #999; font-size: 15px; padding: 10px 0; }
.content .article { padding: 18px 6px; font-size: 17px; line-height: 2; color: #444; }
.content .article p { margin-bottom: 14px; text-indent: 2em; }/* 内容页配图 */


.article-img { margin: 6px 0 20px; }
.article-img img {
    display: block; width: 100%; max-width: var(--article-w, 760px); height: auto; border-radius: 4px;
    border: 1px solid #e6efe6;
}
.article-img figcaption { margin-top: 8px; font-size: 14px; color: #999; text-align: center; }/* ===== 列表型栏目 ===== */


.list-box { border: 1px solid #e6efe6; border-radius: 4px; overflow: hidden; }
.list-item { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px dashed #e6e6e6; transition: background .2s; }
.list-item:last-child { border-bottom: 0; }
.list-item:hover { background: #fafdfa; }
.list-item:hover .li-ic { color: #2e7d32; }
.list-item a { flex: 1; min-width: 0; color: #333; font-size: 17px; }
.list-item a:hover { color: #2e7d32; }
.list-item .date { color: #999; white-space: nowrap; }

/* ===== 栏目页：有子栏目时按子栏目分块显示 ===== */
.col-blocks .col-block { margin-bottom: 28px; }
.col-blocks .col-block:last-child { margin-bottom: 0; }
/* 块标题比首页板块轻一档：细线 + 小一号字，不跟页面自身层级抢 */
.col-block .sec-title { border-bottom-width: 1px; padding-bottom: 8px; margin-bottom: 10px; }
.col-block .sec-title h2 { font-size: 18px; }
.col-block .sec-title h2 .ic { font-size: 19px; }
/* 块内不需要首页那对 26px 左右留白；内容区 924px 内一行 3 张 → (924-18*2)/3 = 296 */
.col-block .album-grid { padding: 0 0 8px; }
.col-block .list-box { margin-bottom: 2px; }/* ===== 分页 ===== */


.pages { text-align: center; padding: 22px 0; }
.pages a, .pages span { display: inline-block; padding: 6px 14px; margin: 0 3px; border: 1px solid #ddd; color: #555; border-radius: 3px; }
.pages a:hover { border-color: #2e7d32; color: #2e7d32; }
.pages a.cur, .pages span.cur { background: #2e7d32; color: #fff; border-color: #2e7d32; }/* ===== 内容页 上下篇 ===== */


.pager { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eee; font-size: 16px; color: #666; }
.pager div { padding: 5px 0; }
.pager a { color: #2e7d32; }/* ===== 留言本 ===== */


.tip { background: #eef7ee; border: 1px solid #cfe6cf; color: #2e7d32; padding: 11px 15px; border-radius: 4px; margin-bottom: 18px; }/* ===== 相册灯箱 ===== */


.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: center; justify-content: center;
}
.lightbox.on { display: flex; }
.lb-mask { position: absolute; inset: 0; background: rgba(12, 26, 14, .88); }

.lb-stage {
    position: relative; z-index: 2;
    width: 90%; height: 90%;
    display: flex; flex-direction: column;
    background: #fff; border-radius: 6px; overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.5);
    animation: lbIn .26s ease;
}
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }/* 图片区 */


.lb-imgwrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #1c241d; cursor: zoom-out; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 1; }/* 底部信息 */


.lb-info { flex: none; padding: 18px 26px 20px; border-top: 1px solid #e4ebe4; background: #fff; }
.lb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lb-tag { display: inline-block; background: #2e7d32; color: #fff; font-size: 14px; padding: 3px 12px; border-radius: 13px; }
.lb-tag:empty { display: none; }
.lb-count { color: #999; font-size: 15px; }
.lb-title { font-size: 21px; color: #1b5e20; margin-bottom: 8px; }
.lb-desc { font-size: 16px; color: #666; line-height: 1.8; max-height: 4.5em; overflow-y: auto; }/* 关闭 / 上下张按钮 */


.lb-btn {
    position: absolute; z-index: 5; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.55); color: #fff; border: 0; border-radius: 50%;
    transition: background .22s, transform .22s;
}
.lb-btn:hover { background: rgba(0,0,0,.8); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 4%; right: 3.2%; width: 46px; height: 46px; }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev { left: 2%; top: 50%; margin-top: -28px; width: 56px; height: 56px; }
.lb-next { right: 2%; top: 50%; margin-top: -28px; width: 56px; height: 56px; }
.lb-prev:hover, .lb-next:hover { transform: scale(1.08); }
.lb-prev svg, .lb-next svg { width: 30px; height: 30px; }/* 窄屏适配（非响应式，仅做基本兜底） */


@media (max-width: 1280px) {
    .lb-stage { width: 94%; height: 88%; }
    .lb-prev { left: 1%; } .lb-next { right: 1%; }
}/* ===== 列表分页 / 富文本正文补充（Typecho 改造后新增） ===== */

.pager-list { text-align: center; }
.pager-list a {
    display: inline-block; margin: 0 3px; padding: 4px 11px;
    border: 1px solid #dfe6df; border-radius: 3px; background: #fff;
    color: #3c8a4b; font-size: 14px; text-decoration: none;
}
.pager-list a:hover { border-color: #3c8a4b; }
.pager-list a.cur { background: #3c8a4b; color: #fff; border-color: #3c8a4b; }
.pager-list .gap { display: inline-block; margin: 0 3px; padding: 4px 6px; color: #9aa79c; font-size: 14px; }

.article img { max-width: 100%; height: auto; }
.article h2 { font-size: 20px; margin: 16px 0 10px; color: #2c5e37; }
.article h3 { font-size: 17px; margin: 14px 0 8px; color: #2c5e37; }
.article blockquote {
    margin: 12px 0; padding: 8px 14px; border-left: 3px solid #cfe3d3;
    color: #666; background: #fafcfb;
}
.article ul, .article ol { padding-left: 24px; margin: 10px 0; }
.article a { color: #2e7d32; text-decoration: underline; }
.article table { border-collapse: collapse; margin: 12px 0; }
.article table td, .article table th { border: 1px solid #dfe6df; padding: 6px 10px; }/* Word 文档转换出的表格：宽表可横向滚动 */

.fc-more { display: inline-block; margin-top: 6px; color: #2e7d32; font-size: 13px; }
.lk-empty { color: #aaa; font-size: 13px; }

/* ===== 留言本 ===== */
.gb-tip { padding: 11px 15px; border-radius: 4px; margin: 0 0 16px; font-size: 15px; }
.gb-tip.ok { background: #eef7ee; border: 1px solid #cfe6cf; color: #2e7d32; }
.gb-tip.err { background: #fdeeee; border: 1px solid #f3cccc; color: #c0392b; }
.gb-form-card { border: 1px solid #e6efe6; border-radius: 6px; background: #fbfdfb; padding: 18px 20px 20px; margin-bottom: 22px; }
.gb-form-title { font-size: 18px; font-weight: bold; color: #1b5e20; margin-bottom: 14px; }
.gb-field { margin-bottom: 14px; }
.gb-field label { display: block; font-size: 15px; color: #555; margin-bottom: 6px; }
.gb-field label b { color: #c8161d; }
.gb-field input[type=text], .gb-field textarea {
    width: 100%; font-family: inherit; font-size: 15px; color: #333;
    border: 1px solid #d7e2d7; border-radius: 4px; padding: 9px 12px; background: #fff; outline: none;
}
.gb-field input[type=text]:focus, .gb-field textarea:focus { border-color: #2e7d32; }
.gb-field textarea { resize: vertical; line-height: 1.7; }
.gb-captcha-row { display: flex; align-items: center; gap: 12px; }
.gb-captcha-row input { width: 160px; }
.gb-captcha-img { height: 42px; width: 120px; border: 1px solid #d7e2d7; border-radius: 4px; cursor: pointer; background: #fff; }
.gb-submit .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 28px; font-size: 16px; color: #fff; background: #2e7d32;
    border: 0; border-radius: 4px; cursor: pointer;
}
.gb-submit .btn:hover { background: #1b5e20; }
.gb-note { margin-top: 12px; font-size: 13px; color: #999; }
.gb-list { display: flex; flex-direction: column; gap: 14px; }
.gb-item { border: 1px solid #e6efe6; border-radius: 6px; padding: 14px 16px; background: #fff; }
.gb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.gb-name { font-weight: bold; color: #1b5e20; font-size: 16px; }
.gb-date { color: #aaa; font-size: 13px; }
.gb-content { color: #444; line-height: 1.8; word-break: break-word; }
.gb-reply { margin-top: 10px; padding: 10px 12px; background: #f2f8f2; border-left: 3px solid #2e7d32; border-radius: 0 4px 4px 0; }
.gb-reply-tag { display: inline-block; background: #2e7d32; color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 11px; margin-right: 8px; vertical-align: 2px; }
.gb-reply-text { color: #35502f; }
.gb-reply-date { color: #9bb09c; font-size: 12px; margin-left: 8px; }
.gb-empty { color: #999; text-align: center; padding: 30px 0; }

/* ===== 响应式（手机端自适应）===== */
@media (max-width: 1000px) {
    .logo { margin-left: 14px; }
    .logo .sitename { font-size: 22px; }
    .col-left, .col-right { width: auto; }
}
@media (max-width: 768px) {
    body { font-size: 15px; }
    .topbar { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; }
    .logo { margin-left: 0; }
    .topnav { flex-wrap: wrap; justify-content: center; gap: 2px 0; }
    .search { margin: 0 0 6px; width: 100%; }
    .search input { width: 100%; }
    /* 主导航改为横向滑动，避免逐项堆叠占满屏幕 */
    .mainnav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .mainnav ul { display: flex; flex-wrap: nowrap; min-width: max-content; }
    .mainnav > ul > li { flex: 0 0 auto; }
    .mainnav > ul > li > a { padding: 0 16px; line-height: 50px; font-size: 16px; letter-spacing: 1px; }
    /* 二级下拉在触屏不可用，隐藏；栏目子项已在栏目页侧栏提供 */
    .subnav { display: none; }
    /* 首页两栏纵向堆叠 */
    .home-cols { flex-direction: column; gap: 18px; padding: 18px 16px 6px; }
    .imgnews .imgbox img { height: auto; aspect-ratio: 16 / 10; }
    /* 概况数据条两列 */
    .factbar { flex-wrap: wrap; gap: 12px 0; }
    .fact { width: 50%; justify-content: center; }
    /* 便民服务两列，窄时一列 */
    .service-grid { flex-wrap: wrap; padding: 0 16px 6px; }
    .service { flex: 0 0 calc(50% - 8px); }
    /* 相册两列 */
    .album-grid { padding: 0 16px 24px; gap: 12px; }
    .album-item { flex: 0 0 calc(50% - 6px); }
    .section { padding: 18px 16px 0; }
    /* 首页可配置板块：窄屏上下堆叠，板块内图片仍是一行 2 张 */
    .home-blocks { flex-direction: column; gap: 18px; padding: 18px 16px 0; }
    .home-blocks .hblock { flex: none; width: 100%; }
    .sec-title h2 { font-size: 18px; }
    /* 子页侧栏移到内容上方，横向可滑 */
    .sub-wrap { flex-direction: column; gap: 14px; padding: 16px; }
    .sidebar { width: 100%; }
    .links { padding: 16px; }
    .footer { padding: 24px 16px 0; }
    .foot-cols { flex-direction: column; gap: 22px; }
    .content h1.title { font-size: 20px; }
    .content .article { font-size: 16px; }
    .list-item { padding: 12px 12px; }
    .list-item a { font-size: 15px; }
    .banner, .banner .slide img { height: 200px; }
}
@media (max-width: 480px) {
    .fact { width: 50%; }
    .service { flex: 0 0 100%; }
    .mainnav > ul > li > a { padding: 0 12px; }
    .gb-captcha-row { flex-wrap: wrap; }
    .gb-captcha-img { width: 100%; }
}
