/* ai-new.css — shenzhenzxyy.com 臻选智护（/c-web 全量重跑：按新域名重算选型 + 从新 logo 重新提色）
   domain = "shenzhenzxyy.com"（16 字符）
   seed   = SUM charcode[i]*(i+1) = 14361
   本轮命中：标题 T-E / Banner BN9 / Header HE6（自带专属 Nav，跳过 NA 选型）/
             医院 H2 / 医生 D5 / 资讯 N2 / 分享 S9 / 项目 P2 /
             问答 Q9→授权降级 Q3 / 热词 T2 / Footer F5
   上一轮（seed=3457，实为旧域名 lzmei.cn 的残留值）命中的
   T-G/BN4/HE4/NA7/H8/D3/N6/S8/P5/Q2/T6 已全部作废。
   BEGIN/END 区块内含完整选型依据、降级依据与取色说明，此处不重复；
   END 之后为列表页/详情页样式，本次改版原样保留、未做任何改动。 */

body { background: var(--color-bg); color: var(--color-text-normal); }
.filter_img { filter: blur(15px) !important; }
.camp1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.camp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* ===== PC首页区块 BEGIN ===== */

/* ==========================================================================
   首页布局选型（/c-web 全量重跑 · pc-index 第二步）
   domain = "shenzhenzxyy.com"（16 字符）
   seed   = Σ charcode[i]×(i+1)
          = 115×1+104×2+101×3+110×4+122×5+104×6+101×7+110×8
          + 122×9+120×10+121×11+121×12+46×13+99×14+111×15+109×16 = 14361
   ⚠ 上一轮注释里的 seed=3457 /「8 字符」是【旧域名 lzmei.cn】的残留值
     （字符码 108,122,109,101,105,46,99,110 正是 "lzmei.cn"；/r-site-info 换域名时
      只替换了字符串、没有重算 seed）。本次已按 shenzhenzxyy.com 重算，布局随之全部变化。

   ① 有「库自带选取方法」的区块 —— 以库自带式为准（与上一轮一致的判定惯例）：
      标题   标题库自带   seed % 7        = 14361 % 7 = 4 → T-E 左色块标签型
      Header Header库自带 (seed+8) % 6    = 14369 % 6 = 5 → HE6 上下双行·层叠描边 tab 导航条
             ⚠ HE6 自带专属 Nav → 按库内明示「选中本档时跳过 Nav 选型」，本轮不跑 NA*
               （若按 Nav 库自带式 seed%7 会得 NA5，本轮作废不落地）
      Banner Banner库自带 (seed+11) % 9   = 14372 % 9 = 8 → BN9 玻璃拟态悬浮筛选面板
                                                            + 辅色排行榜 + 辅色热门横条
   ② 无库自带方法的区块 —— 用第二步质数公式 pick(i)=(seed+domain[i%16]×prime[i])%count_i：
      医院   i=1 p=3  'h'104  14673 % 8 = 1 → H2 纯文字时间轴（列表条·时间轴）
      医生   i=2 p=7  'e'101  15068 % 7 = 4 → D5 杂志大图错位
      资讯   i=3 p=11 'n'110  15571 % 9 = 1 → N2 日期时间轴（缩略图作 56px 圆形节点）
      分享   i=4 p=13 'z'122  15947 % 9 = 8 → S9 横向卡列表 + 右侧侧栏
      项目   i=5 p=17 'h'104  16129 % 6 = 1 → P2 主色实底突出价（2列）
      问答   i=6 p=19 'e'101  16280 % 9 = 8 → Q9 ⚠ 数据不满足，按库内授权降级（见下）
      热词   i=7 p=23 'n'110  16891 % 6 = 1 → T2 金银铜排行榜
      Footer i=8 p=29 'z'122  17899 % 5 = 4 → F5 图片背景虚化（见 footer.html）

   ⚠ 问答 Q9 降级说明（按 Q9 条目「落地说明」授权，不是随意换布局）：
      Q9 = N9 结构，依赖 ① 左横向卡的缩略图 ② 右侧栏的 $right_wenda_* 备用列表。
      本站实测：`grep -c right_wenda home.php` = 0（**全站不存在**该变量），
      且 $wenda_XX_list 每类仅 6 条、模板历来不渲染 thumb（问答内容为纯文字）。
      「侧栏数据源统一规则」要求缺失时照范式在 home.php 新增查询，但本 skill
      「文件操作范围」明确**禁止修改任何 .php 文件** → 两条规则冲突时以硬禁止为准，
      不动 home.php。故按 Q9 自带的兜底「或直接用文字型 Q1–Q6」，
      用同一质数公式把分母收到安全子集 count=6：(14361+101×19) % 6 = 16280 % 6 = 2
      → **Q3 大字背景装饰（装饰大字·无图）**，字段与问答数据完全吻合（标题/答案/时间，无需图）。

   ⚠ 医院 H2「无图」与「字段保护原则（核心约束）」冲突的处理：
      H2 库描述为"纯文字时间轴·无图"，但本站 $hospital_XX_list 实有 thumb 字段，
      按核心约束「布局变更不能让任何字段从页面消失／逐一确认布局后仍可见」，
      落地时保留 H2 的定义性结构（左主色竖线 + 圆点节点 + 单列），
      并把 thumb 作为条目右侧 104×70 小图保留展示（**不删字段**）。
      与资讯 N2 的区别刻意保持：N2 是「缩略图本身就是 56px 圆形节点」，
      H2 是「圆点节点 + 文字区右侧矩形小图」，两者形态家族不混同。

   叠加组件：tab_pick=(seed+domain[i%16]×41)%3   mq_pick=(seed+domain[i%16]×43)%4
      医院 tab=(14361+104×41)%3=18625%3=1(TAB1)  mq=(14361+104×43)%4=18833%4=1(无)
      医生 tab=(14361+101×41)%3=18502%3=1(TAB1)  mq=(14361+101×43)%4=18704%4=0(无)
      资讯 tab=(14361+110×41)%3=18871%3=1(TAB1)  mq=(14361+110×43)%4=19091%4=3(MQ1)
      分享 tab=(14361+122×41)%3=19363%3=1(TAB1)  mq=(14361+122×43)%4=19607%4=3(MQ1)
      项目 tab=(14361+104×41)%3=18625%3=1(TAB1)  mq=(14361+104×43)%4=18833%4=1(无)
      问答 tab=(14361+101×41)%3=18502%3=1(TAB1)  mq=(14361+101×43)%4=18704%4=0(无)
      热词 tab=(14361+110×41)%3=18871%3=1(TAB1)  mq=(14361+110×43)%4=19091%4=3(MQ1)
      （7 个板块 tab_pick 全为 1 并非笔误：seed%3=0，而 domain 在这些位次上的字符
        h/e/n/z 的 ASCII 均 ≡2 (mod 3)，41≡2 → 2×2=4≡1，故一致命中 TAB1。）
      落地取舍：
      · TAB1 全部 7 个板块落地（灰底圆角胶囊 Tab 行，纯站内导航链接，不依赖列表变量）。
      · 资讯 mq=3 → MQ1 落地：数据 $right_news_kq_list（7 条，含 thumb；N2 主区不用该变量，零重复）。
      · 分享 mq=3 → **MQ1 省略**：分享唯一的备用列表 $share_right_XX_list 已被 S9 自己的右侧栏
        渲染，再拿它做底部轮播＝同一板块内把同一批数据摆两遍（库内 N6/Q6 反复禁止），
        且无第二条分享备用查询、又禁止改 .php → 按「没有真实数据不落地」省略。
      · 热词 mq=3 → **MQ1 省略**：tags 表字段仅 tagid/tag/url/lastusetime，**无缩略图字段**，
        MQ1 是头像横滚榜，无图撑不起来（与上一轮同因省略）。
      实际落地 MQ1：仅资讯。
   浮层引导组件 GD1–GD3：库规则默认不叠加；BN9 未强绑定（仅 BN8 强绑 GD1）→ 本次不输出。
   相邻形态自检：BN9 玻璃拟态浮层 / H2 时间轴·列表条 / D5 杂志栏·错位 /
                 N2 时间轴·节点小图 / S9 两栏·横向卡·带侧栏 / P2 矩形·主色实底 /
                 Q3 装饰大字·无图 / T2 排行榜·序号 —— 相邻均不同族 ✓
                 （H2 与 N2 同属"时间轴"但不相邻，中间隔着 D5，不触发约束；
                   且两者图文关系刻意做了区分，见上方 H2 说明。）
   ========================================================================== */

