/* ============================================================
   官网前台（官方机构门户）样式
   设计：庄重、清晰、权威、可信 —— 政府蓝主色 + 中国红强调
   说明：变量挂在 :root，保证 append-to-body 弹窗/抽屉内可解析；
        所有类以 .website-portal 为根作用域，避免污染后台
   ============================================================ */

:root {
  /* ============ 政务网站标准配色 ============
     主色：政务蓝（深/中/浅三阶）
     强调：中国红（信息公开、重要标签、重点标识）
     中性：标准灰阶 + 浅蓝底
   =========================================== */
  --pri: #0B2E5B;      /* 深蓝（标题/底栏） */
  --pri2: #12437A;     /* 政务蓝（主面板/按钮） */
  --pri3: #1C5FA8;     /* 政府蓝（链接/强调块） */
  --ink: #0B2E5B;      /* 顶栏/页脚深底 */
  /* 强调红（政府红：重点、置顶、删除/警示、底部备案强调） */
  --brand: #C8161E;    /* 政府红主 */
  --brand2: #E03A3A;   /* 亮红 */
  --gold-lt: #FBE9E9;  /* 浅红底 */
  --red: #C8161E;
  --red2: #D02A2A;
  /* 中性（白 / 浅蓝） */
  --bg: #F2F6FA;
  --bg2: #E6EEF6;
  --card: #FFFFFF;
  --card2: #FBFCFD;
  --txt: #222E3A;
  --txt2: #3D4B5C;
  --txt3: #6E7B8A;
  --txt4: #A9B4BF;
  --bdr: #DCE4EC;
  --bdr2: #E9EFF5;
  --sh: 0 2px 8px rgba(11,46,91,.05);
  --sh2: 0 8px 28px rgba(11,46,91,.08);
  --sh3: 0 16px 48px rgba(11,46,91,.10);
  --rad: 4px;
  --rad2: 10px;
  /* 政务网站常用字体：标题黑体、正文黑体/微软雅黑、机构名宋体 */
  --serif: "Noto Serif SC","STSong","SimSun",serif;
  --sans: "Source Han Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  --w: 1200px;
}

.website-portal {
  box-sizing: border-box;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--txt);
  line-height: 1.82;
  background: linear-gradient(180deg,#F6FAFD 0%,#ECF3F9 30%,#E3EDF6 100%);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.website-portal *,
.website-portal *::before,
.website-portal *::after { box-sizing: border-box; }
.website-portal img { max-width: 100%; }
.website-portal ::selection { background: rgba(29,58,110,.18); color: var(--pri); }
/* 文本防溢出：长单词/链接在窄屏自动断行，避免撑破布局（全站统一） */
.website-portal .wp-dp-body,
.website-portal .wp-detail-body,
.website-portal .wp-row-title,
.website-portal .wp-nl-title,
.website-portal .wp-rec-body h4,
.website-portal .wp-nf-body h4,
.website-portal .wp-video-title,
.website-portal .wp-org-box p,
.website-portal .wp-dp-para { overflow-wrap: break-word; word-break: break-word; }

/* ================= 动效（克制：一次交错渐入） ================= */
@keyframes wpFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.wp-fadeup { animation: wpFadeUp .55s ease both; }
/* 首次加载交错渐入（克制，仅一次） */
.wp-body .wp-fadeup:nth-child(1) { animation-delay: .05s; }
.wp-body .wp-fadeup:nth-child(2) { animation-delay: .18s; }
.wp-body .wp-fadeup:nth-child(3) { animation-delay: .31s; }
.wp-body .wp-fadeup:nth-child(4) { animation-delay: .44s; }

/* ================= 顶部功能条（政务网站标准工具条：设首页/收藏/无障碍/长者） ================= */
.wp-topbar {
  background: #fff;
  color: var(--txt3);
  font-size: 12px;
  height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--bdr2);
}
.wp-topbar-inner { width: var(--w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wp-topbar-l { display: flex; gap: 26px; align-items: center; }
.wp-topbar-l span { display: flex; align-items: center; gap: 6px; color: var(--txt2); }
.wp-topbar-l .ico { font-size: 13px; color: var(--pri3); }

/* ================= 头部标识区（政务标准：白底 + 蓝色标识 + 机构名称 + 搜索/网站标识） ================= */
.wp-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  color: var(--txt);
  box-shadow: none;
  border-bottom: 3px solid var(--pri3);
  transition: box-shadow .3s;
}
/* 吸顶滚动：加阴影，增强层次 */
.wp-header.scrolled {
  background: #fff;
  box-shadow: 0 6px 22px rgba(11,46,91,.08);
}
.wp-header-inner { width: var(--w); margin: 0 auto; display: flex; align-items: center; height: 84px; gap: 22px; }
.wp-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; cursor: pointer; flex-shrink: 0; max-width: 360px; min-width: 0; }
.wp-logo-icon { width: 52px; height: 52px; border-radius: 8px; background: linear-gradient(135deg, var(--pri2), var(--pri3)); color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px rgba(28,95,168,.18); flex-shrink: 0; }
/* 机构 Logo（图片） */
.wp-logo-icon.is-img { background: transparent; box-shadow: none; }
.wp-logo-icon.is-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wp-logo-txt { line-height: 1.22; min-width: 0; overflow: hidden; }
.wp-logo-txt h2 { font-size: 21px; font-weight: 700; color: var(--pri); letter-spacing: 1px; line-height: 1.15; margin: 0 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--serif); }
.wp-logo-txt .en { font-size: 10px; color: var(--pri3); letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1; }
.wp-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.wp-hamburger { display: none; font-size: 22px; color: var(--pri); }

/* ================= 导航（自研横排 + 悬浮下拉，白底深色字） ================= */
.wp-nav { flex: 1; min-width: 0; display: flex; align-items: center; }
.wp-nav-list, .wp-nav-sub { list-style: none; margin: 0; padding: 0; }
/* 导航左对齐，避免居中溢出时向左侧越界与机构名称重叠 */
.wp-nav-list { display: flex; align-items: center; justify-content: flex-start; min-width: 0; flex-wrap: nowrap; }
.wp-nav-item { position: relative; flex-shrink: 0; }
.wp-nav-item > a {
  display: flex; align-items: center; gap: 4px;
  height: 84px; line-height: 84px; padding: 0 15px;
  font-size: 14px; font-weight: 600; color: var(--txt);
  letter-spacing: .6px; text-decoration: none; cursor: pointer;
  position: relative; transition: color .2s; white-space: nowrap;
}
.wp-nav-item > a::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand2)); border-radius: 2px 2px 0 0;
  transition: left .25s ease, right .25s ease;
}
.wp-nav-item:hover > a,
.wp-nav-item.active > a { color: var(--brand); font-weight: 600; }
.wp-nav-item:hover > a::after,
.wp-nav-item.active > a::after { left: 14px; right: 14px; }
.wp-caret { font-size: 10px; margin-left: 2px; color: rgba(0,0,0,.5); transition: transform .25s; }
.wp-nav-item.has-sub:hover .wp-caret { transform: rotate(180deg); }

