/* ============================================================
   DESIGN TOKENS — 维恒风格高端商务律所
   参考: weihenglaw.com 风格
   ============================================================ */

:root {
  /* 主色 */
  --c-primary:       #0E2240;   /* 深商务蓝 — 导航/Footer/标题 */
  --c-primary-light: #1a3a6b;   /* 浅蓝 — hover 态 */

  /* 品牌金（点缀色，占比 ≤5%） */
  --c-gold:          #B8945A;   /* 主金 */
  --c-gold-light:    #D4B788;   /* 浅金 */
  --c-gold-dark:     #8B6F3F;   /* 暗金 / 按下态 */

  /* 中性色 */
  --c-text:          #1A1A1A;   /* 标题 */
  --c-text-body:     #4A4A4A;   /* 正文 */
  --c-text-muted:    #999999;   /* 辅助 */
  --c-bg:            #FFFFFF;   /* 主背景 */
  --c-bg-alt:        #FAF8F4;   /* 分区背景 */
  --c-bg-gray:       #F2F2F2;   /* 卡片底 */
  --c-border:        #E5E5E5;   /* 分割线 */

  /* 兼容旧变量名（部分页面使用） */
  --white:           #FFFFFF;
  --dark:            #1A1A1A;
  --gray:            #4A4A4A;
  --gray-light:      #999999;

  /* 功能色 */
  --c-success:       #2E7D5B;
  --c-warning:       #C79A2E;
  --c-error:         #B33A3A;

  /* 字体 */
  --font-cn: "PingFang SC", "Noto Serif SC", "Microsoft YaHei", sans-serif;
  --font-en: "Times New Roman", "Noto Serif", serif;

  /* 容器 */
  --container:       1280px;

  /* 间距 token（8倍数体系） */
  --sp-xs:   8px;
  --sp-sm:   16px;
  --sp-md:   24px;
  --sp-lg:   48px;
  --sp-xl:   96px;
  --sp-2xl:  120px;

  /* 动效 */
  --ease:    cubic-bezier(.215, .61, .355, 1);
  --dur:     0.3s;
  --dur-slow: 0.6s;
}

/* ============================================================
   RESET & BASE — 覆盖 layui 全局样式
   layui 设定: body { font:14px Helvetica Neue...; color:#333; line-height:1.6 }
   layui 设定: a { color:#333 } a:hover { color:#777 }
   layui 设定: img { display:inline-block; vertical-align:middle }
   layui 设定: h1-h4 { font-weight:700 }
   layui 设定: .layui-box * { box-sizing:content-box }
   ============================================================ */
*, *::before, *::after { box-sizing: border-box !important; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: var(--c-text-body) !important;
  background: var(--c-bg) !important;
  -webkit-font-smoothing: antialiased;
}

/* 覆盖 layui 的 a 样式 */
a {
  text-decoration: none !important;
  color: inherit;
  transition: color var(--dur);
}
a:hover {
  color: inherit;
}

/* 覆盖 layui 的 img { display:inline-block } */
img {
  max-width: 100%;
  display: block !important;
  vertical-align: middle;
}

/* 覆盖 layui 的 li/ul/ol padding */
ul, ol {
  list-style: none;
  padding-left: 0 !important;
  margin: 0;
}
li {
  list-style: none;
}

/* 覆盖 layui 的 h1-h4 { font-weight:700 } */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  margin: 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--sp-xl) 0;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.section-title .en-label,
.section-title .sub {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500 !important;
  color: var(--c-text);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-title .gold-bar,
.section-title .gold-line {
  width: 40px;
  height: 2px;
  background: var(--c-gold);
  margin: 0 auto;
}

.section-title .sub-text {
  margin-top: 16px;
  font-size: 14px;
  color: var(--c-text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* 主按钮：描边金，hover 填充 */
.btn-primary {
  display: inline-block;
  padding: 13px 36px;
  background: transparent;
  border: 1px solid var(--c-gold);
  color: var(--c-gold) !important;
  font-size: 14px;
  font-family: var(--font-cn);
  letter-spacing: 2px;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: var(--c-gold);
  color: #fff !important;
}

/* 次按钮：描边深色 */
.btn-secondary {
  display: inline-block;
  padding: 13px 36px;
  background: transparent;
  border: 1px solid var(--c-text);
  color: var(--c-text) !important;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--dur);
}
.btn-secondary:hover {
  background: var(--c-text);
  color: #fff !important;
}

/* 实心金按钮 */
.btn-gold {
  display: inline-block;
  padding: 13px 36px;
  background: var(--c-gold);
  border: 1px solid var(--c-gold);
  color: #fff !important;
  font-size: 14px;
  letter-spacing: 2px;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--dur);
}
.btn-gold:hover {
  background: var(--c-gold-dark);
  border-color: var(--c-gold-dark);
  color: #fff !important;
}

/* 链接按钮（带箭头） */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-gold) !important;
  font-size: 14px;
  letter-spacing: 1px;
  border: none;
  background: none;
  cursor: pointer;
  transition: gap var(--dur);
}
.btn-link:hover { gap: 16px; color: var(--c-gold-dark) !important; }
.btn-link::after { content: '→'; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow var(--dur), transform var(--dur);
}
.card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--dur-slow);
}
.card:hover .card-img { transform: scale(1.04); }

