/* ============================================================
   横琴粤澳深度合作区发展改革和统计局 - 门户网站样式
   视觉基准：上海市发展和改革委员会 fgw.sh.gov.cn（实测 CSS）
   Dev: BuddyQiao 2026-09-07
   ============================================================

/* ============================================================
   结构索引（2026-09-21 整理：同一选择器只允许出现在一个分区）
   ① 设计令牌 :root        ② 基础 reset / 容器
   ③ 首页 Banner 区        ④ 首页新闻·政策区   ⑤ 板块头 title01/title02
   ⑥ 首页响应式（≤1279 / ≤1023 / ≤768 / ≤450 集中于此）
   ⑦ 移植板块（视频 / 服务链接 / 相关链接 / 页脚 / 漂浮）
   ⑧ 移植板块响应式      ⑨ PC ≥1024 专属
   ⑩ 内页通用（Hero / 双栏 / 左栏 subnav / 内容 6 类列表 / 详情页 / 联系 / 组织 / 服务卡 / 分页）
   ⑪ 内页响应式          ⑫ 内页页头（白底 + 移动端抽屉）
   规则：
   - 组件的响应式变体跟随该组件所在分区，不再另起「散装 media」；
   - 多个组件共用的同款样式，写成逗号选择器组放在首个组件处，其余处不再重复；
   - 全断点同值的声明（如 max-width:100%）上提为基础值，不在两个互斥断点各写一遍。
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 主色族（参考站实测） */
  --primary: #1a98cf;            /* 湖蓝主色（2026-09-16 由 #2F6AA1 调整） */
  --primary-90: rgba(26, 152, 207, .85); /* 导航半透明（主栏目更明显） */
  --primary-hover: #1686B4;      /* 亮蓝强调 */
  --gold: #FFC36B;               /* 导航 hover / active 金 */
  --gold-deep: #CBB486;          /* 页脚金 */

  /* 中性灰阶 */
  --ink: #4A494A;                /* 主文字（非纯黑） */
  --ink-time: rgba(74, 73, 74, .5);  /* 日期 */
  --ink-2: #666;
  --ink-3: #999;
  --line: #EEEEEE;

  /* 背景 */
  --bg-soft: #F8FAFC;
  --bg-gray: #F4F5F5;

  /* 主色衍生（联系我们卡片/表格用，移植自 webdesign 适配） */
  --primary-soft: #E8F3FA;        /* 表格头/斑马纹淡蓝底 */
  --primary-tint: #EAF4FB;        /* 联系卡片图标淡蓝底 */
  --primary-deep: #105B7C;        /* 表格头深蓝字 */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --footer-1: #606364;           /* 页脚链接条 */
  --footer-2: #4B4F50;           /* 页脚信息条 */
  --footer-3: #3E4142;           /* 版权条 */

  /* 几何 */
  --r-md: 6px;
  --shadow-sm: 0 1px 4px rgba(26, 152, 207, .08);
  --container: 1200px;
  --banner-text-w: 820px;         /* Banner 中央标题宽度：17 字 × 42px + 字距 5px ≈ 795px，留余量防换行；英文标语与之一致 */
  --news-row-h: 52px;            /* 信息列表统一行高（news-panel / 重要政策共用） */
  --carousel-w: 476px;           /* 首页轮播固定宽度，右侧列表自适应填充剩余空间 */
  --rel-gap: 18px;               /* 相关链接卡片间距（≥1024 提为 20px，四等份后仍整除 1200） */
  --transition: .3s ease-in-out;

  /* 字体 */
  --font: "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* 平滑滚动：仅在未开启「减少动态效果」时启用（全局行为，统一收在基础段） */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: var(--font); color: var(--ink); background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .15s ease-in-out; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input { font-family: inherit; }

.container, .wrap, .top-bar__inner, .video-text { width: var(--container); max-width: calc(100% - 40px); margin: 0 auto; }

/* ============================================================
   ① Banner 区（顶部条 / 标题 / 搜索框 / 主导航 全部叠于其上）
   ============================================================ */
.banner { position: relative; height: 650px; }
.banner__bg-wrap { position: absolute; inset: 0; }
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; z-index: 0; }
.banner__bg.active { opacity: 1; z-index: 1; }
.banner__mask { position: absolute; inset: 0; background: rgba(10, 26, 46, .10); z-index: 2; }
/* Banner 切换指示点 */
.banner__dots { position: absolute; left: 0; right: 0; bottom: 90px; z-index: 4; display: flex; justify-content: center; gap: 10px; }
.banner__dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background .25s, transform .25s; }
.banner__dots button.active { background: var(--gold); transform: scale(1.15); }
.banner__dots button:hover { background: rgba(255, 255, 255, .8); }
/* Banner 左右切换箭头 */
.banner__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(10, 26, 46, .35); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; opacity: 0; transition: background .25s, opacity .25s; }
.banner__arrow--prev { left: 24px; }
.banner__arrow--next { right: 24px; }
.banner:hover .banner__arrow { opacity: 1; }
.banner__arrow:hover { background: var(--primary); }
.banner__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; opacity: 1; }

/* --- 顶部条：半透明深色叠 Banner 顶部，白字（对齐参考站 .top-nav） --- */
.top-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  background: rgba(15, 40, 70, .15);
}
.top-bar__inner {
  display: flex; justify-content: flex-end; align-items: center;
  padding: 9px 0;
}
.top-bar__links { display: flex; gap: 10px; }
.top-bar__links a {
  font-size: 13px; color: #fff; line-height: 1.5;
  padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 16px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
/* 内页顶部条胶囊（.site-header__utility .sh-links a）为同款 hover，合并于此，避免两处各写一遍 */
.top-bar__links a:hover,
.site-header__utility .sh-links a:hover {
  background: var(--gold); border-color: var(--gold); color: #1A3A5C;
}

/* --- 中央标题 + 搜索框 --- */
.banner__content {
  position: absolute; z-index: 2; left: 50%; top: 220px; transform: translateX(-50%);
  width: var(--container); max-width: calc(100% - 40px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.banner__title {
  width: var(--banner-text-w); max-width: 100%; white-space: nowrap;
  font-size: 42px; font-weight: 700; color: #fff; letter-spacing: 5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35), 0 0 3px rgba(255, 255, 255, .4);

}.banner__slogan {
  width: var(--banner-text-w); max-width: 100%; white-space: nowrap; margin-top: 14px; 
  font-size: 16px; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, .9);
  letter-spacing: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .45);  /* 浅亮背景上提亮文字、增强可读 */
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35), 0 0 3px rgba(255, 255, 255, .4);
}

/* 胶囊搜索框（参考站 .sousuo：623px 宽 / 59px 高 / 53px 圆角） */
.banner-search {
  position: relative; width: 623px; max-width: 100%;
  margin-top: 40px;
}
.banner-search__input {
  width: 100%; height: 58px; border: none; outline: none;
  border-radius: 29px; padding: 0 140px 0 28px;
  font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, .82);  /* 半透明白底，透出 banner 背景 */
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  transition: box-shadow var(--transition);
}
.banner-search__input::placeholder { color: var(--ink-3); }
/* 聚焦：金色描边环，与主色/金色体系一致 */
.banner-search__input:focus {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18), 0 0 0 3px rgba(255, 195, 107, .6);
}
.banner-search__btn {
  position: absolute; right: 5px; top: 5px; bottom: 5px;
  width: 96px; border-radius: 24px;
  background: var(--primary); color: #fff; font-size: 16px;
  transition: background .15s ease-in-out, color .15s ease-in-out;
}
/* 悬停与 AI 查询卡按钮同款：金色填充 + 深字 */
.banner-search__btn:hover {
  background: var(--gold);
  color: #1A3A5C;
}

