@charset "utf-8";
/* ==========================================================================
   OPC 个体工商户服务专题 · 政务风格样式表
   作者：专题栏目前端
   说明：PC / 平板 / 手机 三档响应式，政务网站设计规范色系
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
:root {
  --red: #b8161f;
  --red-2: #d2232a;
  --red-dark: #8c0f16;
  --blue: #14559b;
  --blue-2: #1c6fc0;
  --blue-dark: #0d3c70;
  --blue-soft: #e8f0fa;
  --gold: #c9a227;
  --ink: #1f2329;
  --ink-2: #4a5560;
  --ink-3: #7a8590;
  --line: #e2e6eb;
  --line-2: #cfd6de;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 10px rgba(20, 50, 90, 0.07);
  --shadow-hover: 0 8px 24px rgba(20, 50, 90, 0.14);
  --wrap: 1200px;
  /* 各类内容宽度统一由 --wrap 派生，改一处即可整体联动：
     --wrap-article 纯介绍文档的阅读宽度（1200-304=896px，约 56rem，中文长文最佳行宽）
     --wrap-video   视频页通栏大视频的最大宽度（1200-80=1120px）
     详情页（show.html）与列表页一致，直接使用 --wrap，不再另设窄栏 */
  --wrap-article: calc(var(--wrap) - 304px);
  --wrap-video: calc(var(--wrap) - 80px);
  --head-h: 92px;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", "Songti SC", serif;
}

/* 长者模式：整体放大字号 */
html.senior {
  font-size: 19px;
}

/* ---------- 2. 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg-soft);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--red);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
  font-size: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.35;
}

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 2px;
}

/* 无障碍：仅屏幕阅读器可见 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 跳转到主内容（键盘可达） */
.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--blue);
  color: #fff;
  padding: 10px 22px;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- 3. 通用布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 30px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--white {
  background: #fff;
}

.section--deep {
  background: linear-gradient(180deg, #0e3f75 0%, #14559b 100%);
  color: #fff;
}

/* 栏目标题（政务风格：红蓝双线 + 宋体） */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 28px;
  position: relative;
}

.sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 116px;
  height: 2px;
  background: var(--red);
}

.sec-head__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sec-head__title::before {
  content: "";
  width: 6px;
  height: 26px;
  background: var(--red);
  border-radius: 2px;
  flex: none;
}

.sec-head__en {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 2px;
}

.sec-head__more {
  font-size: 0.875rem;
  color: var(--ink-2);
  white-space: nowrap;
  flex: none;
}

.sec-head__more::after {
  content: "›";
  margin-left: 4px;
  font-size: 1.1rem;
  line-height: 1;
}

.section--deep .sec-head {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.section--deep .sec-head__title {
  color: #fff;
}

.section--deep .sec-head__title::before {
  background: #ffd45e;
}

.section--deep .sec-head__en,
.section--deep .sec-head__more {
  color: rgba(255, 255, 255, 0.72);
}

.section--deep .sec-head__more:hover {
  color: #fff;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: all 0.22s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 10px rgba(184, 22, 31, 0.28);
}

.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}

.btn--blue:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--blue);
}

.btn--line {
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  background: #fff;
}

.btn--line:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* 卡片通用 */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: #d5dee8;
}

/* 图片容器（用于 CSS 绘制的占位图）
   注意：该容器常挂在 span 上，必须显式 block，
   否则 width:100% 与 aspect-ratio 对行内元素无效，高度会塌成 0 造成图文重叠 */
.media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #dfe6ee;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.media--16x9 {
  aspect-ratio: 16 / 9;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media__tag {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  background: rgba(13, 60, 112, 0.86);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.media__cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  color: #fff;
  font-size: 0.8125rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
}

/* 装饰色块（代替位图） */
.ph {
  position: absolute;
  inset: 0;
}