/* === AI 主题色（logo 提取主色 + 适配辅色 + 中性 + 功能色）===
   statics/hhp/image/logo111.png「臻选智护 shenzhenzxyy.com」= 本轮 /r-pic 刚同步的新 logo。
   像素级取色（alpha≥200，剔除近白/近黑，按 24 级分桶后取前 12 色，附白底对比度）：
     青绿深 #287575 (H=180 S=49% L=31%, 38817px) —— 中文站名 + 域名文字主色，白底 5.40:1
     亮青绿 #21B5B5 (H=180 S=69% L=42%,  2584px) / #23CCC7 (1210px) / #27E7DE (1003px) —— 图标叶片高光
     墨青   #054E5A (H=188 S=90% L=19%,  1601px) / #06717F (1577px) / #066671 (1181px) —— 图标暗部
     琥珀橙 #E79E3A (H= 35 S=78% L=57%,  1214px) —— 图标左下暖色弧叶 + 装饰圆点
   ① 主色：logo 主视觉是 H≈180 的青绿轴（占比压倒性）。取该色相、S=66%、L=30% → #1A7D7F。
      对比度校正：L=30% ≤ 45% ✓，白底 4.90:1 ✓（WCAG AA 4.5:1），可直接做白底文字/竖条/描边。
      logo 的亮青 #21B5B5 不丢：压成 --color-primary-accent 供列表页描边用，
      更亮的 #E3F7F7 做 --color-primary-light 只作淡底填充，不拿它写字。
   ② 辅色：按库内优先级 1「logo 里有明确的第二主色 → 直接取该色做辅色（首选，最贴品牌）」，
      取图标的琥珀橙 #E79E3A（H=35）。它与主色 H=180 冷暖对置，是本 logo 自身的配色关系，
      不是套用「珊瑚橙」这类固定默认强调色；优先级 1 高于「单色系→邻近色 H±25~45°」兜底。
      ⚠ #E79E3A 对白底仅 2.25:1，绝不可做白底文字，也不可做「实底+白字」按钮底；
        凡白底文字/描边一律用校正后的 --color-accent-dark #9B6417（白底 4.97:1 ✓），
        原琥珀色只用于渐变、角标底、装饰描边与小面积浅底。
      ⚠ 本轮 Banner 命中 BN9，库内明示其「适合主色偏冷（青绿/蓝绿）而辅色偏暖（金/橙/珊瑚）」，
        本站青绿主 + 琥珀辅正是该条目的目标配色关系，轮播区整片走辅色点睛。
   ③ 中性：固定中性灰、不带色相（库内强调这步对「去枯燥」影响最大）。
   ④ 功能色：固定语义色，独立于品牌色。优惠价固定 #E53935（项目区块价格固定规则）。
   配色分配遵循 60/30/10：中性底 60 / 青绿主色结构 30 / 琥珀辅色强调 10。 */
:root {
  /* ① 品牌主色系（结构：标题栏/导航/链接/竖条/描边） */
  --color-primary:#1A7D7F; --color-primary-dark:#126264; --color-primary-light:#E3F7F7;
  --color-primary-rgb:26,125,127; --color-primary-dark-rgb:18,98,100;
  --color-primary-light-rgb:227,247,247;
  /* 主色的高饱和亮化版（= logo 图标高光青），列表页虚线描边等处引用（END 之后的样式用到） */
  --color-primary-accent:#21B5B5;
  /* ② 辅助/强调色（logo 实有的第二主色：琥珀橙 H=35，非固定默认强调色） */
  --color-accent:#E79E3A; --color-accent-dark:#9B6417; --color-accent-rgb:231,158,58;
  /* ③ 中性底与正文 */
  --color-bg:#f4f5f7; --color-bg-white:#fff;
  --color-text-dark:#1f2328; --color-text-normal:#333940; --color-text-light:#6b7280; --color-text-lighter:#9aa3ad;
  --color-border:rgba(31,35,40,.12); --color-border-light:rgba(31,35,40,.08);
  /* ④ 功能色 */
  --color-promo:#E53935; --color-success:#2fae66; --color-success-rgb:47,174,102;
}
/* 浏览器默认给 body 加 margin:8px，不清掉的话整站四周会悬空一圈灰边、通栏底色贴不到窗口边缘 */
body { margin: 0; padding: 0; }

/* === Tab 隐藏契约（功能性 CSS，必须留在 header 实际加载的这张表里）===
   .current 只管导航高亮，不负责显隐；隐藏未选中面板全靠这条。
   旧表 pc.css 里也有一份，但 header.html 已把它注释停用 → 必须在本表保留，
   否则「Tab 点了没反应 / 多分类同时显示」（第四步 Bug 表已列）。 */
.news-mode { display: none !important; }
.ind-yh-list.news-mode,
.ind-doc-list.news-mode,
.ind-zx-list.news-mode,
.ind-hos-list.news-mode,
.ind-xm-list.news-mode,
.ind-wd-list.news-mode,
.ind-rc-list.news-mode { display: none !important; }

/* === 首页通用骨架 === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.index-hos-con { margin: 34px 0; }
.index-hos-box { background: transparent; }

/* ==========================================================================
   Header HE6 上下双行 · 标语搜索行 + 层叠描边 tab 导航条（含专属 Nav）
   —— 采用库内「HE6 变体：无标语 + 搜索框绝对居中（Grid 1fr auto 1fr）」
      判定依据：本站 statics/hhp/image/ 无 biaoyu.png（站点专属标语图，库内明示
      "换站时必须换成目标站自己的标语图或整段省略，不要照搬别站的品牌语"），
      也无 search.png → 按变体走 Grid 三栏 + 内联 SVG 搜索钮，不依赖这两张素材。
   坑 1：必须补作用域内 reset（本站未加载 reset.css）。缺了 <p> 的默认 margin
      会把搜索/电话行顶歪、<ul> 的默认 padding-left:40px 会让导航右移对不齐 Logo。
   坑 2：本站 8 个频道（<10），必须用 flex:1 1 0 等宽平铺 + space-between，
      不能用原站的 space-around，否则 tab 之间留空档、主色带被切碎。
   坑 3：<ul><a><li> 是有意为之，勿"修正"成 <li><a>。
   坑 4：二维码 top 偏移不能照抄 -38px（那是有标语图撑高的原版头部值）。
      本站无标语图、上行更矮 → 按库内建议取 -20px，避免二维码上飘压住电话文字。
   ========================================================================== */
/* 作用域内 reset（替代来源站的 reset.css，缺了会顶歪，见坑 1） */
.header, .header-nav-box { font-size: 16px; }
.header h1, .header p, .header ul, .header ol, .header li,
.header-nav-box ul, .header-nav-box ol, .header-nav-box li { margin: 0; padding: 0; }
.header ul, .header ol, .header-nav-box ul, .header-nav-box ol { list-style: none; }
.header a, .header-nav-box a { text-decoration: none; }
.header img, .header-nav-box img { max-width: 100%; height: auto; border: 0 none; vertical-align: top; }
.header input { background: none; outline: none; border: 0; }