/* 一级下拉 */
.wp-nav-sub {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 168px; background: #fff; border: 1px solid var(--bdr2); border-radius: 6px;
  padding: 8px 0; box-shadow: 0 18px 48px rgba(9,32,66,.18);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.wp-nav-item.has-sub:hover > .wp-nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* 二级/三级子项（白色浮层内） */
.wp-nav-sub .wp-nav-item > a {
  height: 42px; line-height: 42px; padding: 0 20px; font-size: 13px;
  color: var(--txt2); font-weight: 400; letter-spacing: .3px;
}
.wp-nav-sub .wp-nav-item > a::after { display: none; }
.wp-nav-sub .wp-nav-item > a:hover { background: #E9EEF6; color: var(--pri); }
.wp-nav-sub .wp-nav-item.active > a { color: var(--red); background: #E9EEF6; font-weight: 500; }
.wp-nav-sub .wp-nav-item.has-sub .wp-caret { transform: rotate(-90deg); margin-left: 6px; }
.wp-nav-sub .wp-nav-item.has-sub:hover .wp-caret { transform: rotate(0deg); }

/* 三级及更深：从右侧展开 */
.wp-nav-sub .wp-nav-sub {
  top: 0; left: 100%; transform: translateX(6px); margin-left: 2px;
}
.wp-nav-sub .wp-nav-item:hover > .wp-nav-sub { opacity: 1; visibility: visible; transform: translateX(0); }

.wp-mobile-nav { padding: 10px 14px 30px; }

/* ================= 移动端抽屉导航菜单（正式 / 政务风） ================= */
.website-portal .mobile-nav-list { padding: 0; }
/* 行（一级 / 分组 / 子级通用） */
.website-portal .m-leaf,
.website-portal .m-group-header {
  display: flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 12px; margin: 2px 0;
  border-radius: 6px; cursor: pointer; box-sizing: border-box;
  border-left: 3px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
/* 文本 */
.website-portal .m-label {
  flex: 1; min-width: 0; font-size: 15px; color: var(--txt); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 分组右侧小箭头（展开时旋转） */
.website-portal .m-arrow {
  width: 16px; font-size: 15px; color: var(--txt4); flex-shrink: 0;
  display: inline-flex; justify-content: flex-end; transition: transform .25s;
}
.website-portal .m-arrow.open { transform: rotate(90deg); }
/* 当前项：左侧红色竖条 + 浅蓝底 + 主色字 */
.website-portal .m-leaf.active,
.website-portal .m-group-header.active {
  background: rgba(28,95,168,.08);
  border-left-color: var(--brand);
}
.website-portal .m-leaf.active .m-label,
.website-portal .m-group-header.active .m-label { color: var(--pri); font-weight: 600; }
.website-portal .m-leaf.active .m-arrow,
.website-portal .m-group-header.active .m-arrow { color: var(--pri3); }
/* 悬停 */
.website-portal .m-leaf:not(.active):hover,
.website-portal .m-group-header:not(.active):hover { background: var(--bg); }
/* 分组子级（手风琴） */
.website-portal .m-group-children {
  margin: 0 0 8px; padding: 4px 0 4px 10px; border-left: 2px solid var(--bdr2);
}
.website-portal .m-group-children .m-leaf,
.website-portal .m-group-children .m-group-header {
  min-height: 44px; padding: 0 8px; border-radius: 4px; margin: 1px 0;
}
.website-portal .m-group-children .m-label { font-size: 14px; }
.website-portal .m-group-children .m-arrow { font-size: 14px; }
.website-portal .m-group-children .m-group-children .m-leaf,
.website-portal .m-group-children .m-group-children .m-group-header { padding-left: 8px; min-height: 42px; }

/* ================= 首屏 Banner ================= */
.wp-hero-tag { display: inline-block; background: var(--brand); color: #fff; font-size: 12px; letter-spacing: 2px; padding: 3px 12px; border-radius: 3px; margin-bottom: 20px; }

/* ================= 首页轮播图 ================= */
.wp-banner { position: relative; overflow: hidden; height: 640px; color: #fff; background: linear-gradient(120deg,var(--pri3) 0%,var(--pri) 45%,var(--ink) 100%); border-bottom: 3px solid var(--brand); }
.wp-banner-slides { position: absolute; inset: 0; }
.wp-banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.wp-banner-slide.active { opacity: 1; }
.wp-banner-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.wp-banner-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,30,51,.72), rgba(11,30,51,.28) 55%, rgba(11,30,51,.05)); }
.wp-banner-slide-content { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); max-width: var(--w); margin: 0 auto; padding: 0 40px; cursor: pointer; }
.wp-banner-slide-content h2 { font-size: 38px; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.wp-banner-slide-content .bp-sub { font-size: 16px; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.wp-banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .25s; z-index: 3; }
.wp-banner-arrow:hover { background: var(--brand); border-color: var(--brand); }
.wp-banner-arrow.l { left: 24px; }
.wp-banner-arrow.r { right: 24px; }
.wp-banner-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.wp-banner-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.wp-banner-dot.active { background: var(--brand); width: 24px; border-radius: 6px; }
.wp-banner-loading { height: 640px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 15px; letter-spacing: 2px; }
.wp-banner-fallback-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: var(--w); margin: 0 auto; min-height: 100%; padding: 0 40px; }
.wp-banner-fallback-content h1 { font-size: 42px; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; }
.wp-banner-fallback-content .sp-sub { font-size: 14px; color: rgba(255,255,255,.75); letter-spacing: 2px; }

/* ================= 副页标题带 ================= */
.wp-sub-header { background: linear-gradient(120deg,var(--pri) 0%,var(--pri2) 100%); padding: 42px 0; color: #fff; border-bottom: 3px solid var(--brand); }
.wp-sub-header-inner { width: var(--w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.wp-sub-header h2 { font-size: 30px; font-weight: 700; letter-spacing: 2px; margin-bottom: 0; }
.wp-sub-header .sp-sub { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: 4px; }

/* ================= 内容区 ================= */
.wp-body { width: var(--w); margin: 0 auto; padding: 56px 0 84px; }
.wp-empty { padding: 80px 0; text-align: center; color: var(--txt4); grid-column: 1 / -1; }

/* ================= 机构简介 + 数据看板 ================= */
.wp-stats-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; margin-top: 38px; }
.wp-org-box {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2);
  padding: 30px 32px; box-shadow: var(--sh);
}
.wp-org-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand2) 60%, transparent); }
.wp-org-box h3 { font-size: 20px; font-weight: 700; color: var(--pri); letter-spacing: 1px; margin-bottom: 6px; font-family: var(--serif); }
.wp-org-box .wp-org-sub { display: block; font-size: 11px; color: var(--txt4); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--bdr2); }
.wp-org-box p { font-size: 14px; color: var(--txt2); line-height: 2; margin-bottom: 10px; }
.wp-num-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.wp-num-card {
  background: linear-gradient(135deg, var(--pri), var(--pri2)); color: #fff;
  border-radius: var(--rad2); padding: 28px 18px; text-align: center;
  box-shadow: 0 6px 18px rgba(166,27,43,.16); transition: transform .3s, box-shadow .3s;
}
.wp-num-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(166,27,43,.24); }
.wp-num-card .n { font-size: 38px; font-weight: 700; letter-spacing: 1px; line-height: 1; }
.wp-num-card .l { font-size: 13px; color: rgba(255,255,255,.78); margin-top: 10px; letter-spacing: 1px; }

