/* =========================================================
   邹鲁网 · 地方综合性门户  前台样式
   v3  —— 现代化视觉 + 全站响应式（桌面 / 平板 / 手机）
   断点：1400 / 1200 / 992 / 768 / 576 / 400
   ========================================================= */

/* ============ 设计变量 ============ */
:root {
  /* 主色：科技蓝（企业建站基调：专业 · 可信 · 现代） */
  --zl-primary: #1668dc;
  --zl-primary-deep: #0e42a0;
  --zl-primary-light: #4d94f0;
  --zl-primary-soft: #eff5fe;
  /* 辅色：青碧（点缀 · 次级强调） */
  --zl-accent: #0891b2;
  --zl-accent-light: #a5e8f2;
  /* 中性色 */
  --zl-dark: #101a2b;
  --zl-text: #1f2328;
  --zl-text-sub: #5a6472;
  --zl-text-mute: #9aa4b2;
  --zl-border: #e8ebef;
  --zl-border-strong: #d8dee6;
  --zl-bg: #f6f7f9;
  --zl-white: #fff;
  /* 形状与阴影 */
  --zl-radius: 10px;
  --zl-radius-sm: 6px;
  --zl-radius-lg: 14px;
  --zl-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --zl-shadow-hover: 0 10px 28px rgba(16, 24, 40, .12);
  --zl-shadow-lg: 0 2px 8px rgba(16, 24, 40, .06);
  /* 布局 */
  --zl-container: 1200px;
  --zl-gutter: 16px;
  --zl-nav-h: 50px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--zl-bg);
  color: var(--zl-text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 防止移动端横向溢出导致整页可左右拖动 */
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--zl-primary); }
img { max-width: 100%; border: 0; vertical-align: middle; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; color: var(--zl-text); }
p { margin: 0 0 10px; }
button { font-family: inherit; }

/* 流体容器：不再固定 1200px，窄屏自动收缩 */
.container {
  width: 100%;
  max-width: var(--zl-container);
  margin: 0 auto;
  padding: 0 var(--zl-gutter);
}
.clearfix::after { content: ''; display: block; clear: both; }

/* ============ 顶部通栏 ============ */
.zl-topbar {
  background: var(--zl-dark);
  color: #aab7ca;
  font-size: 12px;
  min-height: 36px;
  line-height: 36px;
}
.zl-topbar .container { display: flex; align-items: center; gap: 16px; min-height: 36px; }
.zl-topbar .left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.zl-topbar .right { margin-left: auto; display: flex; gap: 18px; align-items: center; flex-shrink: 0; }
.zl-topbar a { color: #aab7ca; }
.zl-topbar a:hover { color: var(--zl-accent-light); }
.zl-topbar .hot { color: var(--zl-accent); }

/* ============ 站点头部 ============ */
.zl-header { background: var(--zl-white); padding: 20px 0; border-bottom: 1px solid var(--zl-border); }
.zl-header .container { display: flex; align-items: center; gap: 40px; }

.zl-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.zl-logo .mark {
  font-family: "STKaiti", "KaiTi", "Songti SC", serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--zl-primary);
  letter-spacing: 3px;
  line-height: 1.1;
  white-space: nowrap;
}
.zl-logo .sub {
  font-size: 13px; color: var(--zl-text-sub); line-height: 1.5;
  border-left: 1px solid var(--zl-border-strong); padding-left: 12px;
}
.zl-logo .sub b { display: block; color: var(--zl-text); font-weight: 600; }