.card-body { padding: var(--sp-md); }

.card-title {
  font-size: 17px;
  font-weight: 500 !important;
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.card-meta {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 10px;
}

.card-text {
  font-size: 14px;
  color: var(--c-text-body);
  line-height: 1.7;
}

/* 金色顶部装饰线 */
.card-gold-top {
  border-top: 2px solid var(--c-gold);
}

/* ============================================================
   PAGE HERO SWIPER（内页轮播头图）— 商务大气重设计
   ============================================================ */
.page-hero-swiper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.page-hero-swiper .layui-carousel {
  width: 100% !important;
  height: 100% !important;
}
.page-hero-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.page-hero-swiper .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}

/* —— 双层遮罩：顶部+底部羽化 + 左侧深色辐射，强化文字可读性 —— */
.page-hero-swiper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14,34,64,0.72) 0%, rgba(14,34,64,0.45) 45%, rgba(14,34,64,0.15) 100%),
    linear-gradient(180deg, rgba(14,34,64,0.35) 0%, rgba(14,34,64,0) 30%, rgba(14,34,64,0) 70%, rgba(14,34,64,0.55) 100%);
  pointer-events: none;
}
/* —— 顶部/底部细金线 —— */
.page-hero-swiper::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,148,90,0.55) 30%, rgba(184,148,90,0.55) 70%, transparent 100%);
  pointer-events: none;
}

/* —— 文字层容器 —— */
.page-hero-swiper .slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 改为纵向居中 */
}

/* —— 左侧金色装饰柱（双线+顶端方块） —— */
.page-hero-swiper .slide-content::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 180px;
  background: linear-gradient(180deg, var(--c-gold) 0%, rgba(184,148,90,0.15) 100%);
  box-shadow: 4px 0 0 -1px rgba(184,148,90,0.25);
}
.page-hero-swiper .slide-content::after {
  content: '';
  position: absolute;
  left: 19px;
  top: calc(50% - 90px);
  width: 12px;
  height: 12px;
  background: var(--c-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(184,148,90,0.18);
}

/* —— 让内部子元素相对父定位 —— */
.page-hero-swiper .slide-content > * {
  position: relative;
  max-width: 760px;
  padding-left: 40px;
}

/* —— 隐藏旧的占位元素 —— */
.page-hero-swiper .slide-content .hero-side-line { display: none; }

/* —— 英文小标签：金线 + 字间距 —— */
.page-hero-swiper .slide-content .hero-en-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
  margin-bottom: 22px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.1s forwards;
}
.page-hero-swiper .slide-content .hero-en-label::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--c-gold);
}
.page-hero-swiper .slide-content .hero-en-label::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
  margin-left: -4px;
}

/* —— 主标题：增大 + 字重层次 + 阴影 —— */
.page-hero-swiper .slide-content h1 {
  font-size: 52px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 6px;
  line-height: 1.25;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.25s forwards;
}
.page-hero-swiper .slide-content h1 strong,
.page-hero-swiper .slide-content h1 .accent {
  color: var(--c-gold);
  font-weight: 500;
}

/* —— 描述文案：左侧金色短竖线 —— */
.page-hero-swiper .slide-content .hero-desc {
  position: relative;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 28px;
  padding-left: 56px;   /* 40 + 内部 16 留给装饰 */
  letter-spacing: 1px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.4s forwards;
}
.page-hero-swiper .slide-content .hero-desc::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: rgba(184,148,90,0.7);
  transform: translateY(-50%);
}