/* ================= 首页：首屏功能入口区（Why Choose Us） ================= */
.wp-why { background: linear-gradient(135deg, #FFFFFF, #F5F5F5); border: 1px solid var(--bdr); border-radius: var(--rad2); padding: 44px 40px; text-align: center; margin-bottom: 38px; position: relative; overflow: hidden; }
.wp-why::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand2)); }
.wp-why-head h2 { font-size: 26px; font-weight: 700; color: var(--pri); letter-spacing: 2px; margin-bottom: 8px; font-family: var(--serif); }
.wp-why-head p { font-size: 14px; color: var(--txt3); letter-spacing: 1px; margin-bottom: 26px; }
.wp-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wp-why-card { background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2); padding: 26px 18px; cursor: pointer; transition: .3s; }
.wp-why-card:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: var(--brand); }
.wp-why-card .wq-ico { font-size: 40px; display: block; margin-bottom: 12px; color: var(--pri); }
.wp-why-card:hover .wq-ico { color: var(--red); }
.wp-why-card h4 { font-size: 17px; font-weight: 700; color: var(--pri); margin-bottom: 6px; letter-spacing: 1px; }
.wp-why-card p { font-size: 12px; color: var(--txt3); }

/* ================= 首页：通用模块头（政务栏目标题：红竖条 + 标题 + 更多按钮） ================= */
.wp-sec { margin-bottom: 38px; }
.wp-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--bdr); }
.wp-sec-title { display: flex; align-items: center; gap: 12px; }
.wp-sec-title .line { width: 6px; height: 24px; background: var(--red); border-radius: 2px; }
.wp-sec-title h3 { font-size: 24px; font-weight: 700; color: var(--pri); letter-spacing: 1.5px; font-family: var(--serif); }
.wp-sec-title .en { font-size: 11px; color: var(--txt4); letter-spacing: 4px; text-transform: uppercase; margin-left: 6px; }
.wp-sec-more { font-size: 12px; color: var(--pri3); cursor: pointer; letter-spacing: 1px; white-space: nowrap; transition: .2s; border: 1px solid var(--bdr); padding: 4px 14px; border-radius: 3px; }
.wp-sec-more:hover { color: #fff; background: var(--pri3); border-color: var(--pri3); transform: translateX(2px); }

/* ================= 首页：热门推荐 ================= */
.wp-recommend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wp-recommend-card { background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2); overflow: hidden; cursor: pointer; transition: .3s; }
.wp-recommend-card:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: var(--brand); }
.wp-rec-cover { position: relative; height: 150px; overflow: hidden; background: var(--bg2); }
.wp-rec-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.wp-recommend-card:hover .wp-rec-cover img { transform: scale(1.05); }
.wp-rec-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 42px; color: var(--pri); }
.wp-rec-tag { position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff; font-size: 11px; padding: 2px 9px; border-radius: 4px; letter-spacing: 1px; }
.wp-rec-body { padding: 14px 16px 16px; }
.wp-rec-body h4 { font-size: 15px; color: var(--txt); font-weight: 600; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.wp-rec-body p { font-size: 12px; color: var(--txt3); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-rec-date { font-size: 11px; color: var(--txt4); }

/* ================= 首页：新闻（左大图 + 右分类Tab） ================= */
.wp-news-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.wp-news-feature { background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2); overflow: hidden; cursor: pointer; transition: .3s; }
.wp-news-feature:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: var(--brand); }
.wp-nf-cover { height: 230px; overflow: hidden; background: var(--bg2); position: relative; }
.wp-nf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.wp-news-feature:hover .wp-nf-cover img { transform: scale(1.04); }
.wp-nf-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 56px; color: var(--pri); }
.wp-nf-body { padding: 18px 20px; }
.wp-nf-body h4 { font-size: 19px; font-weight: 700; color: var(--pri); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wp-nf-body p { font-size: 13px; color: var(--txt3); line-height: 1.7; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wp-nf-date { font-size: 12px; color: var(--brand); letter-spacing: 1px; }

.wp-news-side { display: flex; flex-direction: column; }
.wp-news-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; border-bottom: 1px solid var(--bdr2); padding-bottom: 10px; }
.wp-news-tabs span { font-size: 14px; color: var(--txt3); padding: 4px 14px; border-radius: 20px; cursor: pointer; transition: .2s; }
.wp-news-tabs span:hover { color: var(--pri); background: var(--bg2); }
.wp-news-tabs span.active { color: #fff; background: var(--pri); font-weight: 600; }
.wp-news-list2 { display: flex; flex-direction: column; }
.wp-nl-item { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--bdr2); cursor: pointer; transition: .2s; }
.wp-nl-item:hover { background: var(--bg); padding-left: 8px; }
.wp-nl-item:last-child { border-bottom: none; }
.wp-nl-title { flex: 1; min-width: 0; font-size: 14px; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-nl-title.hot { color: var(--red); }
.wp-nl-title:hover { color: var(--pri); }
.wp-nl-title .wp-tag { margin-left: 8px; }
.wp-nl-date { flex-shrink: 0; font-size: 12px; color: var(--txt4); }

/* ================= 卡片通用 ================= */
.wp-badge { display: inline-block; background: var(--bg2); color: var(--pri); padding: 3px 10px; border-radius: 4px; font-size: 11px; letter-spacing: 1px; }
.wp-badge.red { background: var(--bg2); color: var(--red); }

/* ================= 分页 ================= */
.wp-page-info { font-size: 13px; color: var(--txt3); line-height: 36px; }
.wp-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.wp-pg-btn { min-width: 36px; text-align: center; padding: 8px 14px; font-size: 13px; background: #fff; border: 1px solid var(--bdr); color: var(--txt2); border-radius: 4px; cursor: pointer; transition: .2s; }
.wp-pg-btn:hover { background: var(--bg2); border-color: var(--brand); color: var(--pri); }
.wp-pg-btn.active { background: var(--pri); color: #fff; border-color: var(--pri); }
.wp-pg-btn:disabled { opacity: .5; cursor: not-allowed; }
/* 带页码的完整分页（NewsPage 使用） */
.wp-news-pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wp-pager-info { font-size: 13px; color: var(--txt3); }
.wp-pager-btns { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.wp-pg-ellipsis { min-width: 32px; text-align: center; color: var(--txt4); line-height: 36px; }
.wp-pg-num { min-width: 36px; }

/* ================= 新闻列表 ================= */
.wp-news-list { display: flex; flex-direction: column; gap: 14px; }
.wp-news-item { display: flex; align-items: center; gap: 16px; background: #fff; padding: 16px 20px; border-radius: var(--rad2); border: 1px solid var(--bdr); cursor: pointer; transition: .25s; }
.wp-news-item:hover { box-shadow: var(--sh2); transform: translateY(-3px); border-color: var(--brand); }
.wp-news-item .wn-index { width: 28px; height: 28px; flex-shrink: 0; border-radius: 6px; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--txt3); font-weight: 600; }
.wp-news-item:hover .wn-index { background: var(--pri); color: #fff; }
.wp-news-item .wn-title { flex: 1; min-width: 0; font-size: 14px; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-news-item .wn-date { font-size: 12px; color: var(--txt4); flex-shrink: 0; }
/* ================= 最新资讯列表（与官网 faef.org.cn 一致） ================= */
.eg-list { display: flex; flex-direction: column; gap: 0; }
.eg-card {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--bdr); transition: .2s;
  align-items: flex-start; cursor: pointer;
}
.eg-card:hover { background: var(--bg); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: 4px; }
.eg-cover { flex-shrink: 0; width: 140px; height: 90px; border-radius: 4px; overflow: hidden; }
.eg-cover img { width: 100%; height: 100%; object-fit: cover; }
.eg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.eg-header { display: flex; align-items: center; gap: 10px; }
.eg-index { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-lt); color: var(--pri); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.eg-card-title { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; color: var(--pri); line-height: 1.4; margin: 0; }
.eg-preview { font-size: 13px; color: var(--txt3); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eg-card-footer { display: flex; align-items: center; justify-content: space-between; }
.eg-time { font-size: 11px; color: var(--txt4); }
.eg-read-more { font-size: 12px; color: var(--brand2); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.eg-card:hover .eg-read-more { opacity: 1; }
.nw-tag { display: inline-block; font-size: 11px; color: #fff; background: var(--brand); padding: 1px 8px; border-radius: 3px; margin-left: 8px; white-space: nowrap; vertical-align: middle; }
@media (max-width: 700px) {
  .eg-card { flex-direction: column; }
  .eg-cover { width: 100%; height: auto; }
  .eg-cover img { height: 190px; }
}

.wp-detail { background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2); padding: 32px 36px; position: relative; overflow: hidden; box-shadow: 0 2px 12px rgba(20,42,80,.04); }
.wp-detail::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand2) 60%, transparent); }
.wp-detail-title { font-size: 22px; font-weight: 700; color: var(--pri); line-height: 1.4; margin-bottom: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--bdr); font-family: var(--serif); }
.wp-detail-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; font-size: 13px; color: var(--txt3); }
.wp-detail-body { font-size: 15px; color: var(--txt2); line-height: 2; word-break: break-word; overflow-wrap: break-word; }
.wp-detail-body img { max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 14px 0; }
.wp-detail-body p { margin: 0 0 16px; }

/* ================= 视频 ================= */
.wp-video-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.wp-video-card { background: var(--card); border-radius: var(--rad2); overflow: hidden; cursor: pointer; border: 1px solid var(--bdr2); transition: all .3s ease; }
.wp-video-card:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: var(--brand); }
.wp-video-cover { position: relative; width: 100%; height: 148px; overflow: hidden; background: var(--pri); }
.wp-video-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.wp-video-card:hover .wp-video-cover img { transform: scale(1.05); }
.wp-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 40px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); opacity: .85; transition: .3s; }
.wp-video-card:hover .wp-video-play { opacity: 1; transform: translate(-50%,-50%) scale(1.12); }
.wp-video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.75); color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 11px; }
.wp-video-body { padding: 14px 16px; }
.wp-video-title { font-size: 14px; color: var(--pri); font-weight: 600; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wp-video-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--txt4); }
.wp-video-meta .wp-badge { color: var(--red); background: var(--bg2); }