.zl-search { flex: 1; max-width: 480px; margin: 0 auto; min-width: 0; }
.zl-search .el-input-group__append {
  background: var(--zl-primary); border-color: var(--zl-primary); color: #fff;
}
.zl-search .el-input-group__append .el-button { color: #fff; }
.zl-search .hot-words { margin-top: 7px; font-size: 12px; color: var(--zl-text-mute); }
.zl-search .hot-words a { margin-right: 12px; }
.zl-search .hot-words a:hover { color: var(--zl-primary); }

.zl-header .hotline { text-align: right; flex-shrink: 0; }
.zl-header .hotline .lbl { font-size: 12px; color: var(--zl-text-mute); }
.zl-header .hotline .num {
  font-size: 22px; color: var(--zl-primary); font-weight: 700;
  font-family: Arial, sans-serif; letter-spacing: .5px; white-space: nowrap;
}

/* ============ 主导航 ============ */
.zl-nav {
  background: var(--zl-primary);
  background-image: linear-gradient(90deg, var(--zl-primary-deep), var(--zl-primary) 45%, var(--zl-primary-light));
  height: var(--zl-nav-h);
  box-shadow: 0 2px 10px rgba(138, 36, 29, .22);
  position: relative; z-index: 100;
}
.zl-nav .container { display: flex; height: var(--zl-nav-h); align-items: center; }
.zl-nav .item {
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px; height: var(--zl-nav-h); color: #fff; font-size: 16px;
  position: relative; transition: background .2s; white-space: nowrap;
}
.zl-nav .item:hover, .zl-nav .item.active { background: rgba(0, 0, 0, .14); }
.zl-nav .item.active::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: #fff;
}
.zl-nav .item .en { font-size: 10px; opacity: .7; margin-left: 6px; letter-spacing: .5px; }
.zl-nav .sf {
  margin-left: auto; display: flex; align-items: center; gap: 16px;
  color: #bcd9fb; font-size: 13px; flex-shrink: 0;
}
.zl-nav .sf a { color: #bcd9fb; }
.zl-nav .sf a:hover { color: #fff; }

/* 二级下拉 */
.zl-nav .dropdown { position: relative; }
.zl-nav .dropdown .sub {
  display: none; position: absolute; top: var(--zl-nav-h); left: 0; background: var(--zl-white);
  min-width: 168px; box-shadow: 0 10px 28px rgba(16, 24, 40, .16);
  border-radius: 0 0 8px 8px; padding: 6px 0; z-index: 200;
}
.zl-nav .dropdown:hover .sub { display: block; }
.zl-nav .dropdown .sub a {
  display: block; padding: 9px 18px; color: var(--zl-text); font-size: 14px;
}
.zl-nav .dropdown .sub a:hover { background: var(--zl-primary-soft); color: var(--zl-primary); }

/* 汉堡按钮（仅窄屏显示） */
.zl-nav-toggle {
  display: none;
  align-items: center; gap: 6px;
  height: var(--zl-nav-h); padding: 0 4px;
  color: #fff; font-size: 14px; cursor: pointer; background: none; border: 0;
}
.zl-nav-toggle .bars { display: flex; flex-direction: column; gap: 4px; }
.zl-nav-toggle .bars i {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
}

/* 移动端抽屉导航 */
.zl-mnav { padding: 8px 0; }
.zl-mnav .m-item { border-bottom: 1px solid var(--zl-border); }
.zl-mnav .m-item > a {
  display: flex; align-items: center; padding: 14px 4px;
  font-size: 16px; color: var(--zl-text);
}
.zl-mnav .m-item > a .en { font-size: 11px; color: var(--zl-text-mute); margin-left: 8px; }
.zl-mnav .m-item > a .arrow { margin-left: auto; color: var(--zl-text-mute); font-size: 12px; transition: transform .25s; }
.zl-mnav .m-item.open > a { color: var(--zl-primary); font-weight: 600; }
.zl-mnav .m-item.open > a .arrow { transform: rotate(90deg); color: var(--zl-primary); }
.zl-mnav .m-sub { display: none; padding: 0 0 8px 12px; }
.zl-mnav .m-item.open .m-sub { display: block; }
.zl-mnav .m-sub a {
  display: block; padding: 10px 4px; font-size: 14px; color: var(--zl-text-sub);
  border-top: 1px dashed var(--zl-border);
}
.zl-mnav .m-extra {
  display: flex; gap: 10px; padding: 16px 4px 4px; flex-wrap: wrap;
}
.zl-mnav .m-extra a {
  flex: 1; min-width: 120px; text-align: center; padding: 10px;
  background: var(--zl-primary-soft); color: var(--zl-primary); border-radius: var(--zl-radius-sm); font-size: 14px;
}

/* ============ 面包屑 ============ */
.zl-crumb {
  background: var(--zl-white); border-bottom: 1px solid var(--zl-border);
  font-size: 13px; color: var(--zl-text-sub);
}
.zl-crumb .container { padding: 12px 0; }
.zl-crumb a:hover { color: var(--zl-primary); }
.zl-crumb .sep { margin: 0 8px; color: #c8cdd4; }
.zl-crumb .cur { color: var(--zl-text); }

/* ============ 首页布局 ============ */
.zl-home { padding: 20px 0 36px; }
.zl-layout { display: flex; gap: 20px; align-items: flex-start; }
.zl-main { flex: 1; min-width: 0; }
.zl-side { width: 300px; flex-shrink: 0; }

/* 焦点区：左轮播 + 右头条 */
.zl-focus {
  display: flex; gap: 20px; background: var(--zl-white);
  padding: 16px; border-radius: var(--zl-radius); box-shadow: var(--zl-shadow);
}
.zl-focus .slider { width: 520px; flex-shrink: 0; min-width: 0; }
.zl-focus .slider .el-carousel { border-radius: 8px; overflow: hidden; }
.zl-focus .slider .slide-item {
  height: 320px; background-size: cover; background-position: center; position: relative;
  cursor: pointer; display: block;
}
.zl-focus .slider .slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px;
  color: #fff; font-size: 16px; font-weight: 500;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.zl-focus .headlines { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zl-focus .headlines .hl-title {
  display: block;
  font-size: 22px; line-height: 1.45; color: var(--zl-primary-deep); font-weight: 600; margin-bottom: 6px;
}
.zl-focus .headlines .hl-title:hover { color: var(--zl-primary); }
.zl-focus .headlines .hl-desc {
  font-size: 13px; color: var(--zl-text-sub); margin-bottom: 12px; line-height: 1.7;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.zl-focus .headlines .hl-list { flex: 1; }
.zl-focus .headlines .hl-list li { padding: 8px 0; border-top: 1px dashed var(--zl-border); font-size: 14px; }
.zl-focus .headlines .hl-list li:first-child { border-top: 0; }
.zl-focus .headlines .hl-list .tag { color: var(--zl-primary); margin-right: 8px; font-size: 12px; }
.zl-focus .headlines .hl-list .date { float: right; color: var(--zl-text-mute); font-size: 12px; }

/* 快捷服务宫格 */
.zl-quick {
  background: var(--zl-white); padding: 18px; border-radius: var(--zl-radius);
  box-shadow: var(--zl-shadow); margin-top: 16px;
}
.zl-quick .grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; }
.zl-quick .q-item {
  text-align: center; padding: 14px 4px; border-radius: var(--zl-radius-sm);
  cursor: pointer; transition: all .2s ease; border: 1px solid transparent;
}
.zl-quick .q-item:hover { background: var(--zl-primary-soft); border-color: #cfe0fb; transform: translateY(-2px); }
.zl-quick .q-item .ico {
  width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--zl-primary-light), var(--zl-primary-deep));
  color: #fff; font-size: 18px; box-shadow: 0 3px 8px rgba(181, 52, 43, .22);
}
.zl-quick .q-item .txt { font-size: 13px; color: var(--zl-text-sub); }

/* 频道区块 */
.zl-block {
  background: var(--zl-white); border-radius: var(--zl-radius);
  box-shadow: var(--zl-shadow); margin-top: 16px; overflow: hidden;
}
.zl-block .bd-hd {
  display: flex; align-items: center; padding: 15px 18px;
  border-bottom: 2px solid var(--zl-primary); flex-wrap: wrap; gap: 8px;
}
.zl-block .bd-hd h3 { font-size: 18px; position: relative; padding-left: 12px; }
.zl-block .bd-hd h3::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 18px; background: var(--zl-primary); border-radius: 2px;
}
.zl-block .bd-hd .more { margin-left: auto; font-size: 13px; color: var(--zl-text-mute); }
.zl-block .bd-hd .more:hover { color: var(--zl-primary); }
.zl-block .bd-hd .tabs { display: flex; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.zl-block .bd-hd .tabs span { cursor: pointer; color: var(--zl-text-sub); padding-bottom: 2px; white-space: nowrap; }
.zl-block .bd-hd .tabs span.on { color: var(--zl-primary); border-bottom: 2px solid var(--zl-primary); font-weight: 600; }
.zl-block .bd-bd { padding: 16px 18px; }

/* 双栏新闻区 */
.zl-cols { display: flex; gap: 20px; align-items: flex-start; }
.zl-cols > div { flex: 1; min-width: 0; }

/* 五列卡片网格（通栏横排区块用） */
.zl-cards.c5 { grid-template-columns: repeat(5, 1fr); }

/* 生活服务多列并排（经典门户分类信息区） */
.zl-life { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 26px; }
.zl-life .life-col + .life-col { border-left: 1px dashed var(--zl-border); padding-left: 26px; }
.zl-life .lc-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 9px; border-bottom: 2px solid var(--zl-primary); margin-bottom: 4px;
}
.zl-life .lc-hd b { font-size: 16px; letter-spacing: 1px; }
.zl-life .lc-hd a { font-size: 12px; color: var(--zl-text-mute); }
.zl-life .lc-hd a:hover { color: var(--zl-primary); }