/* 热搜 */
.hot-search { margin-top: 14px; display: flex; gap: 20px; align-items: center; }
.hot-search span { font-size: 14px; font-weight: 700; color: #fff; }
.hot-search a { font-size: 14px; color: rgba(255, 255, 255, .88); }
.hot-search a:hover { color: var(--gold); text-decoration: underline; }

/* --- 主导航：半透明蓝叠 Banner 底部（参考站 .navbar-default） --- */
.nav-main {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  background: var(--primary-90);
}
.nav-main__list { display: flex; width: 980px; margin: 0 auto; }
.nav-main__list li { flex: 1; }
.nav-main__list a {
  display: block; text-align: center;
  font-size: 18px; font-weight: 700; color: #fff;
  padding: 24px 0;
  transition: color .15s ease-in-out, background .15s ease-in-out;
}
.nav-main__list a:hover,
.nav-main__list > li.active > a { color: var(--gold); background: rgba(0, 0, 0, .10); }
/* 首页顶部下拉：当前二级栏目高亮（金色），三级不高亮 */
.nav-main .nav-sub > li.active > a {
  color: var(--gold); background: rgba(255, 255, 255, .14);
}
/* 一级栏目 hover 下拉：二级菜单单行横排在栏目名正下方（非竖状列表） */
.nav-main__list li.has-sub { position: relative; }
.nav-main__list li.has-sub > a::after {
  content: ""; display: inline-block; width: 0; height: 0; margin-left: 7px;
  vertical-align: middle; opacity: .85;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s ease;
}
.nav-main .nav-sub {
  position: absolute; top: 100%; left: 0;
  display: none; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start;
  gap: 8px 14px; padding: 7px 18px;
  background: rgba(15, 68, 117, .6); border: 1px solid rgba(255, 255, 255, .1); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
  z-index: 30; white-space: nowrap; min-width: 160px; width: max-content;
}
.nav-main__list li.has-sub:last-child .nav-sub { left: auto; right: 0; }
/* 桌面 hover 下拉：仅 ≥768px 且支持悬停的设备生效；
   触屏设备（hover:none）不应用该规则，避免「粘滞 hover」导致二级菜单点开后再点收不回 */
@media (min-width: 768px) and (hover: hover) {
  .nav-main__list li.has-sub:hover > a::after { transform: rotate(180deg); }
  .nav-main__list > li.has-sub:hover > .nav-sub { display: flex; }
}
/* 触屏设备（平板 / 手机）：点击一级栏目展开下拉，不依赖 hover，覆盖全宽度触屏；
   与 ≤768 移动端抽屉内的 accordion 规则互补，避免「粘滞 hover」在触屏上点开收不回。
   关键点：用 (hover: none) 判定而非 (max-width:1023px)，否则 1024px 及以上的触屏平板
   （iPad 横屏 / iPad Pro）会因不满足宽度条件而走桌面逻辑、点击直接跳转。 */
@media (hover: none) {
  .nav-main__list li.has-sub.open > a::after { transform: rotate(180deg); }
  .nav-main__list > li.has-sub.open > .nav-sub { display: flex; }
}
.nav-main .nav-sub a {
  display: block; padding: 8px 16px; font-size: 17px; font-weight: 400;
  color: #fff; text-align: center; border-radius: 4px;
  transition: color .15s ease-in-out, background .15s ease-in-out;
}
/* 内页白底导航（.nav-main--inner）的二级菜单 hover 同款，合并于此 */
.nav-main .nav-sub a:hover,
.nav-main--inner .nav-sub a:hover { color: var(--gold); background: rgba(255, 255, 255, .12); }

/* 汉堡按钮（≤768 显示） */
.nav-toggle { display: none; }

/* ============================================================
   ④ 新闻区：轮播 + 双 tab
   ============================================================ */
.news-zone {
  /* 轮播定宽 --carousel-w，右侧列表吃掉剩余空间；
     minmax(0, 1fr) 而非 1fr：1fr 的最小尺寸为 auto，切 tab 时列表 min-content 不同会撑变列宽 */
  display: grid; grid-template-columns: var(--carousel-w) minmax(0, 1fr); gap: 26px;
  padding-top: 64px;
}
.news-zone > * { min-width: 0; }

/* 轮播 */
.carousel { position: relative; height: 357px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); } /* 357 = 面板头 45 + 6 × 52 行高 */
.carousel__track { height: 100%; }
.carousel__item { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease-in-out; }
.carousel__item.active { opacity: 1; }
.carousel__item a { display: block; width: 100%; height: 100%; }
.carousel__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease-in-out;
}
/* 悬停：图片轻微推近 + 说明条加深，提示可点击跳转原文 */
.carousel__item a:hover img { transform: scale(1.05); }
.carousel__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 18px 12px;
  background: linear-gradient(to top, rgba(10, 26, 46, .72), transparent);
  color: #fff; font-size: 15px; font-weight: 500;
  transition: background var(--transition);
}
.carousel__item a:hover .carousel__caption {
  background: linear-gradient(to top, rgba(10, 26, 46, .88), rgba(10, 26, 46, .12));
}
.carousel__dots {
  position: absolute; right: 16px; bottom: 14px; display: flex; gap: 8px;
}
.carousel__dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, .5); cursor: pointer;
  transition: background .15s ease-in-out, transform .15s ease-in-out;
}
.carousel__dots i:hover { background: #fff; transform: scale(1.3); }
.carousel__dots i.active { background: #fff; transform: scale(1.15); }
.carousel__dots i.active:hover { transform: scale(1.3); }

/* tab 面板（title02 风格：蓝色圆角块 active + 2px 灰底线） */
.news-panel { display: flex; flex-direction: column; }
.news-panel__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 2px solid var(--line);
}
.news-tabs { display: flex; }
/* 板块头标签（.mod-card__head--tabs .mod-tabs button）同款，合并于此 */
.news-tabs button,
.mod-card__head--tabs .mod-tabs button {
  font-size: 18px; font-weight: 700; color: var(--ink);
  padding: 9px 26px; border-radius: 5px 5px 0 0;
  transition: all .15s ease-in-out;
}
.news-tabs button:hover { color: var(--primary); }
.news-tabs button.active { background: var(--primary); color: #fff; }
.panel-more, .sec-more { position: relative; display: inline-block; font-size: 14px; transition: color var(--transition), transform var(--transition); }
.panel-more { color: #222; margin-bottom: 10px; }
.sec-more { color: var(--ink-2); margin-bottom: 4px; }
.panel-more::after, .sec-more::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--primary); transition: right var(--transition);
}
.panel-more:hover, .sec-more:hover { color: var(--primary); transform: translateX(3px); }
.panel-more:hover::after, .sec-more:hover::after { right: 0; }

/* 列表（参考站 .dt-list：白底 + 细线 + 三角符 + 右侧日期） */
.news-list { flex: 1; display: flex; flex-direction: column; }
.news-list[hidden] { display: none; }
.news-list li {
  flex: 0 0 var(--news-row-h); display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 0 10px; border-bottom: 1px solid #F2F2F2;
  transition: background .15s ease-in-out;
}
.news-list li:last-child { border-bottom: none; }
.news-list li:hover { background: var(--bg-soft); }
.news-list li a {
  font-size: 16px; color: var(--ink); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; padding-left: 16px; position: relative;
}
.news-list li a::before {
  content: ""; position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
  border-left: 6px solid var(--primary);
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  transition: border-left-color .15s ease-in-out;
}
.news-list li a:hover { color: var(--primary); }
.news-list li a:hover::before { border-left-color: var(--gold); }
.news-list time { flex-shrink: 0; font-size: 14px; color: var(--ink-time); }

/* ============================================================
   ⑤ 政策区：title02 标签头 + AI 卡
   ============================================================ */
.policy-zone {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px;
  margin-top: 34px; align-items: stretch;
}
.policy-zone .mod-card { display: flex; flex-direction: column; }
.policy-zone .news-list { padding: 6px 0; flex: 1 1 auto; }
/* 政策区两栏头（政策文件 / 项目信息）：主色块头，标题左 + 更多右（与 title01 一致） */
.mod-card__head--title { display: flex; justify-content: space-between; align-items: center; background: var(--primary); border-radius: var(--r-md) var(--r-md) 0 0; padding: 0 16px; }
.mod-card__head--title h3 { font-size: 18px; font-weight: 700; color: #fff; padding: 11px 0; }
.mod-card__head--title .panel-more { margin-bottom: 0; color: rgba(255, 255, 255, .82); }
.mod-card__head--title .panel-more:hover { color: #fff; }
/* 列表为空时高度不塌陷：锁定 4 行行高 + 上下内边距 */
.policy-zone .news-list--policy {
  min-height: calc(4 * var(--news-row-h) + 12px);
}

/* （AI 政策查询卡已移除：2026-09-11，改为政策文件/项目信息两栏并列） */

/* ============================================================
   ⑥ 通用卡片 / 三栏快捷入口（title01 居中头，参考站 .title01）
   ============================================================ */
.mod-card { border: 1px solid #E5E5E5; border-radius: var(--r-md); overflow: hidden; background: #fff; }

/* title01：主色块头 · 标题居中 21px/500（参考站实测） */
.mod-card__head--center {
  background: var(--primary); border-radius: var(--r-md) var(--r-md) 0 0;
}
.mod-card__head--center h3 {
  text-align: center; font-size: 21px; font-weight: 500; color: #fff;
  padding: 13px 0;
}

/* title02 标签头：蓝色圆角块浮左 + 灰 2px 底线 */
.mod-card__head--tabs {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 2px solid var(--line); padding-right: 16px;
}
.mod-card__head--tabs .mod-tabs { display: flex; }
.mod-card__head--tabs .mod-tabs button:hover { color: var(--primary); }
.mod-card__head--tabs .mod-tabs button.active { background: var(--primary); color: #fff; }


/* ============================================================
   响应式：>1024 桌面 / ≤1023 平板 / ≤768 手机
   ============================================================ */
@media (max-width: 1023px) {
  .news-zone, .policy-zone { grid-template-columns: 1fr; }
  .carousel { height: 300px; }
  .banner { height: 560px; }
  .banner__content { top: 150px; }
  .banner-search { width: 90%; }
  /* 平板：主导航列表不再写死 980px，改为满宽贴合视口，避免两端栏目被 overflow-x 裁切 */
  .nav-main__list { width: 100%; }
  /* 平板（768–1023，触屏无 hover）：点击一级栏目展开下拉，而非直接跳转 */
  .nav-main__list li.has-sub.open > a::after { transform: rotate(180deg); }
  .nav-main__list > li.has-sub.open > .nav-sub { display: flex; }
}

@media (max-width: 768px) {
  /* Banner 箭头：缩小并贴边（原散落在 Banner 段的行内 media，已收拢至此） */
  .banner__arrow { width: 36px; height: 36px; font-size: 22px; }
  .banner__arrow--prev { left: 10px; }
  .banner__arrow--next { right: 10px; }
  .banner { height: 480px; }
  .banner__content { top: 120px; width: 100%; max-width: 100%; padding: 0 16px; }
  .banner__title { font-size: 22px; letter-spacing: 2px; max-width: 100%; }
  .banner__slogan { display: none; }
  .banner-search__input { padding-right: 100px; }
  .banner-search__btn { width: 80px; }
  .hot-search { display: none; }
  .news-zone { padding-top: 34px; }

  /* 汉堡菜单：置于页顶右侧，点击展开竖向栏目面板 */
  .nav-main {
    top: 0; bottom: auto; z-index: 21; height: 38px; padding: 0 12px;
    background: transparent;
    display: flex; justify-content: flex-end; align-items: center;
  }
  .nav-toggle {
    display: block; padding: 6px 8px; border-radius: 5px;
    background: rgba(15, 40, 70, .38);
  }
  .nav-toggle span {
    display: block; width: 24px; height: 2px; background: #fff; margin: 3px 0;
    border-radius: 2px;
  }
  .nav-main__list {
    display: none; position: absolute; top: calc(100% + 4px); right: 12px; left: auto;
    width: auto; min-width: 258px; margin: 0; padding: 6px 0; border-radius: var(--r-md);
    background: var(--primary); flex-direction: column; z-index: 21;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .26);
  }
  .nav-main__list.open { display: flex; }
  .nav-main__list a { padding: 13px 22px; font-size: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .nav-main__list li:first-child a { border-top: none; }
  /* 移动端：一级栏目点击展开二级菜单（竖向，随抽屉显示） */
  .nav-main__list li.has-sub { position: static; }
  .nav-main__list li.has-sub > a::after { margin-left: 8px; }
  .nav-main__list li.has-sub.open > a::after { transform: rotate(180deg); }
  .nav-main__list li { flex: none; }
  .nav-main .nav-sub {
    position: static; display: none; flex-direction: column; flex-wrap: wrap;
    gap: 0; padding: 0 0 4px; margin: 0; width: 100%; min-width: 0;
    background: rgba(0, 0, 0, .14); box-shadow: none; border-radius: 0;
    white-space: normal;
  }
  .nav-main__list li.has-sub.open > .nav-sub { display: flex; }
  .nav-main .nav-sub a {
    padding: 11px 22px 11px 40px; font-size: 15px; font-weight: 400;
    border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0;
  }
  .nav-main .nav-sub a:hover { background: rgba(255, 255, 255, .08); color: var(--gold); }
  /* 顶部条链接靠左，为右上汉堡留出空间 */
  .top-bar__inner { justify-content: flex-start; padding-right: 64px; }

  .news-list li a { font-size: 15px; }
}

@media (max-width: 450px) {
  .banner__title { font-size: 22px; }
  .carousel { height: 220px; }
}

/* ============================================================
   ⑥ 视频 Banner / ⑦ 服务链接 / ⑧ 相关链接 / ⑨ 页脚 / 漂浮
   （自 webdesign/index-new.html 移植，样式按本套 A 方案令牌重绘）
   ============================================================ */


/* --- ⑥ 视频 Banner --- */
.video-section {
  /* 盒装：1200px 居中，不再通栏（与 .carousel / .mod-card 同款圆角+投影）
     max-width:100% —— 父级已按内容区留白，此处不再二次缩进；原在 ≤1023 与 ≥1024 两段各写一遍，已合并为基础值 */
  width: var(--container); max-width: 100%; margin: 34px auto 0;
  position: relative; height: 340px;
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
/* 内页 Hero 底图（.hero--inner .hero-bg）同款铺满写法，合并于此 */
.video-bg-video,
.hero--inner .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(15, 40, 70, .62), rgba(15, 40, 70, .14));
}
.video-text { color: #fff; }
.video-tag {
  display: inline-block; padding: 4px 12px; border-radius: 12px;
  background: var(--gold); color: #1A3A5C; font-size: 13px; font-weight: 700; letter-spacing: 1px;
}
.video-title {
  margin-top: 14px; font-size: 34px; font-weight: 700; line-height: 1.35;
  letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0, 0, 0, .32);
}
.video-subtitle { margin-top: 12px; font-size: 15px; line-height: 1.9; color: rgba(255, 255, 255, .85); }

/* --- 板块头（主色竖条 + 更多） --- */
.sec { margin-top: 34px; }
/* 板块内 .wrap 不再二次缩进：全断点一致（原 ≤1023 / ≥1024 各写一遍，已合并为基础值） */
.sec .wrap { max-width: 100%; }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line);
}
.sec-title { position: relative; padding-left: 14px; font-size: 21px; font-weight: 700; color: var(--ink); }
.sec-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 20px; border-radius: 2px; background: var(--primary);
}
.sec-title em {
  margin-left: 12px; font-size: 12px; font-style: normal; font-weight: 400;
  color: var(--ink-3); letter-spacing: 1px; text-transform: uppercase;
}

/* --- ⑦ 服务链接 --- */
/* 竖卡结构：标题条（带底色，hover 变实心主色反白）+ 白底正文（粗体小标题 + 灰色描述） */
.svclink-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
/* 独立落地页（fwlj.html，全宽无左栏）：一行三个 */
.svclink-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svclink {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  box-shadow: 0 2px 10px rgba(26, 152, 207, .1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.svclink:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(26, 152, 207, .2); }
/* 标题条：默认浅主色底 + 主色字；hover 换实心主色 + 白字（令牌内取值，与 .tag-btn.active 同款填充） */
.sl-head {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  color: var(--primary); background: var(--primary-tint);
  border-bottom: 1px solid rgba(26, 152, 207, .14);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.svclink:hover .sl-head { color: #fff; background: var(--primary); border-bottom-color: var(--primary); }
.sl-ico {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(26, 152, 207, .12);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.svclink:hover .sl-ico { background: rgba(255, 255, 255, .24); }
.sl-name {
  flex: 1; min-width: 0; font-size: 15px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sl-arrow { flex-shrink: 0; opacity: .72; transition: opacity .15s ease-in-out, transform .15s ease-in-out; }
.svclink:hover .sl-arrow { opacity: 1; transform: translateX(3px); }
.sl-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 13px 14px 15px; }
/* min-height 3em = 两行，保证 5 张卡的小标题基线一致、描述起始位置对齐 */
.sl-title {
  font-size: 14.5px; font-weight: 600; line-height: 1.5; min-height: 3em; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sl-desc { font-size: 12.5px; line-height: 1.65; color: var(--ink-3); }
/* 服务卡箭头（.svc-card:hover .sc-arrow）同款，合并于此 */
.svc-card:hover .sc-arrow { color: var(--primary); transform: translateX(4px); }

/* --- ⑧ 相关链接轮播 --- */
.relate-sec .sec-head { display: none; }  /* 隐藏「相关链接 Related Links」标题 */
.relate-carousel { position: relative; }
.relate-viewport { overflow: hidden; padding: 12px 0 6px; }
.relate-row { display: flex; gap: var(--rel-gap); transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.relate-row.is-noanim { transition: none; }
.relate-row.is-dragging { transition: none; cursor: grabbing; }
/* min-width:0 必需：flex 项默认 min-width:auto，长标题的 min-content 会顶穿 flex-basis，
   导致某张卡片变宽、整条轨道右移（左露克隆块 / 右侧被切） */
.relate-row li { flex: 0 0 calc((100% - 3 * var(--rel-gap)) / 4); min-width: 0; }
.relate-row a { display: flex; flex-direction: column; gap: 10px; }
.relate-thumb {
  display: block; aspect-ratio: 5 / 3; overflow: hidden;
  border: 1px solid #E5E5E5; border-radius: var(--r-md); background: var(--bg-soft);
}
.relate-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-in-out; }
.relate-row a:hover .relate-thumb img { transform: scale(1.06); }
.relate-name {
  display: block; font-size: 14px; line-height: 1.5; color: var(--ink); text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .15s ease-in-out;
}
.relate-row a:hover .relate-name { color: var(--primary); }
.relate-arrow {
  position: absolute; top: 38%; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: all .15s ease-in-out;
}
.relate-arrow svg { width: 20px; height: 20px; }
.relate-prev { left: -14px; }
.relate-next { right: -14px; }
.relate-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.relate-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; background: #D8DDE2;
  transition: background .15s ease-in-out, transform .15s ease-in-out;
}
.relate-dot:hover { background: var(--primary-hover); transform: scale(1.3); }
.relate-dot.active { background: var(--primary); transform: scale(1.15); }
.relate-dot.active:hover { transform: scale(1.3); }

/* --- ⑨ 页脚 --- */
.foot { margin-top: 44px; background: var(--footer-2); color: rgba(255, 255, 255, .78); }
.foot-row {
  /* 右栏 +50px（660→710）：品牌列 390px + 左间距 100px + 右栏自适应 */
  display: grid; grid-template-columns: 390px 1fr; gap: 40px 100px;
  padding: 40px 0 30px;
}
.foot-brand h3 { font-size: 20px; font-weight: 700; line-height: 1.5; color: #fff; }
.foot-brand p { margin-top: 12px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .7); }
.foot-qr { display: flex; gap: 20px; margin-top: 18px; }
.foot-qr .q { padding: 5px; background: #fff; border-radius: 4px; line-height: 0; }
.foot-qr .q img { transition: transform var(--transition); }
.foot-qr .q:hover img { transform: scale(1.06); }
.foot-qr span { display: block; margin-top: 6px; font-size: 12px; text-align: center; color: rgba(255, 255, 255, .7); }
.foot-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 65px; }
.foot-col h5 { margin-bottom: 10px; font-size: 15px; font-weight: 600; color: #fff; }
.foot-col a {
  display: block; padding: 4px 0; font-size: 13px; color: rgba(255, 255, 255, .7);
  transition: color .15s ease-in-out;
}
.foot-col a:hover { color: var(--gold); }
.foot-contact { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-contact h5 { margin-bottom: 12px; font-size: 15px; font-weight: 600; color: #fff; }
.foot-contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.fc-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; line-height: 1.6; }
.fc-ico { flex-shrink: 0; padding-top: 3px; color: var(--gold); }
.fc-text strong { color: #fff; font-weight: 600; }
/* 办公时间等固定短语不折行（全角空格与短横处禁断） */
.fc-text--nowrap { white-space: nowrap; }
.foot-bottom { background: var(--footer-3); padding: 28px 0; text-align: center; }
.link-logo { display: flex; justify-content: center; gap: 18px; margin-bottom: 12px; }
.link-logo a { display: inline-flex; align-items: center; }
.link-logo img {
  height: 45px; width: auto;
  transition: transform var(--transition), filter var(--transition);
}
/* 悬停：徽标稍稍放大，提示可跳转外部站点 */
.link-logo a:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}
.copy { font-size: 12px; line-height: 1.9; color: rgba(255, 255, 255, .6); }
.copy a { color: rgba(255, 255, 255, .75); }
.copy a:hover { color: var(--gold-deep); }

/* --- 右侧漂浮 / 回到页顶（交互与 hover 效果对齐 webdesign/index-new.html，配色换为本套 A 方案令牌） --- */
.thy-float {
  position: fixed; right: 18px; bottom: 116px; z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.thy-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0; background: transparent; border: none; cursor: pointer;
}
/* 向左抽出的文字提示（与返回顶部提示同款） */
.thy-label, .to-top-label {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; max-width: 0; padding: 0; overflow: hidden;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: 1px;
  white-space: nowrap; border-radius: 8px; opacity: 0;
  transition: max-width .32s ease, opacity .25s ease, padding .32s ease;
}
.thy-thumb {
  width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 40, 70, .14);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.thy-thumb img {
  width: 34px; height: 34px; object-fit: contain; display: block;
  filter: grayscale(100%);                 /* 默认灰色，hover 变彩色 */
  transition: filter .35s ease;
}
.thy-item:hover .thy-label { max-width: 120px; padding: 0 16px; opacity: 1; }
.thy-item:hover .thy-thumb {
  transform: translateY(-2px); border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(255, 195, 107, .30);
}
.thy-item:hover .thy-thumb img { filter: grayscale(0); }

.to-top {
  position: fixed; right: 18px; bottom: 36px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0; border: none; background: transparent; cursor: pointer;
}

.to-top-icon {
  width: 60px; height: 60px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 6px 20px rgba(15, 40, 70, .14);
  transition: all .3s ease;
}
.to-top-icon svg { width: 26px; height: 26px; display: block; transition: opacity .25s ease; }
.to-top:hover .to-top-label { max-width: 110px; padding: 0 16px; opacity: 1; }
.to-top:hover .to-top-icon {
  color: #fff;                              /* 箭头 stroke 用 currentColor，随之转白 */
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(26, 152, 207, .35);
  transform: translateY(-2px);
}
.to-top:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* --- 移植板块响应式 --- */
@media (max-width: 1279px) {
  /* 5 列在 1280 以下过窄，降为 3 列 */
  .svclink-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  .video-section { height: 320px; }
  .video-title { font-size: 28px; }
  .svclink-grid { grid-template-columns: 1fr 1fr; }
  .relate-row li { flex: 0 0 calc((100% - 36px) / 3); }
  .foot-row { grid-template-columns: 1fr; gap: 26px; }
  .foot-nav { grid-template-columns: repeat(3, 1fr); }
  .foot-contact-grid { grid-template-columns: 1fr; }
  /* 手机/平板：视频与相关链接板块与 news-zone 同宽（已上提为基础值，见 .video-section / .sec .wrap） */
}
@media (max-width: 768px) {
  .video-section { height: 240px; margin-top: 24px; }
  .video-title { font-size: 22px; letter-spacing: 1px; }
  .video-subtitle { font-size: 13px; }
  .svclink-grid { grid-template-columns: 1fr; }
  .relate-prev { left: -6px; }
  .relate-next { right: -6px; }
  /* 相关链接：手机端图高固定 175px，卡片宽度按 5:3 等比（291.67px）收缩 */
  .relate-row li { flex: 0 0 auto; width: 291.67px; }
  .relate-thumb { aspect-ratio: auto; height: 175px; }
  .foot-right { display: none; }
  .foot-brand h3 { font-size: 18px; }
  .thy-float { right: 10px; bottom: 104px; }
  .to-top { right: 10px; bottom: 28px; }
  .thy-thumb, .to-top-icon { width: 52px; height: 52px; border-radius: 12px; }
  /* 触屏无真正 hover：点按后标签会残留，移动端不抽出标签 */
  .thy-item:hover .thy-label, .to-top:hover .to-top-label { max-width: 0; padding: 0; opacity: 0; }
}
/* 极窄屏（≤450）：列宽不足，办公时间恢复允许折行，避免横向溢出 */
@media (max-width: 450px) {
  .fc-text--nowrap { white-space: normal; }
}

/* ============================================================
   PC（≥1024）：相关链接图片四等份铺满内容区（1200 / 4 = 300），
   高度按 5:3 等比，与原图比例一致，完整显示不裁切
   ============================================================ */
@media (min-width: 1024px) {
  /* 板块父级已是 1200 内容区，.wrap 的 max-width: calc(100% - 40px) 会再削 40px，
     导致内容只有 1160、与正文不对齐。PC 端统一放开，保证全站内容区一致为 1200
     （已上提为基础值，见 .sec .wrap / .video-section） */
  /* 四等份铺满 1200 且保留间距：4w + 3×20 = 1200 → w = 285，高按 5:3 = 171，五张完全一致 */
  .relate-row { --rel-gap: 20px; }
  .relate-row li { flex: 0 0 calc((100% - 3 * var(--rel-gap)) / 4); min-width: 0; }
  .relate-thumb { aspect-ratio: 5 / 3; height: auto; }
  .relate-name { padding: 0 8px; }
}

/* ============================================================
   内页通用（基于 A 方案令牌，复用首页 .sec-title / .mod-card）
   Dev: BuddyQiao 2026-09-10
   ============================================================ */

/* --- 内页 Hero：纯图版（banner-bg.jpg + 极淡暗底），无首页深蓝渐变 / 山水光晕 --- */
.hero--inner { position: relative; height: 240px; background: var(--primary); overflow: hidden; }
.hero--inner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 40, 70, .52), rgba(15, 40, 70, .26)), rgba(0, 0, 0, .18);
}
.hero--inner .inner-head {
  position: absolute; z-index: 2; left: 50%; bottom: 100px; transform: translateX(-50%);
  width: var(--container); max-width: calc(100% - 40px);
}
.inner-title {
  font-size: 30px; font-weight: 700; color: #fff; letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

/* --- 内容区容器 --- */
.page-body { width: var(--container); max-width: calc(100% - 40px); margin: 0 auto; padding: 28px 0 44px; }

/* --- 面包屑 --- */
.breadcrumb {
  display: inline-flex; align-items: center; width:100%; flex-wrap: wrap; gap: 6px; 
  font-size: 14px; color: var(--ink-3);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--ink-2); padding: 3px 7px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .15s ease-in-out, background .15s ease-in-out;
}
.breadcrumb a:hover { color: var(--primary); background: var(--primary-soft); }
.breadcrumb a.bc-home svg { width: 15px; height: 15px; flex: none; }
.breadcrumb .sep {
  display: inline-flex; align-items: center; justify-content: center;
  width: 10px; color: var(--ink-3);
}
.breadcrumb .sep::before { content: "/"; font-size: 14px; line-height: 1; }
.breadcrumb .cur { color: var(--primary); font-weight: 600; padding: 3px 7px; }

/* --- 双栏布局：左 subnav + 右 content --- */
.inner-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 32px; align-items: start; }

/* --- 左：二级/三级栏目导航（纯文字版，无图标，符合集约化平台规范） --- */
/* 仅列出当前一级栏目下的 2、3 级栏目名称；卡片吸顶，组标题加金色短饰线，当前项主色高亮 */
.subnav {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; padding: 0 0 6px; position: sticky; top: 16px;
}
/* 左侧子导航顶部：仅显示当前栏目标题（无"当前栏目"标签，极简） */
.subnav-head {
  padding: 28px 20px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(15, 40, 70, .92) 100%);
}
.subnav-head__title {
  display: block; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3;
}
.subnav-list { padding: 0; background-color: aliceblue;}
/* 手风琴：仅当前所在组默认展开，其余折叠，显著减少高度 */
.subnav-list li.sg { margin: 0; border-bottom: 1px solid var(--line-soft); }
.subnav-list li.sg:last-child { border-bottom: none; }
.subnav-list .sg-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; color: var(--ink);
  padding: 13px 20px; letter-spacing: .5px; cursor: pointer; user-select: none;
}
.subnav-list .sg-title::after {
  content: ""; flex: none; width: 0; height: 0; margin-left: 10px;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--ink-2); transition: transform .2s ease, border-color .2s ease;
}
.subnav-list li.sg.open .sg-title::after { transform: rotate(180deg); border-top-color: var(--primary); }
.subnav-list .sg-children { display: none; padding: 2px 0 8px; }
.subnav-list li.sg.open .sg-children { display: block; }
.subnav-list .sg-children a {
  display: block; font-size: 15px; color: var(--ink-2);
  padding: 9px 20px 9px 34px; border-left: 3px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
/* 叶节点标题（.subnav-list li.sg.sg-leaf > a.sg-title:hover）同款，合并于此 */
.subnav-list .sg-children a:hover,
.subnav-list li.sg.sg-leaf > a.sg-title:hover { color: var(--primary); background: var(--bg-soft); }
.subnav-list .sg-children li { background-color:#FFF; }
.subnav-list .sg-children li.active a,
.subnav-list li.active > a {
  color: var(--primary); font-weight: 600; background-color:#FFF;
  border-left-color: var(--primary);
}
/* 无分组的扁平栏目（首页） */
.subnav-list > li > a {
  display: block; font-size: 15px; color: var(--ink-2);
  padding: 13px 20px; border-left: 3px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.subnav-list > li > a:hover { color: var(--primary); background-color:#FFF; }
/* 栏目作用域左栏：三级栏目作头部，下属子栏目以 sg-title 平铺（叶节点不显示折叠 caret） */
.subnav-list li.sg.sg-leaf > .sg-title::after { display: none; }

/* --- 右：内容 --- */
.content { min-width: 0; }
.content-head { margin-bottom: 18px; }
.content-title { font-size: 22px; font-weight: 700; color: var(--ink); }

/* --- 标签筛选 --- */
.tag-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tag-btn {
  font-size: 14px; color: var(--ink-2); padding: 7px 18px;
  border: 1px solid var(--line); border-radius: 20px; background: #fff;
  transition: all .15s ease-in-out;
}
/* 悬停描边：标签筛选 .tag-btn 与分页 .pg-btn 同款，合并于此 */
.tag-btn:hover,
.pg-btn:hover:not(:disabled) { color: var(--primary); border-color: var(--primary); }
/* 选中态主色填充：相关链接箭头 hover、标签 .tag-btn、分页 .pg-btn 同款，合并于此。
   必须排在 hover 之后——「已选中 + 悬停」时仍应显示选中态 */
.relate-arrow:hover,
.tag-btn.active,
.pg-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 二级标签行：依附于某个一级标签（如「综合类」下的 国家/省级/合作区），默认隐藏 */
.tag-sub {
  flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 8px;
  padding: 2px 0 2px 14px; margin-left: 2px; border-left: 2px solid var(--line);
}
.tag-sub[hidden] { display: none; }
.tag-sub .tag-btn { font-size: 13px; padding: 5px 15px; }

/* ① 通知公告 / 公示公告：日历方块 + 标题 + 摘要 */
.info-list { display: flex; flex-direction: column; }
.info-item { border-bottom: 1px solid var(--line-soft); }
.info-link { display: flex; gap: 16px; padding: 16px 6px; transition: background .15s ease-in-out; }
.info-link:hover { background: var(--bg-soft); }
.info-cal {
  flex-shrink: 0; width: 110px; display: flex; align-items: stretch; gap: 6px;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff;
}
.info-cal .cal-day { font-size: 26px; font-weight: 700; color: var(--primary); padding: 8px 0 8px 10px; line-height: 1; display: flex; align-items: center; }
.info-cal .cal-right { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); padding: 6px 8px 6px 7px; }
.info-cal .cal-top { font-size: 12px; color: var(--ink-2); }
.info-cal .cal-y { font-size: 11px; color: var(--ink-3); }
.info-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.info-title {
  font-size: 17px; color: var(--ink); transition: color .15s ease-in-out;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.info-link:hover .info-title { color: var(--primary); }
/* 图文卡摘要 .fh-desc 为同款两行截断，合并于此 */
.info-summary,
.fh-desc {
  font-size: 14px; color: var(--ink-2); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ② 图文卡片列表（要闻动态 / 普法宣传 / 经济运行分析） */
.fh-list { display: flex; flex-direction: column; gap: 16px; }
.fh-item { }
.fh-link {
  display: flex; gap: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
/* 卡片悬停态：图文卡 .fh-link / 文件卡 .file-card / 服务卡 .svc-card 同款，合并于此 */
.fh-link:hover,
.file-card:hover,
.svc-card:hover { box-shadow: var(--shadow-hover); border-color: var(--primary); transform: translateY(-2px); }
.fh-thumb { flex-shrink: 0; width: 220px; height: 142px; border-radius: var(--r-md); overflow: hidden; background: var(--bg-soft); }
.fh-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fh-link:hover .fh-thumb img { transform: scale(1.05); }
.fh-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fh-cat { align-self: flex-start; font-size: 12px; color: var(--primary); background: rgba(26, 152, 207, .08); padding: 2px 10px; border-radius: 10px; }
.fh-title {
  font-size: 19px; font-weight: 600; color: var(--ink); line-height: 2; transition: color .15s ease-in-out;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fh-link:hover .fh-title { color: var(--primary); }
/* 日期（置于标题上方）：无底色；日号大字（主色）+ 斜分隔 + 「月 年」同行 */
.fh-date {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
}
.fh-date .fd-day { font-size: 30px; font-weight: 700; line-height: 1; color: var(--primary); letter-spacing: -.5px; }
.fh-date .fd-sep { display: block; flex-shrink: 0; width: 1.5px; height: 27px; background: rgba(26, 152, 207, .32); transform: rotate(20deg); }
.fh-date .fd-ym { display: flex; align-items: baseline; gap: 5px; line-height: 1.2; }
.fh-date .fd-m { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: .3px; }
.fh-date .fd-y { font-size: 12px; color: var(--ink-time); letter-spacing: .5px; }

/* ③ 文件卡片网格（政策文件 / 政策解读 / 统计制度 / 表格下载 / 统计标准 / 统计表格） */
.file-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.file-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.file-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.file-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.file-title {
  font-size: 16px; color: var(--ink); line-height: 1.5; transition: color .15s ease-in-out;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.file-card:hover .file-title { color: var(--primary); }
.file-meta { font-size: 12px; color: var(--ink-time); display: flex; align-items: center; gap: 5px; }
.file-dl { flex-shrink: 0; color: var(--ink-3); transition: color .15s ease-in-out; }
.file-card:hover .file-dl { color: var(--primary); }

/* 文件列表分类小标题（统计表格 tjbg.html 分组：纳统入库用表 / 一套表统计用表） */
.fg-head {
  font-size: 17px; font-weight: 700; color: var(--primary-deep);
  margin: 26px 0 14px; padding-left: 12px; border-left: 4px solid var(--primary); line-height: 1.2;
}
.fg-head:first-of-type { margin-top: 0; }

/* ④ 细线列表（规划计划 / 项目信息 / 普查数据 / 国民经济 / 常见问题 / 征集调查）—— 复用首页 .news-list */
.content .news-list { border-top: 1px solid var(--line-soft); }

/* ⑤ 内容页（机构职能 / 组织架构 / 创新产业 / 业务咨询 / 联系我们） */
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; font-size: 16px; line-height: 1.9; }
.article h2 { font-size: 19px; color: var(--primary); margin: 20px 0 10px; padding-left: 12px; border-left: 4px solid var(--primary); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 17px; color: var(--ink); margin: 14px 0 8px; }
.article p { font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.article ul.dots { padding-left: 20px; margin-bottom: 10px; }
.article ul.dots li { list-style: disc; margin-bottom: 8px; font-size: 16px; color: var(--ink); }
.article .lead-p { font-size: 16px; color: var(--ink-2); background: var(--bg-soft); padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 16px; }
.article figure { margin: 4px 0 22px; }
.article figure img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }

/* 项目介绍页：正文顶部项目快速导航（锚点跳转到同名 h2），胶囊按钮复用全站令牌 */
.proj-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px dashed var(--line); }
.proj-btn {
  display: inline-flex; align-items: center;
  font-size: 16px; color: var(--primary);
  padding: 8px 18px; border: 1px solid rgba(26,152,207,.3); border-radius: 40px;
  background: var(--primary-tint); transition: all .18s ease-in-out;
}
.proj-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 16px -6px rgba(26,152,207,.5); }
/* 锚点目标：标题落到视口顶部时留出呼吸空间（创新产业项目页 h2#proj-*） */
.article h2[id] { scroll-margin-top: 24px; }
.proj-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 创新产业项目页：里程碑时间轴 */
.timeline { position: relative; margin: 14px 0 20px; padding: 4px 0 4px 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--primary-soft); }
.tl-item { position: relative; padding: 0 0 18px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -25px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px #fff; }
.tl-date { display: inline-block; font-weight: 700; color: var(--primary-deep); font-size: 15px; line-height: 1.4; }
.tl-title { display: inline-block; color: var(--ink); font-size: 16px; font-weight: 600; margin: 0 0 4px 8px; }
/* 里程碑标题挂「相关新闻链接」：常态与正文同色，hover/focus 变主色并加下划线 */
.tl-title .tl-link { color: inherit; text-decoration: none; transition: color .15s ease-in-out; }
.tl-title .tl-link:hover,
.tl-title .tl-link:focus-visible { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
/* 键盘聚焦可见（与 .to-top 同款主色描边） */
.tl-title .tl-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
.tl-desc { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin: 0; }

/* 创新产业项目页：相关新闻链接 */
.proj-news { list-style: none; margin: 12px 0 6px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.proj-news li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px dashed var(--line); transition: background .15s ease-in-out; }
.proj-news li:last-child { border-bottom: none; }
.proj-news li:hover { background: var(--primary-tint); }
.proj-news .pn-title { flex: 1; min-width: 0; color: var(--ink); font-size: 15px; line-height: 1.6; display: block; overflow: visible; }
.proj-news li:hover .pn-title { color: var(--primary); }
.proj-news .pn-time { flex: none; color: var(--ink-time); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 经济运行情况：年份/月份筛选栏（照搬官网 years_show 排版，规范样式） */
.year-filter { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 18px; }
.yf-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.yf-row:last-child { border-bottom: 0; }
.yf-yr { flex: 0 0 54px; font-size: 14px; font-weight: 600; color: var(--ink-2); padding-top: 7px; }
.yf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.yf-chip { display: inline-block; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); text-decoration: none; transition: all .18s ease; }
.yf-chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.yf-chip.is-current { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; cursor: default; }
.yf-chip.is-current:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.yf-older { display: none; }
.yf-more-cb:checked ~ .yf-older { display: block; }
.yf-toggle { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--primary); cursor: pointer; user-select: none; }
.yf-toggle .t-collapse { display: none; }
.yf-more-cb:checked ~ .yf-toggle .t-expand { display: none; }
.yf-more-cb:checked ~ .yf-toggle .t-collapse { display: inline; }
/* 经济运行情况：文章标题 + 期次/来源/日期 */
.article-head { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.at-title { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.at-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.at-note { font-weight: 700; color: var(--ink); margin: 16px 0 8px; }

/* ============================================================
   新闻详情页：无左侧栏目（subnav），正文 + 右侧相关信息双栏；底部上一篇/下一篇
   ============================================================ */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.detail-main { min-width: 0; }
.article-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 34px 36px; }
.article-detail__head { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-detail__title { font-size: 25px; font-weight: 800; color: var(--ink); line-height: 1.4; margin: 0 0 14px; }
.article-detail__meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--ink-3); }
.article-detail__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-detail__body { font-size: 16px; color: var(--ink); line-height: 2; }
.article-detail__body p { margin-bottom: 16px; }
.article-detail__body img { max-width: 100%; border-radius: var(--r-md); margin: 8px 0 18px; }
/* 详情页数据表格（投资项目审批情况表等）：横向滚动，窄屏不撑破版心 */
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0 22px; border: 1px solid var(--line); border-radius: var(--r-md); }
.article-detail__body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.article-detail__body table th, .article-detail__body table td { border: 1px solid var(--line); padding: 9px 10px; text-align: center; vertical-align: middle; }
.article-detail__body table thead th { background: var(--primary-tint); color: var(--primary-deep); font-weight: 600; white-space: nowrap; }
.article-detail__body table tbody tr:nth-child(even) { background: #FAFCFE; }
.article-detail__body table td:first-child { white-space: nowrap; }
/* 详情页附件下载区 */
.att-box { display: grid; gap: 12px; margin: 6px 0 22px; }
.article-detail__body h3 { font-size: 18px; color: var(--primary); margin: 24px 0 10px; padding-left: 12px; border-left: 4px solid var(--primary); }
/* 详情页视频（专题专栏·规划宣传片）：按片源 640×368 预留比例，避免加载前后跳动 */
.article-video { margin: 6px 0 20px; }
.article-video video { display: block; width: 100%; height: auto; aspect-ratio: 640 / 368; border-radius: var(--r-md); background: #000; }

/* 右侧相关信息 */
.rel-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; position: sticky; top: 16px; }
.rel-box__head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--primary); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; color: #FFF; }
.rel-box__head::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background:#FFF; color: #FFF;}
.rel-list { list-style: none; margin: 0; padding: 4px 0; }
.rel-list li { border-bottom: 1px dashed var(--line); }
.rel-list li:last-child { border-bottom: none; }
.rel-link { display: flex; align-items: flex-start; gap: 9px; padding: 11px 18px; transition: background .15s ease-in-out; }
.rel-link::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--gold); transition: background .15s ease-in-out; }
.rel-link:hover { background: var(--bg-soft); }
.rel-link:hover::before { background: var(--primary); }
.rel-title { flex: 1; min-width: 0; font-size: 14px; color: var(--ink); line-height: 1.6; transition: color .15s ease-in-out;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-link:hover .rel-title { color: var(--primary); }
.rel-date { flex: none; font-size: 12px; color: var(--ink-time); margin-top: 2px; }

/* 详情页分享条（参考深圳市发改委 fx-pc） */
.share-bar { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); }
.share-bar__label { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.share-bar__list { display: flex; align-items: center; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2); cursor: pointer; transition: color .15s ease-in-out, background .15s ease-in-out, border-color .15s ease-in-out, transform .15s ease-in-out, box-shadow .15s ease-in-out; }
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover { color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.share-btn--wechat:hover { background: #07C160; }
.share-btn--weibo:hover { background: #E6162D; }
.share-btn--qq:hover { background: #12B7F5; }
.share-btn--qzone:hover { background: #FFB300; }
.share-btn--link:hover { background: var(--primary); }
.share-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px); background: rgba(20, 40, 70, .92); color: #fff; font-size: 14px; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 9999; }
.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 上一篇 / 下一篇 翻页 */
.prevnext { display: flex; gap: 20px; margin-top: 28px; }
.pn-item { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s ease, box-shadow .2s ease; }
.pn-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.pn-item--next { text-align: right; }
.pn-dir { flex: none; font-size: 13px; color: var(--ink-3); }
.pn-title { flex: 1; min-width: 0; font-size: 15px; color: var(--ink); transition: color .15s ease-in-out;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.pn-item:hover .pn-title { color: var(--primary); }
.pn-arrow { flex: none; color: var(--primary); }
.pn-arrow svg { display: block; }

@media (max-width: 1023px) {
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .rel-box { position: static; }
}
@media (max-width: 560px) {
  .prevnext { flex-direction: column; gap: 12px; }
  .pn-item--next { text-align: left; }
  .article-detail { padding: 22px 18px 26px; }
  .article-detail__title { font-size: 21px; }
}


/* 联系我们 / 业务咨询：联系方式卡片 */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft); }
.contact-card .cc-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 9px; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-card .cc-text { font-size: 14px; color: var(--ink); line-height: 1.7; }
.contact-card .cc-text strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* 联系我们：机构卡片 + 电话表格（内容移植自 webdesign/lxwm，样式适配本站令牌） */
.lxwm-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 30px; }
.lxwm-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.lxwm-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0,40,90,.22); border-color: rgba(26, 152, 207, .4); }
.lxwm-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--primary-tint); color: var(--primary); transition: background .25s var(--ease), color .25s var(--ease); }
.lxwm-ico svg { width: 22px; height: 22px; }
.lxwm-card:hover .lxwm-ico { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: #fff; }
.lxwm-meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lxwm-label { font-size: 13px; color: var(--ink-3); letter-spacing: .5px; }
.lxwm-val { font-size: 15.5px; color: var(--ink); line-height: 1.6; word-break: break-all; }
/* 值内可点外链（信息公开指引 xxgkzy.html 的互联网联系方式） */
.lxwm-val a { color: var(--primary); }
.lxwm-val a:hover { color: var(--primary-hover); text-decoration: underline; }

.lxwm-block { margin-top: 30px; }
.lxwm-h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--ink); padding-bottom: 12px; margin: 0 0 16px; border-bottom: 2px solid var(--line); border-left: none; padding-left: 0; position: relative; }
.lxwm-h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--primary); }
.lxwm-h2-ico { width: 9px; height: 18px; border-radius: 3px; background: linear-gradient(180deg, var(--primary) 0%, var(--gold-deep) 100%); flex: 0 0 auto; }
.lxwm-table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.lxwm-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lxwm-table thead th { background: var(--primary-soft); color: var(--primary-deep); font-weight: 700; text-align: left; padding: 13px 20px; letter-spacing: .5px; border-bottom: 3px solid var(--primary); vertical-align: middle; }
.lxwm-table thead th:last-child { text-align: right; }
.lxwm-table tbody td { padding: 13px 20px; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.7; vertical-align: top; }
.lxwm-table tbody tr:nth-child(even) { background: #F7FAFF; }
.lxwm-table tbody tr:hover { background: var(--primary-soft); }
.lxwm-table tbody td:first-child { color: var(--ink); width: 42%; }
.lxwm-table tbody td:last-child { font-family: "DIN Alternate", "Segoe UI", monospace; letter-spacing: .5px; color: var(--primary); font-weight: 700; text-align: right; white-space: nowrap; vertical-align: middle; }
@media (max-width: 768px) {
  .lxwm-cards { grid-template-columns: 1fr; gap: 12px; margin: 18px 0 24px; }
  .lxwm-card { padding: 14px 16px; gap: 12px; }
  .lxwm-ico { width: 40px; height: 40px; border-radius: 10px; }
  .lxwm-ico svg { width: 19px; height: 19px; }
  .lxwm-val { font-size: 14.5px; }
  .lxwm-block { margin-top: 24px; }
  .lxwm-h2 { font-size: 16px; }
  .lxwm-table { font-size: 13.5px; }
  .lxwm-table thead th, .lxwm-table tbody td { padding: 10px 14px; }
  .lxwm-table tbody td:first-child { white-space: normal; width: auto; }
  /* 窄屏下末列取消 nowrap：双号码单元格（如"18928087304　0756-8688300"）否则会被 .lxwm-table-wrap 的 overflow:hidden 裁切 */
  .lxwm-table tbody td:last-child { white-space: normal; }
}

/* --- 组织架构：内设机构弧形关系图（版式移植自 v4/zzjg.html，配色适配本站湖蓝令牌） --- */
.org-wrap {
  margin: 16px 0 6px;
  /* 底部装饰底纹：政府大楼线描插画（透明底 PNG），底对齐随宽缩放，弧形关系图叠于其上 */
  background-image: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)), url(../img/zhognxinxiantiao1.png);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}