/* —— 金色装饰条：升级为渐变带刻度 —— */
.page-hero-swiper .slide-content .gold-bar {
  position: relative;
  width: 80px;
  height: 2px;
  background: var(--c-gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.55s forwards;
}
.page-hero-swiper .slide-content .gold-bar::after {
  content: '';
  position: absolute;
  left: 90px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 1px;
  background: rgba(184,148,90,0.4);
}

/* —— 面包屑：胶囊式背景 + hover 金边 —— */
.page-hero-swiper .slide-content .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  padding: 10px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 40px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: max-content;
  letter-spacing: 1px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.7s forwards;
  transition: border-color 0.3s, background 0.3s;
}
.page-hero-swiper .slide-content .breadcrumb:hover {
  border-color: rgba(184,148,90,0.5);
  background: rgba(184,148,90,0.08);
}
.page-hero-swiper .slide-content .breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.3s;
}
.page-hero-swiper .slide-content .breadcrumb a::before {
  content: '\f015';
  font-family: 'Font Awesome 6 Free', 'FontAwesome';
  font-weight: 900;
  margin-right: 6px;
  color: var(--c-gold);
  font-size: 11px;
}
.page-hero-swiper .slide-content .breadcrumb a:hover { color: var(--c-gold); }
.page-hero-swiper .slide-content .breadcrumb span { color: var(--c-gold); opacity: 0.7; }

/* —— 右侧装饰：超大半透明英文水印（品牌徽标感） —— */
.page-hero-swiper .slide-content .hero-watermark {
  position: absolute;
  right: 24px;
  bottom: 50px;
  font-size: 120px;
  font-weight: 700;
  letter-spacing: 8px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  text-transform: uppercase;
  padding-left: 0;
  max-width: none;
}

/* —— 右下角金色徽章（EST. + 律所英文缩写） —— */
.page-hero-swiper .hero-seal {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(184,148,90,0.55);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  text-align: center;
  background: rgba(14,34,64,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  animation: heroSealIn 1s ease 0.8s forwards;
  pointer-events: none;
}
.page-hero-swiper .hero-seal::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(184,148,90,0.35);
  border-radius: 50%;
}
.page-hero-swiper .hero-seal .seal-en {
  font-size: 10px;
  letter-spacing: 3px;
  margin-bottom: 6px;
  opacity: 0.85;
}
.page-hero-swiper .hero-seal .seal-cn {
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 6px;
  color: #fff;
}
.page-hero-swiper .hero-seal .seal-year {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.75;
  padding-top: 6px;
  border-top: 1px solid rgba(184,148,90,0.3);
  width: 60%;
}

/* —— 底部"向下滑动"提示 —— */
.page-hero-swiper .hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.page-hero-swiper .hero-scroll i {
  font-size: 14px;
  color: var(--c-gold);
  animation: heroScrollBounce 1.8s ease-in-out infinite;
}

/* —— 动画 —— */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSealIn {
  from { opacity: 0; transform: translateY(-50%) scale(0.85) rotate(-8deg); }
  to   { opacity: 1; transform: translateY(-50%) scale(1) rotate(0); }
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* —— 响应式 —— */
@media (max-width: 1200px) {
  .page-hero-swiper .hero-seal { right: 30px; width: 130px; height: 130px; }
  .page-hero-swiper .slide-content .hero-watermark { font-size: 90px; }
}
@media (max-width: 992px) {
  .page-hero-swiper .hero-seal { display: none; }
  .page-hero-swiper .slide-content .hero-watermark { display: none; }
}
@media (max-width: 768px) {
  .page-hero-swiper,
  .page-hero-swiper .swiper-slide { height: 460px; }
  .page-hero-swiper .slide-content { padding: 0 20px; }
  .page-hero-swiper .slide-content::before { left: 20px; height: 130px; }
  .page-hero-swiper .slide-content::after { left: 15px; top: calc(50% - 65px); }
  .page-hero-swiper .slide-content > * { padding-left: 32px; max-width: 100%; }
  .page-hero-swiper .slide-content h1 { font-size: 30px; letter-spacing: 3px; }
  .page-hero-swiper .slide-content .hero-en-label { font-size: 10px; letter-spacing: 4px; margin-bottom: 16px; }
  .page-hero-swiper .slide-content .hero-desc { font-size: 13px; padding-left: 44px; }
  .page-hero-swiper .slide-content .hero-desc::before { left: 32px; }
  .page-hero-swiper .hero-scroll { display: none; }
}

/* ============================================================
   PAGE HERO（内页标题区）— 现代商务大气风格
   ============================================================ */
.page-hero {
  background: var(--c-primary);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 背景图层 */
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  z-index: 0;
  transform: scale(1.08);
  will-change: transform;
  transition: none;
}

/* 主遮罩：从左下深色到右上半透明，营造光影层次 */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8,18,40,0.92) 0%, rgba(8,18,40,0.55) 60%, rgba(8,18,40,0.30) 100%),
    linear-gradient(to top, rgba(8,18,40,0.80) 0%, transparent 60%);
  z-index: 1;
}