.ph--1 {
  background: linear-gradient(135deg, #1c6fc0, #0d3c70 70%);
}

.ph--2 {
  background: linear-gradient(135deg, #d2232a, #7d0d13 70%);
}

.ph--3 {
  background: linear-gradient(135deg, #2b8a7a, #10493f 70%);
}

.ph--4 {
  background: linear-gradient(135deg, #d98b28, #8a4d0d 70%);
}

.ph--5 {
  background: linear-gradient(135deg, #5a55b8, #241f66 70%);
}

.ph--6 {
  background: linear-gradient(135deg, #2f7ec4, #1a4a7c 70%);
}

.ph--7 {
  background: linear-gradient(135deg, #b8593b, #6d2a17 70%);
}

.ph--8 {
  background: linear-gradient(135deg, #3f7d3f, #1c441c 70%);
}

.ph-mark {
  position: absolute;
  right: -10px;
  bottom: -18px;
  font-family: var(--font-serif);
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  letter-spacing: 2px;
  user-select: none;
}

/* ==========================================================================
   4. 顶部工具条
   ========================================================================== */
.topbar {
  background: #f2f4f7;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__site {
  color: var(--ink-3);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__links a,
.topbar__btn {
  color: var(--ink-2);
  padding: 2px 4px;
}

.topbar__links a:hover,
.topbar__btn:hover {
  color: var(--red);
}

.topbar__links .sep {
  color: var(--line-2);
}

.topbar__btn[aria-pressed="true"] {
  color: var(--red);
  font-weight: 700;
}

/* ==========================================================================
   5. 页头
   ========================================================================== */
.site-head {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.site-head::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 32%, var(--blue) 32%, var(--blue) 100%);
  z-index: 3;
}

.site-head::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 85, 155, 0.07), transparent 68%);
  pointer-events: none;
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 20px;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand__mark {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--red-2) 0%, var(--red) 52%, var(--red-dark) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 12px rgba(184, 22, 31, 0.32), inset 0 0 0 2px rgba(255, 255, 255, 0.32);
}

.brand__text {
  min-width: 0;
}

.brand__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: 2px;
  color: var(--ink);
  white-space: nowrap;
}

.brand__sub {
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-head__extra {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  height: 40px;
}

.search input {
  border: 0;
  outline: none;
  padding: 0 6px 0 18px;
  width: 190px;
  background: transparent;
  color: var(--ink);
}

.search input::placeholder {
  color: #a8b0b8;
}

.search button {
  width: 52px;
  height: 40px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.2s;
}

.search button:hover {
  background: var(--blue-dark);
}

.search svg {
  width: 17px;
  height: 17px;
}

.head-tel {
  text-align: right;
  line-height: 1.3;
}

.head-tel__label {
  font-size: 0.75rem;
  color: var(--ink-3);
}

.head-tel__num {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   6. 主导航
   ========================================================================== */
.mainnav {
  background: var(--blue);
  position: relative;
  z-index: 60;
  box-shadow: 0 2px 8px rgba(13, 60, 112, 0.18);
}

.mainnav__inner {
  display: flex;
  align-items: center;
  position: relative;
}

.navlist {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.navlist > li {
  position: relative;
  flex: 1 1 auto;
  max-width: 176px;
}

.navlist > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  padding: 0 10px;
  color: #fff;
  font-size: 1.0625rem;
  letter-spacing: 1px;
  position: relative;
  transition: background 0.2s;
}

.navlist > li > a::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  background: #ffd45e;
  transform: scaleX(0);
  transition: transform 0.24s;
}

.navlist > li > a:hover,
.navlist > li.is-active > a {
  background: var(--blue-dark);
  color: #fff;
}

.navlist > li > a:hover::after,
.navlist > li.is-active > a::after {
  transform: scaleX(1);
}

/* 二级下拉 */
.subnav {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(8px);
  min-width: 158px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 26px rgba(15, 40, 75, 0.18);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s;
  z-index: 70;
}

.navlist > li:hover .subnav,
.navlist > li:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.subnav a {
  display: block;
  padding: 8px 20px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.subnav a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

/* 移动端汉堡按钮 */
.navtoggle {
  display: none;
  width: 100%;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  padding: 0 4px;
  font-size: 1.0625rem;
  letter-spacing: 1px;
}

.navtoggle__icon {
  width: 24px;
  height: 16px;
  position: relative;
  flex: none;
}

.navtoggle__icon span,
.navtoggle__icon::before,
.navtoggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.24s, opacity 0.24s;
}

.navtoggle__icon::before {
  top: 0;
}

.navtoggle__icon span {
  top: 7px;
}

.navtoggle__icon::after {
  bottom: 0;
}

.navtoggle[aria-expanded="true"] .navtoggle__icon span {
  opacity: 0;
}

.navtoggle[aria-expanded="true"] .navtoggle__icon::before {
  transform: translateY(7px) rotate(45deg);
}

.navtoggle[aria-expanded="true"] .navtoggle__icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   7. 轮播
   ========================================================================== */
.hero {
  position: relative;
  background: var(--blue-dark);
  overflow: hidden;
}

.hero__viewport {
  position: relative;
  height: 420px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__slide .ph::before,
.hero__slide .ph::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.hero__slide .ph::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
}

.hero__slide .ph::after {
  width: 240px;
  height: 240px;
  right: 180px;
  bottom: -160px;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.hero__tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.8125rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1.28;
  letter-spacing: 2px;
  max-width: 760px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero__desc {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.85;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
}

.hero__ops {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 轮播控制 */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.hero__arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.hero__arrow--prev {
  left: 22px;
}

.hero__arrow--next {
  right: 22px;
}

.hero__arrow svg {
  width: 18px;
  height: 18px;
}

.hero__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 6;
  display: flex;
  gap: 10px;
}

.hero__dots button {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.42);
  transition: all 0.22s;
}

.hero__dots button.is-active {
  background: #ffd45e;
  width: 40px;
}

/* ==========================================================================
   8. 快捷办事入口
   ========================================================================== */
.quickbar {
  position: relative;
  margin-top: -34px;
  z-index: 20;
}

.quickbar__inner {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 40, 75, 0.12);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}

.quick:last-child {
  border-right: 0;
}

.quick:hover {
  background: var(--blue-soft);
}

.quick__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
}

.quick__icon svg {
  width: 24px;
  height: 24px;
}

.quick:nth-child(1) .quick__icon {
  background: linear-gradient(135deg, #1c6fc0, #0d3c70);
}

.quick:nth-child(2) .quick__icon {
  background: linear-gradient(135deg, #d2232a, #8c0f16);
}

.quick:nth-child(3) .quick__icon {
  background: linear-gradient(135deg, #2b8a7a, #10493f);
}

.quick:nth-child(4) .quick__icon {
  background: linear-gradient(135deg, #d98b28, #8a4d0d);
}

.quick__t {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  display:block;
}

.quick__d {
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ==========================================================================
   9. 新闻动态
   ========================================================================== */
.news-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex: none;
  max-width: 100%;
}

/* 锚点占位（供栏目下拉定位，不参与布局） */
.tabs > span {
  display: none;
}

/* 栏目标题旁的分类切换 */
.tabs button {
  padding: 5px 16px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s;
}

.tabs button:hover {
  color: var(--blue);
}

.tabs button.is-active {
  background: var(--blue);
  color: #fff;
}

.news-hero {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}

.news-hero:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* 注意：卡片主体与内部文字均为 span，必须显式声明为块级/弹性，
   否则会与上方图片发生行内环绕，造成图文重叠、正文挤成一行 */
.news-hero__body {
  display: block;
  padding: 18px 20px 20px;
}

.news-hero__title {
  display: block;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.2s;
}

.news-hero:hover .news-hero__title {
  color: var(--blue);
}

.news-hero__desc {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.pill {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 3px;
  padding: 1px 8px;
  font-size: 0.75rem;
}

/* 新闻动态左列：只保留头条大图卡片 */
.news-feature > #home-news > [data-tab-panel] {
  display: block;
}

/* 列表（带日期块） */
.newslist li + li {
  border-top: 1px dashed var(--line);
}

.newslist a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 4px;
  transition: padding 0.2s;
}

.newslist a:hover {
  padding-left: 10px;
}

.newslist a:hover .newslist__t {
  color: var(--blue);
}

.newslist__date {
  display: block;
  flex: none;
  width: 62px;
  text-align: center;
  line-height: 1.2;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.newslist__d {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-sans);
}

.newslist__m {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-3);
}

.newslist__t {
  display: block;
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  color: var(--ink);
  overflow: hidden;
  line-height: 1.6;
  transition: color 0.2s;
}

/* 窄屏下两行截断；不支持 -webkit-line-clamp 的环境自动退化为单行省略 */
@supports (-webkit-line-clamp: 2) {
  .news-hero__title,
  .newslist__t {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* 左列只放头条大图时，标题固定两行，避免左右两列高度因标题行数浮动 */
  .news-feature .news-hero__title {
    min-height: 3rem;
  }
}

.newslist__t .tag-new {
  margin-left: 6px;
}

.tag-new {
  flex: none;
  background: var(--red);
  color: #fff;
  font-size: 0.6875rem;
  padding: 1px 5px;
  border-radius: 2px;
  transform: translateY(-1px);
}

/* ==========================================================================
   10. 通知公告（深色/浅色块）
   ========================================================================== */
.notice-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  /*height: 100%;*/
  display: flex;
  flex-direction: column;
}

/* 与新闻列等高：左列内容长，右列面板随之拉伸，列表自身撑满剩余高度 */
.notice-panel__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.notice-panel__body > .notice-list {
  flex: 1 1 auto;
}

.notice-panel__head {
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  color: #fff;
  padding: 13px 20px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice-panel__head a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.notice-panel__head a:hover {
  color: #fff;
}

.notice-panel__body {
  padding: 8px 20px 16px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dotlist li + li {
  border-top: 1px dashed var(--line);
}

.dotlist a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
  /* 作为 flex 子项参与"等高分布"时不被压扁 */
  min-height: 46px;
}

.dotlist a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--line-2);
  transform: rotate(45deg);
  transition: background 0.2s;
}

.dotlist a:hover {
  color: var(--blue);
}

.dotlist a:hover::before {
  background: var(--red);
}

.dotlist__t {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dotlist__date {
  flex: none;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* 通知公告列表：沿用新闻列表"日期块 + 双行标题 + 虚线分隔"的样式 */
/* 去掉面板自带标题条后（标题已由栏目标题承担），给列表补一点与栏目标题的间距 */
.notice-panel__body > .notice-list:first-child {
  padding-top: 6px;
}

.notice-list li + li {
  border-top: 1px dashed var(--line);
}

.notice-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  transition: padding 0.2s;
}

.notice-list a:hover {
  padding-left: 8px;
}

.notice-list a:hover .notice-list__t {
  color: var(--blue);
}

.notice-list__date {
  display: block;
  flex: none;
  width: 60px;
  text-align: center;
  line-height: 1.2;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.notice-list__d {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.15;
}

.notice-list__m {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 2px;
}

.notice-list__t {
  display: block;
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  color: var(--ink);
  overflow: hidden;
  line-height: 1.6;
  transition: color 0.2s;
}

@supports (-webkit-line-clamp: 2) {
  .notice-list__t {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* ==========================================================================
   11. 社区介绍 / 概况
   ========================================================================== */
.intro-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

.intro__lead {
  font-size: 1rem;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.intro__lead p + p {
  margin-top: 12px;
}

.statgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0 26px;
}

.stat {
  background: #fff;
  padding: 18px 16px;
  text-align: center;
}

.stat__num {
  font-family: var(--font-sans);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.stat__num small {
  font-size: 0.875rem;
  font-weight: 400;
  margin-left: 2px;
  color: var(--ink-2);
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 4px;
}

.checklist {
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.7;
}

.checklist svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  color: var(--red);
}

.map-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-card__canvas {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #eef4fb, #dde8f5);
}

.map-card__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 85, 155, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 85, 155, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
}

.map-card__blob {
  position: absolute;
  inset: 14% 12% 16% 14%;
  background: linear-gradient(150deg, rgba(28, 111, 192, 0.42), rgba(13, 60, 112, 0.3));
  border: 2px solid rgba(20, 85, 155, 0.55);
  border-radius: 46% 54% 38% 62% / 52% 40% 60% 48%;
}

.map-card__pin {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--red);
}

.map-card__pin svg {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.22));
}

.map-card__pin span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

.map-card__foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

/* ==========================================================================
   12. 活动风采
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.act-card__body {
  display: block;
  padding: 16px 18px 20px;
}

.act-card__title {
  font-size: 1.0625rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.act-card:hover .act-card__title {
  color: var(--blue);
}

.act-card__desc {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.act-card__foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* 图文小卡（左图右文） */
.media-row {
  display: grid;
  gap: 18px;
}

.media-row__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.media-row__item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.media-row__item .media {
  height: 100%;
  min-height: 138px;
}

.media-row__body {
  padding: 16px 18px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-row__title {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.media-row__item:hover .media-row__title {
  color: var(--blue);
}

.media-row__desc {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-row__meta {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--ink-3);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   13. 视频展播
   ========================================================================== */
.video-card {
  position: relative;
  cursor: pointer;
}

.video-card .media {
  border-radius: var(--radius-lg);
}

.video-card__play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
  transition: transform 0.24s, background 0.24s;
}

.video-card__play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

.video-card__time {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  font-size: 0.75rem;
  padding: 1px 7px;
  border-radius: 3px;
}

.video-card__title {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card:hover .video-card__title {
  color: var(--ink-3);
}

.video-card__meta {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--ink-3);
  display: flex;
  gap: 12px;
}

.section--deep .video-card__title {
  color: #fff;
}

.section--deep .video-card__meta {
  color: rgba(255, 255, 255, 0.65);
}

/* ------------------------------------------------------------------
   通栏大视频（视频展播页顶部）
   ------------------------------------------------------------------ */
.video-feature {
  background: linear-gradient(180deg, #0b1f38 0%, #10365f 100%);
  padding: 34px 0 38px;
  overflow: hidden;
}

.video-feature__inner {
  width: 100%;
  max-width: var(--wrap-video);
  margin: 0 auto;
  padding: 0 20px;
}

.video-feature__head {
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

.video-feature__title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  letter-spacing: 1px;
  line-height: 1.45;
  color: #fff;
  white-space: normal;
  overflow-wrap: break-word;
}

.video-feature__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: normal;
  overflow-wrap: break-word;
}

.video-feature__box {
  cursor: pointer;
}

.video-feature__box .media {
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.video-feature__box .video-card__play {
  width: 76px;
  height: 76px;
}

.video-feature__box .video-card__play svg {
  width: 30px;
  height: 30px;
}

.video-feature__box .video-card__time {
  right: 14px;
  bottom: 14px;
  font-size: 0.8125rem;
  padding: 2px 9px;
}

/* 视频弹窗 */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 20, 36, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vmodal.is-open {
  display: flex;
}

.vmodal__box {
  width: 100%;
  max-width: 880px;
  background: #101d2c;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: pop 0.25s ease;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.vmodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: #0b1725;
  color: #fff;
  font-size: 0.9375rem;
}

.vmodal__close {
  color: rgba(255, 255, 255, 0.72);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  flex: none;
}

.vmodal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.vmodal__body {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  padding: 24px;
  background: radial-gradient(circle at 50% 40%, #1b3350, #0b1725);
}

.vmodal__body strong {
  display: block;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 8px;
}

.vmodal__body p {
  font-size: 0.875rem;
  line-height: 1.8;
  max-width: 460px;
}

/* ==========================================================================
   14. 政策服务
   ========================================================================== */
.policy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.policy-tabs button {
  padding: 8px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: all 0.2s;
}

.policy-tabs button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.policy-tabs button.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.policy-item {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.policy-item + .policy-item {
  margin-top: 14px;
}

/* 两列展示：同一行卡片等高，纵向间距交给栅格 gap，避免与 margin 叠加 */
.policy-grid {
  align-items: stretch;
}

.policy-grid > .policy-item + .policy-item {
  margin-top: 0;
}

.policy-grid .policy-item {
  height: 100%;
}

/* 按钮组横跨整行，落在卡片下方 */
.policy-grid > .policy-item__ops {
  grid-column: 1 / -1;
  margin-top: 10px;
  flex-wrap: wrap;
}

.policy-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: #d5dee8;
}

.policy-item__date {
  flex: none;
  width: 68px;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 16px;
  line-height: 1.25;
}

.policy-item__date .d {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
}

.policy-item__date .m {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 2px;
}

.policy-item__body {
  flex: 1;
  min-width: 0;
}

.policy-item__title {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.policy-item:hover .policy-item__title {
  color: var(--blue);
}

.policy-item__desc {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.75;
}

.policy-item__meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.policy-item__ops {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.policy-item__ops .btn {
  padding: 7px 18px;
  font-size: 0.875rem;
}

/* 办事流程 */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.step:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.step__no {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 1.125rem;
  display: grid;
  place-items: center;
  border: 1px solid #c9dcf2;
}

.step:hover .step__no {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.step__t {
  font-size: 1rem;
  margin-bottom: 6px;
}

.step__d {
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.65;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--line-2);
}

/* 问答 / 折叠 */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.faq__item + .faq__item {
  border-top: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.2s;
}

.faq__q:hover {
  background: var(--bg-soft);
}

.faq__q .ico {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.faq__q .arr {
  margin-left: auto;
  flex: none;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.24s;
}

.faq__q[aria-expanded="true"] .arr {
  transform: rotate(-135deg);
}

.faq__a {
  display: none;
  padding: 0 20px 20px 54px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.85;
}

.faq__a.is-open {
  display: block;
}

/* ==========================================================================
   15. 友情链接 / 页脚
   ========================================================================== */
.links-bar {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.links-bar__inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.links-bar__label {
  flex: none;
  font-size: 0.875rem;
  color: var(--ink-3);
  padding-top: 4px;
}

.links-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.site-foot {
  background: #123a66;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.875rem;
}

.site-foot__main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
  padding: 34px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-foot__col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.site-foot__col li {
  margin-bottom: 8px;
}

.site-foot__col a:hover {
  color: #fff;
}

.site-foot__qr {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

.qr {
  text-align: center;
  font-size: 0.75rem;
}

.qr__box {
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
}

.qr__box svg {
  width: 100%;
  height: 100%;
}

.site-foot__bottom {
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
}

.site-foot__bottom a:hover {
  color: #fff;
}

.site-foot__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-foot__badge svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   16. 内页：面包屑 / 页面横幅 / 通用列表 / 分页
   ========================================================================== */
.banner {
  position: relative;
  background: linear-gradient(120deg, #0d3c70, #1c6fc0 72%, #2f89d8);
  color: #fff;
  overflow: hidden;
}

.banner::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.banner__inner {
  position: relative;
  z-index: 2;
  padding: 44px 20px;
}

.banner__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: 2px;
}

.banner__sub {
  margin-top: 8px;
  font-size: 0.875rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.crumb {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-3);
}

.crumb__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  flex-wrap: wrap;
}

.crumb a:hover {
  color: var(--blue);
}

.crumb .now {
  color: var(--ink);
}

.crumb .sep {
  color: var(--line-2);
}

.page-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px 36px;
}

.page-body + .page-body {
  margin-top: 24px;
}

.article h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 26px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  line-height: 1.4;
}

.article h2:first-child {
  margin-top: 0;
}

.article p {
  font-size: 1rem;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 14px;
  text-indent: 2em;
}

.article ul {
  margin: 0 0 16px 0;
  padding-left: 4px;
}

.article ul li {
  position: relative;
  padding-left: 18px;
  font-size: 1rem;
  line-height: 2;
  color: var(--ink-2);
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: rotate(45deg);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 20px;
  font-size: 0.9375rem;
}

.article table th,
.article table td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  line-height: 1.7;
}

.article table th {
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 700;
  white-space: nowrap;
}

.article table tbody tr:nth-child(even) {
  background: #fafbfd;
}

/* 分页 */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.pager a,
.pager span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  color: var(--ink-2);
  background: #fff;
}

.pager a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pager .is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.pager .is-disabled {
  color: #c3c9d0;
}

/* 筛选条 */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 22px;
}

.filterbar__label {
  font-size: 0.875rem;
  color: var(--ink-3);
  flex: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips button {
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: all 0.2s;
}

.chips button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chips button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* 详情页 */
.detail-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.detail-head h1 {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  line-height: 1.5;
  text-align: center;
}

.detail-meta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* 空状态 */
.empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

/* ==========================================================================
   17. 侧边悬浮工具
   ========================================================================== */
.side-tools {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-tools a,
.side-tools button {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 0.6875rem;
  line-height: 1.2;
  text-align: center;
  transition: all 0.2s;
}

.side-tools a:hover,
.side-tools button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.side-tools svg {
  width: 20px;
  height: 20px;
}

/* 回到顶部由 JS 控制显隐 */
.side-tools .to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.side-tools .to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ==========================================================================
   17-1. 纯介绍文档排版（社区介绍单页）
   不依赖卡片/栅格等版式组件，只做标题、段落、列表的文字层级
   ========================================================================== */
.intro-doc {
  /*max-width: var(--wrap-article);*/
  margin: 0 auto;
  padding: 34px 40px 44px;
}

/* 已带内边距的容器（如详情页 .page-body）里不再重复限宽与补齐内边距，
   否则会出现"卡片 900px / 正文 896px"两层限宽、宽度对不上的问题 */
.page-body .intro-doc,
.intro-doc--flush {
  max-width: none;
  margin: 0;
  padding: 0;
}

.intro-doc h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 2px;
  color: var(--ink);
  margin: 0 0 12px;
  padding: 0 0 22px;
  position: relative;
}

.intro-doc h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 96px;
  height: 2px;
  background: var(--red);
  transform: translateX(-50%);
}

.intro-doc h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
  color: var(--ink);
}

.intro-doc p {
  font-size: 1rem;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 14px;
  text-indent: 2em;
}

.intro-doc ol,
.intro-doc ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: intro-item;
}

.intro-doc ol > li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  counter-increment: intro-item;
}

.intro-doc ol > li::before {
  content: counter(intro-item);
  position: absolute;
  left: 0;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.intro-doc ul > li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.intro-doc ul > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 15px;
  width: 5px;
  height: 5px;
  background: var(--red);
  transform: rotate(45deg);
}

.intro-doc li > p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   17-2. 文章 / 视频详情页（show.html）
   页面容器沿用标准 .wrap（1200px），与列表页保持同一栅格
   ========================================================================== */
.detail-meta {
  align-items: center;
  gap: 8px 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* 正文内不再限宽（外层已限宽），首段改为导语样式 */
.article-lead {
  font-size: 1.0625rem;
  line-height: 1.95;
  color: var(--ink);
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin-bottom: 20px;
  text-indent: 0;
}

.article-note {
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-top: 22px;
  text-indent: 0;
}

.article figure {
  margin: 22px 0;
}

.article figure figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--ink-3);
  text-align: center;
}

.article-video__player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1c6fc0, #0d3c70 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  overflow: hidden;
}

.article-video__player .video-card__play {
  position: static;
  transform: none;
  width: 70px;
  height: 70px;
}

.article-video__player .video-card__play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.article-video__hint {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  line-height: 1.8;
  max-width: 420px;
}

.article-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.article-pager__item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.article-pager__item span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.article-pager__item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.article-pager__item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

a.article-pager__item:hover strong {
  color: var(--blue);
}

.article-pager__item--next {
  text-align: right;
}

.article-pager__item.is-disabled {
  background: var(--bg-soft);
}

.article-pager__item.is-disabled strong {
  color: var(--ink-3);
  font-weight: 400;
}

.article-empty {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 2;
  padding: 26px 10px;
}

.article-empty strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.article-empty .btn {
  margin-top: 16px;
}

/* ==========================================================================
   18. 响应式
   ========================================================================== */

/* 中等屏：收起页头右侧信息，导航缩小 */
@media (max-width: 1100px) {
  :root {
    --head-h: 84px;
  }

  .brand__title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .search input {
    width: 150px;
  }

  .head-tel {
    display: none;
  }

  .navlist > li > a {
    font-size: 1rem;
    letter-spacing: 0;
  }

  .hero__title {
    font-size: 2.15rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 平板 / 手机：导航改为抽屉 */
@media (max-width: 900px) {
  .section {
    padding: 40px 0;
  }

  .topbar__site {
    display: none;
  }

  .site-head__inner {
    padding: 16px 20px;
  }

  .brand__mark {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }

  .brand__title {
    font-size: 1.28rem;
    letter-spacing: 0.5px;
  }

  .brand__sub {
    font-size: 0.625rem;
    letter-spacing: 1.5px;
  }

  .site-head__extra {
    gap: 10px;
  }

  .search {
    height: 36px;
  }

  .search input {
    width: 118px;
    padding-left: 14px;
    font-size: 0.875rem;
  }

  .search button {
    width: 42px;
    height: 36px;
  }

  /* 汉堡按钮出现，导航折叠 */
  .navtoggle {
    display: flex;
  }

  .mainnav__inner {
    display: block;
  }

  .navlist {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
  }

  .navlist.is-open {
    max-height: 620px;
    overflow-y: auto;
  }

  .navlist > li {
    max-width: none;
    flex: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .navlist > li > a {
    height: 48px;
    justify-content: flex-start;
    padding: 0 12px;
    font-size: 1rem;
  }

  .navlist > li > a::after {
    display: none;
  }

  .navlist > li > a::before {
    content: "";
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    margin-right: 4px;
    flex: none;
  }

  /* 二级菜单改为内嵌展开 */
  .subnav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.16);
    padding: 4px 0;
    display: none;
  }

  .navlist > li:hover .subnav,
  .navlist > li:focus-within .subnav {
    transform: none;
  }

  .subnav a {
    color: rgba(255, 255, 255, 0.86);
    padding: 8px 30px;
    font-size: 0.9375rem;
  }

  .subnav a:hover {
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
  }

  .navlist > li.has-sub > a::after {
    content: "";
    position: static;
    display: block;
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-right: 1.5px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    transition: transform 0.24s;
    background: none;
    bottom: auto;
    left: auto;
    right: auto;
    height: 7px;
  }

  .navlist > li.has-sub.is-open > a::after {
    transform: rotate(-135deg);
  }

  .navlist > li.has-sub.is-open .subnav {
    display: block;
  }

  /* 轮播 */
  .hero__viewport {
    height: 360px;
  }

  .hero__title {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .hero__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .hero__arrow {
    width: 38px;
    height: 38px;
  }

  .hero__arrow--prev {
    left: 10px;
  }

  .hero__arrow--next {
    right: 10px;
  }

  /* 快捷入口两列 */
  .quickbar {
    margin-top: 0;
    padding-top: 16px;
  }

  .quickbar__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick {
    border-bottom: 1px solid var(--line);
    padding: 16px;
  }

  .quick:nth-child(2n) {
    border-right: 0;
  }

  .quick:nth-child(n + 3) {
    border-bottom: 0;
  }

  /* 新闻布局单列 */
  .news-layout,
  .intro-layout,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* 搜索框换行后，页头右侧占满整行更整齐 */
  .site-head__extra {
    flex: 1 1 100%;
  }

  /* 单列布局下取消"等高下拉"：通知面板恢复自然高度，条目回到常规行距 */
  .notice-panel__body > .dotlist {
    flex: 0 1 auto;
    display: block;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sec-head {
    align-items: center;
    flex-wrap: wrap;
  }

  .sec-head__title {
    font-size: 1.25rem;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-row__item {
    grid-template-columns: 150px 1fr;
  }

  .page-body {
    padding: 22px 18px 26px;
  }

  .article h2 {
    font-size: 1.125rem;
  }

  .side-tools {
    display: none;
  }

  /* 通栏大视频：窄屏收窄内边距与标题字号 */
  .video-feature {
    padding: 24px 0 26px;
  }

  .video-feature__inner {
    padding: 0 14px;
  }

  .video-feature__title {
    font-size: 1.25rem;
    letter-spacing: 0;
  }

  .video-feature__meta {
    font-size: 0.8125rem;
    gap: 6px 12px;
  }

  .video-feature__box .video-card__play {
    width: 54px;
    height: 54px;
  }

  .video-feature__box .video-card__play svg {
    width: 22px;
    height: 22px;
  }

  .banner__inner {
    padding: 30px 20px;
  }

  .banner__title {
    font-size: 1.5rem;
  }

  .site-foot__qr {
    margin-left: 0;
  }

  .vmodal {
    padding: 14px;
  }
}

/* 手机 */
@media (max-width: 600px) {
  .wrap {
    padding: 0 14px;
  }

  .section {
    padding: 30px 0;
  }

  /* 顶部工具条压缩 */
  .topbar {
    font-size: 0.75rem;
  }

  .topbar__inner {
    min-height: 34px;
  }

  .topbar__links .hide-sm {
    display: none;
  }

  /* 页头：搜索换行到第二行 */
  .site-head__inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 14px 12px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .brand__title {
    font-size: 1.125rem;
    letter-spacing: 0;
    white-space: normal;
  }

  .brand__sub {
    display: none;
  }

  .site-head__extra {
    width: 100%;
  }

  .search {
    width: 100%;
  }

  .search input {
    flex: 1;
    width: auto;
  }

  /* 轮播 */
  .hero__viewport {
    height: 330px;
  }

  .hero__inner {
    padding: 0 16px;
  }

  .hero__tag {
    font-size: 0.75rem;
    padding: 3px 12px;
    margin-bottom: 12px;
  }

  .hero__title {
    font-size: 1.3rem;
    line-height: 1.45;
  }

  .hero__desc {
    font-size: 0.875rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__ops {
    margin-top: 20px;
    gap: 10px;
  }

  .btn {
    padding: 9px 18px;
    font-size: 0.875rem;
  }

  .hero__dots {
    bottom: 12px;
  }

  .hero__dots button {
    width: 18px;
  }

  .hero__dots button.is-active {
    width: 28px;
  }

  .hero__arrow {
    display: none;
  }

  /* 快捷入口单列 */
  .quickbar__inner {
    grid-template-columns: 1fr;
  }

  .quick {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick:nth-child(n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .quick:last-child {
    border-bottom: 0;
  }

  .quick__icon {
    width: 40px;
    height: 40px;
  }

  .quick__t {
    font-size: 1rem;
  }

  .quick__d {
    display: none;
  }

  /* 标题与小节 */
  .sec-head {
    padding-bottom: 10px;
    margin-bottom: 18px;
  }

  .sec-head__title {
    font-size: 1.125rem;
    gap: 8px;
  }

  .sec-head__title::before {
    width: 4px;
    height: 20px;
  }

  .sec-head__en {
    display: none;
  }

  .tabs {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs button {
    white-space: nowrap;
    padding: 4px 13px;
    font-size: 0.875rem;
  }

  /* 新闻列表日期块缩小 */
  .newslist__date {
    width: 52px;
    padding-right: 10px;
  }

  .newslist__d {
    font-size: 1.125rem;
  }

  .newslist a {
    gap: 12px;
    padding: 11px 0;
  }

  .newslist__t {
    font-size: 0.875rem;
  }

  /* 图文行卡改上下结构 */
  .media-row__item {
    grid-template-columns: 1fr;
  }

  .media-row__item .media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .media-row__body {
    padding: 14px 16px 18px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .statgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat__num {
    font-size: 1.5rem;
  }

  /* 政策条目改上下 */
  .policy-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .policy-item__date {
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 10px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }

  .policy-item__date .d,
  .policy-item__date .m {
    display: inline;
    font-size: 0.875rem;
    margin: 0;
  }

  .policy-item__date .d {
    font-size: 1rem;
  }

  .faq__q {
    padding: 14px 16px;
    font-size: 0.9375rem;
  }

  .faq__a {
    padding: 0 16px 16px 48px;
    font-size: 0.875rem;
  }

  /* 页脚 */
  .site-foot__main {
    gap: 24px;
    padding: 26px 0 20px;
  }

  .site-foot__qr {
    gap: 16px;
  }

  .qr__box {
    width: 82px;
    height: 82px;
  }

  .links-bar__inner {
    flex-direction: column;
    gap: 10px;
  }

  .pager a,
  .pager span {
    min-width: 34px;
    height: 34px;
    font-size: 0.875rem;
  }

  .filterbar {
    padding: 12px 14px;
  }

  .detail-head h1 {
    font-size: 1.25rem;
  }

  .article p,
  .article ul li {
    font-size: 0.9375rem;
  }

  .article table {
    font-size: 0.8125rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .article table th,
  .article table td {
    padding: 9px 11px;
  }

  /* 纯介绍文档：手机上收窄内边距与标题字号 */
  .intro-doc {
    padding: 22px 16px 30px;
  }

  /* 详情页：正文降一档字号，上下篇改单列 */
  .detail-head h1 {
    font-size: 1.25rem;
  }

  .article-lead {
    font-size: 1rem;
    padding: 12px 14px;
  }

  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-pager__item--next {
    text-align: left;
  }

  .article-ops .btn {
    flex: 1 1 auto;
  }

  .intro-doc h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
    padding-bottom: 18px;
  }

  .intro-doc h2 {
    font-size: 1.125rem;
    margin: 26px 0 12px;
  }

  .intro-doc p {
    font-size: 0.9375rem;
    line-height: 1.95;
  }
}

/* 打印：隐藏交互元素 */
@media print {
  .topbar,
  .mainnav,
  .site-head__extra,
  .side-tools,
  .hero__arrow,
  .hero__dots,
  .links-bar,
  .pager,
  .vmodal {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