/* 上行：Grid 三栏 1fr auto 1fr —— 左右栏永远等宽，中间搜索框天然精确居中，
   不受 logo 宽度 / 电话文字长度影响（这是选用本变体的核心原因） */
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px; background: var(--color-bg-white); }
.header.public-content { position: relative; margin: 0 auto; max-width: 1240px; padding: 16px 20px; box-sizing: border-box; }
.hearder-box { justify-self: start; text-align: center; }
.header .logo_head { width: 200px; height: auto; display: inline-block; image-rendering: -webkit-optimize-contrast; }
.header-search { justify-self: center; color: #000; }
.header .input { position: relative; height: 30px; border-top: #ccc solid 1px; border-right: none; border-bottom: #ccc solid 1px; border-left: #ccc solid 1px; border-radius: 4px 0 0 4px; }
.header .input input { outline: none; border: none; padding: 0 10px; margin: 0; width: 330px; height: 30px; color: #333; font-size: 16px; border-radius: 4px 0 0 4px; box-sizing: border-box; background: #fff; }
.header .search { position: absolute; top: -1px; right: -50px; width: 50px; height: 32px; background-color: var(--color-primary-dark); border-radius: 0 4px 4px 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color .2s; }
.header .search:hover { background-color: var(--color-primary); }
.header .search svg { width: 18px; height: 18px; }
.lxwm400 { justify-self: end; position: relative; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.lxwm400::before { content: ""; display: block; width: 22px; height: 22px; flex-shrink: 0; background-size: contain; background-repeat: no-repeat; background-position: center; background-image: url(/statics/hhp/image/phone.png); }
.lxwm400 .header-tel-label { font-size: 12px; color: var(--color-text-light); }
.lxwm400 .header-tel { color: var(--color-primary-dark); font-weight: 700; }

/* 下行：通栏层叠描边 tab 导航条（HE6 专属 Nav，本轮不另选 NA*） */
.header-nav-box { width: 100%; background: #fff; border-bottom: 4px solid var(--color-primary-dark); display: flex; align-items: flex-end; justify-content: center; }
.header-nav-box .header-nav { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; display: flex; align-items: flex-end; justify-content: space-between; }
.header-nav > a { flex: 1 1 0; min-width: 0; color: #000; }
.header-nav li { height: 40px; line-height: 40px; margin: 7px 0 0 0; padding: 0 22px; cursor: pointer; background-color: var(--color-primary); color: #fff; border-top: 4px solid var(--color-primary-dark); border-left: 4px solid var(--color-primary-dark); border-right: 1px solid var(--color-primary-dark); white-space: nowrap; transition: background-color .2s; }
.header-nav > a > li { padding: 0 12px; text-align: center; }
.header-nav > a:hover > li { background-color: var(--color-primary-dark); }
.header-nav .header-xiangmu { border-right: 4px solid var(--color-primary-dark); }
.header-nav > li.erweima { flex: 0 0 auto; }
.header-nav .erweima { background-color: unset; border: unset; cursor: unset; }
.header-nav .erweima img { width: 70px; position: relative; top: -20px; left: -12px; }
.header-nav .active { color: #fff; background-color: var(--color-primary-dark); }

@media (max-width: 960px) {
  .header { grid-template-columns: 1fr; row-gap: 10px; }
  .hearder-box { justify-self: center; }
  .header-search { justify-self: stretch; width: 100%; }
  .header .input { width: 100%; }
  .header .input input { width: 100%; }
  .lxwm400 { justify-self: center; }
  .header-nav-box .header-nav { flex-wrap: wrap; justify-content: flex-start; }
  .header-nav > a { flex: 0 0 auto; }
  .header-nav .erweima img { top: 0; left: 0; }
}

/* ==========================================================================
   Banner BN9 玻璃拟态悬浮筛选面板 + 辅色排行榜 + 辅色热门横条（bn9-* 前缀）
   数据：轮播 $banner_images_arr；左面板 get_province_hos()/get_city_hos()
        （已 grep 确认存在于 phpcms/libs/functions/global.func.php:2407/2423）；
        右榜与底部横条用 $formal_hos_list —— 库内要求"优先全类型热门医院查询"，
        本站该变量正是 status=1 and is_old=0 不叠加 yp_type 的全类型查询（8 条），
        比退化复用某个专科列表更贴库内定义。
   BN9 不强绑定专属 Header/Nav → 本轮 Header 走 HE6（含其专属 Nav），互不冲突。
   榜单/横条标签/奖牌1名/分页点/面板栏头竖条/更多胶囊一律走辅色，结构走主色。
   ========================================================================== */
.bn9-wrap { position: relative; background: var(--color-primary-dark); }
.bn9-wrap .ai-home-swiper { width: 100%; height: 460px; overflow: hidden; margin: 0; }
.bn9-wrap .ai-home-swiper .swiper-slide { height: 460px; }
.bn9-wrap .ai-home-swiper .swiper-slide img { width: 100%; height: 460px; object-fit: cover; display: block; }
.bn9-wrap .ai-home-swiper .swiper-pagination { z-index: 20; }
.bn9-wrap .ai-home-swiper .swiper-pagination-bullet { width: 9px; height: 9px; background: rgba(255,255,255,.55); opacity: 1; transition: width .25s, background .25s; }
.bn9-wrap .ai-home-swiper .swiper-pagination-bullet-active { width: 22px; border-radius: 5px; background: var(--color-accent); }
/* 左右渐隐压暗，衬托浮层内容 */
.bn9-wrap .ai-home-swiper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.16) 34%, rgba(0,0,0,.16) 66%, rgba(0,0,0,.5) 100%); pointer-events: none; z-index: 5; }

.bn9-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; pointer-events: none; z-index: 10; box-sizing: border-box; padding: 0 20px; }

/* 左侧：玻璃拟态地区/城市面板。overlay 的左右 padding 与 .container / .header-nav 内层
   保持一致（均 0 20px），面板左缘才与导航条左缘对齐、像从导航延伸下来。改其一须同步改另一。 */
/* ⚠ 面板高度必须「按内容撑开」，不能写死百分比后再 overflow:hidden 裁切（现场踩过）：
   本站 get_province_hos() 返回 6 条省份、get_city_hos() 返回 5 条城市（global.func.php:2407/2423），
   按库内原值 height:88% + .bn9-bd{overflow:hidden} 排下来，「按城市」最后一条【西安市】
   和「按地区」最后一条会被面板下边缘裁掉 —— 那是真实数据被静默藏掉，违反字段保护原则。
   改法：aside 用 height:auto 按内容撑开（overlay 已是 align-items:center，自动垂直居中），
   只留 max-height:92% 当兜底；各 panel 改 flex:0 0 auto 由内容定高；
   .bn9-bd 去掉 overflow:hidden、改用 gap 紧凑排布，并把行高/内边距收紧，
   让 6+5 条在 460px 轮播高度内排得下（实测总高约 392px < 423px 上限，留有余量）。
   若将来这两个函数返回更多条目，超出部分会自然把面板顶高而不是被裁，能立刻看出来。 */
.bn9-aside { pointer-events: all; width: 150px; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9)); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); height: auto; max-height: 92%; box-sizing: border-box; overflow: hidden; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.6); }
.bn9-panel { flex: 0 0 auto; display: flex; flex-direction: column; padding: 5px 0 6px; min-height: 0; }
.bn9-panel + .bn9-panel { border-top: 1px solid rgba(var(--color-accent-rgb), .16); }
.bn9-hd { font-size: 13px; font-weight: 800; color: var(--color-text-dark); padding: 4px 10px 5px; line-height: 1.4; letter-spacing: .5px; display: flex; align-items: center; gap: 7px; position: relative; }
.bn9-hd::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--color-accent), var(--color-accent-dark)); }
.bn9-ico { width: 15px; height: 15px; flex-shrink: 0; color: var(--color-accent-dark); }
.bn9-bd { list-style: none; margin: 0; padding: 0; flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; }
.bn9-bd a { display: block; padding: 3px 14px; font-size: 13px; line-height: 1.3; color: #3a4046; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 6px; margin: 0 6px; transition: color .2s, background .2s; }
.bn9-bd a:hover { color: var(--color-accent-dark); background: rgba(var(--color-accent-rgb), .14); }
.bn9-more { text-align: center; padding: 6px 0 2px; margin-top: auto; }
.bn9-more a { font-size: 12px; font-weight: 800; line-height: 1.3; color: var(--color-accent-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 3px; padding: 3px 14px; border: 1px solid rgba(var(--color-accent-rgb), .4); border-radius: 999px; transition: color .2s, background .2s; }
.bn9-more a:hover { color: #fff; background: var(--color-accent-dark); border-color: var(--color-accent-dark); }

/* 右侧：热门医院榜（辅色渐变头 + 奖牌序号） */
.bn9-rank-box { pointer-events: all; width: 236px; background: #fff; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; padding-bottom: 8px; height: 84%; box-shadow: 0 12px 34px rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.6); box-sizing: border-box; }
.bn9-rank-hd { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 800; letter-spacing: .5px; color: #fff; background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-dark) 100%); padding: 12px 14px; margin: 0 0 4px; }
.bn9-rank-hd__line { flex: 0 0 24px; height: 1px; background: rgba(255,255,255,.55); display: block; }
.bn9-rank-hd__text { flex-shrink: 0; white-space: nowrap; }
.bn9-rank-hd__hot { font-style: normal; color: #fff; background: rgba(255,255,255,.24); padding: 1px 7px; border-radius: 5px; margin-right: 2px; font-size: 12px; }
.bn9-rank { list-style: none; margin: 0; padding: 2px 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-around; counter-reset: rank-counter; min-height: 0; }
.bn9-rank__item { display: flex; align-items: center; gap: 10px; counter-increment: rank-counter; }
.bn9-rank__num { font-style: normal; font-size: 12px; font-weight: 800; width: 20px; height: 20px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; color: #fff; background: #c4ccd4; }
.bn9-rank__num::before { content: counter(rank-counter); }
.bn9-rank__item:nth-child(1) .bn9-rank__num { background: linear-gradient(135deg, #f6cf6b, var(--color-accent-dark)); box-shadow: 0 2px 6px rgba(var(--color-accent-rgb), .5); }
.bn9-rank__item:nth-child(2) .bn9-rank__num { background: linear-gradient(135deg, #cdd3da, #a7b0ba); }
.bn9-rank__item:nth-child(3) .bn9-rank__num { background: linear-gradient(135deg, #e0b088, #c08b5a); }
.bn9-rank__item:nth-child(n+4) .bn9-rank__num { background: #eef0f2; color: #9aa3ad; }
.bn9-rank__link { font-size: 13px; color: #333; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; transition: color .2s; }
.bn9-rank__link:hover { color: var(--color-accent-dark); }

@media (max-width: 900px) {
  .bn9-overlay { display: none; }
  .bn9-wrap .ai-home-swiper::after { display: none; }
}

/* 底部热门横条：辅色渐变标签头 + 无缝循环（列表写两份 + translateX(-50%)） */
.bn9-hotbar { background: transparent; padding: 0; margin: 18px 0; }
.bn9-hotbar__inner { max-width: 1240px; margin: 0 auto; box-sizing: border-box; display: flex; align-items: center; overflow: hidden; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.1); background: #fff; }
.bn9-hotbar__label { flex-shrink: 0; background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-dark) 100%); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .5px; padding: 0 22px; height: 46px; display: flex; align-items: center; white-space: nowrap; border-radius: 10px 0 0 10px; }
.bn9-hotbar__track-wrap { flex: 1; overflow: hidden; display: flex; align-items: center; }
.bn9-hotbar__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0; flex-shrink: 0; animation: bn9-hotbar-scroll 22s linear infinite; }
.bn9-hotbar__track-wrap:hover .bn9-hotbar__list { animation-play-state: paused; }
@keyframes bn9-hotbar-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.bn9-hotbar__item { display: flex; align-items: center; gap: 6px; padding: 0 16px; height: 46px; border-right: 1px solid #f0f0f0; flex-shrink: 0; }
.bn9-hotbar__item:last-child { border-right: none; }
.bn9-hotbar__img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1.5px solid rgba(var(--color-accent-rgb), .4); }
.bn9-hotbar__name { font-size: 13px; color: #333; text-decoration: none; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; transition: color .2s; }
.bn9-hotbar__name:hover { color: var(--color-accent-dark); }
.bn9-hotbar__d { font-size: 11px; color: var(--color-text-lighter); white-space: nowrap; flex-shrink: 0; }
@media (max-width: 768px) {
  .bn9-hotbar__item { padding: 0 8px; }
  .bn9-hotbar__name { max-width: 80px; }
}

/* ==========================================================================
   板块标题风格 T-E 左色块标签型（全站 7 个板块统一，seed%7=4）
   白底 + 左侧 36px 主色竖条（英文竖排白字嵌入）+ 右侧中文主副两行标题。
   Tab 切换原结构（.tab > a.title[data-type]）整体搬进 .te-tabs，
   三个 a 仍互为兄弟、仍在 .index-hos-con 内 → 既有切换 JS
   （$(this).addClass('current').siblings() + closest('.index-hos-con')）零改动。
   注意：库内 T-E 的 tab 规则写的是 .tab .on a / .tab .cur a，
   但本站激活态是 a 自身带 .current（a.title.current）→ 已按本站实际改写为 .tab a.current。
   ========================================================================== */
.mod-title-te { display: flex; align-items: stretch; background: #fff; border-radius: 6px; box-shadow: 0 1px 8px rgba(0,0,0,.06); overflow: hidden; margin-bottom: 20px; }
.mod-title-te .te-sidebar { width: 36px; min-width: 36px; background: var(--color-primary); display: flex; align-items: center; justify-content: center; padding: 12px 0; flex-shrink: 0; }
.mod-title-te .te-en { writing-mode: vertical-rl; text-orientation: mixed; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .28em; text-transform: uppercase; }
.mod-title-te .te-main { padding: 12px 16px; flex: 1; min-width: 0; }
.mod-title-te .te-title { font-size: 20px; font-weight: 700; color: #1a1a1a; margin: 0; line-height: 1.3; }
.mod-title-te .te-sub { font-size: 12px; color: #999; margin: 4px 0 0; }
.mod-title-te .te-tabs { align-self: center; display: flex; flex-shrink: 0; margin-right: 14px; }
.mod-title-te .te-tabs .tab { display: flex; gap: 6px; flex-wrap: wrap; }
.mod-title-te .tab a { display: inline-flex; align-items: center; padding: 6px 14px; font-size: 13px; font-weight: 600; color: #555; background: #fff; border: 1px solid #ddd; border-radius: 999px; white-space: nowrap; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.mod-title-te .tab a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.mod-title-te .tab a.current { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.mod-title-te .te-more { align-self: center; margin-right: 16px; font-size: 13px; color: #888; white-space: nowrap; flex-shrink: 0; text-decoration: none; transition: color .2s; }
.mod-title-te .te-more:hover { color: var(--color-primary); }
@media (max-width: 900px) {
  .mod-title-te { flex-wrap: wrap; }
  .mod-title-te .te-sidebar { width: 100%; min-width: 0; padding: 6px 0; }
  .mod-title-te .te-en { writing-mode: horizontal-tb; }
  .mod-title-te .te-main { flex: 0 0 100%; }
  .mod-title-te .te-tabs { margin: 0 14px 12px; }
  .mod-title-te .te-more { margin: 0 16px 12px; }
}

/* ==========================================================================
   叠加组件 TAB1 灰底圆角胶囊 Tab（静态导航型）—— 7 个板块全部命中 tab_pick=1
   纯站内导航 <a>，不依赖任何列表变量。医院板块的城市 URL 按库内
   「01zxmr.net 落地补充」的可靠解析法，用 get_province_hos()/get_city_hos()
   返回的真实 pinyin 拼（省级 /yy/{专科}/{pinyin}/、市级 /yy/{专科}/{parent_name}/{pinyin}/），
   不凭经验猜拼音。
   ========================================================================== */
.ind-sec-tabs { display: flex; align-items: center; gap: 6px; background: #f4f6fa; border-radius: 10px; padding: 5px; margin-bottom: 20px; flex-wrap: wrap; }
.ind-sec-tab { padding: 6px 16px; font-size: 13px; font-weight: 600; color: #666; text-decoration: none; border-radius: 7px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.ind-sec-tab:hover { color: var(--color-primary); background: #fff; }
.ind-sec-tab.current { background: #fff; color: var(--color-primary); box-shadow: 0 1px 6px rgba(0,0,0,.10); }

/* ==========================================================================
   叠加组件 MQ1 头像横向自动滚动榜 —— 仅资讯板块命中（mq_pick=3）
   数据 $right_news_kq_list（7 条，含 thumb/title/url/updatetime）；
   N2 主区用的是 $news_XX_list，两者零重复。
   按 MQ1 库定义，底部榜不叠加专科过滤，三个 tab 共用同一条。
   无缝循环：HTML 里同一个 {loop} 必须写两遍（第二份 aria-hidden），
   轨道总宽=2×单组宽，translateX(-50%) 才正好滑到重合位置。
   时间字段保留原则要求底部轮播也带更新时间 → 每项含 .doc-bottom-nav__d。
   标签底色库内原值是写死的 #222，本站按「禁止写死颜色」改走 --color-primary-dark。
   ========================================================================== */
.doc-bottom-nav { display: flex; align-items: center; background: #fff; border-top: 1px solid #eee; height: 60px; overflow: hidden; padding-top: 20px; margin-top: 20px; }
.doc-bottom-nav__label { flex-shrink: 0; font-size: 13px; font-weight: 700; color: #fff; background: var(--color-primary-dark); padding: 6px 14px; border-radius: 4px; margin-right: 24px; white-space: nowrap; letter-spacing: 1px; }
.doc-bottom-nav__track-wrap { flex: 1; overflow: hidden; }
.doc-bottom-nav__track { display: flex; align-items: center; width: max-content; animation: docNavScroll 22s linear infinite; }
.doc-bottom-nav__track:hover { animation-play-state: paused; }
@keyframes docNavScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.doc-bottom-nav__item { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; text-decoration: none; border-right: 1px solid #eee; transition: opacity .2s; }
.doc-bottom-nav__item:last-child { border-right: none; }
.doc-bottom-nav__item:hover { opacity: .75; }
.doc-bottom-nav__img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid #eee; }
.doc-bottom-nav__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-bottom-nav__name { font-size: 13px; color: #333; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.doc-bottom-nav__d { font-size: 11px; color: var(--color-text-lighter); white-space: nowrap; }

/* ==========================================================================
   医院 H2 纯文字时间轴（列表条·时间轴）—— pick=1
   字段清单：封面图 ✓ | 机构名称 ✓ | 地址 ✓ | 关联项目标签 ✓ | 更新时间 ✓
   字段映射：左侧主色竖线 + 圆点节点（H2 的定义性结构）
             | 机构名→文字区首行 | 地址→次行 | 关联项目标签→标签行（2 行封顶）
             | 更新时间→末行 | 封面图→条目右侧 104×70 矩形小图
   字段保护：H2 库描述为"无图"，但本站 $hospital_XX_list 实有 thumb，
             按核心约束不得让字段消失 → 保留 thumb 作右侧小图（详见文件顶部说明）。
             与资讯 N2 的"缩略图即 56px 圆形节点"刻意区分，两者形态家族不混同。
   关联标签独立可跳转（H1-H8 通用强制规则）：整条不用外层 <a>，
             .h2-node 是 div 容器，图片包内部 .h2-node__hero 跳机构详情页，
             机构名/地址/时间各自独立 <a>，标签各自 <a href="{$vxy['url']}"> 跳热词详情页。
   标签行数约束（第四步 Bug 表 + 检查清单）：.h2-node__tags 带 max-height + overflow:hidden，
             tag 显式 line-height:18px → max-height = 18×2 + gap 4 = 40px，精确卡 2 行。
   hover（交互动效规范·横向列表档）：右侧图片 scale(1.04) + 左侧圆点放大发光 + 机构名转主色。
   ========================================================================== */
.h2-timeline { position: relative; padding: 4px 0; }
.h2-timeline::before { content: ""; position: absolute; left: 26px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(to bottom, var(--color-primary), rgba(var(--color-primary-rgb), .15)); }
.h2-node { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 16px 16px 16px 58px; border-bottom: 1px solid var(--color-border-light); background: transparent; transition: background .25s ease; }
.h2-node:last-child { border-bottom: none; }
.h2-node::before { content: ""; position: absolute; left: 19px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--color-primary); box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .12); transition: transform .25s ease, box-shadow .25s ease; z-index: 1; }
.h2-node:hover { background: rgba(var(--color-primary-rgb), .04); }
.h2-node:hover::before { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(var(--color-primary-rgb), .18); }
.h2-node__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.h2-node__name { font-size: 17px; font-weight: 700; color: var(--color-text-dark); text-decoration: none; transition: color .2s; }
.h2-node:hover .h2-node__name { color: var(--color-primary); }
.h2-node__addr { font-size: 13px; color: var(--color-text-light); text-decoration: none; }
.h2-node__tags { display: flex; flex-wrap: wrap; gap: 4px; max-height: 40px; overflow: hidden; }
.h2-node__tag { font-size: 11px; line-height: 18px; color: var(--color-primary); background: rgba(var(--color-primary-rgb), .08); border: 1px solid rgba(var(--color-primary-rgb), .16); border-radius: 4px; padding: 0 8px; text-decoration: none; transition: color .2s, background .2s; }
.h2-node__tag:hover { color: #fff; background: var(--color-primary); }
.h2-node__time { font-size: 12px; color: var(--color-primary); font-weight: 600; text-decoration: none; }
.h2-node__hero { flex: 0 0 104px; width: 104px; height: 70px; border-radius: 8px; overflow: hidden; display: block; position: relative; background: #f0f2f4; }
.h2-node__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.h2-node:hover .h2-node__hero img { transform: scale(1.04); }
@media (max-width: 768px) {
  .h2-node { flex-wrap: wrap; padding-left: 46px; }
  .h2-timeline::before { left: 18px; }
  .h2-node::before { left: 11px; }
}

/* ==========================================================================
   医生 D5 杂志大图错位（杂志栏·错位）—— pick=4
   字段清单：头像 ✓ | 姓名 ✓ | 职称 ✓ | 所属医院 ✓ | 擅长简介 ✓ | 更新时间 ✓ | 立即预约 ✓
   字段映射：3:4 大头像 + 主色斜切色块装饰 | 姓名+职称→首行 | 医院→次行
             | 简介→2 行截断 | 时间→底行左 | 「立即预约」→底行右
   ⚠ 「立即预约」按钮沿用站内既有转化按钮（库内 D6/D7 明示：目标站已有的转化按钮必须保留，
      不能因为换布局就删掉），按「咨询 CTA 专科路由原则」三个 tab 各传自己的 yp_type
      （口腔=1 / 整形=2 / 眼科=3）。
   奇数条左图右文、偶数条右图左文（nth-child(even) row-reverse）→ 错位杂志感。
   hover（交互动效规范·竖版卡片档变体）：整条上移 4px + 阴影加深 + 头像 scale(1.05)。
   ========================================================================== */
.d5-mag { display: flex; flex-direction: column; gap: 18px; }
.d5-item { position: relative; display: flex; gap: 20px; background: var(--color-bg-white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(31,35,40,.07); transition: transform .25s ease, box-shadow .25s ease; }
.d5-item:nth-child(even) { flex-direction: row-reverse; }
.d5-item:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(var(--color-primary-rgb), .16); }
.d5-item__face { flex: 0 0 180px; width: 180px; aspect-ratio: 3/4; position: relative; overflow: hidden; display: block; background: #eef0f2; }
.d5-item__face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s ease; }
.d5-item:hover .d5-item__face img { transform: scale(1.05); }
/* 主色斜切色块装饰：压在大图内侧下缘，奇偶两侧对称翻转 */
.d5-item__face::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(to top, rgba(var(--color-primary-rgb), .72), transparent); pointer-events: none; }
.d5-item::before { content: ""; position: absolute; top: 22px; width: 28px; height: 4px; border-radius: 2px; background: var(--color-accent); }
.d5-item:nth-child(odd)::before { left: 204px; }
.d5-item:nth-child(even)::before { right: 204px; }
.d5-item__body { flex: 1; min-width: 0; padding: 34px 20px 18px; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.d5-item__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.d5-item__name { font-size: 19px; font-weight: 800; color: var(--color-text-dark); text-decoration: none; transition: color .2s; }
.d5-item:hover .d5-item__name { color: var(--color-primary); }
.d5-item__zc { font-size: 12px; font-weight: 600; color: var(--color-primary); background: rgba(var(--color-primary-rgb), .08); border-radius: 999px; padding: 3px 10px; text-decoration: none; }
.d5-item__hos { font-size: 13px; color: var(--color-text-light); text-decoration: none; }
.d5-item__desc { font-size: 13px; color: var(--color-text-light); line-height: 1.6; text-decoration: none; }
.d5-item__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.d5-item__time { font-size: 12px; color: var(--color-text-lighter); text-decoration: none; }
.d5-item__cta { flex-shrink: 0; font-size: 13px; font-weight: 700; color: #fff; background: var(--color-accent-dark); border-radius: 999px; padding: 7px 18px; cursor: pointer; transition: background .2s, transform .2s; }
.d5-item__cta:hover { background: var(--color-primary); transform: translateY(-1px); }
@media (max-width: 768px) {
  .d5-item, .d5-item:nth-child(even) { flex-direction: column; }
  .d5-item__face { flex: 0 0 auto; width: 100%; aspect-ratio: 16/10; }
  .d5-item::before { display: none; }
  .d5-item__body { padding: 14px 16px 18px; }
}

/* ==========================================================================
   资讯 N2 日期时间轴（时间轴·节点小图）—— pick=1
   字段清单：封面图 ✓ | 标题 ✓ | 摘要 ✓ | 更新时间 ✓
   字段映射：左竖线时间轴；缩略图本身就是固定尺寸 56×56 圆形节点（库内定义）
             | 右侧：大字日期 + 标题(截 1 行) + 摘要(截 2 行) 竖排
   库内硬性要求：每行 min-height 统一、节点等距 → .n2-tl__row 设 min-height 并让节点绝对居中。
   hover（交互动效规范·纯文字列表档）：标题转主色 + 节点环放大 + 行底浅主色填充。
   板块底部叠加 MQ1「热门资讯」横滚榜（mq_pick=3，数据 $right_news_kq_list）。
   ========================================================================== */
.n2-tl { position: relative; padding: 4px 0; }
.n2-tl::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(to bottom, rgba(var(--color-primary-rgb), .35), rgba(var(--color-primary-rgb), .1)); }
.n2-tl__row { position: relative; display: flex; align-items: center; gap: 18px; min-height: 96px; padding: 12px 14px 12px 20px; text-decoration: none; border-radius: 8px; transition: background .25s ease; }
.n2-tl__row:hover { background: rgba(var(--color-primary-rgb), .04); }
.n2-tl__node { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; position: relative; background: #eef0f2; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), .25); z-index: 1; transition: box-shadow .25s ease, transform .25s ease; }
.n2-tl__node img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.n2-tl__row:hover .n2-tl__node { transform: scale(1.06); box-shadow: 0 0 0 5px rgba(var(--color-primary-rgb), .18); }
.n2-tl__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.n2-tl__date { font-size: 15px; font-weight: 800; color: var(--color-primary); letter-spacing: .02em; }
.n2-tl__title { font-size: 16px; font-weight: 700; color: var(--color-text-dark); transition: color .2s; }
.n2-tl__row:hover .n2-tl__title { color: var(--color-primary); }
.n2-tl__desc { font-size: 13px; color: var(--color-text-light); line-height: 1.6; }
@media (max-width: 768px) {
  .n2-tl::before { left: 33px; }
  .n2-tl__row { gap: 12px; padding-left: 8px; min-height: 84px; }
  .n2-tl__node { flex: 0 0 48px; width: 48px; height: 48px; }
}

/* ==========================================================================
   分享 S9 横向卡列表 + 右侧「最新分享」侧栏（两栏·横向卡·带侧栏）—— pick=8
   = 资讯 N9 同款结构，数据换分享；作用域前缀 .ind-hos-list（库内明示）。
   字段清单：封面图 ✓ | 标题 ✓ | 摘要 ✓ | 更新时间 ✓
   字段映射：左 70% 横向卡竖排（280×200 左图 + 「最新」角标 + 标题 + 摘要2行
             + 日期 + 查看详情按钮）；右 30% 白底圆角侧栏（标题 + 日期链接列表）
   数据：左卡 $share_XX_list（6 条，含 thumb）；右栏 $share_right_XX_list（6 条）
   Tab 联动技巧（库内 N9）：某专科的「左卡 + 右侧栏」放进同一个 #XX_hos 面板，
             既有 Tab 切换一次即整块联动，无需改 JS。
   侧栏空数据判断（所有带侧栏布局通用，必读）：$share_right_XX_list 为空时
             <aside> 整段不渲染，并由 .index-lrbox 是否带 .has-side 让主区回退整宽
             （只写死 70% 而不做回退 = 残留空白列，算未完成）。
   ⚠ 箭头双写坑（库内 N9 明列）：.ai-read-more::after 已自动补 →，
     模板文案里只写「查看详情」，不要再写箭头，否则双箭头。
   hover（交互动效规范·横向列表档）：左图 scale(1.04) + 卡片上移 + 左侧主色竖线出现。
   ========================================================================== */
.ind-hos-list .index-lrbox { display: flex; align-items: flex-start; gap: 20px; }
.ind-hos-list .left-con { flex: 1 1 70%; min-width: 0; }
.ind-hos-list .index-lrbox:not(.has-side) .left-con { flex: 1 1 100%; }
.ind-hos-list .ai-news-list { display: flex; flex-direction: column; gap: 14px; }
.ind-hos-list .ai-news-card { position: relative; display: flex; flex-direction: row; gap: 16px; background: var(--color-bg-white); border: 1px solid var(--color-border-light); border-radius: 10px; overflow: hidden; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.ind-hos-list .ai-news-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--color-primary); transition: width .25s ease; z-index: 2; }
.ind-hos-list .ai-news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31,35,40,.12); }
.ind-hos-list .ai-news-card:hover::before { width: 4px; }
.ind-hos-list .ai-news-img-wrap { flex: 0 0 280px; width: 280px; height: 200px; position: relative; overflow: hidden; display: block; background: #eef0f2; }
.ind-hos-list .ai-news-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ind-hos-list .ai-news-card:hover .ai-news-img-wrap img { transform: scale(1.04); }
.ind-hos-list .ai-news-category { position: absolute; top: 10px; left: 10px; z-index: 3; font-size: 11px; font-weight: 700; color: #fff; background: var(--color-accent-dark); border-radius: 4px; padding: 3px 9px; letter-spacing: .04em; }
.ind-hos-list .ai-news-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 16px 4px; }
.ind-hos-list .ai-news-title { font-size: 17px; font-weight: 700; color: var(--color-text-dark); transition: color .2s; }
.ind-hos-list .ai-news-card:hover .ai-news-title { color: var(--color-primary); }
.ind-hos-list .ai-news-desc { font-size: 13px; color: var(--color-text-light); line-height: 1.65; }
.ind-hos-list .ai-news-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.ind-hos-list .ai-news-date { font-size: 12px; color: var(--color-text-lighter); }
.ind-hos-list .ai-news-date::before { content: "\1F4C5"; margin-right: 5px; }
.ind-hos-list .ai-read-more { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--color-primary); border: 1px solid rgba(var(--color-primary-rgb), .4); border-radius: 999px; padding: 6px 16px; transition: color .2s, background .2s, border-color .2s; }
.ind-hos-list .ai-read-more::after { content: "\2192"; margin-left: 5px; }
.ind-hos-list .ai-news-card:hover .ai-read-more { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
/* 右 30% 侧栏 */
.ind-hos-list .right-con { flex: 0 0 30%; max-width: 30%; box-sizing: border-box; background: var(--color-bg-white); border: 1px solid var(--color-border-light); border-radius: 10px; padding: 0 0 6px; }
.ind-hos-list .hot-recommend-title { font-size: 15px; font-weight: 800; color: #fff; background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); border-radius: 10px 10px 0 0; padding: 12px 16px; }
.ind-hos-list .hot-recommend-list { display: flex; flex-direction: column; padding: 4px 0; }
.ind-hos-list .hot-recommend-item { display: block; padding: 11px 16px; text-decoration: none; border-bottom: 1px dashed var(--color-border-light); transition: background .2s; }
.ind-hos-list .hot-recommend-item:last-child { border-bottom: none; }
.ind-hos-list .hot-recommend-item:hover { background: rgba(var(--color-primary-rgb), .05); }
.ind-hos-list .hot-recommend-item__t { font-size: 13px; color: var(--color-text-normal); line-height: 1.55; transition: color .2s; }
.ind-hos-list .hot-recommend-item:hover .hot-recommend-item__t { color: var(--color-primary); }
.ind-hos-list .hot-recommend-item__d { display: block; font-size: 11px; color: var(--color-text-lighter); margin-top: 4px; }
@media (max-width: 900px) {
  .ind-hos-list .index-lrbox { flex-direction: column; }
  .ind-hos-list .left-con, .ind-hos-list .right-con { flex: 0 0 auto; width: 100%; max-width: 100%; }
  .ind-hos-list .ai-news-card { flex-direction: column; }
  .ind-hos-list .ai-news-img-wrap { flex: 0 0 auto; width: 100%; height: 190px; }
  .ind-hos-list .ai-news-content { padding: 14px 16px 16px; }
}

/* ==========================================================================
   项目 P2 主色实底突出价（矩形·主色实底）—— pick=1
   字段清单：封面图 ✓ | 标题 ✓ | 简介 ✓ | 原价 ✓ | 优惠价 ✓ | 更新时间 ✓ | 询底价 ✓
   字段映射：图→卡顶 16:10 | 标题→图下首行(白字) | 简介→次行1行截断
             | 优惠价(超大数字) + 原价(删除线)→白色价格条 | 时间→底行左 | 「询底价」→底行右
   2 列网格（库内 P2 定义），主色渐变实底卡片 + 白色文字 —— 本站唯一使用「主色实底」
   这一视觉重量档的板块，与相邻 S9(白底横卡)/Q3(装饰大字) 形态家族均不同。
   ⚠ 价格颜色固定规则（第三步「项目区块价格颜色」，不随主题色变）：
     优惠价必须 #E53935、原价 #aaa + line-through。但 P2 是主色实底卡，
     红字直接压在青绿实底上对比度约 1.9:1 完全不可读 → 把价格行做成
     **白底圆角价格条**嵌在卡内：卡片整体仍是主色实底（P2 的定义性特征保住），
     红色优惠价落在白底上（固定色规则的本意——红价在浅底上醒目）保住，两条规则同时满足。
   hover（交互动效规范·竖版卡片档）：卡片上移 6px + 阴影加深 + 图片 scale(1.06)。
   ========================================================================== */
.p2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.p2-card { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); box-shadow: 0 3px 14px rgba(var(--color-primary-dark-rgb), .22); transition: transform .25s ease, box-shadow .25s ease; }
.p2-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(var(--color-primary-dark-rgb), .32); }
.p2-card__hero { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; position: relative; background: rgba(0,0,0,.12); }
.p2-card__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.p2-card:hover .p2-card__hero img { transform: scale(1.06); }
.p2-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.p2-card__title { font-size: 17px; font-weight: 800; color: #fff; text-decoration: none; }
.p2-card__desc { font-size: 12px; color: rgba(255,255,255,.82); line-height: 1.55; text-decoration: none; }
/* 白底价格条：让固定红色优惠价落在浅底上（见上方说明） */
.p2-card__pricebar { display: flex; align-items: baseline; gap: 10px; background: #fff; border-radius: 8px; padding: 8px 12px; text-decoration: none; margin-top: 2px; }
.p2-card__price { font-size: 26px; font-weight: 900; line-height: 1.1; color: #E53935 !important; letter-spacing: -.02em; }
.p2-card__old { font-size: 13px; color: #aaa; text-decoration: line-through; }
.p2-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.p2-card__time { font-size: 11px; color: rgba(255,255,255,.7); text-decoration: none; }
.p2-card__cta { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--color-primary-dark); background: var(--color-accent); border-radius: 999px; padding: 7px 18px; cursor: pointer; transition: background .2s, transform .2s; }
.p2-card__cta:hover { background: #fff; transform: translateY(-1px); }
@media (max-width: 768px) {
  .p2-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   问答 Q3 大字背景装饰（装饰大字·无图，单列）—— Q9 数据不满足后的授权降级结果
   （降级依据见本文件顶部「问答 Q9 降级说明」：无 $right_wenda_* 备用列表、
     问答为纯文字无 thumb、且禁止改 .php 补查询 → 按 Q9 条目自带的
     「或直接用文字型 Q1–Q6」兜底，(seed+101×19)%6=2 → Q3。）
   字段清单：问题标题 ✓ | 答案摘要 ✓ | 更新时间 ✓ | 「已解答」状态标 ✓
   字段映射：背景超大序号 01/02/03（CSS counter，纯装饰）| 问题→上方标题行
             | 「已解答」标 + 日期→标题右侧 | 答案摘要→下方 2 行截断 | 「查看完整解答」→末行
   ⚠ 「已解答」状态标按库内 Q6 规则保留（原站已有的状态标签字段不得因换布局删掉）。
   ⚠ 序号是 CSS counter 生成的纯装饰，不是数据字段，不涉及编造数据。
   hover（交互动效规范·纯文字列表档）：标题转主色 + 大字序号加深 + 左侧主色竖条展开。
   ========================================================================== */
.q3-list { display: flex; flex-direction: column; gap: 14px; counter-reset: q3; }
.q3-item { position: relative; counter-increment: q3; background: var(--color-bg-white); border: 1px solid var(--color-border-light); border-radius: 12px; padding: 20px 24px 18px 74px; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.q3-item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31,35,40,.1); }
.q3-item::before { content: "0" counter(q3); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-family: Georgia, "Times New Roman", serif; font-size: 52px; font-weight: 900; line-height: 1; color: rgba(var(--color-primary-rgb), .16); letter-spacing: -.05em; pointer-events: none; transition: color .25s ease; }
.q3-item:hover::before { color: rgba(var(--color-primary-rgb), .3); }
.q3-item::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--color-primary); transition: width .25s ease; }
.q3-item:hover::after { width: 4px; }
.q3-item__q { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.q3-item__title { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; color: var(--color-text-dark); text-decoration: none; transition: color .2s; }
.q3-item:hover .q3-item__title { color: var(--color-primary); }
.q3-item__badge { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--color-success); background: rgba(var(--color-success-rgb), .1); border: 1px solid rgba(var(--color-success-rgb), .3); border-radius: 4px; padding: 2px 8px; }
.q3-item__d { flex-shrink: 0; font-size: 12px; color: var(--color-text-lighter); }
.q3-item__a { display: block; font-size: 13px; color: var(--color-text-light); line-height: 1.7; text-decoration: none; }
.q3-item__more { display: inline-flex; align-items: center; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--color-accent-dark); text-decoration: none; transition: color .2s; }
.q3-item__more::after { content: "\2192"; margin-left: 5px; transition: transform .2s; }
.q3-item__more:hover { color: var(--color-primary); }
.q3-item__more:hover::after { transform: translateX(3px); }
@media (max-width: 768px) {
  .q3-item { padding: 16px 16px 16px 58px; }
  .q3-item::before { font-size: 40px; left: 6px; }
}

/* ==========================================================================
   热词 T2 金银铜排行榜（排行榜·序号）—— pick=1
   字段清单：词条 ✓ | 链接 ✓ | 最近使用时间 ✓
   字段映射：序号色块（1/2/3 金银铜，第 4 名起灰）| 词条→主文字 | 最近使用时间→右侧小字
   ⚠ 「热度数字」无数据源：tags 表字段仅 tagid/tag/url/lastusetime（已 grep home.php:172 核实），
     **没有任何热度/点击量字段** → 按「禁止编造数据」不虚构数字，
     改用同性质的真实字段 lastusetime 做右侧小字（与上一轮 T6 在本站的既有处理一致：
     "tags 表无 updatetime，用同性质的 lastusetime 做日期小字"）。
   ⚠ 单列竖排（库内 T2 定义），$hot_XX_list 每专科 18 条全部渲染、不设 {if $hk<N} 上限
     （T6 那种"前 9 主区 + 后 8 侧栏"的拆分是 T6 自带侧栏才需要的，T2 无侧栏，全列即可）。
   ⚠ .t2-item__tag 带 camp1 且处于 flex 行内 → 必须配 flex:1 + min-width:0 才能真正截断
     （camp1/camp2 使用规则·规则四，T6 踩过这个坑）。
   hover（交互动效规范·排行榜列表档）：整行浅主色填充 + 序号色块亮度提升。
   ========================================================================== */
.t2-rank { display: flex; flex-direction: column; gap: 8px; counter-reset: t2; }
.t2-item { counter-increment: t2; background: var(--color-bg-white); border: 1px solid var(--color-border-light); border-radius: 8px; transition: background .2s ease, border-color .2s ease; }
.t2-item:hover { background: rgba(var(--color-primary-rgb), .05); border-color: rgba(var(--color-primary-rgb), .25); }
.t2-item > a { display: flex; align-items: center; gap: 14px; padding: 11px 16px; text-decoration: none; }
.t2-item__num { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; font-style: normal; color: #fff; background: #c4ccd4; line-height: 1; transition: filter .2s ease; }
.t2-item__num::before { content: counter(t2); }
.t2-item:nth-child(1) .t2-item__num { background: linear-gradient(135deg, #f6cf6b, #d99a1f); box-shadow: 0 2px 7px rgba(217,154,31,.45); }
.t2-item:nth-child(2) .t2-item__num { background: linear-gradient(135deg, #cdd3da, #a7b0ba); }
.t2-item:nth-child(3) .t2-item__num { background: linear-gradient(135deg, #e0b088, #c08b5a); }
.t2-item:nth-child(n+4) .t2-item__num { background: #eef0f2; color: #9aa3ad; }
.t2-item:hover .t2-item__num { filter: brightness(1.12); }
.t2-item__tag { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--color-text-normal); transition: color .2s; }
.t2-item:hover .t2-item__tag { color: var(--color-primary); }
.t2-item__d { flex-shrink: 0; font-size: 11px; color: var(--color-text-lighter); }

/* ==========================================================================
   Footer F5 图片背景虚化（pick=4，见 footer.html 顶部注释）
   底图用站内既有 head-bj.jpg（通用场景图、无品牌字样），上叠主色半透明渐变
   + backdrop-filter:blur(6px)，保证白字在任意图片区域都可读；
   顶部一条「主色→辅色」3px 描线；.containers 三栏 auto 1fr auto。
   备案号：本次用户选择「跳过」→ 模板里原备案号展示整段保持 HTML 注释形态，前端不显示。
   ========================================================================== */
#footer.footer--f5 { position: relative; margin-top: 40px; background-image: url(/statics/hhp/image/head-bj.jpg); background-size: cover; background-position: center; background-repeat: no-repeat; color: #fff; overflow: hidden; }
#footer.footer--f5::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--color-primary-dark-rgb), .93) 0%, rgba(var(--color-primary-rgb), .86) 100%); -webkit-backdrop-filter: blur(6px) saturate(120%); backdrop-filter: blur(6px) saturate(120%); z-index: 0; }
#footer.footer--f5::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--color-primary-light) 0%, var(--color-accent) 100%); z-index: 2; }
#footer.footer--f5 .containers { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 30px 20px 24px; box-sizing: border-box; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
#footer.footer--f5 .logo { width: 190px; height: auto; display: block; filter: brightness(0) invert(1); opacity: .95; }
#footer.footer--f5 .footer-copyright-con { position: relative; padding: 0 26px; text-align: center; }
#footer.footer--f5 .footer-copyright-con::before,
#footer.footer--f5 .footer-copyright-con::after { content: ""; position: absolute; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.22); }
#footer.footer--f5 .footer-copyright-con::before { left: 0; }
#footer.footer--f5 .footer-copyright-con::after { right: 0; }
#footer.footer--f5 .footer-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin-bottom: 10px; }
#footer.footer--f5 .footer-nav-links a { font-size: 13px; font-weight: 600; color: #fff; text-decoration: none; transition: color .2s; }
#footer.footer--f5 .footer-nav-links a:hover { color: var(--color-accent); }
#footer.footer--f5 .footer-copyright-con p { margin: 6px 0; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.86); }
#footer.footer--f5 .footer-copyright-con p a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
#footer.footer--f5 .footer-copyright-con p a:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }
#footer.footer--f5 .footer-copyright-con .beizhu { color: rgba(255,255,255,.7); font-size: 11px; }
#footer.footer--f5 .code { width: 104px; height: 104px; object-fit: cover; display: block; background: #fff; padding: 5px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.26); transition: transform .25s ease; }
#footer.footer--f5 .code:hover { transform: translateY(-4px); }
#footer.footer--f5 .footer-bottom { position: relative; z-index: 1; background: rgba(0,0,0,.28); text-align: center; padding: 12px 20px; font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.82); }
@media (max-width: 900px) {
  #footer.footer--f5 .containers { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  #footer.footer--f5 .footer-copyright-con { padding: 0; }
  #footer.footer--f5 .footer-copyright-con::before,
  #footer.footer--f5 .footer-copyright-con::after { display: none; }
}

/* ===== PC首页区块 END ===== */
/* ===== 列表页 / 详情页样式（非首页，保留不动） ===== */
.regional-filter,
.regionalFiltering {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(var(--color-primary-dark-rgb), 0.05);
  padding: 2px 20px;
  margin: 18px 0;
  border: 1px solid var(--color-border-light);
}
.regional-filter__row,
.regionalFilteringBox {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.regional-filter__row:last-child,
.regionalFilteringBox:last-child {
  border-bottom: none;
}
.regional-filter__label,
.regionalFilteringLeft {
  flex-shrink: 0;
  width: 44px;
  display: inline-flex;
  align-items: baseline;
  padding-top: 5px;
}
.regional-filter__label-text,
.regionalFilteringLeft > span {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  padding-left: 10px;
  letter-spacing: .04em;
  line-height: 1.4;
}
.regional-filter__label-text::before,
.regionalFilteringLeft > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--color-primary);
}
.regional-filter__options,
.regionalFilteringRight {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 2px 0;
}
.regional-filter__link,
.regional-filter__options a,
.regionalFilteringRight a {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  font-size: 13px;
  color: var(--color-text-normal);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 16px;
  white-space: nowrap;
  line-height: 1.6;
  transition: color .2s, background .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.regional-filter__link:hover,
.regional-filter__options a:hover,
.regionalFilteringRight a:hover {
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  border-color: rgba(var(--color-primary-rgb), 0.25);
  transform: translateY(-1px);
}
.regional-filter__link.cursorActive,
.regional-filter__options a.cursorActive,
.regionalFilteringRight a.cursorActive {
  color: #fff;
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(var(--color-primary-dark-rgb), 0.22);
}
.regional-filter__link.cursorActive:hover,
.regional-filter__options a.cursorActive:hover,
.regionalFilteringRight a.cursorActive:hover {
  filter: brightness(1.06);
  color: #fff;
  transform: translateY(-1px);
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* ==============================
   .hospital-tabs — 列表页标题条（底线分割 + 描边咨询）
   结构：.hospital-tabs > .hospital-tab-item--title (.badge + .text)
                      + button.hospital-tab-item--consult
   ============================== */
.hospital-tabs,
.yy-list-tabs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, rgba(var(--color-primary-light-rgb), 0.55) 0%, #fff 100%);
  border-radius: 0;
  padding: 14px 4px 12px;
  margin: 14px 0 18px;
  box-shadow: none;
  border: none;
  border-bottom: 2px solid rgba(var(--color-primary-rgb), 0.18);
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}
.hospital-tabs::before,
.yy-list-tabs::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--color-primary);
}
.hospital-tabs::after,
.yy-list-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.35) 0%, transparent 55%);
}
.hospital-tab-item--title {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding-left: 2px;
}
.hospital-tab-item__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 0 0 0 10px;
  border-radius: 0;
  letter-spacing: .12em;
  box-shadow: none;
  flex-shrink: 0;
  white-space: nowrap;
  position: relative;
  line-height: 1.2;
}
.hospital-tab-item__badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  border-radius: 1px;
  background: var(--color-accent);
}
.hospital-tab-item__text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.hospital-tab-item--consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1.5px solid var(--color-primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  color: var(--color-primary-dark);
  background: #fff;
  box-shadow: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
  line-height: 1.2;
}
.hospital-tab-item--consult::before {
  content: none;
}
.hospital-tab-item--consult:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: none;
  filter: none;
}
.hospital-tab-item--consult:active {
  transform: translateY(0);
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: none;
}

/* ==============================
   .yycard — 医院/医生列表页卡片（list_hospital / list_doctor）
   ============================== */
.content_con {
  gap: 0;
}

.content_con .yycard.card_con,
.content_con .yycard.yylist_acrdcon {
  height: auto;
  min-height: 0;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
  border: none;
  border-bottom: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(var(--color-primary-dark-rgb), 0.07);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.content_con .yycard:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(var(--color-primary-dark-rgb), 0.14);
}

.content_con .yycard__media {
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
  align-self: stretch;
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--color-primary-light);
}

.content_con .yycard__img,
.content_con .yycard .card_img {
  width: 100% !important;
  height: 100% !important;
  min-height: 148px;
  max-height: none;
  object-fit: cover;
  filter: none !important;
  transition: transform .35s ease;
}

.content_con .yycard:hover .yycard__img {
  transform: scale(1.05);
}

.content_con .yycard__body,
.content_con .yycard .card_textcon {
  flex: 1;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}

.content_con .yycard__title-link {
  text-decoration: none;
}

.content_con .yycard__title,
.content_con .yycard .list_tit {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text-dark);
  transition: color .2s ease;
}

.content_con .yycard:hover .yycard__title {
  color: var(--color-primary-dark);
}

.content_con .yycard__projects,
.content_con .yycard .xm_con {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.content_con .yycard__projects-label,
.content_con .yycard .xm_tex {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 3px 10px;
  border-radius: 4px;
  line-height: 1.5;
  min-width: auto;
}

.content_con .yycard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
  max-height: 52px;
  overflow: hidden;
}

.content_con .yycard__tag,
.content_con .yycard .xm_but {
  display: inline-block;
  max-width: 120px;
  padding: 3px 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-primary-dark);
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.content_con .yycard__tag:hover,
.content_con .yycard .xm_but:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.content_con .yycard__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.content_con .yycard__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-light);
}

.content_con .yycard__meta-ico {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .85;
}

.content_con .yycard__meta-ico--addr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0dbdc'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.content_con .yycard__meta-ico--time {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0dbdc'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.content_con .yycard__meta-ico--intro {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0dbdc'%3E%3Cpath d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.content_con .yycard__meta-text {
  flex: 1;
  min-width: 0;
}

.content_con .yycard__meta-text--intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content_con .yycard__actions,
.content_con .yycard .card_button {
  flex: 0 0 auto;
  width: auto;
  min-width: 108px;
  height: auto;
  margin: 0;
  padding: 16px 18px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}

.content_con .yycard__actions .but_item {
  width: 100%;
  min-width: 96px;
  height: 38px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.content_con .yycard__actions .but_item--primary {
  border: none;
  color: #fff;
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 4px 12px rgba(var(--color-primary-dark-rgb), 0.25);
}

.content_con .yycard__actions .but_item--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 6px 16px rgba(var(--color-primary-dark-rgb), 0.32);
}

.content_con .yycard__actions .but_item--outline,
.content_con .yycard__actions .but_yh {
  border: 1px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary-dark);
}

.content_con .yycard__actions .but_item--outline:hover,
.content_con .yycard__actions .but_yh:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

/* ==============================
   .aside-head — 侧边栏栏目标题（底线分割 + 文字「更多」）
   与 .hospital-tabs 同系：无卡片壳 / 左短横标记 / 描边交互
   ============================== */
.aside_con {
  padding: 10px 12px 16px;
  gap: 0;
}

.aside_con .aside_titcon.aside-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 2px 11px;
  border: none;
  border-bottom: 2px solid rgba(var(--color-primary-rgb), 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
  font-weight: normal;
  color: inherit;
}

.aside_con .aside_titcon.aside-head::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--color-primary);
}

.aside_con .aside-head:not(:first-of-type) {
  margin-top: 18px;
}

.aside_con .aside-head__title,
.aside_con .aside_tit.aside-head__title {
  position: relative;
  margin: 0;
  flex: 1;
  min-width: 0;
  padding-left: 11px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: .03em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aside_con .aside-head__title::before,
.aside_con .aside_tit.aside-head__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  border-radius: 1px;
  background: var(--color-accent);
}

.aside_con .aside-head__more,
.aside_con a.aside_more.aside-head__more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  box-shadow: none;
  transition: color .2s ease, transform .15s ease;
}

.aside_con .aside-head__more:hover,
.aside_con a.aside_more.aside-head__more:hover {
  color: var(--color-primary-dark);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.aside_con .aside-head__more-ico {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  transition: transform .2s ease;
}

.aside_con .aside-head__more:hover .aside-head__more-ico {
  transform: translateX(3px);
}

.aside_con .aside-head + .card_con,
.aside_con .aside-head + a.card_rightcon {
  margin-top: 12px;
}



/* 空结果提示 */
.none_yy {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 100%);
  border: 1px dashed var(--color-primary-accent);
  color: var(--color-primary-dark);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  padding: 14px 18px;
  margin: 14px 0;
  border-radius: 8px;
  position: relative;
}
.none_yy::before {
  content: 'ℹ️ ';
  margin-right: 4px;
}

/* ==============================
   响应式（≤960px）
   ============================== */
@media (max-width: 960px) {
  .regional-filter,
  .regionalFiltering { padding: 2px 14px; }
  .regional-filter__row,
  .regionalFilteringBox {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0;
  }
  .regional-filter__label,
  .regionalFilteringLeft {
    width: auto;
    padding-top: 0;
  }
  .regional-filter__options,
  .regionalFilteringRight {
    gap: 8px;
  }
  .regional-filter__link,
  .regional-filter__options a,
  .regionalFilteringRight a {
    padding: 6px 14px;
  }

  .content_con .yycard.card_con,
  .content_con .yycard.yylist_acrdcon {
    flex-direction: column;
  }
  .content_con .yycard__media {
    flex: none;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
    height: 150px;
  }
  .content_con .yycard__img,
  .content_con .yycard .card_img {
    min-height: 0;
  }
  .content_con .yycard__actions,
  .content_con .yycard .card_button {
    flex-direction: row;
    width: 100%;
    min-width: 0;
    padding: 0 16px 16px;
    border-left: none;
    border-top: 1px solid var(--color-border-light);
  }
  .content_con .yycard__actions .but_item {
    flex: 1;
  }

  .page_con.page-nav {
    gap: 6px;
    padding: 14px 10px;
  }
  .page_con.page-nav a,
  .page_con.page-nav span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
  .page_con.page-nav a.a1 {
    padding: 0 12px;
    font-size: 12px;
  }
}

/* 资讯详情：标题区项目标签 */
.zx_detcon .zx_projects {
  display: flex;
  align-items: flex-start;
  width: 100%;
  flex-basis: 100%;
  margin-top: 8px;
  gap: 8px;
}
.zx_detcon .zx_projects__label {
  flex-shrink: 0;
  line-height: 28px;
  white-space: nowrap;
  color: #666;
}
.zx_detcon .zx_projects__track {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  flex: 1;
  min-width: 0;
  max-height: 96px;
  overflow-y: auto;
  padding-right: 4px;
  line-height: 1.5;
  color: #666;
}
.zx_detcon .zx_projects__track .zx_projects__tag,
.zx_detcon .zx_projects__track a.zx_projects__tag,
.zx_detcon .zx_projects__track span.zx_projects__tag {
  display: inline-block;
  max-width: 160px;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 22px;
  color: var(--color-primary-dark, #08646A);
  background: #fff;
  border: 1px solid var(--color-primary-light, #DCF2F3);
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  box-sizing: border-box;
}
.zx_detcon .zx_projects__track a.zx_projects__tag:hover {
  background: var(--color-primary, #0B7C82);
  border-color: var(--color-primary, #0B7C82);
  color: #fff;
}
.zx_detcon .zx_projects__track span.zx_projects__tag {
  cursor: default;
}