/* 右侧金色光晕装饰 */
.page-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* 频道配色变体 — 左侧主色调微调 */
.page-hero.hero-about::before {
  background:
    linear-gradient(to right, rgba(10,22,50,0.94) 0%, rgba(20,40,80,0.60) 55%, rgba(10,22,50,0.25) 100%),
    linear-gradient(to top, rgba(10,22,50,0.85) 0%, transparent 60%);
}
.page-hero.hero-practice::before {
  background:
    linear-gradient(to right, rgba(8,20,45,0.94) 0%, rgba(30,50,80,0.62) 55%, rgba(8,20,45,0.28) 100%),
    linear-gradient(to top, rgba(8,20,45,0.82) 0%, transparent 60%);
}
.page-hero.hero-lawyers::before {
  background:
    linear-gradient(to right, rgba(6,16,38,0.95) 0%, rgba(20,38,70,0.65) 55%, rgba(6,16,38,0.30) 100%),
    linear-gradient(to top, rgba(6,16,38,0.85) 0%, transparent 60%);
}
.page-hero.hero-news::before {
  background:
    linear-gradient(to right, rgba(10,20,44,0.93) 0%, rgba(25,45,80,0.60) 55%, rgba(10,20,44,0.28) 100%),
    linear-gradient(to top, rgba(10,20,44,0.80) 0%, transparent 60%);
}
.page-hero.hero-contact::before {
  background:
    linear-gradient(to right, rgba(12,22,46,0.94) 0%, rgba(40,35,20,0.55) 55%, rgba(12,22,46,0.28) 100%),
    linear-gradient(to top, rgba(12,22,46,0.82) 0%, transparent 60%);
}
.page-hero.hero-party::before {
  background:
    linear-gradient(to right, rgba(8,18,42,0.95) 0%, rgba(15,35,70,0.65) 55%, rgba(8,18,42,0.30) 100%),
    linear-gradient(to top, rgba(8,18,42,0.85) 0%, transparent 60%);
}
.page-hero.hero-honors::before {
  background:
    linear-gradient(to right, rgba(10,20,44,0.94) 0%, rgba(35,28,10,0.60) 55%, rgba(10,20,44,0.28) 100%),
    linear-gradient(to top, rgba(10,20,44,0.82) 0%, transparent 60%);
}
.page-hero.hero-join::before {
  background:
    linear-gradient(to right, rgba(8,18,42,0.94) 0%, rgba(20,40,70,0.62) 55%, rgba(8,18,42,0.28) 100%),
    linear-gradient(to top, rgba(8,18,42,0.82) 0%, transparent 60%);
}
.page-hero.hero-partners::before {
  background:
    linear-gradient(to right, rgba(10,22,48,0.94) 0%, rgba(25,45,75,0.62) 55%, rgba(10,22,48,0.28) 100%),
    linear-gradient(to top, rgba(10,22,48,0.82) 0%, transparent 60%);
}

/* 让 page-hero 内所有直接子元素都在遮罩之上 */
.page-hero > * {
  position: relative;
  z-index: 2;
}
.page-hero .hero-content { position: relative; z-index: 2; }

/* 左侧竖线装饰 */
.page-hero .hero-side-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent 0%, var(--c-gold) 30%, var(--c-gold) 70%, transparent 100%);
  z-index: 3;
  opacity: 0.7;
}

/* 英文频道标签 */
.page-hero .hero-en-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 20px;
}
.page-hero .hero-en-label::before,
.page-hero .hero-en-label::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.6;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 6px;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  font-family: 'Noto Serif SC', 'SimSun', serif;
}

/* 频道描述 */
.page-hero .hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  max-width: 520px;
  margin: 0 auto 22px;
  line-height: 2;
}

.page-hero .gold-bar,
.page-hero .gold-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  margin: 0 auto 20px;
}

.page-hero .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}
.page-hero .breadcrumb a { color: rgba(200,169,110,0.8) !important; text-decoration: none; transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--c-gold) !important; }
.page-hero .breadcrumb span { margin: 0 10px; opacity: 0.4; }

