:root{
  /* 全局配色（法律科技风） */
  --primary-color:#0F172A;
  --accent-color:#2563EB;
  --text-main:#334155;
  --text-light:#64748B;
  --bg-light:#F8FAFC;

  /* 兼容原有命名 */
  --color-primary:var(--primary-color);
  --color-primary-2:#17365e;
  --color-accent:#c49b3f;
  --color-bg:var(--bg-light);
  --color-surface:#ffffff;
  --color-text:var(--text-main);
  --color-muted:var(--text-light);
  --color-border:#e2e8f0;
  --shadow-sm:0 2px 10px rgba(15,23,42,.06);
  --shadow-md:0 10px 30px rgba(15,23,42,.10);
  --radius:14px;
  --max-width:1200px;
  --header-h:58px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
/* ========== 卡片式布局：外灰内白 ==========
 * 1. 全局页面背景 (Body)：浅灰色，包裹所有内容
 * 2. 顶部导航栏 (Header)：独立全宽，保持现有背景
 * 3. 主体内容容器 (Main Card)：白色卡片，左右留边距，灰色背景衬托
 */
body{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--color-text);
  background:#f4f6f8;
  line-height:1.75;
}
/* 主体白色卡片：最大宽度 1200px，居中，左右边距，悬浮感 */
.main-card{
  max-width:var(--max-width);
  margin:0 auto;
  margin-top:0;
  padding:0 24px 48px;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
  min-height:60vh;
}
@media (max-width:768px){
  .main-card{
    padding:0 16px 32px;
    margin-left:0;
    margin-right:0;
    max-width:100%;
    box-shadow:none;
  }
  .main-card .page-hero{margin:0 -16px;padding-left:16px;padding-right:16px}
}
/* 卡片内面包屑区：稍深灰 #f9f9f9 做小分区 */
.main-card .page-hero{
  margin:0 -24px;
  padding-left:24px;
  padding-right:24px;
  background:#f9f9f9;
  border-bottom:1px solid #eee;
}
h1,h2,h3,h4,h5,h6{
  font-family:"Noto Serif SC","Source Han Serif CN","Songti SC","SimSun",serif;
  color:var(--primary-color);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}