.org-head { text-align: center; margin: 26px 0 32px; }   /* 徽标整体在版心居中 */
.org-badge {
  display: inline-block; padding: 18px 36px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-soft) 100%);
  color: var(--primary-deep); border: 1px solid rgba(26,152,207,.18);
  border-radius: 999px;
  font-size: 19px; font-weight: 800; letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  text-align: justify; text-align-last: justify;   /* 中文名与英文名左右两端对齐 */
}
.org-badge small {
  display: block; margin-top: 7px;
  font-size: 11px; font-weight: 600; color: inherit; letter-spacing: .3px; line-height: 1.45;
}
/* 弧线几何由 tools/gen_inner_pages.py 的 ORG_ARC_TOP / ORG_ARC_SAG / ORG_ARC_H 决定，改弧度须同步三处 */
.org-chart { position: relative; padding: 14px 0 20px; min-height: 300px; }
.org-arc { position: absolute; left: 0; right: 0; top: 0; height: 210px; width: 100%; pointer-events: none; }
.org-nodes {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.org-node {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; transition: transform .25s var(--ease);
}
.org-node:hover { transform: translateY(-4px); }
/* 左右对称：第 1/6、2/5、3/4 节点同一水平高度（偏移 = ORG_ARC_OFFSETS，图标圆心正落在弧线上） */
.org-node:nth-child(1), .org-node:nth-child(6) { margin-top: 0; }
.org-node:nth-child(2), .org-node:nth-child(5) { margin-top: 96px; }
.org-node:nth-child(3), .org-node:nth-child(4) { margin-top: 144px; }
.org-ico {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff; box-shadow: 0 8px 20px -6px rgba(26,152,207,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.org-ico svg { width: 28px; height: 28px; }
.org-node:hover .org-ico { transform: scale(1.06); box-shadow: 0 14px 28px -8px rgba(26,152,207,.55); }
.org-name {
  font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.5;
  min-height: 46px; display: flex; align-items: flex-start; justify-content: center;
}
@media (max-width: 1023px) {
  .org-arc { display: none; }
  .org-chart { min-height: auto; }
  .org-nodes { flex-wrap: wrap; gap: 16px; }
  .org-node { flex: 1 1 calc(33.33% - 16px); margin-top: 0 !important; }
  .org-name { min-height: auto; }
}
@media (max-width: 768px) {
  ./*org-badge { padding: 15px 24px; font-size: 16px; }*/
  .org-badge small { font-size: 10px; }
  /* 手机端节点变白色卡片纵向排列，背景楼体线描会被卡片切碎穿帮，整段隐藏 */
  .org-wrap { background: none; }
  .org-nodes { flex-direction: column; align-items: stretch; gap: 12px; }
  .org-node {
    flex: 1 1 100%; flex-direction: row; align-items: center; text-align: left; gap: 14px;
    padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-sm); margin-top: 0 !important; width: 100%; box-sizing: border-box;
  }
  .org-node:hover { transform: translateY(-2px); }
  .org-name { flex: 1 1 auto; min-width: 0; min-height: auto; justify-content: flex-start; font-size: 15px; }
}

/* 服务卡网格（报表入口 / 相关链接 / 服务指引） */
.svc-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  display: flex; align-items: center; gap: 12px; padding: 18px 16px; position: relative;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.svc-card .sc-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.svc-card .sc-txt { min-width: 0; }
.svc-card .sc-txt strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.svc-card .sc-txt span { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); }
.svc-card .sc-arrow { position: absolute; right: 14px; bottom: 14px; color: var(--ink-3); transition: color .15s, transform .15s; }

/* --- 分页 --- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.pg-btn { font-size: 13px; color: var(--ink-2); min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: all .15s ease-in-out; }
.pg-btn:disabled { opacity: .45; cursor: not-allowed; }
.pg-ellipsis { color: var(--ink-3); padding: 0 4px; }
.pg-info { font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.list-empty { text-align: center; color: var(--ink-3); padding: 40px 0; font-size: 14px; }

/* --- 内页响应式 --- */
@media (max-width: 1023px) {
  .inner-layout { grid-template-columns: 1fr; }
  /* 平板/手机：左栏变顶部块，取消 sticky 让它跟随内容一起滚动（桌面仍固定） */
  .subnav { margin-bottom: 4px; position: static; top: auto; }
  .file-grid { grid-template-columns: 1fr; }
  .fh-thumb { width: 180px; height: 120px; }
  .contact-grid, .svc-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero--inner { height: 160px; }
  .hero--inner .inner-head { bottom: 22px; }
  .inner-title { font-size: 22px; letter-spacing: 1px; }
  .fh-link { flex-direction: column; }
  .fh-thumb { width: 100%; height: 180px; }
  .info-link { flex-direction: column; gap: 8px; }
  .info-cal { width: auto; align-self: flex-start; }
  .contact-grid, .svc-card-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   内页页头（白底：工具条 + 品牌 + 主导航）  Dev: BuddyQiao 2026-09-10
   ============================================================ */
.site-header { background: #fff; }
/* 内页顶部条：与首页 .top-bar 保持相同设计语言（蓝底 + 白色胶囊链接 + 金色 hover） */
.site-header__utility { background: var(--primary); font-size: 13px; }
.site-header__utility .sh-inner { width: var(--container); max-width: calc(100% - 40px); margin: 0 auto; height: 36px; display: flex; align-items: center; justify-content: flex-end; }
.site-header__utility .sh-links { display: flex; gap: 10px; }
.site-header__utility .sh-links a {
  font-size: 13px; color: #fff; line-height: 1.5;
  padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 16px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.site-header__main { width: var(--container); max-width: calc(100% - 40px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.site-header__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.site-header__logo { height: 48px; width: auto; display: block; }
/* 品牌名称由 logo.png 承载，内页模板不再单独渲染 .site-header__name，避免重复 */
.site-header__search { display: flex; width: 300px; max-width: 44vw; }
.site-header__search input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line); border-right: 0; border-radius: var(--r-md) 0 0 var(--r-md); padding: 0 14px; font-size: 14px; color: var(--ink); }
.site-header__search input:focus { outline: none; border-color: var(--primary); }
.site-header__search button { height: 40px; padding: 0 18px; border: 0; background: var(--primary); color: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; cursor: pointer; font-size: 14px; transition: background .15s ease-in-out; }
.site-header__search button:hover { background: var(--primary-hover); }

/* 主导航（白底变体）：覆盖 .nav-main 的 absolute / 半透明蓝定位 */
.nav-main--inner { position: static; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 2px 8px rgba(10, 26, 46, .05); }
.nav-main--inner .nav-main__list a { color: var(--ink); padding: 18px 0; }
/* 悬停态与左栏 .subnav-list 同款配色（--bg-soft + 主色），此处连同「当前栏目高亮」一起声明；
   两处改动需保持一致，未合并是为了让顶部导航与左栏导航各自就近可读 */
.nav-main--inner .nav-main__list a:hover,
.nav-main--inner .nav-main__list > li.active > a { color: var(--primary); background: var(--bg-soft); }
/* 内页顶部下拉：当前二级栏目高亮（金色），三级菜单不高亮 */
.nav-main--inner .nav-sub > li.active > a {
  color: var(--gold); background: rgba(255, 211, 118, .16);
}
/* 内页下拉二级菜单：去掉白色/浅灰底，改为深蓝半透明，a 标签透明底与首页二级栏目一致 */
.nav-main--inner .nav-sub {
  background: rgba(15, 40, 70, .6); border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow-sm); padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.nav-main--inner .nav-sub a {
  display: block; padding: 8px 16px; font-size: 16px; font-weight: 400;
  color: #fff; text-align: center; background: transparent; border-radius: 4px;
  transition: color .15s ease-in-out, background .15s ease-in-out;
}
/* 内页页头：移动端 */
@media (max-width: 768px) {
  /* 内页品牌名称由 logo 承载，无 .site-header__name */
  .site-header__search { display: none; }
  /* 顶部工具条仅剩 sh-links；≤768 时 sh-links 被 JS 移入主导航栏，工具条已空 → 整条隐藏，避免残留空白蓝条 */
  .site-header__utility { display: none; }
  /* 主导航栏改为横排：[汉堡图标(左)] …… [sh-links(右)]，下拉抽屉绝对定位于栏下方 */
  .nav-main--inner {
    position: relative; background: #fff; height: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 16px; box-shadow: 0 2px 8px rgba(10, 26, 46, .05);
  }
  /* 汉堡图标：定位到主导航栏最左（屏幕左上角）；覆盖原 margin-left:auto（右对齐） */
  .nav-main--inner .nav-toggle {
    display: block; position: static; order: 0; margin: 0; flex: 0 0 auto;
    padding: 8px 6px; background: transparent;
  }
  .nav-main--inner .nav-toggle span { background: var(--primary); }
  /* sh-links 由 JS 在移动端移入主导航栏，置于右侧；白底栏上改用主色描边胶囊保证对比 */
  .nav-main--inner .sh-links {
    display: flex; gap: 8px; order: 2; margin-left: auto; flex: 0 0 auto;
  }
  .nav-main--inner .sh-links a {
    font-size: 12px; color: var(--primary); line-height: 1.4;
    padding: 4px 12px; border: 1px solid var(--primary); border-radius: 14px;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
  }
  .nav-main--inner .sh-links a:hover { background: var(--gold); color: #1A3A5C; border-color: var(--gold); }
  /* 抽屉：默认收起，点击汉堡展开，绝对定位覆盖在栏下方 */
  .nav-main--inner .nav-main__list {
    order: 3;
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    width: 100%; min-width: 0; margin: 0; background: var(--primary); z-index: 30;
  }
  .nav-main--inner .nav-main__list.open { display: flex; }
  .nav-main--inner .nav-main__list a { color: #fff; }
  .nav-main--inner .nav-main__list li.active a { color: var(--gold); background: rgba(0, 0, 0, .1); }
  .nav-main--inner .nav-sub { background: rgba(0, 0, 0, .14); }
  .nav-main--inner .nav-sub a { color: rgba(255, 255, 255, .92); }
}