/* 底部装饰线 */
.page-hero .hero-bottom-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c-gold) 30%, rgba(200,169,110,0.4) 70%, transparent 100%);
  z-index: 3;
}

/* 底部数字装饰（可选） */
.page-hero .hero-num {
  position: absolute;
  right: 60px;
  bottom: 30px;
  font-family: var(--font-en);
  font-size: 100px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  z-index: 2;
  letter-spacing: -5px;
  pointer-events: none;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--c-primary);
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.55) !important; }
.top-bar a:hover { color: var(--c-gold) !important; }
.top-bar .top-contact span { margin-right: 20px; }
.top-bar .top-contact i { color: var(--c-gold); margin-right: 5px; }

/* ============================================================
   MAIN HEADER（白底导航）
   ============================================================ */
.main-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow var(--dur);
}
.main-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
  height: 110px;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-wrap img { height: 74px; }
/* 英文版logo名称 */
.logo-name-en-mode {
  font-size: 16px !important;
  font-weight: 700;
  color: #c8a96e;
  font-family: var(--font-en);
  letter-spacing: 1px;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  max-width: 200px;
}
.logo-text .name-cn {
  font-size: 20px;
  font-weight: 600 !important;
  color: var(--c-primary);
  letter-spacing: 2px;
  line-height: 1.3;
}
.logo-text .name-en {
  font-size: 10px;
  color: var(--c-text-muted);
  letter-spacing: 1.5px;
  margin-top: 2px;
  font-family: var(--font-en);
}

/* 主导航 */
.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.main-nav > ul > li { position: relative; list-style: none !important; }

.main-nav > ul > li > a {
  display: block;
  padding: 0 16px;
  height: 110px;
  line-height: 110px;
  color: var(--c-text) !important;
  font-size: 15px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  position: relative;
  transition: color var(--dur);
}

/* 下划线动效 */
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--c-gold) !important; }
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.active > a::after { transform: scaleX(1); }

/* 下拉菜单 */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 150px;
  border-top: 2px solid var(--c-gold);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  z-index: 100;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.dropdown-menu li { list-style: none !important; }
.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  color: var(--c-text-body) !important;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
  transition: all 0.2s;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover {
  color: var(--c-gold) !important;
  background: var(--c-bg-alt);
  padding-left: 28px;
}
.main-nav > ul > li:hover .dropdown-menu { display: block; }

/* 两列下拉菜单（业务领域） */
.dropdown-menu-2col {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-width: 360px;
}
.dropdown-menu-2col li { list-style: none !important; }
.dropdown-menu-2col li a {
  display: block;
  padding: 12px 20px;
  color: var(--c-text-body) !important;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
  transition: all 0.2s;
}
.dropdown-menu-2col li:last-child a,
.dropdown-menu-2col li:nth-last-child(2):nth-child(odd) a { border-bottom: none; }
.dropdown-menu-2col li a:hover {
  color: var(--c-gold) !important;
  background: var(--c-bg-alt);
  padding-left: 28px;
}
.main-nav > ul > li:hover .dropdown-menu-2col { display: grid; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--c-primary);
  font-size: 22px;
  cursor: pointer;
  padding: 10px;
}

/* 移动端关闭按钮 — 桌面端隐藏 */
.mobile-close {
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background: var(--c-primary);
  color: rgba(255,255,255,0.5);
  padding: 72px 0 0;
}
.main-footer a {
  color: rgba(255,255,255,0.45) !important;
}
.main-footer a:hover {
  color: var(--c-gold) !important;
}

/* Footer Top - Logo + Info + QR */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-area {
  flex-shrink: 0;
}
.footer-logo img {
  max-height: 50px;
  width: auto;
}
.footer-logo-text .name-cn {
  font-size: 20px;
  font-weight: 600 !important;
  color: #fff;
  letter-spacing: 2px;
}
.footer-logo-text .name-en {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px;
  margin-top: 2px;
  font-family: var(--font-en);
}
.footer-slogan {
  font-size: 13px;
  color: var(--c-gold);
  margin-top: 10px;
  letter-spacing: 2px;
}
.footer-info-area {
  display: flex;
  gap: 48px;
}
/* 三列平均布局 */
.footer-top-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 32px;
}
.footer-top-3col .footer-logo-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-info-item--center {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.footer-info-item--center > i {
  font-size: 32px;
  color: var(--c-gold);
  flex-shrink: 0;
}
.footer-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-info-item > i {
  font-size: 28px;
  color: var(--c-gold);
}
.footer-info-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer-info-value {
  display: block;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}
/* 热线电话醒目块 */
.footer-hotline-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(201,168,76,0.12);
  border: 1.5px solid rgba(201,168,76,0.35);
  border-radius: 12px;
  padding: 16px 28px;
}
.footer-hotline-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #e0c070);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.footer-hotline-icon i {
  font-size: 22px;
  color: #fff;
}
.footer-hotline-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.footer-hotline-number {
  font-size: 26px;
  font-weight: 800;
  color: #e0c070;
  letter-spacing: 2px;
  line-height: 1.1;
  font-family: var(--font-en);
  text-shadow: 0 2px 8px rgba(201,168,76,0.3);
}