.skip-link{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden
}
.skip-link:focus{left:16px;top:12px;width:auto;height:auto;padding:8px 12px;background:#fff;border:1px solid var(--color-border);border-radius:10px;z-index:9999}

/* Header / Nav */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(247,249,255,.75);
  backdrop-filter:blur(12px);
  overflow:visible;
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(148,163,184,.2);
}
/* 非首页：导航条使用深色半透明背景 */
body:not(.is-home) .site-header{
  background:rgba(7,20,35,.88);
  border-bottom-color:rgba(255,255,255,.12);
}
body:not(.is-home) .brand,
body:not(.is-home) .brand small,
body:not(.is-home) .nav-link,
body:not(.is-home) .nav-cta .btn-ghost,
body:not(.is-home) .nav-cta .btn-primary{
  color:#f7f9ff;
}
body:not(.is-home) .nav-link:hover{
  background:rgba(0,0,0,.2);
}
body:not(.is-home) .nav-cta .btn-ghost{
  background:rgba(0,0,0,.25);
  border-color:rgba(255,255,255,.45);
  color:#f7f9ff;
}
body:not(.is-home) .nav-cta .btn-ghost:hover{
  background:rgba(0,0,0,.4);
  border-color:#fff;
  color:#fff;
}
body:not(.is-home) .nav-cta .btn-primary{
  background:#f5f7ff;
  color:#071423;
}
body:not(.is-home) .nav-cta .btn-primary:hover{
  background:#fff;
}
body:not(.is-home) .nav-toggle span{background:#f7f9ff}
body:not(.is-home) .dropdown{background:rgba(15,23,42,.97);border-color:rgba(255,255,255,.15)}
body:not(.is-home) .dropdown a{color:#e5e7eb}
body:not(.is-home) .dropdown a:hover{background:rgba(255,255,255,.08)}
body:not(.is-home) .dropdown a strong{color:#f7f9ff}
body:not(.is-home) .dropdown a span{color:#94a3b8}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:100px;
  padding:0;
  overflow:visible;
}
.brand{
  position:relative;
  align-self:stretch;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:20px;
  padding-left:96px;
  font-weight:700;
  color:var(--color-primary);
}
/* logo 100×100，垂直居中，与文字保持间距不重叠 */
.brand .brand-logo{
  position:absolute;
  left:-28px;
  top:50%;
  transform:translateY(-50%);
  width:100px;
  height:100px;
  object-fit:contain;
  z-index:1;
}
.brand .brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  position:relative;
  z-index:2;
}
.brand small{font-weight:500;color:var(--color-muted)}

.nav-toggle{
  display:none;
  border:1px solid var(--color-border);
  background:#fff;
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--color-primary);margin:4px 0;border-radius:2px}

.nav-menu{
  list-style:none;
  display:flex;align-items:center;gap:18px;
  font-size:14px;
}
.nav-menu > li{position:relative}
.nav-link{
  display:flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:12px;
  transition:background .15s ease,color .15s ease;
}
.nav-link:hover{background:#f4f6fa}
.nav-link .chev{
  width:10px;height:10px;display:inline-block;
  border-right:2px solid var(--color-muted);
  border-bottom:2px solid var(--color-muted);
  transform:rotate(45deg);
  margin-top:-2px;
}

.has-dropdown{position:relative}
.has-dropdown::after{
  content:"";
  position:absolute;
  left:0;
  top:100%;
  width:100%;
  height:12px; /* hover bridge: prevents dropdown collapsing */
}

.dropdown{
  position:absolute;left:0;top:100%;
  min-width:220px;
  margin-top:0;
  padding:8px;
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:14px;
  box-shadow:var(--shadow-md);
  display:none;
  transform:translateY(10px);
}
.dropdown a{
  display:flex;flex-direction:column;gap:2px;
  padding:10px 10px;border-radius:12px;
}
.dropdown a:hover{background:#f4f6fa}
.dropdown a strong{font-size:13px;color:var(--color-primary)}
.dropdown a span{font-size:12px;color:var(--color-muted)}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{display:block}
.has-dropdown:hover .dropdown{transform:translateY(10px)}

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

/* Home: 固定导航 + 代码雨背景 */
.is-home .site-header{
  position:fixed;
  left:0;
  right:0;
  top:0;
  z-index:60;
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(196,155,63,.18) 0%, transparent 45%),
    linear-gradient(135deg, #071423 0%, #0c2440 55%, #0a0f18 100%);
  border-bottom-color:rgba(255,255,255,.14);
}
.is-home .brand{
  font-size:1.25rem;
}
.is-home .brand small{
  font-size:0.95rem;
}
.is-home .brand,
.is-home .brand small,
.is-home .nav-link,
.is-home .nav-cta .btn-ghost,
.is-home .nav-cta .btn-primary{
  color:#f7f9ff;
}
.is-home .nav-link:hover{
  background:rgba(0,0,0,.24);
}
.is-home .nav-cta .btn-ghost{
  background:rgba(0,0,0,.25);
  border-color:rgba(255,255,255,.5);
  color:#f7f9ff;
}
.is-home .nav-cta .btn-ghost:hover{
  background:rgba(0,0,0,.4);
  border-color:#fff;
  color:#fff;
}
.is-home .nav-cta .btn-primary{
  background:#f5f7ff;
  color:#071423;
}
.is-home .nav-cta .btn-primary:hover{
  background:#ffffff;
}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 16px;border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  font-size:14px;
  transition:transform .1s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--color-primary);color:#fff}
.btn-primary:hover{background:var(--color-primary-2)}
.nav-cta-main{
  box-shadow:0 0 0 1px rgba(255,255,255,.1),0 6px 18px rgba(12,36,64,.28);
}
.btn-ghost{background:#fff;border-color:var(--color-border);color:var(--color-primary)}
.btn-ghost:hover{border-color:var(--color-primary)}
.btn-accent{background:#fff;border-color:rgba(196,155,63,.35);color:var(--color-primary)}
.btn-accent:hover{background:rgba(196,155,63,.22)}

/* Page header */
.page-hero{
  padding:52px 0 34px;
  background:linear-gradient(180deg, #f7f8fb 0%, #ffffff 72%);
}
/* 卡片内：面包屑区用 #f9f9f9 做小分区 */
.main-card .page-hero{
  margin:0 -24px;
  padding:52px 24px 34px;
  background:#f9f9f9;
  border-bottom:1px solid var(--color-border);
}
@media (max-width:768px){
  .main-card .page-hero{margin:0 -16px;padding:40px 16px 24px}
}
.page-hero-about{padding:28px 0 20px}
.page-hero h1{
  font-size:30px;line-height:1.2;color:var(--color-primary);
  margin-bottom:10px;
}
.page-hero p{
  font-size:14px;
  line-height:1.75;
  color:#334155;
  max-width:72ch;
}
.breadcrumbs{
  margin-top:14px;
  font-size:12px;color:var(--color-muted);
}
.breadcrumbs a{color:var(--color-primary)}
/* 确保页面 hero 内面包屑链接可点击、可见（避免被遮挡或视觉上像纯文字） */
.main-card .page-hero .breadcrumbs,
.main-card .page-hero .breadcrumbs a{
  pointer-events:auto;
  position:relative;
  z-index:2;
}
.main-card .page-hero .breadcrumbs a:hover{
  text-decoration:underline;
}

/* 卡片内：面包屑区用 #f9f9f9 做小分区 */
.main-card .page-hero{
  margin:0 -24px;
  padding:52px 24px 34px;
  background:#f9f9f9;
  border-bottom:1px solid #eee;
}
@media (max-width:768px){
  .main-card .page-hero{
    margin:0 -16px;
    padding:40px 16px 24px;
  }
}

/* Sections */
.section{padding:80px 0}
.section-title{font-size:22px;color:var(--color-primary);margin-bottom:8px}
.section-subtitle{
  font-size:14px;
  line-height:1.75;
  color:#334155;
  margin-bottom:18px;
}

.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}

.card{
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:18px 16px;
}
.grid-3 .card{
  display:flex;
  flex-direction:column;
}
.grid-3 .card .list{flex:1}
.grid-3 .card > div:last-child{margin-top:auto}
/* 卡片内正文区域撑满，使「进入文章列表」「查看该领域业务」按钮行等高对齐 */
.grid-3 .card p{flex:1 1 auto;min-height:0}
.card h3{font-size:16px;color:var(--color-primary);margin-bottom:8px}
.card h4{font-size:15px;color:var(--color-primary);margin-bottom:8px;font-weight:600}
.card-tag{font-size:12px;color:var(--color-muted);margin-top:8px}
.btn-sm{padding:6px 14px;font-size:13px}
.card p{font-size:13px;color:var(--color-muted)}
.list{
  list-style:none;margin-top:12px;font-size:13px
}
.list li{padding-left:14px;position:relative}
.list li::before{
  content:"";position:absolute;left:0;top:.72em;
  width:6px;height:6px;border-radius:999px;background:var(--color-accent);
  transform:translateY(-50%);
}
.list li+li{margin-top:7px}

/* 手动新增内容 */

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-color: #cbd5e0;
}

/* 卡片头部区域 */
.card-header {
  padding: 24px 24px 16px 24px;
  background: #fff;
  z-index: 2;
}

.card-header h3 {
  font-size:16px;
  color:var(--color-primary);
  margin-bottom:8px
}

.card-header p {
  font-size:13px;
  color:var(--color-muted)
}


/* FAQ 容器：去掉背景，只留边框 */
.card-faq {
  border-top: 1px solid #f7fafc;
  background: transparent; 
}

.card-faq summary {
  padding: 16px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #2d3748;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

/* 隐藏默认三角 */
.card-faq summary::-webkit-details-marker { display: none; }

/* 图标：变成一个精致的圆圈加号 */
.card-faq summary::after {
  content: '+';
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  background: #edf2f7;
  color: #57667f;
  font-size: 1.2rem;
  font-weight: 400;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

/* 悬停效果 */
.card-faq summary:hover {
  color: #234a6e;
  background: #f8fafc;
}

.card-faq summary:hover::after {
  background: #234a6e;
  color: #fff;
  transform: rotate(90deg); /* 悬停时微微旋转 */
}

/* 展开状态 */
.card-faq[open] {
  background: #fff;
}

.card-faq[open] summary {
  color: #3182ce;
  border-bottom: 1px solid #ebf8ff;
}

/* 展开时图标变减号并旋转 */
.card-faq[open] summary::after {
  content: '−';
  background: #3182ce;
  color: #fff;
  transform: rotate(180deg);
}

/* 答案区域：增加左侧彩色装饰条 */
.faq-answer {
  padding: 20px 24px 24px 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #fff;
  border-left: 4px solid #3182ce; /* 关键：左侧蓝条 */
  margin: 0 24px; /* 左右留出空隙，让蓝条露出来 */
}

.card-faq[open] .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer strong { color: #2c5282; }


/* 律师介绍页：两栏布局（左：照片+联系方式，右：姓名+专业优势+代表案例） */
.page-hero-about{padding:24px 0 16px}
.section-about{padding-top:32px;padding-bottom:60px}
.about-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:48px;
  align-items:start;
  max-width:960px;
  margin:0 auto;
}
.about-sidebar{position:sticky;top:100px}
.about-photo-wrap{
  width:100%;
  aspect-ratio:280/360;
  border-radius:12px;
  overflow:hidden;
  background:#f1f5f9;
  border:1px solid var(--color-border);
  margin-bottom:24px;
}
.about-photo-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.about-contact{
  padding-top:20px;
  border-top:1px solid rgba(196,155,63,.35);
}
.about-contact-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:14px;
  font-size:13px;
  color:#475569;
  line-height:1.5;
}
.about-contact-item:last-of-type{margin-bottom:0}
.about-contact-wechat{
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  transition:color .2s ease, background .2s ease;
  padding:8px 10px;
  margin:0 -10px;
  border-radius:8px;
}
.about-contact-wechat:hover{
  color:var(--color-primary);
  background:rgba(196,155,63,.12);
}
.about-contact-icon{flex-shrink:0;font-size:16px}
.about-contact-cta{margin-top:18px;width:100%;justify-content:center}
.about-name{
  font-size:28px;
  font-weight:700;
  color:var(--color-primary);
  margin-bottom:24px;
}
.about-title{font-size:15px;font-weight:500;color:var(--color-muted);margin-left:8px}
.about-block{margin-bottom:32px}
.about-block:last-child{margin-bottom:0}
.about-block-title{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:16px;
  font-weight:600;
  color:var(--color-primary);
  margin-bottom:14px;
}
.about-block-title::after{
  content:'';
  flex:1;
  height:1px;
  background:rgba(196,155,63,.35);
}
.about-list{
  list-style:none;
  margin:0;
  padding:0;
}
.about-list li{
  position:relative;
  padding-left:14px;
  margin-bottom:8px;
  font-size:14px;
  color:#334155;
  line-height:1.6;
}
.about-list li::before{
  content:'–';
  position:absolute;
  left:0;
  color:var(--color-primary);
}
.about-intro{
  line-height:1.8;
  color:#334155;
  font-size:14px;
  margin-bottom:20px;
}
.about-cases{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:case-num;
}
.about-cases li{
  position:relative;
  padding-left:2em;
  margin-bottom:14px;
  line-height:1.75;
  font-size:14px;
  color:#334155;
}
.about-cases li::before{
  content:counter(case-num) '. ';
  counter-increment:case-num;
  position:absolute;
  left:0;
  font-weight:600;
  color:var(--color-primary);
}
.about-cases li strong{color:#0f172a}
@media (max-width: 768px){
  .about-layout{grid-template-columns:1fr;gap:32px}
  .about-sidebar{position:static}
  .about-photo-wrap{max-width:260px;margin:0 auto 24px}
}

/* Home: 4 boxes */
.home-main{padding:0}

/* 首页：为固定导航预留空间，避免内容被遮挡 */
.is-home .home-main{
  padding-top:var(--header-h);
}

/* Home: one-screen-per-box scroll */
.is-home{
  height:100vh;
  overflow-y:auto;
  scroll-snap-type:y mandatory;
  scroll-behavior:smooth;
}
.is-home .home-box{
  scroll-snap-align:start;
  scroll-snap-stop:always;
  min-height:100vh;
}
.is-home .home-box{
  scroll-margin-top:var(--header-h);
}

.home-box{
  border-bottom:1px solid var(--color-border);
  min-height:100vh;
  display:flex;
  align-items:center;
}
.home-box:last-child{border-bottom:none}
.home-box > .container{
  width:100%;
}

/* 每个大盒子的标题与引导文字居中 */
.home-box .section-title{
  text-align:center;
}
.home-box .section-subtitle{
  text-align:center;
  max-width:70ch;
  margin-left:auto;
  margin-right:auto;
}

/* Box 1:理念 - matrix */
.home-vision{
  position:relative;
  overflow:hidden;
  background:radial-gradient(1200px 600px at 10% 0%, rgba(196,155,63,.14) 0%, transparent 45%),
             linear-gradient(135deg, #071423 0%, #0c2440 55%, #0a0f18 100%);
  color:#fff;
  padding:80px 0 72px;
}
.matrix-canvas{
  position:absolute;inset:0;
  width:100%;height:100%;
  opacity:.36;
  pointer-events:none;
}
.home-vision .content{
  position:relative;
  max-width:680px;
  margin:0 auto;
  padding:0 24px;
}
.home-vision .hero-content{
  text-align:center;
}
.home-vision .hero-badge{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 24px;
  margin-bottom:32px;
  border-radius:999px;
  background:rgba(15,23,42,.82);
  color:#e5e7eb;
  font-size:15px;
  font-weight:600;
  letter-spacing:.4px;
  box-shadow:0 12px 40px rgba(0,0,0,.4);
  border:1px solid rgba(196,155,63,.35);
}
.hero-badge-icon{
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(196,155,63,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}
.home-vision h1{
  font-size:52px;
  line-height:1.18;
  margin-bottom:24px;
  color:#fef8ea;
  text-shadow:0 0 18px rgba(15,23,42,.85);
  letter-spacing:-.02em;
  font-weight:700;
}
.home-vision .hero-subtitle{
  font-size:18px;
  color:#e2e8f0;
  margin-bottom:24px;
  line-height:1.5;
  text-shadow:0 0 12px rgba(15,23,42,.85);
}
.home-vision .hero-cases{
  list-style:none;
  padding:20px 24px;
  margin:0 0 24px;
  text-align:left;
  max-width:560px;
  margin-left:auto;
  margin-right:auto;
  background:rgba(15,23,42,.35);
  border-radius:16px;
  border:1px solid rgba(148,163,184,.18);
  box-shadow:0 8px 32px rgba(0,0,0,.25);
}
.home-vision .hero-cases li{
  position:relative;
  padding:14px 0 14px 44px;
  font-size:15px;
  color:#dde6f7;
  line-height:1.55;
  border-bottom:1px solid rgba(148,163,184,.12);
  text-shadow:0 0 10px rgba(15,23,42,.75);
}
.home-vision .hero-cases li:last-child{border-bottom:none}
.home-vision .hero-case-num{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  font-size:13px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  color:rgba(196,155,63,.95);
  text-shadow:0 0 12px rgba(196,155,63,.4);
}
.home-vision .hero-tagline{
  font-size:17px;
  color:#c7d2e8;
  margin:28px auto 32px;
  padding-top:24px;
  max-width:480px;
  font-weight:500;
  letter-spacing:.2px;
  text-shadow:0 0 10px rgba(15,23,42,.75);
  border-top:1px solid rgba(148,163,184,.2);
}
.home-vision .hero-intro{
  font-size:16px;
  color:#dde6f7;
  margin:16px 0 20px;
  max-width:72ch;
  text-shadow:0 0 10px rgba(15,23,42,.75);
}
.pill-row{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.pill{
  display:inline-flex;align-items:center;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(0,0,0,.14);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;color:#eef3ff;
}
.home-vision .hero-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin-top:0;
}
.hero-actions .btn{
  padding:11px 20px;
  font-size:14px;
}
.hero-actions .btn-primary{
  background:var(--accent-color);
  border-color:var(--accent-color);
}
.hero-actions .btn-primary:hover{
  background:#1d4ed8;
  border-color:#1d4ed8;
  transform:translateY(-2px);
}
.hero-actions .btn-ghost{
  background:transparent;
  border-color:rgba(226,232,240,.8);
  color:#e5edf9;
}
.hero-actions .btn-ghost:hover{
  background:rgba(15,23,42,.4);
  border-color:#e5edf9;
}
.home-vision .note{margin-top:20px;font-size:12px;color:#c7d2e8;opacity:.9}

/* 首页 main-card 内的 home-box：透明背景，由白色卡片衬托 */
.is-home .main-card .home-box{background:transparent;border-bottom-color:rgba(0,0,0,.06)}

/* Box 2: cases scroller */
.home-cases{padding:48px 0;background:linear-gradient(180deg,#fff 0%, #fbfbfd 100%)}
.hscroll-wrap{display:flex;align-items:center;gap:10px;margin-top:12px}
.hscroll-btn{
  border:1px solid var(--color-border);
  background:#fff;
  width:40px;height:40px;
  border-radius:14px;
  cursor:pointer;
  flex:0 0 auto;
  box-shadow:var(--shadow-sm);
}
.hscroll-btn:hover{border-color:var(--color-primary)}
.hscroll{
  display:flex;gap:12px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding:2px 2px 10px;
  -webkit-overflow-scrolling:touch;
}
.hscroll::-webkit-scrollbar{height:10px}
.hscroll::-webkit-scrollbar-thumb{background:#dfe3ea;border-radius:999px}
.doc-card{
  scroll-snap-align:start;
  flex:0 0 320px;
  border:1px solid var(--color-border);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
/* A4 竖版比例 210:297，便于完整展示判决书/立案文书扫描件 */
.doc-thumb{
  position:relative;
  aspect-ratio:210/297;
  min-height:320px;
  background:#f5f5f7;
  overflow:hidden;
  padding:10px 12px 12px;
}
.doc-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:10px;
  box-shadow:0 14px 30px rgba(0,0,0,.20);
  transform-origin:50% 60%;
  transition:transform .25s ease, box-shadow .25s ease;
  cursor:pointer;
}
.doc-tag{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(7,20,35,.82);
  color:#f7f9ff;
  font-size:11px;
  letter-spacing:.2px;
}

/* 让不同卡片有轻微角度差，模拟摊在桌面的纸张 */
.doc-card:nth-child(1) .doc-thumb img{transform:rotate(-2.2deg);}
.doc-card:nth-child(2) .doc-thumb img{transform:rotate(1.3deg);}
.doc-card:nth-child(3) .doc-thumb img{transform:rotate(-1.4deg);}
.doc-card:nth-child(4) .doc-thumb img{transform:rotate(2deg);}

/* 悬停时略微抬起，突出一张文书 */
.doc-card:hover .doc-thumb img{
  transform:rotate(0deg) translateY(-2px);
  box-shadow:0 18px 36px rgba(0,0,0,.26);
}
.doc-card .body{
  padding:12px 14px 14px;
}
.doc-title{
  font-size:14px;
  color:var(--color-primary);
  font-weight:650;
  margin-bottom:4px;
}
.doc-desc{
  font-size:12px;
  color:var(--color-muted);
}
.doc-meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--color-muted);font-size:11px;margin-top:8px}
.badge{
  display:inline-flex;align-items:center;
  padding:4px 8px;border-radius:999px;
  border:1px solid rgba(12,36,64,.14);
  background:rgba(12,36,64,.04);
  font-size:11px;color:var(--color-primary)
}

/* 文书图片点击放大（lightbox） */
.doc-thumb{cursor:pointer}
.doc-lightbox{
  position:fixed;inset:0;z-index:9999;
  background:rgba(0,0,0,.85);
  display:flex;align-items:center;justify-content:center;
  padding:24px;
  opacity:0;visibility:hidden;transition:opacity .2s, visibility .2s;
}
.doc-lightbox.is-open{opacity:1;visibility:visible}
.doc-lightbox-inner{
  max-width:95vw;max-height:90vh;
  position:relative;
}
.doc-lightbox-inner img{
  max-width:100%;max-height:90vh;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.doc-lightbox-close{
  position:absolute;top:-40px;right:0;
  background:transparent;border:none;color:#fff;
  font-size:28px;cursor:pointer;padding:4px 8px;
  line-height:1;opacity:.9;
}
.doc-lightbox-close:hover{opacity:1}
.doc-lightbox-hint{
  position:absolute;bottom:-28px;left:50%;transform:translateX(-50%);
  color:rgba(255,255,255,.7);font-size:12px;
}

/* Box 3: common questions */
.home-faq{
  padding:80px 0;
  background:var(--bg-light);
}
.home-faq .section-title{
  font-weight:700;
}
.home-faq .grid-3{
  align-items:stretch;
}
.home-faq .card.mini-articles{
  display:flex;
  flex-direction:column;
}
.home-faq .mini-articles > h3{
  font-size:18px;
  font-weight:700;
  color:var(--color-primary);
  margin-bottom:8px;
  text-align:center;
}
.home-faq .mini-articles > p{
  text-align:center;
  font-size:14px;
  color:var(--text-light);
}
.mini-articles{margin-top:16px}
.home-faq .more-box{
  margin-top:auto;
}
.mini-articles ul{
  list-style:none;
  margin:0;
  padding:0;
}
.home-faq .faq-list-plain{margin-top:14px}
.home-faq .faq-list-plain li{margin-bottom:4px}
.home-faq .faq-list-plain li:last-child{margin-bottom:0}

/* 单个问题项：列表形式，小圆点（橙黄）+ 文字，悬停浅灰边框与极淡背景 */
.home-faq .faq-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  margin:0 -12px;
  border-radius:8px;
  border:1px solid transparent;
  background:transparent;
  transition:all 0.2s ease;
  cursor:pointer;
  text-decoration:none;
  color:inherit;
}
.home-faq .faq-item:hover{
  border-color:#E2E8F0;
  background:rgba(248,250,252,0.9);
}
.home-faq .faq-item .dot{
  width:6px;
  height:6px;
  min-width:6px;
  border-radius:999px;
  background:#EAB308;
  margin-top:8px;
  flex-shrink:0;
  display:block;
}
.home-faq .faq-item:hover .dot{background:#CA8A04}
.home-faq .faq-item .txt{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.home-faq .faq-item strong{
  font-size:14px;
  font-weight:600;
  color:#0F172A;
  line-height:1.4;
}
.home-faq .faq-item span{
  font-size:13px;
  color:var(--text-light);
  line-height:1.5;
  padding-left:0;
}

.more-box{margin-top:16px}
.home-faq .more-box{
  display:flex;
  justify-content:center;
  margin-top:22px;
}
.home-faq .more-box a,
.home-faq .more-box-link{
  justify-content:center;
  gap:10px;
  width:100%;
}
.more-box a,
.more-box-link{
  display:flex;justify-content:center;align-items:center;
  border:1px dashed rgba(12,36,64,.24);
  background:rgba(255,255,255,.7);
  padding:10px 12px;border-radius:14px;
  color:var(--color-primary);font-size:13px;
  text-decoration:none;
  transition:border-color 0.2s ease, box-shadow 0.2s ease;
  width:100%;
  box-sizing:border-box;
}
.more-box a:hover,
.more-box-link:hover{
  border-color:var(--color-primary);
}
.more-box-link:hover span:last-child{transform:translateX(4px)}
.more-box-link span:last-child{display:inline-block;transition:transform 0.2s ease}

@media (max-width: 768px){
  .home-faq .grid-3{grid-template-columns:1fr}
}

/* Box 4: contact */
.home-contact{padding:48px 0}
.contact-grid{display:grid;grid-template-columns:2fr 3fr;gap:20px}
.contact-list{list-style:none;font-size:13px}
.contact-list li+li{margin-top:10px}
.contact-list .label{font-weight:700;color:var(--color-primary);margin-right:6px}
.qrcode{
  width:140px;height:140px;border-radius:16px;
  border:1px dashed var(--color-border);
  display:flex;align-items:center;justify-content:center;
  color:var(--color-muted);
  background:#fff;margin-top:8px;
}
.form{
  border:1px solid var(--color-border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
  padding:18px 16px;
}
.form-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.field{flex:1 1 160px;min-width:0}
.field label{display:block;font-size:12px;color:var(--color-muted);margin-bottom:5px}
.field input,.field select,.field textarea{
  width:100%;
  border-radius:12px;border:1px solid var(--color-border);
  padding:10px 12px;font-size:13px;outline:none;
}
.field textarea{min-height:96px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--color-primary)}
.form-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:6px}
.hint{font-size:11px;color:var(--color-muted)}

/* Knowledge pages: search + list */
.search-row{
  display:flex;gap:10px;align-items:center;margin:8px 0 14px
}
.search-row input[type="search"]{
  flex:1;min-width:0;
  border-radius:999px;border:1px solid var(--color-border);
  padding:10px 14px;font-size:13px;outline:none
}
.search-row input[type="search"]:focus{border-color:var(--color-primary)}
.no-results{font-size:12px;color:var(--color-muted);margin:10px 0 4px}

.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.article-card{
  border:1px solid var(--color-border);
  border-radius:16px;background:#fff;
  box-shadow:var(--shadow-sm);
  padding:14px 14px 16px;
  display:flex;flex-direction:column;gap:8px;
}
.article-category{font-size:11px;color:var(--color-muted)}
.article-title{font-size:14px;font-weight:700;color:var(--color-primary)}
.article-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--color-muted)}
.article-summary{font-size:12px}
.article-footer{margin-top:auto;font-size:11px;color:var(--color-accent)}
.article-card mark{
  background:rgba(196,155,63,.28);
  color:inherit;
  padding:0 2px;
  border-radius:3px;
}

/* 文章列表：竖向列表样式（红方块、标题+时间、虚线分隔） */
.article-grid.article-list-style{
  display:block;
  grid-template-columns:none;
  gap:0;
}
.article-grid.article-list-style .article-card{
  border:none;
  border-radius:0;
  box-shadow:none;
  padding:14px 0;
  flex-direction:column;
  align-items:stretch;
  gap:4px;
  border-bottom:1px dashed var(--color-border);
  position:relative;
  padding-left:20px;
}
.article-grid.article-list-style .article-card::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  width:6px;
  height:6px;
  background:#c41e3a;
}
.article-grid.article-list-style .article-card:last-child{border-bottom:none}
.article-grid.article-list-style .article-category,
.article-grid.article-list-style .article-summary,
.article-grid.article-list-style .article-footer{display:none}
.article-grid.article-list-style .article-title{
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  display:block;
}
.article-grid.article-list-style .article-meta{
  font-size:13px;
  color:var(--color-muted);
}
.article-grid.article-list-style .article-meta span:not(.article-list-date){display:none}
.article-grid.article-list-style .article-meta .article-list-date{display:block;margin-top:2px}

/* Pagination */
.pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin:18px 0 8px;
}
.page-btn{
  border:1px solid var(--color-border);
  background:#fff;
  color:var(--color-primary);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  cursor:pointer;
}
.page-btn:hover{border-color:var(--color-primary)}
.page-btn[disabled]{opacity:.55;cursor:not-allowed}
.page-btn.active{
  background:var(--color-primary);
  border-color:var(--color-primary);
  color:#fff;
}

/* Footer */
.site-footer{
  margin-top:40px;
  background:#020617;
  color:#e5e7eb;
  font-size:13px;
}
.footer-main{
  border-top:1px solid rgba(148,163,184,.35);
  padding:24px 0 18px;
}
.footer-inner{
  display:grid;
  grid-template-columns:2.2fr 2.4fr 1.6fr;
  gap:24px;
}
.footer-col h4{
  font-size:14px;
  font-weight:600;
  margin-bottom:12px;
  color:#e5e7eb;
}
.footer-contact .phones{
  font-size:18px;
  font-weight:600;
  line-height:1.6;
  margin-bottom:12px;
}
.footer-contact .phones a{
  color:inherit;
  text-decoration:none;
}
.footer-contact .phones a:hover{text-decoration:underline}
.footer-contact .meta{
  margin-top:8px;
  color:#cbd5f5;
  line-height:1.75;
  margin-bottom:4px;
}
.footer-contact .meta a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}
.footer-contact .meta a:hover{opacity:.9}
.footer-contact .meta br{margin-bottom:4px}
.footer-contact .wechat-btn{
  margin-top:16px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(248,250,252,.25);
  background:linear-gradient(90deg,#22c55e,#16a34a);
  color:#f9fafb;
  font-size:13px;
  text-decoration:none;
}
.footer-contact .wechat-btn span:first-child{
  font-size:16px;
}
.footer-contact .wechat-btn:hover{
  background:linear-gradient(90deg,#2dd36f,#22c55e);
  border-color:rgba(255,255,255,.4);
  color:#fff;
}
.footer-links ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px 18px;
}
.footer-links{
  text-align:center;
}
.footer-links a{
  color:#9ca3af;
  text-decoration:none;
}
.footer-links a:hover{color:#facc15}
.footer-links h4.footer-links-sep{
  position:relative;
  padding-top:14px;
  margin-top:14px;
}
.footer-links h4.footer-links-sep::before{
  content:'';
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:40px;
  height:1px;
  background:rgba(148,163,184,.4);
}
.footer-qr-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.footer-qr{
  border-radius:10px;
  border:1px dashed rgba(148,163,184,.7);
  padding:8px;
  text-align:center;
  font-size:11px;
  color:#9ca3af;
}
.footer-qr .qr-box{
  width:92px;
  height:92px;
  margin:0 auto 6px;
  border-radius:8px;
  background:#020617;
  border:1px solid rgba(15,23,42,.8);
}
.footer-bottom{
  padding:10px 0 16px;
  font-size:12px;
  color:#9ca3af;
}
.footer-bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.footer-nav a{
  color:#9ca3af;
  text-decoration:none;
}
.footer-nav a:hover{color:var(--color-primary)}

/* Mobile */
@media (max-width: 900px){
  .home-vision .content{
    max-width:100%;
    padding:0 16px;
  }
  .hero-actions{
    justify-content:center;
  }
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contact-grid{grid-template-columns:1fr}
}

@media (max-width: 760px){
  .nav-toggle{
    display:inline-flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:rgba(30,41,59,0.92);
    border-color:rgba(255,255,255,0.15);
  }
  .nav-toggle span{
    background:#f8fafc;
    transition:transform 0.22s ease,opacity 0.18s ease;
  }
  body.nav-open .nav-toggle span:nth-child(1){
    transform:translateY(6px) rotate(45deg);
  }
  body.nav-open .nav-toggle span:nth-child(2){
    opacity:0;
  }
  body.nav-open .nav-toggle span:nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
  }
  .nav-menu{
    position:fixed;
    left:0;
    right:0;
    top:100px;
    background:rgba(55,65,81,0.97);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border-bottom:1px solid rgba(255,255,255,0.12);
    padding:14px 16px 20px;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    transform:translateX(100%);
    transition:transform 0.25s ease;
    z-index:9999;
    pointer-events:none;
    overflow-y:auto;
    max-height:calc(100vh - 60px);
  }
  body.nav-open .nav-menu{
    transform:translateX(0);
    pointer-events:auto;
  }
  body.nav-open .nav-menu .nav-link,
  body.nav-open .nav-menu .dropdown a{
    color:rgba(248,250,252,0.95) !important;
  }
  body.nav-open .nav-menu .dropdown a strong{color:#f8fafc}
  body.nav-open .nav-menu .dropdown a span{color:rgba(248,250,252,0.78)}
  .nav-cta{display:none}

  .has-dropdown .nav-link .chev{
    transition:transform 0.22s ease;
  }
  .has-dropdown.open .nav-link .chev{
    transform:rotate(225deg);
  }
  .has-dropdown .dropdown{
    position:static;
    margin-top:6px;
    box-shadow:none;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(0,0,0,0.25);
  }
  .has-dropdown .dropdown a:hover{
    background:rgba(255,255,255,0.08);
  }
  .has-dropdown:hover .dropdown{display:none}
  .has-dropdown.open .dropdown{display:block}
  .nav-link{justify-content:space-between}
}

@media (max-width: 900px){
  .topic-entry-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 560px){
  .grid-3{grid-template-columns:1fr}
  .article-grid{grid-template-columns:1fr}
  .page-hero h1{font-size:26px}
  .home-vision h1{font-size:32px}
  .topic-entry-grid{grid-template-columns:1fr}
}

/* 页脚移动端：单列堆叠，快速入口/友情链接标题居中，下方选项左右两列排列 */
@media (max-width:768px){
  .footer-inner{
    grid-template-columns:1fr;
    gap:20px;
    padding:0 16px;
  }
  .footer-col{text-align:center}
  .footer-links{text-align:center}
  .footer-links h4,
  .footer-links h4.footer-links-sep{text-align:center}
  .footer-links h4.footer-links-sep::before{left:50%;transform:translateX(-50%)}
  .footer-links ul{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px 12px;
    justify-items:center;
    text-align:center;
  }
  .footer-main{padding:20px 0 14px}
  .footer-bottom .footer-bottom-inner{
    flex-direction:column;
    gap:10px;
    text-align:center;
    padding:0 16px;
  }
}

/* 通用移动端：区块间距、容器、按钮组 */
@media (max-width:768px){
  .section{padding:48px 0}
  .container{padding-left:16px;padding-right:16px}
  .search-row{flex-wrap:wrap;gap:8px}
  .search-row input{min-width:0;flex:1 1 140px}
}
@media (max-width:480px){
  .section{padding:36px 0}
  .page-hero h1{font-size:22px}
  .section-title{font-size:20px}
  .btn{white-space:normal;text-align:center;padding:10px 14px}
  .nav-cta .btn{white-space:nowrap}
  .form-row{flex-direction:column}
  .form-row .field{flex:1 1 auto;min-width:0}
  .grid-3 .card .btn,.grid-3 .card [style*="margin-top:12px"] .btn{width:100%;justify-content:center}
}

/* 高搜索专题入口（首页、业务领域页） */
.topic-entry-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:12px;
}
.topic-entry-card{
  display:block;
  padding:16px 18px;
  background:var(--bg-light);
  border:1px solid var(--color-border);
  border-radius:12px;
  color:var(--text-main);
  font-weight:600;
  text-align:center;
  text-decoration:none;
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.topic-entry-card:hover{
  border-color:var(--accent-color);
  box-shadow:0 4px 12px rgba(37,99,235,.12);
  transform:translateY(-2px);
}

/* 专题页常见问答 dl 列表 */
.faq-list{margin:0;padding:0;list-style:none}
.faq-list dt{
  font-weight:600;
  color:var(--text-main);
  margin-top:1rem;
  margin-bottom:0.35rem;
}
.faq-list dt:first-child{margin-top:0}
.faq-list dd{
  margin:0 0 0 1em;
  color:var(--text-light);
  line-height:1.7;
}

/* ========== 文章详情页：两盒子布局（上：背景+面包屑 / 下：小上+小下三栏）========== */
/* 上盒子：背景图 + 面包屑 */
.article-hero-theme{
  position:relative;
  width:100%;
  min-height:220px;
  display:flex;
  align-items:flex-end;
  padding:0 15px 24px;
  margin-left:auto;
  margin-right:auto;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  box-sizing:border-box;
}
.article-hero-theme::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
  pointer-events:none;
}
.article-hero-theme .container{
  position:relative;
  z-index:1;
  color:#fff;
}
.article-hero-theme h1{
  font-size:28px;
  line-height:1.3;
  color:#fff;
  margin-bottom:10px;
  text-shadow:0 1px 3px rgba(0,0,0,.4);
}
.article-hero-theme .hero-desc{
  color:rgba(255,255,255,.9);
  font-size:15px;
  max-width:72ch;
  margin-bottom:12px;
}
.article-hero-theme .breadcrumbs a{color:#b8d4ff}
.article-hero-theme .breadcrumbs{color:rgba(255,255,255,.85)}
.article-hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding-bottom:32px;
  z-index:1;
}
.article-hero-overlay .container{width:100%}
.breadcrumbs-light a{color:rgba(255,255,255,.9)}
.breadcrumbs-light{color:rgba(255,255,255,.85)}

/* 专题背景图：按 data-article-theme 或 .theme-xxx 匹配 */
.article-hero-theme.theme-ip-civil{
  background-image:url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1200");
}
.article-hero-theme.theme-criminal{
  background-image:url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1200");
}
.article-hero-theme.theme-cyber{
  background-image:url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1200");
}

/* 三栏布局容器 */
.article-layout-threecol{
  display:grid;
  grid-template-columns:260px 1fr 260px;
  gap:24px;
  max-width:1200px;
  margin:0 auto;
  padding:32px 20px 48px;
  align-items:start;
}
.article-sidebar-left{
  position:sticky;
  top:90px;
}
.article-contact-card{
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:12px;
  box-shadow:var(--shadow-sm);
  padding:24px;
}
.article-contact-card .article-date,
.article-contact-card .article-contact-date{
  font-size:17px;
  font-weight:600;
  color:var(--primary-color);
  margin-bottom:18px;
  letter-spacing:.03em;
  line-height:1.4;
}
.article-contact-card h3.article-contact-title,
.article-contact-card h4{
  font-size:13px;
  font-weight:600;
  color:var(--primary-color);
  margin:14px 0 6px;
}
.article-contact-card h3.article-contact-title:first-of-type,
.article-contact-card h4:first-of-type{margin-top:0}
.article-contact-card .qrcode-wrap,
.article-contact-card .article-qrcode-wrap{
  width:140px;
  height:140px;
  border:1px dashed var(--color-border);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fafbfc;
  color:var(--color-muted);
  font-size:12px;
  margin-top:8px;
}
.article-contact-card .contact-list,
.article-contact-card .article-contact-list{
  list-style:none;
  margin:0;
  padding:0;
  font-size:13px;
  color:var(--text-light);
  line-height:1.6;
}
.article-contact-card .contact-list li,
.article-contact-card .article-contact-list li{
  padding:5px 0;
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.article-contact-card .contact-list li::before{display:none}
/* 兼容 ip-1/ip-2 使用的类名 */
.article-contact-card .article-contact-date{font-size:17px;font-weight:600;color:var(--primary-color);margin-bottom:18px;letter-spacing:.03em;line-height:1.4}
.article-contact-card .article-contact-title{font-size:14px;font-weight:600;color:var(--primary-color);margin:16px 0 8px}
.article-contact-card .article-contact-title:first-of-type{margin-top:0}
.article-contact-card .article-qrcode-wrap{width:140px;height:140px;border:1px dashed var(--color-border);border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fafbfc;color:var(--color-muted);font-size:12px;margin-top:8px;overflow:hidden}
.article-contact-card .article-qrcode-wrap img{width:100%;height:100%;object-fit:contain}
.article-contact-card .article-qrcode-fallback{width:100%;height:100%;align-items:center;justify-content:center;display:flex;font-size:12px;color:var(--color-muted)}
.article-contact-card .article-contact-list{list-style:none;margin:0;padding:0;font-size:13px;color:var(--text-main)}
.article-contact-card .article-contact-list li{padding:6px 0}
.article-hero-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;padding-bottom:32px;pointer-events:none}
.article-hero-overlay .container{position:relative;z-index:1;color:#fff;pointer-events:auto}
.article-hero-theme .container{width:100%}
.breadcrumbs-light a{color:#b8d4ff !important}
.breadcrumbs-light{color:rgba(255,255,255,.9) !important}

@media (max-width:768px){
  .article-hero-theme{padding:28px 16px 20px;min-height:180px}
  .article-hero-theme .container{padding-left:16px;padding-right:16px}
  .article-hero-theme .breadcrumbs{font-size:11px;word-break:break-all}
}

/* ========== 新规格：下盒子（小上+小下三栏）========== */
.article-box-bottom{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px 48px;
  box-sizing:border-box;
}
.article-title-block{
  margin:90px 0 60px;
  text-align:center;
}
.article-title-block h1{
  font-size:34px;
  color:#333;
  font-weight:bold;
  margin:0 0 12px;
}
.article-title-block .article-meta-row{
  font-size:13px;
  color:#808080;
}
.article-threecol{
  overflow:hidden;
}
.article-threecol::after{
  content:"";
  display:table;
  clear:both;
}
.article-col-left{
  float:left;
  width:200px;
  padding-right:24px;
  border-right:1px solid #f2f2f2;
  text-align:center;
}
.article-date-block{
  margin-bottom:20px;
}
.article-date-block p{
  margin:0;
  line-height:1.3;
}
.article-date-year{
  font-size:20px;
  color:#000;
}
.article-date-year::before{
  content:"-- ";
}
.article-date-year::after{
  content:" --";
}
.article-date-md{
  font-size:34px;
  font-weight:bold;
  color:#000;
}
.article-section-title{
  margin:24px 0 8px;
  font-weight:bold;
  color:#000;
  position:relative;
}
.article-section-title span{
  background:#fff;
  padding:0 6px;
}
.article-section-title::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:#e0e0e0;
  z-index:-1;
}
.article-col-left .article-qrcode-wrap{
  width:100px;
  height:100px;
  margin:12px auto;
  border:1px dashed #e0e0e0;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fafafa;
  overflow:hidden;
}
.article-col-left .article-qrcode-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.article-col-left .article-contact-list{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  font-size:12px;
  color:#808080;
  text-align:center;
  line-height:1.8;
}
.article-col-left .article-contact-list li{
  padding:2px 0;
}
.article-col-middle{
  float:left;
  width:calc(100% - 200px - 260px - 48px);
  margin-left:24px;
  padding-right:24px;
  box-sizing:border-box;
}
.article-col-middle .article-body,
.article-col-middle .entry-content{
  font-size:14px;
  line-height:2;
  color:#595959;
  letter-spacing:1px;
  text-align:justify;
  padding:0 6px;
  box-sizing:border-box;
}
.article-col-middle .article-body p,
.article-col-middle .entry-content p{
  margin:1em 0;
  display:block;
}
.article-col-middle .article-body p:first-of-type,
.article-col-middle .entry-content p:first-of-type{
  margin-top:0;
}
.article-col-middle .article-body p:last-of-type,
.article-col-middle .entry-content p:last-of-type{
  margin-bottom:0;
}
.article-col-middle .article-body h2,
.article-col-middle .entry-content h2{
  font-size:18px;
  margin:24px 0 12px;
  color:#333;
  text-align:left;
}
.article-col-middle .article-body h3,
.article-col-middle .entry-content h3{
  text-align:left;
}
.article-col-middle .article-body ul,
.article-col-middle .article-body ol,
.article-col-middle .entry-content ul,
.article-col-middle .entry-content ol{
  text-align:left;
}

/* 文末“本文依据…更新于…”：字号与正文一致，颜色更浅，下加 1/4 红 + 3/4 灰横线 */
.article-col-middle .article-footer-legal{
  font-size:14px;
  line-height:2;
  color:#8c8c8c;
  letter-spacing:1px;
  text-align:justify;
  margin:1em 0 0;
  padding:0 6px 0 0;
}
.article-col-middle .article-footer-legal::after{
  content:"";
  display:block;
  height:2px;
  margin-top:10px;
  max-width:32em;
  background:linear-gradient(to right, #ce0006 0%, #ce0006 25%, #bdbdbd 25%, #bdbdbd 100%);
}

/* 公众号风格：摘要/导语块（第一块）- 字号颜色与正文一致 */
.article-col-middle .article-subtitle{
  font-size:14px;
  line-height:2;
  color:#595959;
  letter-spacing:1px;
  margin:0 0 20px;
  padding:14px 18px;
  background:linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-left:4px solid var(--accent-color);
  border-radius:0 10px 10px 0;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}

/* 公众号风格：核心观点块（第二块）- 字号颜色与正文一致 */
.article-col-middle .article-bluf{
  font-size:14px;
  line-height:2;
  color:#595959;
  letter-spacing:1px;
  margin:0 0 24px;
  padding:16px 18px;
  background:#fff;
  border:1px dashed #94a3b8;
  border-radius:10px;
  box-shadow:0 2px 8px rgba(15,23,42,.06);
}
.article-col-middle .article-bluf strong{
  color:#595959;
  font-size:14px;
  font-weight:700;
}

.article-prevnext{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid var(--color-border);
}
.article-prevnext-ul{
  display:flex;
  flex-direction:column;
  gap:6px;
  list-style:none;
  margin:0;
  padding:0;
  font-size:14px;
  line-height:1.75;
  color:#334155;
}
.article-prevnext-ul li{
  flex:0 1 auto;
  min-width:0;
}
.article-prevnext-ul li a{
  display:inline;
  padding:0;
  background:transparent;
  border:none;
  border-radius:0;
  color:#334155;
  text-decoration:none;
  transition:color .2s;
}
.article-prevnext-ul li a:hover{
  color:var(--accent-color);
}
.article-prevnext-ul li.disabled a{
  color:var(--color-muted);
  cursor:default;
}
.article-col-right{
  float:right;
  width:260px;
  position:relative;
}
.article-recommend-box{
  border:1px solid #f2f2f2;
  border-radius:8px;
  padding:24px 16px 16px;
  position:relative;
  margin-top:10px;
}
.article-recommend-box h3{
  position:absolute;
  top:-10px;
  left:50%;
  transform:translateX(-50%);
  background:#fff;
  padding:0 12px;
  font-size:16px;
  font-weight:600;
  color:#808080;
  margin:0;
  white-space:nowrap;
}
.article-recommend-box .article-recommend-list{
  list-style:none;
  margin:0;
  padding:0;
}
.article-recommend-box .article-recommend-list li,
.article-recommend-box .article-recommend-list .rec-item{
  padding:10px 12px;
  margin-bottom:8px;
  background:#fafafa;
  border-radius:6px;
}
.article-recommend-box .article-recommend-list li:last-child,
.article-recommend-box .article-recommend-list .rec-item:last-child{
  margin-bottom:0;
}
.article-recommend-box .article-recommend-list a{
  display:block;
  text-decoration:none;
  color:#333;
  font-size:14px;
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-bottom:8px;
}
.article-recommend-box .article-recommend-list a:hover{
  color:#2563eb;
}
.article-recommend-box .article-recommend-list .rec-date,
.article-recommend-box .article-recommend-list p.rec-date{
  font-size:12px;
  color:#808080;
  margin:0;
  display:block;
}

/* 中间正文区 */
.article-main .article-category{
  font-size:12px;
  color:var(--accent-color);
  border:1px solid rgba(37,99,235,.3);
  padding:4px 10px;
  border-radius:8px;
  display:inline-block;
  margin-bottom:12px;
}
.article-main .article-meta{
  font-size:13px;
  color:var(--color-muted);
  margin-bottom:20px;
}
.article-main .article-meta span+span{margin-left:16px}
.article-main .entry-content{
  font-size:14px;
  line-height:1.75;
  color:#334155;
}
.article-main .entry-content h2,
.article-main .entry-content h3{
  font-size:18px;
  margin:24px 0 12px;
  color:var(--primary-color);
}
.article-main .entry-content h2:first-child,
.article-main .entry-content h3:first-child{margin-top:0}
.article-main .entry-content p{margin-bottom:14px}
.article-main .entry-content strong{color:var(--primary-color)}
.article-main .bluf-box{
  background:rgba(37,99,235,.06);
  border-left:4px solid var(--accent-color);
  padding:16px 20px;
  margin-bottom:24px;
  border-radius:0 10px 10px 0;
  font-size:15px;
  line-height:1.7;
  color:var(--text-main);
}
.article-main .article-footer-note{
  font-size:12px;
  color:var(--color-muted);
  margin-top:24px;
  padding-top:16px;
  border-top:1px dashed var(--color-border);
}
.article-main .article-nav-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid var(--color-border);
}
.article-main .article-nav-row .prev-next{
  font-size:13px;
  color:var(--color-muted);
}
.article-main .article-nav-row .prev-next a{color:var(--accent-color)}
.article-main .article-nav-row .btns{display:flex;gap:10px;flex-wrap:wrap}

/* 上一篇/下一篇：卡片式交互 */
.article-prevnext{
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid var(--color-border);
}
.article-prevnext-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:20px;
}
.article-prevnext-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:14px 16px;
  background:var(--bg-light);
  border:1px solid var(--color-border);
  border-radius:10px;
  color:var(--text-main);
  text-decoration:none;
  transition:border-color .2s, background .2s, color .2s, transform .15s;
}
.article-prevnext-card:hover{
  border-color:var(--accent-color);
  background:rgba(37,99,235,.04);
  color:var(--accent-color);
  transform:translateY(-2px);
}
.article-prevnext-card:active{
  transform:translateY(0);
}
.article-prevnext-card .prevnext-label,
.article-prevnext-card .label{
  font-size:12px;
  color:var(--color-muted);
  font-weight:500;
}
.article-prevnext-card:hover .prevnext-label,
.article-prevnext-card:hover .label{color:var(--accent-color)}
.article-prevnext-card .prevnext-title,
.article-prevnext-card .title{
  font-size:14px;
  font-weight:600;
  line-height:1.45;
}
.article-prevnext-card.article-prev{text-align:left}
.article-prevnext-card.article-next{text-align:right}
.article-prevnext-card.article-prev-empty,
.article-prevnext-card.article-next-empty{
  cursor:default;
  opacity:.6;
}
.article-prevnext-card.article-prev-empty:hover,
.article-prevnext-card.article-next-empty:hover{
  transform:none;
  border-color:var(--color-border);
  background:var(--bg-light);
  color:var(--text-main);
}
.article-prevnext .article-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
  margin-left:auto;
}

/* 右侧推荐阅读 */
.article-recommend-title{
  font-size:15px;
  font-weight:600;
  color:var(--primary-color);
  margin-bottom:14px;
  padding-bottom:8px;
  border-bottom:2px solid var(--accent-color);
}
.article-recommend-list{
  list-style:none;
  margin:0;
  padding:0;
}
.article-recommend-list li{
  padding:0;
  margin:0;
  border:0;
}
.article-recommend-list li::before{display:none}
.article-recommend-list a{
  display:block;
  padding:12px 0;
  border-bottom:1px solid var(--color-border);
  font-size:14px;
  color:var(--text-main);
  transition:background .2s, color .2s;
}
.article-recommend-list a:hover{
  background:rgba(37,99,235,.05);
  color:var(--accent-color);
}
.article-recommend-list a:last-child{border-bottom:none}
.article-recommend-list .rec-date{
  font-size:11px;
  color:var(--color-muted);
  margin-top:4px;
}
.article-recommend-list .rec-cat{
  font-size:11px;
  color:var(--accent-color);
  margin-top:2px;
}

/* 移动端：隐藏左侧栏，右侧移到底部 */
@media (max-width:1024px){
  .article-layout-threecol{
    grid-template-columns:1fr 260px;
    gap:20px;
  }
  .article-sidebar-left{display:none}
  .article-float-wechat{display:flex}
}
@media (max-width:768px){
  .article-layout-threecol{
    grid-template-columns:1fr;
    padding:24px 16px 32px;
  }
  .article-sidebar-right{
    order:2;
    margin-top:24px;
    padding-top:24px;
    border-top:1px solid var(--color-border);
  }
  .article-hero-theme{min-height:220px;padding:32px 16px 24px}
  .article-hero-theme h1{font-size:22px}
}

/* 文章页三栏（.article-threecol）移动端：左栏联系方式在正文上方整块显示，右栏下移，保留悬浮微信 */
@media (max-width:900px){
  .article-threecol .article-col-left{
    display:block;
    float:none;
    width:100%;
    margin-bottom:20px;
    padding:16px;
    background:var(--color-bg-subtle, #f8fafc);
    border-radius:12px;
    border:1px solid var(--color-border);
  }
  .article-threecol .article-col-middle{
    float:none;
    width:100%;
    margin-left:0;
    padding-right:0;
  }
  .article-threecol .article-col-right{
    float:none;
    width:100%;
    margin-top:24px;
    padding-top:24px;
    border-top:1px solid var(--color-border);
  }
  .main-card .article-float-wechat{display:flex}
}
@media (max-width:768px){
  .article-box-bottom{padding:0 16px 32px}
  .article-title-block{margin:48px 0 36px}
  .article-title-block h1{font-size:26px}
  .article-threecol .article-col-right{margin-top:20px;padding-top:20px}
  .article-recommend-box .article-recommend-list a{white-space:normal}
  .article-prevnext{flex-direction:column;gap:12px;margin-top:24px;padding-top:20px}
  .article-actions{flex-direction:row;justify-content:flex-end;align-items:center}
  .article-actions .btn{width:auto;justify-content:center}
  .article-col-middle .article-body table{display:block;overflow-x:auto;max-width:100%}
}

/* 右下角悬浮微信按钮（移动端） */
.article-float-wechat{
  display:none;
  position:fixed;
  right:20px;
  bottom:24px;
  width:56px;
  height:56px;
  border-radius:50%;
  background:var(--accent-color);
  color:#fff;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 16px rgba(37,99,235,.4);
  z-index:40;
  cursor:pointer;
  transition:transform .2s, box-shadow .2s;
}
.article-float-wechat:hover{
  transform:scale(1.05);
  box-shadow:0 6px 20px rgba(37,99,235,.5);
}
.article-float-wechat svg{
  width:28px;
  height:28px;
}
.article-wechat-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:100;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.article-wechat-modal.open{display:flex}
.article-wechat-modal .modal-inner{
  background:#fff;
  padding:24px;
  border-radius:16px;
  text-align:center;
}
.article-wechat-modal .modal-inner h4{margin-bottom:12px;font-size:16px}
.article-wechat-modal .qrcode-placeholder{
  width:180px;
  height:180px;
  border:1px dashed var(--color-border);
  border-radius:12px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--color-muted);
  font-size:13px;
}

/* 侵犯商业秘密罪常见困境的css样式 */
.pain-point {
  background-color: #fff3cd; /* 浅黄色背景，像警告提示 */
  color: #856404;            /* 深黄色文字 */
  border-left: 4px solid #ffc107; /* 左侧加一条黄色竖线 */
  padding: 12px 15px;        /* 内边距，让文字不贴边 */
  margin-bottom: 15px;       /* 下方留白 */
  font-size: 0.95em;         /* 稍微小一点的字号 */
  border-radius: 4px;        /* 圆角 */
}

/* 如果你想在移动端也好看，可以确保它不换行奇怪 */
@media (max-width: 600px) {
  .pain-point {
    font-size: 0.9em;
  }
}