/* ================= 下载 ================= */
.wp-dl-wrap { background: var(--card); border-radius: var(--rad2); border: 1px solid var(--bdr2); overflow: hidden; }
.wp-dl-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.wp-dl-table thead { background: var(--bg); }
.wp-dl-table th { padding: 14px 12px; text-align: left; font-size: 12px; color: var(--txt3); font-weight: 600; letter-spacing: 1px; border-bottom: 1px solid var(--bdr2); }
.wp-dl-table td { padding: 14px 12px; font-size: 13px; color: var(--txt2); border-bottom: 1px solid var(--bg2); vertical-align: middle; }
.wp-dl-row { transition: background .2s; }
.wp-dl-row:hover { background: var(--bg2); }
.wp-dl-row:last-child td { border-bottom: none; }
.wp-dl-name { display: flex; align-items: center; gap: 10px; }
.wp-dl-file-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: hidden; }
.wp-dl-fn { font-size: 14px; color: var(--pri); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-dl-desc { font-size: 11px; color: var(--txt4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-dl-btn { background: var(--pri); color: #fff; border: none; padding: 7px 18px; font-size: 12px; border-radius: 4px; cursor: pointer; transition: .2s; letter-spacing: 1px; }
.wp-dl-btn:hover { background: var(--pri2); }

/* ================= 专家 ================= */
.wp-expert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.wp-expert-card { background: #fff; overflow: hidden; transition: .3s; cursor: pointer; border-radius: var(--rad2); border: 1px solid var(--bdr2); }
.wp-expert-card:hover { transform: translateY(-6px); box-shadow: var(--sh2); border-color: var(--brand); }
.wp-expert-avatar { height: 240px; position: relative; overflow: hidden; background: linear-gradient(135deg,var(--pri),var(--pri2)); display: flex; align-items: center; justify-content: center; }
.wp-expert-avatar img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; transition: transform .5s ease; }
.wp-expert-card:hover .wp-expert-avatar img { transform: scale(1.06); }
.wp-expert-avatar .wp-big-ico { font-size: 60px; color: rgba(255,255,255,.25); }
.wp-expert-info { padding: 22px 20px; text-align: center; }
.wp-expert-title { font-size: 11px; color: var(--brand); letter-spacing: 3px; margin-bottom: 6px; }
.wp-expert-name { font-size: 18px; color: var(--pri); font-weight: 700; letter-spacing: 2px; margin-bottom: 8px; }
.wp-expert-specialty { font-size: 13px; color: var(--txt2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= 证书查询 ================= */
.wp-cert-form { background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2); padding: 32px 36px; max-width: 720px; margin: 0 auto; position: relative; overflow: hidden; box-shadow: 0 2px 12px rgba(20,42,80,.04); }
.wp-cert-form::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand2) 60%, transparent); }
.wp-cert-form label { display: block; font-size: 14px; color: var(--pri); margin-bottom: 10px; letter-spacing: 1px; font-weight: 600; }
.wp-cert-input { width: 100%; height: 50px; padding: 0 18px; font-size: 15px; border: 1px solid var(--bdr); border-radius: var(--rad); outline: none; transition: .2s; font-family: var(--sans); }
.wp-cert-input:focus { border-color: var(--brand); }
.wp-cert-btn { margin-top: 20px; width: 100%; height: 50px; background: var(--pri); color: #fff; font-size: 15px; letter-spacing: 4px; border: none; border-radius: var(--rad); cursor: pointer; transition: .2s; }
.wp-cert-btn:hover { background: var(--pri2); }
.wp-cert-fields { margin-top: 6px; }
.wp-cert-field { margin-bottom: 18px; }
.wp-cert-field label { margin-bottom: 8px; }
.wp-cert-form select.wp-cert-input { cursor: pointer; }
.wp-cert-result { margin-top: 28px; overflow-x: auto; }
.wp-cert-result table { width: 100%; border-collapse: collapse; min-width: 320px; }
.wp-cert-result td { padding: 12px 14px; border: 1px solid var(--bdr); font-size: 14px; color: var(--txt2); }
.wp-cert-result td:first-child { width: 120px; background: var(--bg); color: var(--pri); font-weight: 500; }

/* ================= 目录/子栏目 ================= */
.wp-catalog-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.wp-catalog-card { background: #fff; border: 1px solid var(--bdr2); border-radius: var(--rad2); padding: 32px 24px; text-align: center; cursor: pointer; transition: .3s; }
.wp-catalog-card:hover { border-color: var(--brand); box-shadow: var(--sh2); transform: translateY(-4px); }
.wp-catalog-card .wc-ico { font-size: 40px; color: var(--pri); margin-bottom: 14px; }
.wp-catalog-card h4 { font-size: 17px; color: var(--pri); font-weight: 700; letter-spacing: 1px; margin-bottom: 6px; word-break: break-word; }
.wp-catalog-card p { font-size: 12px; color: var(--txt3); }

/* ================= 返回顶部 ================= */
.wp-backtop { position: fixed; bottom: 40px; right: 40px; width: 44px; height: 44px; background: var(--pri); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; z-index: 300; box-shadow: 0 4px 16px rgba(11,30,51,.3); opacity: 0; visibility: hidden; transition: .3s; }
.wp-backtop.show { opacity: 1; visibility: visible; }
.wp-backtop:hover { background: var(--brand); transform: translateY(-3px); }

/* ================= 页脚（政务网站标准：主办/承办单位 + 联系 + 备案区） ================= */
.wp-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 48px 0 0; border-top: 3px solid var(--brand); }
.wp-footer-inner { width: var(--w); margin: 0 auto; }
.wp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; margin-bottom: 36px; }
.wp-footer-brand h2 { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: 2px; margin-bottom: 6px; }
.wp-footer-brand .en { font-size: 10px; color: rgba(255,255,255,.72); letter-spacing: 3px; margin-bottom: 16px; }
.wp-footer-brand p { font-size: 12px; line-height: 2; color: rgba(255,255,255,.48); margin-bottom: 10px; }
.wp-footer h4 { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 2px; margin-bottom: 16px; }
.wp-footer a { display: block; font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; padding: 5px 0; transition: .2s; cursor: pointer; }
.wp-footer a:hover { color: #fff; }
.wp-footer-contact { font-size: 12px; line-height: 2.2; color: rgba(255,255,255,.55); }
.wp-footer-contact .ico { color: #fff; margin-right: 6px; }
/* 主办/承办单位行（政务标准） */
.wp-footer-org { display: flex; flex-wrap: wrap; gap: 28px; padding: 8px 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.62); }
.wp-footer-org b { font-weight: 600; color: #fff; margin-right: 8px; }
/* 备案区（ICP/网站标识码/公安备案/网站地图/无障碍） */
.wp-footer-links { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; padding: 20px 0 12px; }
.wp-footer-links .fl-left { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 12px; color: rgba(255,255,255,.5); }
.wp-footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 12px; transition: .2s; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.wp-footer-links a:hover { color: #fff; }
.wp-footer-links .sep { color: rgba(255,255,255,.16); }
/* ICP / 网站标识码 / 公安备案（蓝标） */
.wp-icp, .wp-filing { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.5); font-size: 12px; }
.wp-icp a, .wp-filing a { color: rgba(255,255,255,.5); }
.wp-icp a:hover, .wp-filing a:hover { color: #fff; }
.wp-gh { display: inline-flex; align-items: center; gap: 6px; }
.wp-gh-ico { width: 16px; height: 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; }
/* 版权行 */
.wp-footer-copy { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; color: rgba(255,255,255,.38); }
.wp-footer-copy a { color: rgba(255,255,255,.38); text-decoration: none; font-size: 11px; transition: .2s; cursor: pointer; }
.wp-footer-copy a:hover { color: #fff; }
.wp-footer-copy .dim { color: rgba(255,255,255,.2); }

/* ================= 响应式 ================= */
@media (max-width: 1280px) {
  .website-portal { --w: 96%; }
  .wp-footer-grid { grid-template-columns: repeat(2,1fr); gap: 32px; }
}
@media (max-width: 960px) {
  .website-portal { --w: 94%; }
  .wp-topbar { display: none; }
  .wp-header { position: relative; }
  .wp-header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  .wp-logo-txt h2 { font-size: 17px; letter-spacing: 1px; }
  .wp-logo-icon { width: 40px; height: 40px; }
  .wp-nav { display: none; }
  .wp-hamburger { display: block; }
  .wp-hero-inner { padding: 32px 0; }
  .wp-hero h1 { font-size: 28px; }
  .wp-hero-feature { flex-direction: column; align-items: flex-start; }
  .wp-hero-feature img { width: 100%; height: 160px; }
  .wp-sub-header { padding: 28px 0; }
  .wp-sub-header-inner { flex-wrap: wrap; gap: 6px 14px; }
  .wp-sub-header h2 { font-size: 24px; }
  .wp-sub-header .sp-sub { letter-spacing: 2px; }
  .wp-body { padding: 32px 0; }
  .wp-quick-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .wp-quick-card { padding: 24px 14px; }
  .wp-quick-card .q-ico { font-size: 32px; margin-bottom: 10px; }
  .wp-quick-card h4 { font-size: 14px; }
  .wp-home-cols, .wp-stats-wrap { grid-template-columns: 1fr; gap: 22px; }
  .wp-why-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .wp-recommend-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .wp-news-layout { grid-template-columns: 1fr; gap: 20px; }
  .wp-why { padding: 32px 24px; }
  .wp-why-head h2 { font-size: 26px; }
  .wp-expert-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .wp-video-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .wp-catalog-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .wp-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .wp-detail { padding: 24px 20px; }
}
@media (max-width: 560px) {
  .website-portal { --w: 96%; }
  .wp-hero h1 { font-size: 22px; }
  .wp-quick-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .wp-service-grid { grid-template-columns: 1fr; }
  .wp-expert-grid, .wp-video-grid, .wp-catalog-grid { grid-template-columns: 1fr; }
  .wp-why-grid, .wp-recommend-grid { grid-template-columns: 1fr; }
  .wp-sec-title h3 { font-size: 20px; }
  .wp-nf-cover { height: 200px; }
  .wp-item-row .ir-date { width: 46px; }
  .wp-news-item { padding: 14px 14px; }
  .wp-detail { padding: 22px 18px; }
  .wp-rec-body { padding: 12px 12px 14px; }
  .wp-nf-body { padding: 16px 16px; }
  .wp-expert-info { padding: 18px 12px; }
  .wp-video-body { padding: 12px 12px; }
  .wp-catalog-card { padding: 24px 14px; }
  .wp-cert-form { padding: 24px 20px; }
  .wp-cert-result td { padding: 10px 10px; font-size: 13px; }
  .wp-cert-result td:first-child { width: 96px; }
  .wp-backtop { bottom: 20px; right: 16px; }
  .wp-dl-wrap { overflow-x: auto; }
  .wp-dl-table { min-width: 560px; }
  /* 若依分页：手机端换行居中，隐藏占宽较大的「条数选择/跳页」，避免横向溢出 */
  .wp-list-page .el-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .wp-list-page .el-pagination__sizes,
  .wp-list-page .el-pagination__jump { display: none; }
}

/* ================= 轮播图响应式 ================= */
@media (max-width: 960px) {
  .wp-banner, .wp-banner-loading { height: 340px; }
  .wp-banner-slide-content h2, .wp-banner-fallback-content h1 { font-size: 26px; }
  .wp-banner-slide-content .bp-sub, .wp-banner-fallback-content .sp-sub { font-size: 14px; }
  .wp-banner-arrow { width: 38px; height: 38px; font-size: 18px; }
}
@media (max-width: 560px) {
  .wp-banner, .wp-banner-loading { height: 220px; }
  .wp-banner-slide-content, .wp-banner-fallback-content { padding: 0 18px; }
  .wp-banner-slide-content h2, .wp-banner-fallback-content h1 { font-size: 20px; }
  .wp-banner-slide-content .bp-sub, .wp-banner-fallback-content .sp-sub { font-size: 12px; display: none; }
  .wp-banner-dots { bottom: 14px; }
  .wp-banner-arrow { display: none; }
}

/* ================= 栏目列表页（面包屑 + 左导航 + 右列表） ================= */
.wp-list-page { }
.wp-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--txt3); margin-bottom: 20px; }
.wp-crumb-label { color: var(--txt3); }
.wp-crumb-item { color: var(--brand); cursor: pointer; transition: .2s; }
.wp-crumb-item:hover { color: var(--red); text-decoration: underline; }
.wp-crumb-sep { color: var(--txt4); }
.wp-crumb-cur { color: var(--red); font-weight: 600; }

.wp-list-layout { display: flex; gap: 28px; align-items: flex-start; background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2); padding: 26px 28px; position: relative; overflow: hidden; box-shadow: 0 2px 12px rgba(20,42,80,.04); }
.wp-list-layout::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand2) 60%, transparent); }
.wp-side { width: 220px; flex-shrink: 0; border-right: 1px solid var(--bdr2); padding-right: 20px; }
.wp-side-title { font-size: 18px; font-weight: 700; color: var(--pri); letter-spacing: 1px; padding: 0 4px 14px; border-bottom: 2px solid var(--brand); display: flex; align-items: center; justify-content: space-between; }
.wp-side-caret { color: var(--brand); display: none; cursor: pointer; }
.wp-side-nav { margin-top: 14px; }
.wp-side-item { padding: 12px 14px; font-size: 14px; color: var(--txt2); cursor: pointer; border-left: 3px solid transparent; transition: .2s; }
.wp-side-item:hover { color: var(--red); background: var(--bg); }
.wp-side-item.active { color: var(--red); background: var(--bg); border-left-color: var(--brand); font-weight: 600; }