/* 友情链接通栏块 */
.zl-friend .bd-bd { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.zl-friend .bd-bd a {
  color: var(--zl-text-sub); font-size: 14px; padding: 5px 14px;
  background: #f6f8fc; border: 1px solid var(--zl-border); border-radius: 4px;
  transition: all .2s ease;
}
.zl-friend .bd-bd a:hover { color: var(--zl-primary); border-color: var(--zl-primary); background: var(--zl-primary-soft); }

/* 文章列表（带图） */
.zl-arts .art { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--zl-border); }
.zl-arts .art:last-child { border-bottom: 0; }
.zl-arts .art .pic {
  width: 140px; height: 92px; flex-shrink: 0; border-radius: var(--zl-radius-sm);
  overflow: hidden; background: #eef0f3;
}
.zl-arts .art .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.zl-arts .art:hover .pic img { transform: scale(1.05); }
.zl-arts .art .pic .ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-family: "STKaiti", "KaiTi", serif;
  background: linear-gradient(135deg, var(--zl-primary-light), var(--zl-primary-deep));
}
.zl-arts .art .txt { flex: 1; min-width: 0; }
.zl-arts .art .txt h4 { font-size: 16px; line-height: 1.5; margin-bottom: 6px; font-weight: 600; }
.zl-arts .art .txt .desc {
  font-size: 13px; color: var(--zl-text-sub); line-height: 1.65;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.zl-arts .art .txt .meta { font-size: 12px; color: var(--zl-text-mute); margin-top: 6px; }

/* 纯文字列表 */
.zl-list li { display: flex; align-items: center; padding: 10px 0; font-size: 15px; border-bottom: 1px dashed var(--zl-border); }
.zl-list li:last-child { border-bottom: 0; }
.zl-list li .dot { color: var(--zl-primary); margin-right: 8px; font-size: 10px; flex-shrink: 0; }
.zl-list li .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zl-list li .d { color: var(--zl-text-mute); font-size: 12px; margin-left: 12px; flex-shrink: 0; }
.zl-list.rank li .no {
  width: 22px; height: 22px; line-height: 22px; text-align: center; background: #eef0f3;
  color: var(--zl-text-mute); font-size: 12px; margin-right: 10px; border-radius: 4px; flex-shrink: 0;
}
.zl-list.rank li:nth-child(1) .no { background: var(--zl-primary); color: #fff; }
.zl-list.rank li:nth-child(2) .no { background: var(--zl-primary-light); color: #fff; }
.zl-list.rank li:nth-child(3) .no { background: #38bdf8; color: #fff; }

/* 卡片网格 */
.zl-cards { display: grid; gap: 16px; }
.zl-cards.c4 { grid-template-columns: repeat(4, 1fr); }
.zl-cards.c3 { grid-template-columns: repeat(3, 1fr); }
.zl-cards.c2 { grid-template-columns: repeat(2, 1fr); }
.zl-card {
  border: 1px solid var(--zl-border); border-radius: var(--zl-radius); overflow: hidden;
  background: var(--zl-white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.zl-card:hover { transform: translateY(-4px); box-shadow: var(--zl-shadow-hover); border-color: #cfe0fb; }
.zl-card .pic {
  height: 158px; background: linear-gradient(135deg, #dce8fb, #c7d9f7);
  position: relative; overflow: hidden;
}
.zl-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.zl-card:hover .pic img { transform: scale(1.06); }
.zl-card .pic .ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; font-family: "STKaiti", "KaiTi", serif;
  background: linear-gradient(135deg, var(--zl-primary-light), var(--zl-primary-deep));
}
.zl-card .pic .badge {
  position: absolute; top: 10px; left: 10px; background: rgba(138, 36, 29, .92);
  color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 99px; backdrop-filter: blur(4px);
}
.zl-card .body { padding: 13px; }
.zl-card .body h4 { font-size: 15px; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.zl-card .body .desc {
  font-size: 12px; color: var(--zl-text-sub); line-height: 1.65; height: 40px;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.zl-card .body .foot { display: flex; align-items: center; margin-top: 10px; font-size: 12px; color: var(--zl-text-mute); }
.zl-card .body .foot .price { color: var(--zl-primary); font-weight: 700; font-size: 15px; }
.zl-card .body .foot .r { margin-left: auto; }

/* 侧边栏组件 */
.zl-widget {
  background: var(--zl-white); border-radius: var(--zl-radius);
  box-shadow: var(--zl-shadow); margin-bottom: 16px; overflow: hidden;
}
.zl-widget .wd-hd { padding: 13px 16px; border-bottom: 1px solid var(--zl-border); display: flex; align-items: center; }
.zl-widget .wd-hd h4 { font-size: 16px; padding-left: 10px; position: relative; font-weight: 600; }
.zl-widget .wd-hd h4::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 15px; background: var(--zl-primary); border-radius: 2px;
}
.zl-widget .wd-hd .more { margin-left: auto; font-size: 12px; color: var(--zl-text-mute); }
.zl-widget .wd-bd { padding: 13px 16px; }

/* 投票组件 */
.zl-vote .opt { margin-bottom: 12px; }
.zl-vote .opt .row { display: flex; align-items: center; font-size: 13px; margin-bottom: 5px; }
.zl-vote .opt .bar { height: 8px; background: #eef0f3; border-radius: 99px; overflow: hidden; }
.zl-vote .opt .bar i {
  display: block; height: 100%; border-radius: 99px; transition: width .5s ease;
  background: linear-gradient(90deg, var(--zl-primary-light), var(--zl-primary));
}
.zl-vote .opt .pct { margin-left: auto; color: var(--zl-text-mute); font-size: 12px; }

/* 便民电话表 */
.zl-phones li { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--zl-border); flex-wrap: wrap; gap: 4px; }
.zl-phones li:last-child { border-bottom: 0; }
.zl-phones li .n { font-size: 14px; }
.zl-phones li .p { margin-left: auto; color: var(--zl-primary); font-weight: 700; font-family: Arial, sans-serif; }

/* 优惠券 */
.zl-coupon {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border: 1px dashed #cfe0fb; border-radius: var(--zl-radius-sm);
  margin-bottom: 10px; background: #f7fafe;
}
.zl-coupon .amt { color: var(--zl-primary); font-size: 22px; font-weight: 700; font-family: Arial, sans-serif; flex-shrink: 0; }
.zl-coupon .mid { flex: 1; min-width: 0; }
.zl-coupon .mid .t { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zl-coupon .mid .c { font-size: 12px; color: var(--zl-text-mute); }

/* ============ 内页：频道页 ============ */
.zl-page { padding: 20px 0 36px; }
.zl-page .page-bd {
  background: var(--zl-white); border-radius: var(--zl-radius);
  box-shadow: var(--zl-shadow); padding: 22px;
}
.zl-page .page-hd {
  background: var(--zl-white); border-radius: var(--zl-radius); box-shadow: var(--zl-shadow);
  padding: 16px 22px; margin-bottom: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.zl-page .page-hd h2 { font-size: 21px; padding-left: 12px; position: relative; }
.zl-page .page-hd h2::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px; background: var(--zl-primary); border-radius: 2px;
}
.zl-page .page-hd .sub { margin-left: 14px; font-size: 13px; color: var(--zl-text-mute); }

/* 频道子导航（Tab） */
.zl-channels { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.zl-channels .ch {
  padding: 8px 18px; background: var(--zl-white); border: 1px solid var(--zl-border);
  border-radius: 99px; font-size: 14px; color: var(--zl-text-sub); cursor: pointer;
  transition: all .2s ease; white-space: nowrap;
}
.zl-channels .ch:hover { border-color: var(--zl-primary); color: var(--zl-primary); }
.zl-channels .ch.on {
  background: var(--zl-primary); border-color: var(--zl-primary); color: #fff;
  box-shadow: 0 3px 10px rgba(181, 52, 43, .25);
}

/* ============ 详情页 ============ */
.zl-detail { padding: 20px 0 36px; }
.zl-detail .layout { display: flex; gap: 20px; align-items: flex-start; }
.zl-detail .content {
  flex: 1; min-width: 0; background: var(--zl-white); border-radius: var(--zl-radius);
  box-shadow: var(--zl-shadow); padding: 32px 36px;
}
.zl-detail .content h1 { font-size: 27px; line-height: 1.5; margin-bottom: 12px; text-align: center; font-weight: 600; }
.zl-detail .content .meta {
  text-align: center; font-size: 13px; color: var(--zl-text-mute);
  padding-bottom: 18px; border-bottom: 1px solid var(--zl-border); margin-bottom: 22px;
}
.zl-detail .content .meta span { margin: 0 10px; }
.zl-detail .content .body { font-size: 16px; line-height: 1.95; color: #3d4753; }
.zl-detail .content .body img { max-width: 100%; height: auto; border-radius: var(--zl-radius-sm); margin: 12px 0; }
.zl-detail .content .body p { margin-bottom: 16px; }

/* 详情信息表 */
.zl-info-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.zl-info-table .kv {
  display: flex; padding: 12px 14px; background: #fafbfc;
  border-radius: var(--zl-radius-sm); border: 1px solid var(--zl-border); gap: 10px;
}
.zl-info-table .kv b { color: var(--zl-text-sub); font-weight: 400; width: 76px; flex-shrink: 0; }
.zl-info-table .kv span { flex: 1; min-width: 0; word-break: break-word; }
.zl-info-table .kv.full { grid-column: 1 / -1; }

/* ============ 页脚 ============ */
.zl-footer { background: var(--zl-dark); color: #aab7ca; margin-top: 36px; padding: 40px 0 0; }
.zl-footer .f-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 32px;
}
.zl-footer h5 { color: var(--zl-accent-light); font-size: 15px; margin-bottom: 14px; font-weight: 600; }
.zl-footer .f-cols li { font-size: 13px; padding: 5px 0; }
.zl-footer .f-cols a { color: #aab7ca; }
.zl-footer .f-cols a:hover { color: var(--zl-accent); }
.zl-footer .about p { font-size: 13px; line-height: 1.9; margin-bottom: 8px; }
.zl-footer .contact li { font-size: 13px; padding: 4px 0; word-break: break-word; }
.zl-footer .links { border-top: 1px solid #3d2e26; padding: 16px 0; font-size: 13px; line-height: 2.2; }
.zl-footer .links span { color: #7b8798; margin-right: 10px; }
.zl-footer .links a { color: #96a5bc; margin-right: 14px; }
.zl-footer .links a:hover { color: var(--zl-accent); }
.zl-footer .copyright {
  background: #1a120e; padding: 16px 0; font-size: 12px;
  color: #7b8798; text-align: center; line-height: 1.9;
}

/* ============ 通用工具 ============ */
.zl-empty { text-align: center; padding: 60px 0; color: var(--zl-text-mute); font-size: 14px; }
.zl-pager { display: flex; justify-content: center; padding: 26px 0 8px; }
.mt-10 { margin-top: 10px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mb-16 { margin-bottom: 16px; }
.zl-primary { color: var(--zl-primary); }
.zl-muted { color: var(--zl-text-mute); }
.zl-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 加载骨架 */
.zl-loading { padding: 40px 0; text-align: center; color: var(--zl-text-mute); }

/* 仅窄屏显示的块 */
.only-mobile { display: none; }

/* ============ 移动端底部快捷导航 ============ */
.zl-tabbar { display: none; }
@media (max-width: 768px) {
  .zl-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
    border-top: 1px solid var(--zl-border);
    box-shadow: 0 -2px 12px rgba(16, 24, 40, .06);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .zl-tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 7px 0 6px; font-size: 11px; color: var(--zl-text-sub); gap: 2px;
    min-height: 52px;
  }
  .zl-tabbar a .ico { font-size: 19px; line-height: 1; }
  .zl-tabbar a.on { color: var(--zl-primary); font-weight: 600; }
  /* 给底部导航留出安全距离，避免内容被遮挡 */
  .zl-footer { padding-bottom: 60px; }
}


/* =========================================================
   响应式 —— 逐步降级，确保任何宽度都不出现横向溢出
   ========================================================= */

/* ---- 大屏微调 ---- */
@media (max-width: 1400px) {
  .zl-cards.c4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- ≤1200px：容器收窄、卡片降列 ---- */
@media (max-width: 1200px) {
  :root { --zl-gutter: 16px; }
  .zl-cards.c4 { grid-template-columns: repeat(3, 1fr); }
  .zl-cards.c5 { grid-template-columns: repeat(4, 1fr); }
  .zl-footer .f-cols { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .zl-focus .slider { width: 46%; }
  .zl-nav .item { padding: 0 15px; font-size: 15px; }
  .zl-nav .item .en { display: none; }
  .zl-header .container { gap: 24px; }
  .zl-header .hotline .num { font-size: 19px; }
}

/* ---- ≤992px：平板 —— 侧栏下移、导航切换为汉堡 ---- */
@media (max-width: 992px) {
  /* 导航：隐藏横排菜单，启用汉堡 */
  .zl-nav .container { justify-content: flex-start; }
  .zl-nav .item { display: none; }
  .zl-nav .sf { display: none; }
  .zl-nav-toggle { display: flex; }

  /* 布局：主侧栏纵向堆叠 */
  .zl-layout { flex-direction: column; }
  .zl-side { width: 100%; }
  .zl-cols { flex-direction: column; }
  .zl-detail .layout { flex-direction: column; }

  /* 焦点区纵向堆叠，轮播高度自适应 */
  .zl-focus { flex-direction: column; }
  .zl-focus .slider { width: 100%; }
  .zl-focus .slider .slide-item { height: 260px !important; }
  .zl-focus .slider .el-carousel__container { height: 260px !important; }
  .zl-focus .headlines .hl-title { font-size: 19px; }

  /* 快捷宫格 5 列 */
  .zl-quick .grid { grid-template-columns: repeat(5, 1fr); }

  /* 卡片降列 */
  .zl-cards.c4, .zl-cards.c3 { grid-template-columns: repeat(2, 1fr); }
  .zl-cards.c5 { grid-template-columns: repeat(3, 1fr); }

  /* 生活服务多列 → 2 列 */
  .zl-life { grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .zl-life .life-col:nth-child(3) { display: none; }

  /* 头部：搜索独占一行 */
  .zl-header .container { flex-wrap: wrap; gap: 16px; }
  .zl-search { order: 3; max-width: 100%; flex-basis: 100%; margin: 0; }
  .zl-header .hotline { margin-left: auto; }

  .zl-topbar .left span:nth-child(n+3) { display: none; }
}

/* ---- ≤768px：手机横屏 / 大屏手机 ---- */
@media (max-width: 768px) {
  :root { --zl-gutter: 14px; }

  /* 顶部通栏：只保留欢迎语 */
  .zl-topbar { font-size: 12px; }
  .zl-topbar .left span:nth-child(2) { display: none; }
  .zl-topbar .right a:nth-child(n+3) { display: none; }

  /* 头部：更紧凑 */
  .zl-header { padding: 14px 0; }
  .zl-header .container { gap: 12px; }
  .zl-logo .mark { font-size: 28px; letter-spacing: 2px; }
  .zl-logo .sub { font-size: 12px; padding-left: 10px; }
  .zl-header .hotline { display: none; }
  .zl-search { order: 3; }
  .zl-search .hot-words { font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

  /* 焦点区 */
  .zl-focus { padding: 12px; }
  .zl-focus .slider .slide-item { height: 200px !important; }
  .zl-focus .slider .el-carousel__container { height: 200px !important; }
  .zl-focus .slider .slide-cap { padding: 24px 14px 12px; font-size: 14px; }
  .zl-focus .headlines .hl-title { font-size: 18px; }
  .zl-focus .headlines .hl-desc { -webkit-line-clamp: 2; }

  /* 快捷宫格 4 列 */
  .zl-quick { padding: 14px 10px; }
  .zl-quick .grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .zl-quick .q-item { padding: 10px 2px; }
  .zl-quick .q-item .ico { width: 38px; height: 38px; font-size: 16px; }
  .zl-quick .q-item .txt { font-size: 12px; }

  /* 区块头部：tab 单独一行 */
  .zl-block .bd-hd { padding: 12px 14px; }
  .zl-block .bd-hd h3 { font-size: 16px; }
  .zl-block .bd-hd .tabs { margin-left: 0; flex-basis: 100%; order: 3; gap: 14px; font-size: 13px; }
  .zl-block .bd-bd { padding: 12px 14px; }

  /* 卡片：c4/c3 降 2 列，c2 降 2 列（保留双列更好看） */
  .zl-cards.c4, .zl-cards.c3, .zl-cards.c2 { grid-template-columns: repeat(2, 1fr); }
  .zl-cards { gap: 12px; }
  .zl-cards.c5 { grid-template-columns: repeat(2, 1fr); }

  /* 生活服务多列 → 单列，分隔线改横向 */
  .zl-life { grid-template-columns: 1fr; }
  .zl-life .life-col:nth-child(3) { display: block; }
  .zl-life .life-col + .life-col { border-left: 0; padding-left: 0; border-top: 1px dashed var(--zl-border); padding-top: 10px; margin-top: 10px; }
  .zl-card .pic { height: 130px; }
  .zl-card .body { padding: 10px; }
  .zl-card .body h4 { font-size: 14px; }
  .zl-card .body .desc { font-size: 12px; height: 36px; }

  /* 文章列表：图片缩小 */
  .zl-arts .art { gap: 10px; padding: 12px 0; }
  .zl-arts .art .pic { width: 104px; height: 72px; }
  .zl-arts .art .txt h4 { font-size: 15px; }
  .zl-arts .art .txt .desc { -webkit-line-clamp: 2; font-size: 12px; }

  /* 列表 */
  .zl-list li { font-size: 14px; padding: 9px 0; }
  .zl-list li .d { margin-left: 8px; font-size: 11px; }

  /* 内页 */
  .zl-page .page-hd { padding: 13px 14px; }
  .zl-page .page-hd h2 { font-size: 18px; }
  .zl-page .page-hd .sub { margin-left: 0; flex-basis: 100%; }
  .zl-page .page-bd { padding: 14px; }

  /* 详情页 */
  .zl-detail .content { padding: 20px 16px; }
  .zl-detail .content h1 { font-size: 21px; line-height: 1.5; }
  .zl-detail .content .meta { font-size: 12px; }
  .zl-detail .content .meta span { margin: 0 6px; display: inline-block; }
  .zl-detail .content .body { font-size: 15px; line-height: 1.9; }

  /* 信息表单列 */
  .zl-info-table { grid-template-columns: 1fr; gap: 10px; }
  .zl-info-table .kv { padding: 10px 12px; }

  /* 频道 tab：可横向滚动，不换行挤压 */
  .zl-channels {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 4px; scrollbar-width: none;
  }
  .zl-channels::-webkit-scrollbar { display: none; }
  .zl-channels .ch { flex-shrink: 0; padding: 7px 14px; font-size: 13px; }

  /* 详情页侧边栏相关 */
  .zl-detail .content { width: 100%; }

  /* 面包屑 */
  .zl-crumb .container { padding: 10px 0; font-size: 12px; }

  /* 优惠券 */
  .zl-coupon { padding: 10px; gap: 10px; }
  .zl-coupon .amt { font-size: 19px; }

  .only-mobile { display: block; }
}

/* ---- ≤576px：主流手机竖屏 ---- */
@media (max-width: 576px) {
  :root { --zl-gutter: 12px; }

  /* 头部：Logo 与热线换行，搜索独占 */
  .zl-header .container { gap: 10px; }
  .zl-logo .mark { font-size: 25px; }
  .zl-logo .sub { display: none; }

  /* 轮播进一步压缩 */
  .zl-focus .slider .slide-item { height: 168px !important; }
  .zl-focus .slider .el-carousel__container { height: 168px !important; }
  .zl-focus .slider .slide-cap { padding: 20px 12px 10px; font-size: 13px; }
  .zl-focus .headlines .hl-title { font-size: 17px; }
  .zl-focus .headlines .hl-desc { display: none; }
  .zl-focus .headlines .hl-list li { padding: 7px 0; font-size: 13px; }
  .zl-focus .headlines .hl-list .date { float: none; margin-left: 8px; }

  /* 快捷宫格 4 列保持，缩小间距 */
  .zl-quick .grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .zl-quick .q-item .ico { width: 34px; height: 34px; font-size: 15px; margin-bottom: 6px; }
  .zl-quick .q-item .txt { font-size: 11px; }

  /* 卡片：双列（横排双列在手机上更易浏览） */
  .zl-cards.c4, .zl-cards.c3, .zl-cards.c2 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .zl-card .pic { height: 112px; }
  .zl-card .body h4 { font-size: 13px; }
  .zl-card .body .desc { display: none; }
  .zl-card .body .foot { font-size: 11px; margin-top: 6px; }

  /* 文章列表：图片更窄 */
  .zl-arts .art .pic { width: 88px; height: 62px; }
  .zl-arts .art .txt h4 { font-size: 14px; }
  .zl-arts .art .txt .desc { -webkit-line-clamp: 2; }
  .zl-arts .art .txt .meta { font-size: 11px; }

  /* 页脚：单列 */
  .zl-footer { padding: 28px 0 0; margin-top: 24px; }
  .zl-footer .f-cols { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding-bottom: 22px; }
  .zl-footer .about { grid-column: 1 / -1; }
  .zl-footer .contact { grid-column: 1 / -1; }
  .zl-footer .links { line-height: 2; font-size: 12px; }
  .zl-footer .links a { margin-right: 10px; display: inline-block; }
  .zl-footer .copyright { padding: 14px 0; }

  /* 详情页 */
  .zl-detail .content { padding: 16px 14px; }
  .zl-detail .content h1 { font-size: 19px; }
  .zl-detail .content .body { font-size: 15px; }

  /* 内页 */
  .zl-page .page-hd h2 { font-size: 17px; }
  .zl-page .page-bd { padding: 12px; }

  /* 组件 */
  .zl-widget { margin-bottom: 12px; }
  .zl-phones li { font-size: 13px; }
  .zl-vote .opt { margin-bottom: 10px; }

  /* 空状态 */
  .zl-empty { padding: 40px 0; }
}

/* ---- ≤400px：超窄屏（iPhone SE 等） ---- */
@media (max-width: 400px) {
  :root { --zl-gutter: 10px; }

  .zl-logo .mark { font-size: 22px; letter-spacing: 1px; }
  .zl-arts .art .pic { width: 76px; height: 54px; }
  .zl-arts .art { gap: 8px; }
  .zl-quick .grid { grid-template-columns: repeat(3, 1fr); }
  .zl-cards.c4, .zl-cards.c3, .zl-cards.c2 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .zl-card .pic { height: 96px; }
  .zl-footer .f-cols { grid-template-columns: 1fr; }
  .zl-detail .content h1 { font-size: 18px; }
  .zl-focus .slider .slide-item { height: 150px !important; }
  .zl-focus .slider .el-carousel__container { height: 150px !important; }
}