.footer-qrcode-area {
  flex-shrink: 0;
  display: none; /* 旧竖排区域隐藏 */
}
.footer-qrcode {
  text-align: center;
}
.footer-qrcode img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.1);
}
.footer-qrcode .qr-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 6px;
  border: 2px dashed rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-qrcode .qr-placeholder i {
  font-size: 30px;
  color: rgba(255,255,255,0.3);
}
.footer-qrcode span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

/* 横向二维码行 */
.footer-qrcode-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0;
}
.footer-qrcode-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  letter-spacing: 1px;
}
.footer-qrcode-items {
  display: flex;
  gap: 32px;
  align-items: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-col h4 {
  color: var(--c-gold);
  font-size: 14px;
  font-weight: 500 !important;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 2px;
}
.footer-col ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-col ul li { margin-bottom: 10px; list-style: none !important; }
.footer-col ul li a {
  color: rgba(255,255,255,0.45) !important;
  font-size: 13px;
  transition: color var(--dur);
}
.footer-col ul li a:hover { color: var(--c-gold) !important; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item i {
  color: var(--c-gold);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.4) !important; }
.footer-bottom a:hover { color: var(--c-gold) !important; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--c-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur), background var(--dur);
  z-index: 999;
  border-radius: 0;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--c-gold-dark); }

/* ============================================================
   SCROLL REVEAL（入场动画基类）
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 错峰延迟 */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ============================================================
   GOLD DIVIDER（金色装饰线）
   ============================================================ */
.gold-divider,
.gold-line {
  width: 40px;
  height: 2px;
  background: var(--c-gold);
  margin: 16px 0;
}
.gold-divider-center { margin: 16px auto; }

/* ============================================================
   LAYUI CAROUSEL 覆盖
   layui 关键样式:
   - .layui-carousel>[carousel-item]>* { display:none; position:absolute;
       left:0; top:0; width:100%; height:100%; background-color:#f8f8f8 }
   - .layui-carousel>[carousel-item]>.layui-this { display:block }
   - .layui-carousel-ind ul li { width:10px; height:10px; border-radius:50% }
   - .layui-box * { box-sizing:content-box }
   ============================================================ */

/* 强制轮播区内使用 border-box */
.hero-swiper,
.hero-swiper *,
.hero-swiper *::before,
.hero-swiper *::after {
  box-sizing: border-box !important;
}

/* layui 轮播子项: 覆盖 background-color:#f8f8f8 */
.layui-carousel > [carousel-item] > * {
  background-color: transparent !important;
}

/* 非活动 slide 隐藏（layui 默认行为，不能覆盖） */
.hero-swiper .swiper-slide {
  align-items: flex-end !important;
  overflow: hidden;
}

/* 仅当前活动 slide 使用 flex 显示 */
.hero-swiper .swiper-slide.layui-this {
  display: flex !important;
}

/* slide-bg 铺满 */
.hero-swiper .slide-bg {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100% !important; height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 0;
}

/* slide-overlay 蒙层 */
.hero-swiper .slide-overlay {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to right,
    rgba(14,34,64,0.82) 0%,
    rgba(14,34,64,0.55) 60%,
    rgba(14,34,64,0.2) 100%
  ) !important;
  z-index: 1;
}

/* slide-content 内容层 */
.hero-swiper .slide-content {
  position: relative !important;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 80px;
  width: 100%;
}

/* slide-content 内的文字颜色保护 */
.hero-swiper .slide-content h2 {
  color: #fff !important;
  font-weight: 400 !important;
}
.hero-swiper .slide-content p {
  color: rgba(255,255,255,0.7) !important;
}