.wp-list-main { flex: 1; min-width: 0; min-height: 260px; }
.wp-row { display: flex; align-items: center; gap: 16px; padding: 16px 6px; border-bottom: 1px solid var(--bdr2); cursor: pointer; transition: .2s; }
.wp-row:hover { background: var(--bg); padding-left: 12px; }
.wp-row-title { flex: 1; min-width: 0; font-size: 15px; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-row-title.hot { color: var(--red); }
.wp-tag { display: inline-block; font-size: 11px; color: #fff; background: var(--brand); padding: 1px 8px; border-radius: 3px; margin-left: 8px; }
.wp-row-sub { font-size: 12px; color: var(--txt3); margin-left: 10px; }
.wp-row-date { flex-shrink: 0; font-size: 13px; color: var(--txt4); }
.wp-row-link { flex-shrink: 0; font-size: 13px; color: var(--brand); }
.wp-row:hover .wp-row-link { color: var(--red); }
.wp-row-thumb { width: 88px; height: 56px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.wp-row-thumb-ph { display: flex; align-items: center; justify-content: center; background: var(--bg2); color: var(--txt4); font-size: 24px; }
.wp-row-avatar { width: 44px; height: 44px; border-radius: 50%; }

.wp-list-pager { margin-top: 22px; display: flex; justify-content: center; }
/* 若依分页主题化（红/金） */
.wp-list-page .el-pagination { color: var(--txt2); }
.wp-list-page .el-pagination .el-pager li.active { background: var(--pri); color: #fff; }
.wp-list-page .el-pagination .el-pager li:hover { color: var(--pri); }
.wp-list-page .el-pagination button:hover { color: var(--pri); }

/* 手机端：左侧导航可折叠、上下堆叠 */
@media (max-width: 960px) {
  .wp-list-layout { flex-direction: column; gap: 0; padding: 16px 14px; }
  .wp-side { width: 100%; border-right: none; border-bottom: 1px solid var(--bdr2); padding-right: 0; padding-bottom: 12px; margin-bottom: 12px; }
  .wp-side-caret { display: inline-block; }
  .wp-side-nav { display: none; }
  .wp-side.open .wp-side-nav { display: block; }
  .wp-side-title { font-size: 17px; padding-bottom: 12px; }
  .wp-side-item { padding: 14px 16px; font-size: 15px; }
  .wp-row-title { font-size: 14px; }
}
@media (max-width: 560px) {
  .wp-row-link { display: none; }
  .wp-row-date { font-size: 12px; }
  .wp-row-thumb { width: 64px; height: 42px; }
}

/* ================= 内容详情页 ================= */
.wp-detail-page { }
.wp-dp-wrap { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2); padding: 36px 40px; position: relative; overflow: hidden; box-shadow: 0 2px 12px rgba(20,42,80,.04); }
.wp-dp-wrap::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand2) 60%, transparent); }
.wp-dp-title { font-size: 28px; font-weight: 700; color: var(--pri); text-align: center; line-height: 1.5; margin-bottom: 16px; word-break: break-word; font-family: var(--serif); }
.wp-dp-meta { text-align: center; font-size: 13px; color: var(--txt3); display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.wp-dp-divider { height: 1px; background: var(--bdr2); margin: 22px 0 28px; }
.wp-dp-body { font-size: 15px; color: var(--txt2); line-height: 2; word-break: break-word; overflow-wrap: break-word; }
.wp-dp-body img { max-width: 100%; height: auto; border-radius: 6px; display: block; margin: 14px auto; }
.wp-dp-para { color: var(--txt2); line-height: 2; }
.wp-dp-player { max-width: 720px; margin: 0 auto; }
.wp-dp-noplayer { height: 200px; display: flex; align-items: center; justify-content: center; background: var(--bg2); color: var(--txt4); border-radius: 8px; }
.wp-dp-file { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--bg); border-radius: 8px; margin-bottom: 20px; }
.wp-dp-file-icon { font-size: 40px; color: var(--pri3); }
.wp-dp-filename { font-size: 18px; font-weight: 600; color: var(--pri); word-break: break-word; }
.wp-dp-file-meta { font-size: 13px; color: var(--txt3); margin-top: 6px; }
.wp-dp-action { text-align: center; }
.wp-dp-expert { display: flex; align-items: center; gap: 24px; padding: 16px 0 24px; border-bottom: 1px solid var(--bdr2); }
.wp-dp-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--bg2); }
.wp-dp-avatar-ph { font-size: 60px; color: var(--txt4); }
.wp-dp-expert-name { font-size: 22px; font-weight: 700; color: var(--pri); }
.wp-dp-expert-title { font-size: 14px; color: var(--brand); margin-top: 6px; }
.wp-dp-specialty { margin-top: 20px; font-size: 14px; color: var(--txt2); }
.wp-dp-footer { display: flex; gap: 16px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--bdr2); }
.wp-dp-back { background: #fff; border: 1px solid var(--bdr); color: var(--txt2); padding: 9px 22px; font-size: 13px; border-radius: 4px; cursor: pointer; transition: .2s; font-family: var(--sans); }
.wp-dp-back:hover { background: var(--pri); color: #fff; border-color: var(--pri); }

@media (max-width: 760px) {
  .wp-dp-wrap { padding: 24px 18px; }
  .wp-dp-title { font-size: 22px; }
  .wp-dp-meta { gap: 10px; font-size: 12px; }
  .wp-dp-file { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wp-dp-file-icon { font-size: 34px; }
  .wp-dp-expert { flex-direction: column; align-items: center; text-align: center; }
  .wp-dp-avatar { width: 96px; height: 96px; }
  .wp-dp-footer { flex-direction: column; gap: 10px; }
  .wp-dp-back { width: 100%; text-align: center; }
}

/* ============================================================
   全站移动端统一增强（补充：平板 ≤1024 / 手机 ≤768 / 小屏 ≤560）
   只做布局与响应式，不改任何业务逻辑
   ============================================================ */

/* 安全兜底：封面容器防溢出（不影响内部 object-fit:cover 图片） */
.website-portal .wp-rec-cover,
.website-portal .wp-nf-cover,
.website-portal .wp-video-cover,
.website-portal .wp-expert-avatar,
.website-portal .eg-cover,
.website-portal .wp-row-thumb { overflow: hidden; }

/* ---------- 平板（769~1024px）：轮播高度收敛。
   限定在平板区间，避免覆盖更窄断点（≤960=340px / ≤560=220px），
   否则手机上首屏会被撑高到 560px ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .wp-banner { height: 560px; }
  .wp-banner-loading { height: 560px; }
}

/* ---------- ≤768px：封面高度随屏收敛、flex 行允许换行 ---------- */
@media (max-width: 768px) {
  .wp-rec-cover { height: 132px; }
  .wp-video-cover { height: 130px; }
  .wp-expert-avatar { height: 200px; }
  .wp-nf-cover { height: 190px; }
  .wp-footer-org, .wp-footer-links, .wp-footer-copy { flex-wrap: wrap; gap: 10px; }
  .wp-dp-file { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wp-dp-expert { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- ≤560px：封面/标题进一步收敛、下载表格横向滚动 ---------- */
@media (max-width: 560px) {
  .wp-expert-avatar { height: 184px; }
  .wp-nf-cover { height: 168px; }
  .wp-row-thumb { width: 56px; height: 42px; }
  .wp-dl-wrap { overflow-x: auto; }
  .wp-sec-title h3 { font-size: 18px; }
  .wp-why { padding: 30px 20px; }
  .wp-why-head h2 { font-size: 22px; }
  .wp-detail-body, .wp-dp-body { font-size: 14px; }
}

/* ================= 专家卡片：竖版头像（避免横板裁切人像） ================= */
.website-portal .eg-card--expert .eg-cover {
  width: 96px; height: 112px; border-radius: 6px; flex-shrink: 0; overflow: hidden;
}
.website-portal .eg-card--expert .eg-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .website-portal .eg-card--expert { flex-direction: row; }
  .website-portal .eg-card--expert .eg-cover { width: 84px; height: 100px; }
  .website-portal .eg-card--expert .eg-cover img { height: 100%; }
}

/* ================= 列表/证书页手机端：左导航改为横向可滑动分类胶囊条 ================= */
@media (max-width: 960px) {
  .website-portal .wp-side {
    width: 100%; border: none; border-right: none; padding: 0 0 0; margin: 0 0 16px; overflow: hidden;
  }
  .website-portal .wp-side-title,
  .website-portal .wp-side-caret { display: none; }
  .website-portal .wp-side-nav {
    display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto;
    gap: 8px; margin-top: 0; padding: 2px 0 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .website-portal .wp-side-item {
    flex: 0 0 auto; white-space: nowrap; padding: 8px 16px; margin: 0;
    font-size: 14px; border: 1px solid var(--bdr); border-radius: 16px;
    background: #fff; color: var(--txt2); border-left: 1px solid var(--bdr);
    line-height: 1.4;
  }
  .website-portal .wp-side-item:hover { background: var(--bg2); color: var(--pri); }
  .website-portal .wp-side-item.active {
    background: linear-gradient(135deg, var(--pri2), var(--pri3));
    color: #fff; border-color: var(--pri); font-weight: 600;
    box-shadow: 0 4px 10px rgba(18,67,122,.18);
  }
}

/* ================= 证书查询页（卡片 / 表单 / 结果） ================= */
.website-portal .wp-cert-card {
  width: 100%; background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--rad2); padding: 26px 30px; box-shadow: var(--sh); box-sizing: border-box;
}
.website-portal .wp-cert-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid var(--bdr2); }
.website-portal .wp-cert-badge { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand2)); box-shadow: 0 4px 10px rgba(200,22,30,.24); }
.website-portal .wp-cert-head-txt { min-width: 0; }
.website-portal .wp-cert-head-txt h2 { font-size: 20px; font-weight: 700; color: var(--pri); letter-spacing: 1px; line-height: 1.3; margin: 0 0 4px; font-family: var(--serif); }
.website-portal .wp-cert-head-txt p { font-size: 13px; color: var(--txt3); margin: 0; }
.website-portal .wp-cert-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; }
.website-portal .wp-cert-field { margin-bottom: 18px; }
.website-portal .wp-cert-field-label { display: block; font-size: 14px; color: var(--txt); font-weight: 600; margin-bottom: 8px; }
.website-portal .wp-cert-input {
  width: 100%; height: 46px; padding: 0 14px; font-size: 14px;
  border: 1px solid var(--bdr); border-radius: 8px; outline: none; background: #fff;
  box-sizing: border-box; transition: .2s; font-family: var(--sans);
}
.website-portal .wp-cert-input:focus { border-color: var(--pri3); box-shadow: 0 0 0 2px rgba(28,95,168,.12); }
.website-portal .wp-cert-actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.website-portal .wp-cert-actions .wp-cert-btn,
.website-portal .wp-cert-actions .wp-cert-reset { margin: 0; }
.website-portal .wp-cert-actions .wp-cert-btn {
  flex: 1; height: 46px; border: none; border-radius: 8px; font-size: 15px; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; cursor: pointer;
  box-shadow: 0 4px 12px rgba(200,22,30,.24); transition: .2s;
}
.website-portal .wp-cert-actions .wp-cert-btn:hover { background: linear-gradient(135deg, var(--brand2), var(--brand)); }
.website-portal .wp-cert-actions .wp-cert-btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.website-portal .wp-cert-actions .wp-cert-reset {
  flex: 0 0 108px; height: 46px; border: 1px solid var(--bdr); border-radius: 8px;
  font-size: 15px; letter-spacing: 2px; background: #fff; color: var(--txt2); cursor: pointer; transition: .2s;
}
.website-portal .wp-cert-actions .wp-cert-reset:hover { background: var(--bg2); color: var(--pri); }
.website-portal .wp-cert-result-card { background: #fff; border: 1px solid var(--bdr); border-radius: var(--rad2); padding: 20px 26px; margin-top: 22px; box-shadow: var(--sh); }
.website-portal .wp-cert-result-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.website-portal .wp-cert-result-bar { width: 6px; height: 22px; border-radius: 2px; background: var(--red); }
.website-portal .wp-cert-result-title h3 { font-size: 18px; font-weight: 700; color: var(--pri); margin: 0; font-family: var(--serif); }
.website-portal .wp-cert-result { width: 100%; overflow-x: auto; margin-top: 0; }
.website-portal .wp-cert-result table { width: 100%; border-collapse: collapse; min-width: 380px; }
.website-portal .wp-cert-result td { padding: 13px 14px; border: 1px solid var(--bdr); font-size: 14px; color: var(--txt2); }
.website-portal .wp-cert-result td.wp-cert-result-k { width: 130px; background: var(--bg2); color: var(--pri); font-weight: 600; }
.website-portal .wp-cert-status { font-weight: 600; }
.website-portal .wp-cert-status.ok { color: var(--pri3); }
.website-portal .wp-cert-status.fail { color: var(--red); }
@media (max-width: 960px) {
  .website-portal .wp-cert-card { padding: 22px 20px; }
  .website-portal .wp-cert-fields { grid-template-columns: 1fr; gap: 2px; }
  .website-portal .wp-cert-field { margin-bottom: 16px; }
}
@media (max-width: 560px) {
  .website-portal .wp-cert-card { padding: 20px 16px; }
  .website-portal .wp-cert-badge { width: 36px; height: 36px; font-size: 17px; }
  .website-portal .wp-cert-head-txt h2 { font-size: 18px; }
  .website-portal .wp-cert-head-txt p { font-size: 12px; }
  .website-portal .wp-cert-actions { flex-direction: column; align-items: stretch; }
  .website-portal .wp-cert-actions .wp-cert-btn,
  .website-portal .wp-cert-actions .wp-cert-reset { width: 100% !important; flex: 1 1 auto; }
  .website-portal .wp-cert-result-card { padding: 18px 14px; }
  .website-portal .wp-cert-result td { padding: 11px 12px; font-size: 13px; }
  .website-portal .wp-cert-result td.wp-cert-result-k { width: 108px; }
}

/* ================= 证书查询结果：信息卡片（美观，PC/移动端兼容） ================= */
.website-portal .wp-cert-result-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--bdr2);
}
.website-portal .wp-cert-result-head .crh-photo {
  flex-shrink: 0; width: 92px; height: 118px; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--bdr2); background: #fff;
}
.website-portal .wp-cert-result-head .crh-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.website-portal .wp-cert-result-head .crh-name { font-size: 22px; font-weight: 700; color: var(--pri); font-family: var(--serif); line-height: 1.3; }
.website-portal .wp-cert-result-head .crh-sub { font-size: 12px; color: var(--txt3); margin-top: 6px; letter-spacing: .5px; }
.website-portal .wp-cert-status { display: inline-block; padding: 3px 14px; border-radius: 14px; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.website-portal .wp-cert-status.ok { background: #e8f5e9; color: #2e7d32; }
.website-portal .wp-cert-status.fail { background: #ffebee; color: #c62828; }
.website-portal .wp-cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.website-portal .wp-cert-item { display: flex; align-items: baseline; gap: 8px; background: var(--bg); border-radius: 8px; padding: 9px 12px; box-sizing: border-box; transition: background .2s; }
.website-portal .wp-cert-item:hover { background: var(--bg2); }
.website-portal .wp-cert-item .k { font-size: 12px; color: var(--txt3); flex-shrink: 0; letter-spacing: .3px; }
.website-portal .wp-cert-item .v { font-size: 13px; color: var(--txt); font-weight: 500; word-break: break-word; min-width: 0; line-height: 1.5; }
.website-portal .wp-cert-result-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bdr2); }
.website-portal .wp-cert-back { background: #fff; border: 1px solid var(--bdr); color: var(--txt2); padding: 9px 26px; font-size: 13px; border-radius: 6px; cursor: pointer; transition: .2s; font-family: var(--sans); }
.website-portal .wp-cert-back:hover { background: var(--pri); color: #fff; border-color: var(--pri); }
@media (max-width: 560px) {
  .website-portal .wp-cert-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .website-portal .wp-cert-item { padding: 8px 9px; gap: 6px; }
  .website-portal .wp-cert-item .k { font-size: 11px; }
  .website-portal .wp-cert-item .v { font-size: 12px; }
  .website-portal .wp-cert-result-head { padding-bottom: 12px; margin-bottom: 12px; }
  .website-portal .wp-cert-result-head .crh-name { font-size: 18px; }
  .website-portal .wp-cert-result-head .crh-sub { font-size: 11px; }
  .website-portal .wp-cert-result-head .crh-photo { width: 72px; height: 92px; }
  .website-portal .wp-cert-result-card { padding: 16px 14px; }
}
