/* 睿格国际-国际学校脱产全日制A-Level/IB/AP课程与全球升学一站式规划 — geo-wp theme */
:root {
  --primary: #1f5fbf;
  --accent: #e8a13c;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --hero-bg: linear-gradient(135deg,#1e3a8a 0%,#2563eb 100%);
  --hero-text: #ffffff;
  --font-head: 'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
  --font-body: 'PingFang SC','Microsoft YaHei','Helvetica Neue',Arial,sans-serif;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(30,64,175,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.gw-topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; background: var(--surface); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.gw-brand { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.gw-nav a { margin-left: 22px; font-size: 14px; color: var(--muted); }
.gw-nav a:hover { color: var(--primary); }
.gw-hero { position: relative; overflow: hidden; color: var(--hero-text); background: var(--hero-bg); padding: 84px 24px; }
.gw-hero .gw-inner { max-width: 1080px; margin: 0 auto; }
.gw-hero h1 { font-family: var(--font-head); font-size: 40px; line-height: 1.22; }
.gw-hero p { margin-top: 16px; font-size: 17px; opacity: .92; max-width: 680px; }
.gw-hero .gw-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.gw-hero--center { text-align: center; }
.gw-hero--center p { margin-left: auto; margin-right: auto; }
.gw-hero--center .gw-actions { justify-content: center; }
.gw-hero--split .gw-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.gw-hero--split .gw-hero-img { border-radius: var(--radius); }
.gw-hero--minimal { padding: 120px 24px; }
.gw-hero--minimal h1 { font-size: 52px; letter-spacing: -1.5px; }
.gw-btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font-size: 15px; background: var(--accent); color: #1f2937; }
.gw-main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.gw-block { padding: 52px 0; }
.gw-block h2 { font-family: var(--font-head); font-size: 26px; margin-bottom: 8px; }
.gw-block .gw-sub { color: var(--muted); margin-bottom: 26px; }
.gw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; max-width: 960px; margin: -40px auto 0; position: relative; z-index: 3; }
.gw-stat { text-align: center; }
.gw-stat b { font-family: var(--font-head); font-size: 30px; color: var(--primary); }
.gw-stat span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.gw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 20px; }
.gw-card { display: block; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.gw-card:hover { transform: translateY(-4px); }
.gw-card img { width: 100%; height: 160px; object-fit: cover; }
.gw-card .gw-card-body { padding: 16px; }
.gw-card h3 { font-family: var(--font-head); font-size: 17px; margin-bottom: 6px; }
.gw-card p { font-size: 13px; color: var(--muted); }
.gw-svc { background: var(--surface); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.gw-svc h4 { color: var(--primary); margin-bottom: 6px; }
.gw-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }
.gw-gallery img { border-radius: var(--radius); aspect-ratio: 1/1; object-fit: cover; }
.gw-contact { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.gw-contact span { display: inline-block; margin: 6px 28px 6px 0; }
.gw-empty { color: var(--muted); }
.gw-footer { text-align: center; color: var(--muted); padding: 32px; font-size: 13px; margin-top: 40px; border-top: 1px solid rgba(0,0,0,.05); }
.gw-article { max-width: 780px; margin: 0 auto; padding: 40px 24px; background: var(--surface); }
.gw-article .gw-tag { color: var(--accent); font-size: 13px; font-weight: 600; }
.gw-article h1 { font-family: var(--font-head); font-size: 30px; margin: 10px 0 18px; }
.gw-article .gw-cover { width: 100%; border-radius: var(--radius); margin-bottom: 20px; }
.gw-article .gw-content { font-size: 16px; }
.gw-content p { margin: 10px 0; }
.gw-content h2, .gw-content h3, .gw-content h4 { font-family: var(--font-head); margin: 22px 0 10px; }
.gw-content ul, .gw-content ol { margin: 10px 0 10px 22px; }
.gw-content img { border-radius: var(--radius); margin: 14px 0; }
.gw-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.gw-content th, .gw-content td { border: 1px solid rgba(0,0,0,.12); padding: 8px 10px; text-align: left; vertical-align: top; }
.gw-content th { background: rgba(0,0,0,.04); font-weight: 600; }
.gw-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.gw-badge--fact { background: rgba(16,185,129,.12); color: #047857; }
.gw-badge--opinion { background: rgba(245,158,11,.15); color: #b45309; }
.gw-tldr { margin: 14px 0 20px; padding: 14px 16px; border-left: 4px solid var(--primary); background: rgba(0,0,0,.03); border-radius: 4px; font-size: 15px; }
.gw-tldr b { font-family: var(--font-head); }
.gw-disclaimer { margin: 14px 0; padding: 12px 16px; border-left: 4px solid #f59e0b; background: rgba(245,158,11,.08); font-size: 14px; color: #92400e; border-radius: 4px; }
.gw-source { margin-top: 28px; padding: 18px 20px; background: rgba(0,0,0,.02); border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius); font-size: 13px; color: var(--muted); }
.gw-source h2 { font-size: 15px; margin-bottom: 10px; color: var(--text); }
.gw-source ul { margin: 0; list-style: none; }
.gw-source li { margin: 4px 0; }
/* --- 分类信息站：频道导航 / 列表 / 分页 / 面包屑 --- */
.gw-crumb { padding: 18px 0 0; font-size: 13px; color: var(--muted); }
.gw-crumb a:hover { color: var(--primary); }
.gw-crumb span { margin: 0 6px; }
.gw-catgroup { margin-bottom: 26px; }
.gw-catgroup h2 { font-size: 19px; margin-bottom: 12px; }
.gw-catgroup h2 a:hover { color: var(--primary); }
.gw-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-cats a { display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; color: var(--text); }
.gw-cats a:hover { background: var(--primary); color: #fff; }
.gw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 14px; }
.gw-item { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.gw-item h3 { font-family: var(--font-head); font-size: 16px; margin-bottom: 6px; }
.gw-item h3 a:hover { color: var(--primary); }
.gw-item p { font-size: 13px; color: var(--muted); }
.gw-item time { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.gw-item-cat { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(0,0,0,.05); font-size: 12px; color: var(--muted); }
a.gw-item-cat:hover { background: var(--primary); color: #fff; }
.gw-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.gw-pager a, .gw-pager-cur { display: inline-block; min-width: 36px; padding: 6px 12px; text-align: center; border-radius: 6px; background: var(--surface); box-shadow: var(--shadow); font-size: 14px; }
.gw-pager a:hover { background: var(--primary); color: #fff; }
.gw-pager-cur { background: var(--primary); color: #fff; font-weight: 600; }
.gw-pager-info { margin-left: 6px; font-size: 13px; color: var(--muted); }
.gw-pagehead { padding: 34px 0 0; }
.gw-pagehead h1 { font-family: var(--font-head); font-size: 28px; margin-bottom: 8px; }
.gw-pagehead .gw-sub { color: var(--muted); }
@media (max-width: 720px) {
  .gw-topbar { padding: 12px 16px; }
  .gw-nav { display: none; }
  .gw-hero { padding: 64px 20px; }
  .gw-hero h1 { font-size: 30px; }
  .gw-hero--split .gw-inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
 * 列举网版式（城市分类信息站）：顶部工具条 / Logo区 / 主导航 / 新发布信息流 /
 * 频道分类区块 / 列表页 / 详情页 / 页脚
 * 说明：本层置于末尾，覆盖上方通用层的基础排版；上方 gw-* 版式块样式保留，
 *       供非城市站（企业站）的 layout sections 继续使用。
 * ========================================================================== */
/* 基础排版仅作用于「城市分类信息站」（body.lj-site），避免影响企业站 */
body.lj-site { font-family: "Microsoft YaHei", "Hiragino Sans GB", "arial", "宋体"; font-size: 14px; color: #333333; background: #f7f7f7; line-height: 1.6; }
body.lj-site a { color: #333333; text-decoration: none; }
body.lj-site a:hover { color: #FF6600; text-decoration: underline; }
body.lj-site img { border: 0; }
body.lj-site ul, body.lj-site ol, body.lj-site li { list-style: none; }
.lj-wrap { width: 1200px; margin: 0 auto; }
.clear { clear: both; height: 0; overflow: hidden; }
.lj-sr { position: absolute; left: -9999px; top: -9999px; }

/* --- 顶部工具条 --- */
.bodytop { width: 100%; background: #f9f9f9; border-bottom: 1px solid #eeeeee; }
.bodytop1 { width: 1200px; margin: 0 auto; height: 36px; line-height: 36px; font-size: 12px; color: #7D7D7D; }
.bodytop_l { float: left; color: #7D7D7D; }
.bodytop_r { float: right; color: #7D7D7D; }
.bodytop_r a { margin-left: 12px; font-size: 12px; color: #7D7D7D; }

/* --- Logo / 城市 / 搜索 / 发布 --- */
.logoandimgout { width: 100%; background: #FFFFFF; }
.logoandimgdiv { width: 1200px; height: 80px; margin: 0 auto; padding-top: 10px; }
.logo { float: left; width: 114px; height: 50px; margin-top: 5px; }
.logo img { width: 114px; height: 50px; }
.lj-logo-text { display: block; width: 114px; height: 50px; padding-top: 3px; text-align: center; font-size: 15px; font-weight: bold; color: #FF6600; line-height: 22px; overflow: hidden; }
.cityname { float: left; width: 250px; font-size: 12px; color: #7D7D7D; line-height: 24px; margin-top: 18px; text-align: center; }
.cityname .title { color: #333333; font-size: 20px; line-height: 24px; }
.cityname a { font-size: 12px; color: #7D7D7D; }
.top_search { float: left; width: 520px; margin-top: 10px; }
.form-search { width: 520px; height: 38px; }
.form-search .span6 { float: left; width: 360px; height: 36px; line-height: 36px; padding: 0 8px; border: 1px solid #FF6600; border-right: 0; font-size: 14px; color: #333333; background: #FFFFFF; outline: none; }
.form-search .btn { float: left; width: 70px; height: 38px; line-height: 36px; color: #FFFFFF; background: #FF6600; border: 1px solid #FF6600; font-size: 14px; cursor: pointer; }
.postout { float: right; width: 320px; margin-top: 10px; }
.post { float: left; }
.post_button { display: block; width: 114px; height: 36px; line-height: 36px; text-align: center; border-radius: 9px; color: #FFFFFF; background: #FF6600; border: 1px solid #FF6600; font-size: 14px; }
.post_button:hover { color: #FFFFFF; text-decoration: none; }
.delete { float: left; margin-left: 12px; }
.delete_button { display: block; width: 114px; height: 36px; line-height: 36px; text-align: center; border-radius: 9px; color: #333333; background: #F6F6F6; border: 1px solid #E5E5E5; font-size: 14px; }
.delete_button:hover { color: #FF6600; text-decoration: none; }

/* --- 主导航条 --- */
.bar { width: 100%; height: 36px; background: #f9f9f9; border-bottom: 2px solid #ff6600; }
.barin { width: 1200px; margin: 0 auto; }
.barin_l { float: left; width: 900px; }
.barin_r { float: right; width: 300px; text-align: right; }
.bar_hover { float: left; height: 36px; line-height: 38px; padding: 0 10px; background: #ff6600; }
.bar_hover a { color: #FFFFFF; font-weight: bold; }
.bar_hover a:hover { color: #FFFFFF; text-decoration: none; }
.bar_link { float: left; height: 37px; line-height: 39px; margin-left: 10px; padding: 0 10px; }
.bar_link a { color: #666666; }
.bar_link_r { float: right; height: 37px; line-height: 39px; padding: 0 10px; }
.bar_link_r a { color: #666666; }

/* --- 新发布信息流 --- */
.tuijian { width: 1200px; min-height: 146px; margin: 15px auto; padding: 12px 0; background: #FFFFFF; border-radius: 9px; overflow: hidden; }
.tuijian .tj_title { display: block; padding-left: 10px; line-height: 30px; font-size: 14px; font-weight: bold; color: #333333; }
.tuijian ul { width: 1176px; margin: 0 auto; }
.tuijian li { float: left; width: 368px; height: 30px; line-height: 30px; margin: 0 12px 0 10px; padding-left: 12px; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tuijian li::before { content: ""; position: absolute; left: 0; top: 13px; width: 4px; height: 4px; background: #FF6600; }
.tuijian li .tj_cat { margin-left: 6px; }
.tuijian li .tj_cat a { color: #999999; font-size: 12px; }
.huiyuan { display: inline-block; white-space: nowrap; font-size: 12px; padding: 0 3px; border-radius: .25em; color: #FF6600; border: 1px solid #FF6600; background: #FFFFFF; line-height: 16px; }

/* --- 首页频道分类区块（每频道一列，自适应铺满 1200px） --- */
.mainbox { width: 1200px; margin: 0 auto 15px; }
.pbox { width: 1200px; display: flex; background: #FFFFFF; border-radius: 9px; padding: 0 6px; }
.list_0, .list_1, .list_2, .list_3 { flex: 1; min-width: 0; padding: 0 14px; border-right: 1px solid #F5F5F5; }
.list_3 { border-right: 0; }
.sort_name { padding-bottom: 6px; }
.bigname { height: 60px; margin: 15px 0 8px 0; border-radius: 30px; background: #F8F8F8; overflow: hidden; }
.bigname_l { float: left; width: 60px; height: 60px; }
.bigname_l img { width: 60px; height: 60px; border-radius: 30px; }
.lj-icon { float: left; width: 60px; height: 60px; border-radius: 30px; background: #FF6600; color: #FFFFFF; text-align: center; line-height: 60px; font-size: 20px; font-weight: bold; }
.bigname_r { float: right; width: calc(100% - 80px); height: 60px; line-height: 60px; padding-left: 20px; font-size: 18px; font-weight: bold; overflow: hidden; }
.bigname a { color: #000000; font-size: 18px; }
.bigname a:hover { color: #FF6600; text-decoration: none; }
.smallname { width: 100%; overflow: hidden; }
.smallname li { float: left; width: 50%; height: 34px; line-height: 34px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smallname li a { font-size: 14px; }

/* --- 列表页 / 内容面板 --- */
.lj-crumb { padding: 15px 0 0; font-size: 13px; color: #999999; }
.lj-crumb a { color: #666666; font-size: 13px; }
.lj-crumb span { margin: 0 5px; }
.lj-panel { width: 1200px; margin: 15px auto; background: #FFFFFF; border-radius: 9px; padding: 18px 20px 20px; }
.lj-panel .lj-h2, .lj-panel h1 { font-size: 20px; font-weight: bold; color: #333333; line-height: 30px; padding-bottom: 10px; border-bottom: 2px solid #FF6600; margin-bottom: 10px; }
.lj-panel .lj-sub { font-size: 13px; color: #999999; margin-bottom: 10px; }
.lj-list li { padding: 12px 0; border-bottom: 1px dashed #eeeeee; }
.lj-list li:last-child { border-bottom: 0; }
.lj-title { font-size: 16px; line-height: 26px; }
.lj-title a { color: #333333; }
.lj-title a:hover { color: #FF6600; }
.lj-meta { margin-top: 6px; font-size: 12px; color: #999999; }
.lj-meta span { margin-right: 14px; }
.lj-meta a { color: #FF6600; font-size: 12px; }
.lj-desc { margin-top: 6px; font-size: 13px; color: #888888; line-height: 22px; }
.lj-empty { padding: 40px 0; text-align: center; color: #999999; }

/* --- 站点级 FAQ 问答块（自迭代运维注入，AI 引擎最易引用的结构） --- */
.geowp-faq { width: 1200px; margin: 15px auto; background: #FFFFFF; border-radius: 9px; padding: 18px 20px 20px; }
.geowp-faq h2 { font-size: 20px; font-weight: bold; color: #333333; line-height: 30px; padding-bottom: 10px; border-bottom: 2px solid #FF6600; margin-bottom: 10px; }
.geowp-faq-item { padding: 12px 0; border-bottom: 1px dashed #eeeeee; }
.geowp-faq-item:last-child { border-bottom: 0; }
.geowp-faq-item h3 { font-size: 15px; font-weight: bold; color: #333333; line-height: 26px; margin: 0 0 6px; }
.geowp-faq-item h3::before { content: "Q "; color: #FF6600; font-weight: bold; }
.geowp-faq-item [itemprop="text"] { font-size: 13px; color: #666666; line-height: 24px; }

/* --- 城市索引页（339 城按拼音首字母分组，站群互链入口） --- */
.lj-city-letters { padding: 4px 0 10px; border-bottom: 1px dashed #eeeeee; }
.lj-city-letters a { display: inline-block; min-width: 20px; height: 22px; line-height: 22px; margin: 0 4px 6px 0; padding: 0 7px; text-align: center; border: 1px solid #E5E5E5; border-radius: 3px; font-size: 13px; color: #666666; }
.lj-city-letters a:hover { border-color: #FF6600; color: #FF6600; text-decoration: none; }
.lj-city-letter { padding: 10px 0; border-bottom: 1px dashed #eeeeee; overflow: hidden; }
.lj-city-letter:last-child { border-bottom: 0; }
.lj-city-letter .lj-city-lt { float: left; width: 36px; height: 36px; line-height: 36px; text-align: center; background: #FF6600; color: #FFFFFF; font-size: 18px; font-weight: bold; border-radius: 4px; }
.lj-city-letter .lj-city-list { margin-left: 52px; overflow: hidden; }
.lj-city-letter .lj-city-list a { display: inline-block; margin: 0 16px 8px 0; font-size: 14px; color: #333333; }
.lj-city-letter .lj-city-list a:hover { color: #FF6600; }

/* --- 分页 --- */
.lj-pager { margin-top: 18px; text-align: center; }
.lj-pager a, .lj-pager .cur { display: inline-block; min-width: 32px; height: 30px; line-height: 28px; margin: 0 3px; padding: 0 8px; border: 1px solid #E5E5E5; border-radius: 4px; background: #FFFFFF; font-size: 13px; color: #666666; text-align: center; }
.lj-pager a:hover { border-color: #FF6600; color: #FF6600; text-decoration: none; }
.lj-pager .cur { background: #FF6600; border-color: #FF6600; color: #FFFFFF; font-weight: bold; }
.lj-pager .info { margin-left: 8px; font-size: 12px; color: #999999; }

/* --- 详情页 --- */
.lj-arthead { border-bottom: 1px solid #eeeeee; padding-bottom: 10px; margin-bottom: 12px; }
.lj-arthead h1 { font-size: 22px; line-height: 34px; color: #333333; border: 0; padding: 0; margin: 0; }
.lj-arthead .lj-info { margin-top: 8px; font-size: 12px; color: #999999; }
.lj-arthead .lj-info span { margin-right: 14px; }
.lj-arthead .lj-info a { color: #FF6600; font-size: 12px; }
.lj-tag { font-size: 13px; color: #FF6600; }
.lj-cover { max-width: 100%; margin: 12px 0; }
.lj-content { font-size: 15px; color: #333333; line-height: 28px; }
.lj-content p { margin: 10px 0; }
.lj-content h2, .lj-content h3, .lj-content h4 { font-size: 17px; font-weight: bold; margin: 20px 0 10px; }
.lj-content ul { margin: 10px 0 10px 22px; }
.lj-content ul li { list-style: disc; }
.lj-content ol { margin: 10px 0 10px 22px; }
.lj-content ol li { list-style: decimal; }
.lj-content img { margin: 12px 0; }
.lj-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.lj-content th, .lj-content td { border: 1px solid #E5E5E5; padding: 8px 10px; text-align: left; vertical-align: top; }
.lj-content th { background: #FAFAFA; font-weight: bold; }
.lj-back { margin-top: 20px; font-size: 13px; }
/* --- 商户信息卡（商家发布信息的工商字段） --- */
.lj-merchant { margin: 16px 0; border: 1px solid #E5E5E5; border-radius: 4px; overflow: hidden; }
.lj-merchant h2 { font-size: 16px; font-weight: bold; margin: 0; padding: 10px 14px; background: #FAFAFA; border-bottom: 1px solid #E5E5E5; }
.lj-mtag { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: normal; padding: 0 6px; border-radius: .25em; color: #FF6600; border: 1px solid #FF6600; background: #FFFFFF; line-height: 18px; vertical-align: 2px; }
.lj-mtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.lj-mtable th, .lj-mtable td { border-bottom: 1px solid #F0F0F0; padding: 9px 14px; text-align: left; vertical-align: top; line-height: 22px; }
.lj-mtable th { width: 96px; background: #FCFCFC; color: #666666; font-weight: normal; white-space: nowrap; }
.lj-tel { color: #FF6600; font-weight: bold; }
.lj-msrc { margin: 0; padding: 9px 14px; font-size: 12px; color: #999999; background: #FCFCFC; }

/* --- GEO 信息块（沿用原类名，配色对齐列举网） --- */
.gw-tldr { margin: 12px 0 16px; padding: 12px 14px; border-left: 4px solid #FF6600; background: #FFF9F5; border-radius: 4px; font-size: 14px; line-height: 24px; }
.gw-disclaimer { margin: 12px 0; padding: 10px 14px; border-left: 4px solid #FF6600; background: #FFF9F5; font-size: 13px; color: #99500A; border-radius: 4px; }
.gw-source { margin-top: 24px; padding: 14px 16px; background: #FAFAFA; border: 1px solid #EEEEEE; border-radius: 6px; font-size: 13px; color: #888888; }
.gw-source h2 { font-size: 15px; margin-bottom: 8px; color: #333333; }
.gw-source ul { margin: 0; }
.gw-source li { margin: 4px 0; list-style: none; }
.gw-badge { display: inline-block; padding: 1px 8px; border-radius: 3px; font-size: 12px; font-weight: normal; }
.gw-badge--fact { background: #FFF1E8; color: #FF6600; }
.gw-badge--opinion { background: #F4F4F4; color: #888888; }
.gw-empty { padding: 40px 0; text-align: center; color: #999999; }

/* --- 页脚 --- */
#footer { width: 100%; background: #333333; padding: 20px 0 24px; margin-top: 15px; }
#footer_in { width: 1200px; margin: 0 auto; color: #999999; font-size: 13px; line-height: 26px; text-align: center; }
#footer_in a { color: #cccccc; font-size: 13px; }
#footer_in a:hover { color: #FF6600; }
#footer_in .lj_fnav { margin-bottom: 8px; }
#footer_in .lj_fnav a { margin: 0 8px; }

/* --- 窄屏兜底（列举网为 PC 固定宽度，此处仅做可用性降级） --- */
@media (max-width: 1240px) {
  .lj-wrap, .bodytop1, .logoandimgdiv, .barin, .tuijian, .mainbox, .pbox, .lj-panel, #footer_in { width: 100%; }
  .logoandimgdiv { height: auto; padding-bottom: 10px; }
  .top_search, .form-search { width: 320px; }
  .form-search .span6 { width: 220px; }
  .postout { width: 246px; }
  .barin_l, .barin_r { width: auto; }
  .pbox { display: block; }
  .list_0, .list_1, .list_2, .list_3 { width: 100%; float: none; border-right: 0; }
  .tuijian { height: auto; }
  .tuijian ul { width: auto; padding: 0 10px; }
  .tuijian li { width: 100%; float: none; margin: 0; }
}

/* ==========================================================================
 * 移动端适配层（手机 / WebView 套壳 App）
 * 断点：768px 手机主断点；480px 小屏手机。
 * 说明：本层置于文件末尾，覆盖上方所有 PC 固定宽度版式。
 *   核心策略——把 1200px 固定宽容器统一改为流式，并让多列网格降为单列/双列。
 * ========================================================================== */
@media (max-width: 768px) {
  /* ---- 1. 全局：所有固定 1200px 容器改流式 ---- */
  .lj-wrap, .bodytop1, .logoandimgdiv, .barin, .tuijian, .mainbox, .pbox,
  .lj-panel, #footer_in,
  .dp-hero, .dp-quick, .dp-home, .dp-list, .dp-indnav, .dp-citynav,
  .dp-recmd, .dp-pz, .dp-vnotice, .dp-vtrust, .dp-vtools, .dp-vflow,
  .dp-vinq, .dp-vsec,
  .gw-hzx-main, .gw-hzx-navin, .gw-hym-main, .gw-hym-navin,
  .gw-hcs-main, .gw-hcs-navin, .gw-hjx-main, .gw-hjx-navin,
  .gw-hxf-main, .gw-hxf-navin, .gw-hgy-main, .gw-hgy-navin,
  .gw-hqp-main, .gw-hqp-navin, .gw-hjp-main, .gw-hjp-navin,
  .gw-hly-main, .gw-hly-navin {
    width: 100% !important;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .gw-main, .gw-hero .gw-inner, .gw-stats, .gw-article {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* ---- 2. 顶部导航：PC 端隐藏的导航改为可横向滚动的胶囊条 ---- */
  .gw-topbar { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
  .gw-brand { font-size: 16px; }
  /* 原 720px 断点直接 display:none 会让移动端完全失去导航入口，
     这里改为横向滚动条，保留全部导航项可达。 */
  .gw-nav {
    display: flex !important;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px;
    padding-bottom: 2px;
  }
  .gw-nav::-webkit-scrollbar { display: none; }
  .gw-nav a {
    flex: none;
    margin-left: 0;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.04);
    font-size: 13px;
    white-space: nowrap;
  }

  /* ---- 3. 首屏 Hero：压缩留白与字号 ---- */
  .gw-hero { padding: 40px 16px; }
  .gw-hero h1 { font-size: 26px; line-height: 1.3; }
  .gw-hero p { font-size: 15px; margin-top: 12px; }
  .gw-hero--minimal { padding: 56px 16px; }
  .gw-hero--minimal h1 { font-size: 30px; letter-spacing: -.5px; }
  .gw-hero--split .gw-inner { grid-template-columns: 1fr; gap: 20px; }
  .gw-hero .gw-actions { margin-top: 20px; gap: 8px; }
  .gw-btn { padding: 10px 20px; font-size: 14px; }

  /* ---- 4. 区块与网格：多列降为单列 ---- */
  .gw-block { padding: 28px 0; }
  .gw-block h2 { font-size: 20px; }
  .gw-block .gw-sub { margin-bottom: 16px; }
  .gw-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px; margin-top: -24px; }
  .gw-stat b { font-size: 22px; }
  .gw-grid { grid-template-columns: 1fr; gap: 14px; }
  .gw-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gw-list { grid-template-columns: 1fr; gap: 10px; }
  .gw-card img { height: 180px; }
  .gw-contact { padding: 18px; }
  .gw-contact span { display: block; margin: 6px 0; }

  /* ---- 5. 文章详情：正文与宽表格 ---- */
  .gw-article { padding: 24px 14px; }
  .gw-article h1 { font-size: 22px; margin: 8px 0 14px; }
  .gw-article .gw-content { font-size: 15px; }
  /* 宽表格在移动端溢出：包一层横向滚动（表格本身保持列语义） */
  .gw-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .gw-content th, .gw-content td { padding: 6px 8px; font-size: 13px; }
  .gw-tldr, .gw-disclaimer { font-size: 14px; padding: 12px 14px; }
  .gw-source { padding: 14px; }

  /* ---- 6. 列表页：筛选栏与内容区单列堆叠 ---- */
  .dp-list-l, .dp-list-r { float: none !important; width: 100% !important; }
  .dp-list-r { order: -1; }
  .dp-filter dd a { width: 50%; }
  .dp-matrix { grid-template-columns: 1fr; }

  /* ---- 7. 详情页：商户横幅纵向、锚点导航横向滚动 ---- */
  .dp-shopbanner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dp-shopnav { overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; scrollbar-width: none; }
  .dp-shopnav::-webkit-scrollbar { display: none; }
  .dp-mprod-item { width: 50%; }

  /* ---- 8. 城市导航页：字母块与城市列表改为纵向 ---- */
  .lj-city-letter .lj-city-lt { float: none; width: auto; margin-bottom: 6px; }
  .lj-city-list { margin-left: 0; }
  .lj-city-letters { flex-wrap: wrap; gap: 4px; }
  .lj-city-letters a { min-width: 26px; padding: 3px 6px; font-size: 13px; }

  /* ---- 9. 页脚：内链矩阵纵向堆叠 ---- */
  #footer { padding: 16px 0 20px; }
  #footer_in { font-size: 12px; line-height: 22px; }
  #footer_in .lj_fnav a { margin: 0 5px; display: inline-block; }

  /* ---- 10. 分页：移动端精简 ---- */
  .gw-pager { gap: 6px; margin-top: 18px; }
  .gw-pager a, .gw-pager-cur { min-width: 32px; padding: 5px 10px; font-size: 13px; }
  .gw-pager-info { width: 100%; margin-left: 0; }

  /* ---- 11. 触屏优化：加大可点区域，去掉 hover 位移 ---- */
  .gw-card:hover { transform: none; }
  .gw-cats a { padding: 7px 14px; }
  .gw-item { padding: 14px; }

  /* ---- 12. 城市站（列举网版式）：顶部工具条 / Logo区 / 主导航 ---- */
  /* 顶部工具条：左侧长文案在手机上会挤爆，只保留右侧快捷入口 */
  .bodytop { display: none; }
  /* Logo 区：logo / 城市名 / 搜索框 / 发布按钮 由浮动改纵向堆叠 */
  .logoandimgdiv { height: auto; padding: 10px 12px 12px; }
  .logo, .cityname, .top_search, .postout {
    float: none !important;
    width: 100% !important;
    margin: 0 0 10px;
    text-align: left;
  }
  .cityname { margin-top: 0; }
  .cityname .title { font-size: 17px; }
  .top_search { margin-top: 0; }
  .form-search { width: 100%; display: flex; gap: 8px; }
  .form-search .span6 { flex: 1; width: auto !important; min-width: 0; }
  .postout { display: flex; gap: 8px; margin-bottom: 0; }
  .postout .post, .postout .delete { flex: 1; }
  .postout .post_button, .postout .delete_button { width: auto !important; }
  /* 主导航：浮动菜单改横向滚动条，保留全部频道可达 */
  .bar { height: auto; }
  .barin { padding: 0 12px; }
  .barin_l, .barin_r { float: none !important; width: 100% !important; }
  .barin_l {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .barin_l::-webkit-scrollbar { display: none; }
  .bar_hover, .bar_link { float: none; flex: none; margin-left: 0; padding: 0 12px; }
  .barin_r { text-align: left; }
  .bar_link_r { float: none; display: inline-block; }
}

/* ---- 小屏手机（<=480px）：进一步压缩 ---- */
@media (max-width: 480px) {
  .gw-hero h1 { font-size: 22px; }
  .gw-hero--minimal h1 { font-size: 26px; }
  .gw-block h2 { font-size: 18px; }
  .gw-stats { grid-template-columns: 1fr 1fr; padding: 14px; }
  .gw-stat b { font-size: 20px; }
  .gw-gallery { grid-template-columns: 1fr 1fr; }
  .gw-article h1 { font-size: 20px; }
  .dp-filter dd a { width: 100%; }
  .dp-mprod-item { width: 100%; }
  .gw-card img { height: 160px; }
}