/* 轮播指示器覆盖 */
.layui-carousel > .layui-carousel-ind ul {
  background-color: transparent !important;
  padding: 5px !important;
  border-radius: 0 !important;
}
.layui-carousel > .layui-carousel-ind ul > li {
  width: 32px !important;
  height: 2px !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,0.3) !important;
  transition: width 0.3s, background 0.3s;
}
.layui-carousel > .layui-carousel-ind ul > li.layui-this {
  background: var(--c-gold) !important;
  width: 48px !important;
}

/* 轮播箭头 */
.layui-carousel .layui-carousel-arrow {
  background-color: rgba(0,0,0,0.3) !important;
  color: #fff !important;
  font-family: 'layui-icon' !important;
  border-radius: 0 !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  font-size: 22px !important;
  margin-top: -22px !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: background var(--dur);
}
.layui-carousel .layui-carousel-arrow:hover {
  background-color: var(--c-gold) !important;
  color: #fff !important;
}

/* ============================================================
   前台分页 (.page-btn) — 与经典律师一致的圆角方块样式
   ============================================================ */
.web-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.web-pagination nav { width: 100%; }
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #555;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  cursor: pointer;
}
.page-btn:hover {
  color: #c9a84c;
  border-color: #c9a84c;
}
.page-btn-active {
  background: linear-gradient(135deg, #c9a84c, #e0c070);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(201,168,76,0.4);
}
.page-btn-active:hover {
  color: #fff;
  border-color: transparent;
}
.page-btn-disabled {
  color: #ccc;
  cursor: default;
  box-shadow: none;
  background: #fff;
  border: 1.5px solid #e5e5e5;
}
.page-btn-disabled:hover {
  color: #ccc;
  border-color: #e5e5e5;
}
.page-btn-dots {
  color: #aaa;
  cursor: default;
  border: none;
  box-shadow: none;
  background: transparent;
  min-width: auto;
  padding: 0 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  :root { --container: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav > ul > li > a { padding: 0 10px; font-size: 14px; }
  .logo-name-en-mode { font-size: 14px !important; max-width: 160px; }
}

@media (max-width: 1024px) {
  .main-nav > ul > li > a { padding: 0 8px; font-size: 13px; }
  .logo-name-en-mode { font-size: 13px !important; max-width: 140px; }
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-wrap: wrap; gap: 24px; }
  .footer-top-3col { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-top-3col .footer-logo-area { grid-column: 1 / -1; }
  .footer-info-area { gap: 24px; }
  .footer-hotline-block { padding: 12px 20px; }
  .footer-hotline-number { font-size: 22px; }
  .footer-info-value { font-size: 13px; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .mobile-menu-btn { display: block; }
  /* 移动端隐藏 logo 英文副标题 */
  .logo-name-en-sub { display: none !important; }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14,34,64,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; text-align: center; }
  .main-nav > ul > li > a {
    height: auto;
    line-height: 1 !important;
    padding: 18px 30px;
    font-size: 18px;
    color: #fff !important;
  }
  .main-nav > ul > li > a::after { display: none; }
  .dropdown-menu { display: none !important; }
  .mobile-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
  }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-top-3col { grid-template-columns: 1fr; gap: 20px; }
  .footer-top-3col .footer-logo-area { grid-column: auto; }
  .footer-info-item--center { justify-content: flex-start; }
  .footer-info-area { flex-direction: column; gap: 16px; }
  .footer-qrcode-area { align-self: center; }
  .footer-qrcode-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-qrcode-items { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 60px 0 50px; min-height: 280px; }
  .page-hero .hero-bg { background-attachment: scroll; }
  .page-hero h1 { font-size: 28px !important; letter-spacing: 3px; }
  .page-hero .hero-en-label { font-size: 10px; letter-spacing: 3px; margin-bottom: 12px; }
  .page-hero .hero-desc { font-size: 13px; margin-bottom: 14px; }
  .page-hero .hero-side-line { display: none; }
  .section-title h2 { font-size: 24px; }
  .section { padding: 60px 0; }
  .header-inner { height: 70px; padding: 0 16px; }
  .main-nav > ul > li > a { line-height: 1 !important; }
  /* 移动端logo限高 */
  .header-logo-img { max-height: 50px !important; height: auto !important; }
  /* 移动端logo名称缩小显示 */
  .logo-wrap .logo-name-cn { display: inline !important; font-size: 13px !important; letter-spacing: 0.5px !important; white-space: nowrap !important; }
  .logo-wrap .logo-name-en-mode { display: inline !important; font-size: 11px !important; max-width: none !important; white-space: nowrap !important; }
  .logo-wrap .logo-divider { height: 32px !important; margin: 0 6px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-primary, .btn-secondary, .btn-gold { padding: 12px 24px; font-size: 13px; }
}

/* ============================================================
   官网统一分页样式 (Web Pagination)
   方形按钮 · 深蓝填充当前页 · 白底细边其他页 · 金色 hover
   ============================================================ */
.web-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 48px 0 16px;
  font-family: inherit;
}
.web-pagination__list {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.web-pagination__item {
  display: inline-flex;
}
.web-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  color: #333333;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.web-pagination__link svg {
  display: block;
  stroke: currentColor;
}
.web-pagination__item:not(.web-pagination__item--disabled):not(.web-pagination__item--active) .web-pagination__link:hover,
.web-pagination__item:not(.web-pagination__item--disabled):not(.web-pagination__item--active) .web-pagination__link:focus {
  color: #b8963e;
  border-color: #b8963e;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(184, 150, 62, .15);
}
.web-pagination__item--active .web-pagination__link {
  background: #0e2240;
  border-color: #0e2240;
  color: #ffffff;
  cursor: default;
  font-weight: 500;
}
.web-pagination__item--active .web-pagination__link:hover {
  background: #0e2240;
  border-color: #0e2240;
  color: #ffffff;
}
.web-pagination__item--disabled .web-pagination__link {
  background: #ffffff;
  border-color: #ececec;
  color: #c4c4c4;
  cursor: not-allowed;
  pointer-events: none;
}

/* 兼容旧的内联包裹层 - 让旧 wrapper 仍能显示新样式 */
.news-pagination,
.jobs-pagination,
.party-pagination,
.partners-pagination,
.lawyer-pagination {
  display: flex;
  justify-content: center;
  margin: 48px 0 16px;
}

@media (max-width: 640px) {
  .web-pagination { margin: 32px 0 8px; }
  .web-pagination__list { gap: 6px; }
  .web-pagination__link {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
    padding: 0 10px;
  }
}

/* ============================================================
   THEME: Blue + Yellow (蓝黄主题)
   通过 <html data-theme="blue-yellow"> 切换；仅覆盖配色，不动布局。
   ============================================================ */
[data-theme="blue-yellow"] {
  /* 主色：明亮商务蓝 */
  --c-primary:       #1E5BB8;
  --c-primary-light: #2A6FD4;

  /* 点缀色：明亮黄（替换原品牌金） */
  --c-gold:          #F2B632;
  --c-gold-light:    #F7CE6A;
  --c-gold-dark:     #D49A1F;

  /* 分区背景：偏冷的浅蓝灰，与蓝色主色更协调 */
  --c-bg-alt:        #F4F8FC;

  /* 功能色微调（保持可读，与蓝主色搭配更和谐） */
  --c-warning:       #D49A1F;
}

/* ============================================================
   THEME: Green + Bronze (稳重深绿 + 古铜金)
   松柏长青 + 古铜金，传统大型律所气质
   ============================================================ */
[data-theme="green-bronze"] {
  --c-primary:       #1B3A2F;
  --c-primary-light: #2B5544;

  --c-gold:          #A77B3E;
  --c-gold-light:    #C9A66B;
  --c-gold-dark:     #7A5828;

  --c-bg-alt:        #F5F1E8;

  --c-success:       #2B5544;
  --c-warning:       #A77B3E;
}

/* ============================================================
   THEME: Ink + Rosewood (墨黑 + 红木金)
   中式人文 / 印鉴典藏感，精品所与刑辩首选
   ============================================================ */
[data-theme="ink-rosewood"] {
  --c-primary:       #1A1A1A;
  --c-primary-light: #2E2E2E;

  --c-gold:          #8B2E2A;
  --c-gold-light:    #B05450;
  --c-gold-dark:     #5E1F1C;

  --c-bg-alt:        #F8F4ED;

  --c-error:         #8B2E2A;
  --c-warning:       #B8945A;
}

/* ============================================================
   THEME: Burgundy + Champagne (深酒红 + 香槟金)
   欧陆古典 / 涉外、家族财富律所
   ============================================================ */
[data-theme="burgundy-champagne"] {
  --c-primary:       #6B1F2A;
  --c-primary-light: #8C2C39;

  --c-gold:          #D4B88A;
  --c-gold-light:    #E5D2AC;
  --c-gold-dark:     #A88C5E;

  --c-bg-alt:        #FAF6F0;

  --c-error:         #8C2C39;
  --c-warning:       #A88C5E;
}
