/* 知恒官网原型 — 共享样式 */
/* 主色：高级灰（石墨），参考中伦官网黑白灰体系；知恒红仅作小面积点缀 */
:root {
  --navy: #2f3338;
  --navy-light: #454b52;
  --navy-mid: #737a83;
  --navy-deep: #212427;
  --navy-rgb: 47, 51, 56;
  --navy-light-rgb: 69, 75, 82;
  --navy-deep-rgb: 33, 36, 39;
  --brand-scrim: rgba(33, 36, 39, 0.78);
  --brand-scrim-heavy: rgba(24, 26, 28, 0.86);
  --brand-scrim-neutral: rgba(12, 13, 14, 0.5);
  --accent: #b21f2a;
  --accent-light: #c93440;
  --accent-soft: #f3e7e9;
  --gold: var(--accent);
  --gold-light: var(--accent-light);
  --text: #1c1c1c;
  --text-muted: #5c6370;
  --border: #e8eaed;
  --bg: #f7f8fa;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(33, 36, 39, 0.08);
  --shadow-lg: 0 12px 48px rgba(33, 36, 39, 0.12);
  --surface-photo-1: #f4f5f7;
  --surface-photo-2: #eaecef;
  --surface-photo-3: #e0e4e9;
  --header-h: 84px;
  --max-w: 1280px;
  /* 子页 Banner：360px +10% ≈ 396px @1920 */
  --banner-h: clamp(185px, 20.625vw, 396px);
  --font-sans: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-serif: var(--font-sans);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6,
.section-title, .section-label,
.breadcrumb, .breadcrumb--light,
.page-hero, .about-hero,
.profile-main, .prose, .lawyer-bio {
  font-family: var(--font-sans);
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: visible;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255,255,255,0.88);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 40px;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.logo-text > span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow: visible;
}

.nav-item {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-item.is-open > .nav-link {
  color: var(--navy);
}

.nav-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 0;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link span {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
  background: var(--accent);
}

/* Mega dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 520px;
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(var(--navy-rgb), 0.08);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow-lg);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
  pointer-events: none;
  z-index: 1100;
}

.mega-menu a,
.mega-menu h4,
.mega-menu .office-tag {
  color: var(--text);
}

.mega-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}

.mega-wide,
.mega-wide--offices {
  position: fixed;
  left: 50%;
  top: calc(var(--header-h) - 2px);
  transform: translateX(-50%);
  max-height: calc(100vh - var(--header-h) - 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mega-wide {
  width: min(980px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 340px 1fr;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-feature {
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--brand-scrim-heavy), var(--brand-scrim-heavy)),
    linear-gradient(var(--brand-scrim-neutral), var(--brand-scrim-neutral)),
    url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/v2-slides/slide-03-office-sunset.jpg');
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: 34px 36px;
  min-height: 230px;
}

.mega-feature span {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 18px;
}

.mega-feature h3 {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 14px;
}

.mega-feature p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  padding: 34px 38px;
  background: linear-gradient(180deg, #fff, #fafbfc);
}

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

.mega-menu h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.mega-columns a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(var(--navy-rgb), 0.06);
  transition: color var(--transition), padding-left var(--transition);
}

.mega-columns a:hover {
  color: var(--navy);
  padding-left: 8px;
}

.mega-wide--offices {
  width: min(1040px, calc(100vw - 48px));
  grid-template-columns: 280px 1fr;
}

.mega-feature--compact {
  min-height: 0;
  padding: 28px 30px;
}

.mega-feature--compact h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.mega-feature--compact p {
  font-size: 12px;
  line-height: 1.7;
}

.office-mega {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 24px;
  padding: 22px 28px 26px;
  background: linear-gradient(180deg, #fff, #fafbfc);
  align-content: start;
}

.office-mega-col h4 {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-family: var(--font-sans);
}

.office-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
}

.office-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  background: rgba(var(--navy-rgb), 0.04);
  border-radius: 4px;
  border: none;
  transition: color var(--transition), background var(--transition);
}

.office-tag:hover {
  color: var(--navy);
  background: rgba(var(--navy-rgb), 0.08);
  padding-left: 8px;
}

.office-tag-mark {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.search-toggle:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* 语言切换：中文 | EN（红圈所通用做法） */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.lang-option {
  padding: 8px 6px;
  color: var(--text-muted);
  border-radius: 4px;
  transition: color var(--transition);
}

.lang-option:not(.is-active):hover {
  color: var(--navy);
}

.lang-option.is-active {
  color: var(--navy);
  font-weight: 600;
  cursor: default;
}

.lang-divider {
  color: #d0d4da;
  font-size: 12px;
  user-select: none;
  padding: 0 2px;
}

.mobile-nav .mobile-lang {
  padding: 0 24px 8px;
}
.mobile-lang {
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .lang-dropdown__btn,
.mobile-lang .lang-dropdown__btn {
  color: #1c1c1c;
  padding-left: 0;
}
.mobile-nav .lang-dropdown__menu {
  position: relative;
  right: auto;
  top: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-lang .lang-switcher {
  font-size: 15px;
}

.mobile-lang .lang-option {
  padding: 10px 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 16, 28, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 24px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-panel {
  width: min(680px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.search-box {
  width: 100%;
  margin: 0;
  background: var(--white);
  border-radius: 16px;
  padding: 8px 8px 8px 16px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform var(--transition);
}

.search-overlay.open .search-box { transform: translateY(0); }

.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.search-box input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 12px 0;
  font-family: inherit;
}

.search-box button,
.search-box .search-go {
  flex: 0 0 auto;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  min-height: 44px;
  height: auto;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  cursor: pointer;
  transition: background var(--transition);
}

.search-box button:hover { background: var(--navy-light); }

.search-hints {
  width: 100%;
  margin: 16px 0 0;
  padding: 0 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.search-hints a {
  color: var(--white);
  margin-left: 8px;
}

/* ── Hero ── */
.hero--split {
  display: grid;
  grid-template-columns: minmax(300px, 36%) 1fr;
  min-height: calc(100vh - var(--header-h));
  max-height: 820px;
  margin-top: var(--header-h);
  background: var(--white);
}

.hero-copy {
  display: flex;
  align-items: center;
  padding: 56px clamp(24px, 5vw, 72px);
  border-right: 1px solid var(--border);
}

.hero-copy-inner {
  max-width: 440px;
}

.hero-copy .section-label {
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-copy .btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.hero-copy .btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-metric strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-metric span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-media {
  background: #e8eef3 url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/banner-alt.jpg') center / cover no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.hero-copy .btn-outline.btn-outline--dark {
  color: var(--navy);
  border: 1px solid var(--border);
}

.hero-copy .btn-outline.btn-outline--dark:hover {
  border-color: var(--navy);
  background: rgba(var(--navy-rgb), 0.04);
  color: var(--navy);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

/* ── Section common ── */
.section {
  padding: 96px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.section-desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.link-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-more:hover { color: var(--gold); }

.link-more::after {
  content: '→';
  transition: transform var(--transition);
}

.link-more:hover::after { transform: translateX(4px); }

/* ── Hot feed ── */
.hot-section { background: var(--bg); }

.hot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.hot-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: transform var(--transition);
}

.hot-featured:hover { transform: translateY(-4px); }

.hot-featured-bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(
      to top,
      rgba(var(--navy-deep-rgb), 0.94) 0%,
      rgba(var(--navy-deep-rgb), 0.72) 16%,
      rgba(var(--navy-deep-rgb), 0.28) 28%,
      rgba(var(--navy-rgb), 0) 42%
    ),
    url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/news/hot-featured-partner.png');
  background-position: center 35%;
  background-size: cover;
  transition: transform 0.6s ease;
}

.hot-featured:hover .hot-featured-bg { transform: scale(1.03); }

.hot-featured-content { position: relative; z-index: 1; }

.hot-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.hot-featured h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
}

.hot-featured time {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hot-item {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.hot-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.hot-item-date {
  flex-shrink: 0;
  text-align: center;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 8px;
  min-width: 56px;
}

.hot-item-date strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.hot-item-date span {
  font-size: 11px;
  color: var(--text-muted);
}

.hot-item-body h4 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 6px;
}

.hot-item-body .cat {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
}

/* ── History ── */
.history-section {
  background:
    linear-gradient(90deg, rgba(247,248,250,0.96), rgba(247,248,250,0.84)),
    radial-gradient(circle at 12% 30%, rgba(47,51,56,0.07), transparent 34%),
    var(--bg);
}

.history-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 64px;
  align-items: start;
}

.history-intro {
  position: sticky;
  top: calc(var(--header-h) + 42px);
  padding: 8px 0;
}

.history-intro .section-title {
  font-size: clamp(30px, 3.5vw, 42px);
}

.history-intro .link-more {
  margin-top: 30px;
}

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

.history-card {
  min-height: 245px;
  padding: 32px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(var(--navy-rgb), 0.08);
  box-shadow: 0 8px 28px rgba(var(--navy-rgb), 0.06);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.history-card::before {
  content: '';
  position: absolute;
  right: -44px;
  top: -44px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(47,51,56,0.18);
}

.history-card::after {
  content: '';
  position: absolute;
  left: 32px;
  bottom: 0;
  width: 54px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform var(--transition);
}

.history-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(47,51,56,0.3);
}

.history-card:hover::after {
  transform: scaleX(1);
}

.history-card.is-emphasis {
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--brand-scrim-heavy), var(--brand-scrim-heavy)),
    linear-gradient(var(--brand-scrim-neutral), var(--brand-scrim-neutral)),
    url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/banner-main.jpg');
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.history-year {
  display: block;
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.history-card.is-emphasis .history-year { color: var(--white); }

.history-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 12px;
}

.history-card.is-emphasis h3 {
  color: var(--white);
}

.history-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.history-card.is-emphasis p {
  color: rgba(255,255,255,0.72);
}

/* ── Practice areas ── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.practice-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all var(--transition);
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.practice-card:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.practice-card:hover::before { transform: scaleX(1); }

.practice-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.practice-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.practice-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 业务领域：细线网格（序号 + 中英文 + 简介，参考图样式） */
.practice-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.practice-list__item {
  display: block;
  padding: 30px 26px 28px;
  background: var(--white);
  transition: background var(--transition);
}

.practice-list__item:hover { background: rgba(var(--navy-rgb), 0.03); }

.practice-list__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.practice-list__item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.4;
  transition: color var(--transition);
}

.practice-list__item:hover h3 { color: var(--accent); }

.practice-list__en {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 12px;
}

.practice-list__item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .practice-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .practice-list { grid-template-columns: 1fr; }
}

/* 业务领域：左导航 + 右详情双栏（参考泰和泰专业领域，配色随整站） */
.practice-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 44px;
  align-items: start;
}

.practice-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.practice-nav__head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.practice-nav__head h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.practice-nav__list { padding: 10px 0; }

.practice-nav__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 22px 12px 21px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.practice-nav__item:hover {
  color: var(--navy);
  background: rgba(var(--navy-rgb), 0.02);
}

.practice-nav__item.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(178, 31, 42, 0.04);
  font-weight: 600;
}

.practice-panel { display: none; }

.practice-panel.is-active {
  display: block;
  animation: practicePanelIn 0.4s ease;
}

@keyframes practicePanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.practice-panel__head {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.practice-panel__head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.practice-panel__head h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.practice-panel__en {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.practice-panel__desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 26px;
}

.practice-panel__desc p {
  margin: 0 0 1em;
}

.practice-panel__desc p:last-child {
  margin-bottom: 0;
}

.practice-section {
  margin-top: 40px;
  padding-top: 0;
  border-top: none;
}

.practice-section.related-block {
  margin-top: 40px;
  padding-top: 0;
  border-top: none;
}

.practice-section__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 22px;
  position: relative;
  padding-bottom: 10px;
}

.practice-section__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2em;
  height: 3px;
  background: var(--accent);
}

.practice-contacts {
  overflow: hidden;
}

.practice-contacts__track {
  position: relative;
}

.practice-contacts__slide {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: stretch;
}

.practice-contacts__slide.is-active {
  display: grid;
}

/* 横排小图卡片：左图右文（名称/岗位/所在地/电话） */
.practice-contact-card {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  min-height: 106px;
}

.practice-contact-card__photo {
  flex: 0 0 82px;
  width: 82px;
  height: 106px;
  overflow: hidden;
  background: #eee;
}

.practice-contact-card__photo img {
  width: 82px !important;
  height: 106px !important;
  max-width: none !important;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.practice-contact-card__body {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
}

.practice-contact-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
}

.practice-contact-card__title {
  font-size: 12px;
  color: #8a8a8a;
  line-height: 1.35;
  margin: 0;
}

.practice-contact-card__office {
  font-size: 12px;
  color: var(--accent);
  line-height: 1.35;
  margin: 0;
}

.practice-contact-card__phone {
  font-size: 12px;
  color: #8a8a8a;
  line-height: 1.35;
  margin: 0;
  word-break: break-all;
}

.practice-contact-card:hover .practice-contact-card__name {
  color: var(--accent);
}

.practice-contacts__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.practice-contacts__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #c8c8c8;
  background: #fff;
  cursor: pointer;
}

.practice-contacts__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.practice-contacts__more {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.practice-contacts__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 148px;
  height: 44px;
  padding: 0 18px 1px;
  background: #c8102e;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1;
  border: none;
  border-radius: 0;
  clip-path: polygon(8% 0, 92% 0, 100% 14%, 100% 86%, 92% 100%, 8% 100%, 0 86%, 0 14%);
}

.practice-contacts__more-btn:hover {
  background: #a50d26;
  color: #fff !important;
}

.practice-related-news {
  list-style: none;
  margin: 0;
  padding: 0;
}

.practice-related-news li {
  margin: 0;
  padding: 13px 0;
  border-top: none;
  border-bottom: 1px dotted #cfcfcf;
  list-style: none;
}

.practice-related-news li:first-child {
  border-top: 1px dotted #cfcfcf;
}

.practice-related-news a {
  display: block;
  color: #222;
  text-decoration: none;
  line-height: 1.65;
  font-size: 15px;
}

.practice-related-news__empty {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted, #666);
}
.practice-related-news a:hover,
.practice-related-news a:focus-visible {
  color: var(--accent);
}

.practice-section__more-link,
.practice-section--news .practice-section__more-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.practice-section__more-link:hover {
  color: var(--accent-light) !important;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .practice-contacts__slide {
    grid-template-columns: 1fr;
  }
}

/* 领域详情：随面板直接展示 */
.practice-panel__detail {
  margin-top: 2px;
  animation: practicePanelIn 0.4s ease;
}

.practice-panel__section { margin-bottom: 30px; }

.practice-panel__section > h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.practice-panel__detail .practice-panel__list { margin-bottom: 0; }

.practice-panel__lawyers {
  grid-template-columns: repeat(2, minmax(0, 300px)) !important;
  gap: 16px;
}

.practice-panel__lawyers .lawyer-card {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}

.practice-panel__lawyers .lawyer-info .title { color: var(--gold); }
.practice-panel__lawyers .lawyer-info .areas { color: var(--text-muted); }

.practice-panel__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 30px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.practice-panel__cta-info h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.practice-panel__cta-phone {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
}

.practice-panel__cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.practice-panel__cta-actions .btn-outline {
  color: var(--navy);
  border-color: var(--border);
}

.practice-panel__cta-actions .btn-outline:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(var(--navy-rgb), 0.03);
}

.practice-panel__list {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 10px 32px;
}

.practice-panel__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.practice-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(178, 31, 42, 0.45);
}

@media (max-width: 1024px) {
  .practice-layout { grid-template-columns: 1fr; gap: 28px; }
  .practice-nav { position: static; }
  .practice-nav__head {
    padding: 0 4px 8px;
  }
  .practice-nav__list {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 4px 2px 10px;
  }
  .practice-nav__list::-webkit-scrollbar { display: none; }
  .practice-nav__list li { flex-shrink: 0; list-style: none; }
  .practice-nav__item {
    border-left: none;
    border-bottom: none;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #333;
    font-size: 13px;
  }
  .practice-nav__item.is-active {
    border-left-color: transparent;
    border-bottom-color: transparent;
    background: #1a1a1a;
    color: #fff;
  }
}

.practice-contacts__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 12px 0 4px;
}
.practice-contacts__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.practice-contacts__arrow:hover {
  border-color: #111;
}
.practice-contacts__dots {
  gap: 10px;
}
.practice-contacts__dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
}

/* ── Lawyers preview ── */
.lawyers-preview { background: var(--navy); color: var(--white); }

.lawyers-preview .section-label { color: rgba(255,255,255,0.75); }
.lawyers-preview .section-title { color: var(--white); }
.lawyers-preview .section-desc { color: rgba(255,255,255,0.6); }
.lawyers-preview .link-more { color: rgba(255,255,255,0.9); }

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

.lawyer-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.lawyer-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.4);
}

.lawyer-photo {
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.28);
  font-family: var(--font-serif);
}

.lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.lawyer-info { padding: 20px; }

.lawyer-info h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.lawyer-info .title {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}

.lawyer-info .areas {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ── CTA band ── */
.cta-band {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}

.cta-band .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.cta-band .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}

.cta-phone {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 36px 0 28px;
}

.footer-grid {
  display: none;
}

.footer-brand,
.footer-col {
  display: none;
}

.footer-brand .footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo-icon {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-brand .footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand .footer-logo-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}

.footer-brand .footer-logo-text > span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  color: rgba(255,255,255,0.55);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-social a:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ── Page header (inner pages) ── */
.page-hero {
  margin-top: var(--header-h);
  background: var(--navy);
  height: var(--banner-h);
  min-height: 0;
  max-height: var(--banner-h);
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -50%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.page-hero h1 {
  font-family: var(--font-sans);
  font-size: 36px;
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
}

.page-hero .breadcrumb {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.page-hero .breadcrumb a:hover { color: var(--white); }

/* ── Lawyer search page ── */
.lawyer-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 48px 0 96px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.filter-panel h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.filter-group { margin-bottom: 24px; }

.filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.filter-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.filter-input:focus { border-color: var(--navy); }

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

.chip {
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text-muted);
}

.chip:hover, .chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.filter-reset {
  width: 100%;
  padding: 10px;
  background: var(--bg);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 8px;
}

.filter-reset:hover { background: var(--border); }

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: 14px;
  color: var(--text-muted);
}

.results-count strong { color: var(--navy); }

.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

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

.lawyer-grid .lawyer-card {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}

.lawyer-grid .lawyer-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.lawyer-grid .lawyer-photo {
  aspect-ratio: 3/4;
  font-size: 36px;
  background: var(--surface-photo-1);
  color: var(--navy);
  opacity: 1;
  padding: 0;
}

.lawyer-grid .lawyer-info .title { color: var(--gold); }
.lawyer-grid .lawyer-info .areas { color: var(--text-muted); }

.lawyer-grid .lawyer-info .office {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Lawyer detail ── */
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  padding: 48px 0 96px;
  align-items: start;
}

.profile-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
}

.profile-photo {
  aspect-ratio: 3/4;
  background: var(--surface-photo-1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--navy);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.profile-card-body { padding: 28px 24px; }

.profile-card-body h1 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 4px;
}

.profile-card-body .role {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

.profile-contact {
  text-align: left;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.profile-contact dt {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.profile-contact dd {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 12px;
}

.profile-contact dd:last-child { margin-bottom: 0; }

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-actions .btn {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 12px;
}

.profile-actions .btn-navy {
  background: var(--navy);
  color: var(--white);
}

.profile-actions .btn-navy:hover { background: var(--navy-light); }

.profile-actions .btn-ghost {
  background: var(--bg);
  color: var(--navy);
  border: 1px solid var(--border);
}

.profile-actions .btn-ghost:hover { background: var(--border); }

.profile-main section {
  margin-bottom: 40px;
}

.profile-main h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.profile-tags .tag {
  padding: 6px 14px;
  background: var(--bg);
  border-radius: 20px;
  font-size: 13px;
  color: var(--navy);
}

.profile-main p, .profile-main li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.profile-main ul { padding-left: 20px; list-style: disc; }
.profile-main li { margin-bottom: 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-item { grid-template-columns: 1fr; gap: 8px; }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .client-wall { grid-template-columns: repeat(4, 1fr); }
  .about-intro-badge { right: 16px; bottom: -16px; }
  .practice-grid, .lawyer-cards { grid-template-columns: repeat(2, 1fr); }
  .hot-grid { grid-template-columns: 1fr; }
  .history-layout { grid-template-columns: 1fr; gap: 36px; }
  .history-intro { position: static; }
  .lawyer-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyer-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; }
  .logo { gap: 8px; min-width: 0; }
  .logo-text { min-width: 0; }
  .logo-text strong { font-size: 14px; }
  .about-hero:not(.about-hero--slice) { min-height: 360px; }
  .about-hero-stats { gap: 24px; }
  .about-section { padding: 64px 0; }
  .culture-grid, .pub-grid, .honor-grid, .advantage-grid { grid-template-columns: 1fr; }
  .client-wall { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .client-cell { padding: 14px 16px; }
  .about-milestone { grid-template-columns: 1fr; gap: 8px; }
  .about-intro-badge { position: static; margin-top: 20px; display: inline-block; }
  .main-nav { display: none; }
  .header-actions .search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  .menu-toggle { display: block; }
  .hero--split {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }

  .hero-media {
    order: -1;
    min-height: 280px;
  }

  .hero-copy {
    padding: 40px 24px 48px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .practice-grid, .lawyer-cards, .lawyer-grid, .history-cards { grid-template-columns: 1fr; }
  .mega-menu { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .history-card { min-height: auto; padding: 28px; }
  .article-header h1 { font-size: clamp(22px, 6vw, 28px); }
  .page-body { padding: 36px 0 64px; }
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--white);
  padding: 72px 0 0;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.mobile-nav__body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px 12px;
}
.mobile-nav__foot {
  flex: 0 0 auto;
  padding: 4px 24px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-nav.open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .sub a {
  padding: 12px 0 12px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
}
.mobile-nav__sub .sub {
  max-height: none;
  overflow: visible;
}
.mobile-nav__sub {
  border-bottom: 1px solid var(--border);
}
.mobile-nav__sub summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
}
.mobile-nav__sub summary::-webkit-details-marker {
  display: none;
}
.mobile-nav__sub summary::after {
  content: '';
  float: right;
  margin-top: 8px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.mobile-nav__sub[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 12px;
}

/* ── Inner pages common ── */
.page-body { padding: 56px 0 96px; }
.page-body.bg { background: #fbfaf7; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* Hide site-wide crumbs under banners; news/insights no longer show contact sidebar */
.breadcrumb,
.about-crumb,
.office-crumb {
  display: none !important;
}
body[data-page="news"] .sidebar-card,
body[data-page="insights"] .sidebar-card {
  display: none !important;
}
body[data-page="news"] .content-grid,
body[data-page="insights"] .content-grid {
  grid-template-columns: 1fr;
}
body[data-page="about"] .cta-band {
  display: none !important;
}

.sidebar-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.sidebar-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 16px;
}

.sidebar-card .cta-phone {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold);
  margin: 8px 0 16px;
}

.sidebar-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  margin: 40px 0 16px;
}

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

.prose p, .prose li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
}
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }

.prose ul { padding-left: 20px; list-style: disc; margin: 12px 0; }
.prose li { margin-bottom: 8px; }

.prose img {
  display: block !important;
  width: 50% !important;
  max-width: 50% !important;
  height: auto !important;
  margin: 20px auto !important;
  object-fit: contain;
}

@media (max-width: 640px) {
  .prose img {
    width: 86% !important;
    max-width: 86% !important;
  }
}

.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: #8a6a2a; }

.prose table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* News tabs */
.news-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.news-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.news-tab:hover { color: var(--navy); background: var(--bg); }
.news-tab.active {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.article-list { display: flex; flex-direction: column; gap: 0; }

.article-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.article-row:hover { background: rgba(247,248,250,0.6); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: 8px; }

.article-row-date {
  text-align: center;
  padding-top: 4px;
}

.article-row-date strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy);
  line-height: 1;
}

.article-row-date span {
  font-size: 12px;
  color: var(--text-muted);
}

.article-row .cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.article-row h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 8px;
}

.article-row .excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Article detail */
.page-body .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.page-body .breadcrumb a:hover { color: var(--navy); }

.article-header { max-width: none; margin-bottom: 40px; }

.article-header .cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cover {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 16px;
  background: var(--navy);
  margin-bottom: 40px;
}

.author-box {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg);
  border-radius: 16px;
  border-left: 4px solid var(--gold);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-photo-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--navy);
  overflow: hidden;
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.author-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.author-box-more { margin-top: 16px; text-align: center; }

.author-box h4 { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.author-box .role { font-size: 13px; color: var(--gold); margin-bottom: 8px; }
.author-box .contact { font-size: 13px; color: var(--text-muted); }
.author-qr {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* Offices */
.office-region-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.office-region-link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.office-region-link:hover {
  color: var(--accent);
  border-color: rgba(178, 31, 42, 0.35);
  background: rgba(178, 31, 42, 0.04);
}

.office-regions {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.office-region-head {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.office-region-head.has-bg {
  min-height: 112px;
  margin-bottom: 28px;
  padding: 28px 24px 20px;
  align-items: flex-end;
  border-bottom: none;
  background-color: #212427;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.office-region-head.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 20, 22, 0.72), rgba(18, 20, 22, 0.28));
  pointer-events: none;
}

.office-region-head.has-bg > * {
  position: relative;
  z-index: 1;
}

.office-region-head.has-bg .office-region-title,
.office-region-head.has-bg .office-region-count {
  color: #fff;
}

.office-region-head.has-bg::after {
  display: none;
}

.office-region-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
}

.office-region-title em {
  margin-left: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.office-region-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
}

.office-region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}

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

.office-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: all var(--transition);
}

.office-card--compact {
  padding: 16px 18px;
  border-radius: 10px;
}

.office-card--compact:hover {
  border-color: rgba(178, 31, 42, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* 照片卡片（知恒机构页） */
.office-card--photo {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
}

.office-card--photo:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.office-card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #454b52, #212427);
}

.office-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
  transition: transform 0.6s ease;
}

.office-card--photo:hover .office-card__photo img {
  transform: scale(1.08);
}

.office-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
  background: rgba(178, 31, 42, 0.88);
  border-radius: 999px;
}

.office-card-badge--overseas,
.office-card-badge + .office-card-badge {
  margin-left: 6px;
  background: rgba(33, 36, 39, 0.72);
  backdrop-filter: blur(4px);
}

.office-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 0 8px;
}

.office-card__city {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.office-card__city h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}

.office-card__intro {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.office-card--photo .office-card__en {
  margin-bottom: 0;
}
.office-card--photo p.office-card__intro {
  margin-bottom: 0;
}

.office-card__name {
  font-size: 13px;
  color: var(--navy);
  line-height: 1.55;
  margin: 8px 0 0;
  font-weight: 500;
}

.office-card__meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  border-top: none;
}

.office-card__row {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.office-card__row svg {
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 3px;
  color: var(--navy-mid);
}

.office-card__row a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

.office-card__row a:hover {
  color: var(--accent);
}

.office-card__sep {
  margin: 0 4px;
  color: var(--text-muted);
}

.office-card__mail {
  word-break: break-all;
}

.office-card-name {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.office-card-phone {
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}

.office-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.office-card .region {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 8px;
}

.office-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
}

.office-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.office-card .meta {
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

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

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.contact-card.is-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 20px;
}

.contact-card.is-primary h3 { color: var(--white); }

.contact-item {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.contact-item dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-card.is-primary .contact-item { color: rgba(255,255,255,0.85); }
.contact-card:not(.is-primary) .contact-item { color: var(--text-muted); }
.contact-card:not(.is-primary) .contact-item dt { color: var(--text-muted); }

/* Search */
.search-page-form {
  max-width: 720px;
  margin: 0 auto 48px;
  display: flex;
  gap: 12px;
}

.search-page-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
}

.search-page-form input:focus { border-color: var(--navy); }

.search-page-form button {
  padding: 16px 32px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
}

.search-section { margin-bottom: 40px; }
.search-section h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.search-result {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.search-result:hover h3 { color: var(--gold); }

.search-result .type {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.search-result h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
  transition: color var(--transition);
}

.search-result p { font-size: 13px; color: var(--text-muted); }

/* About */
/* ── About page ── */
.about-hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}

.about-hero-bg {
  position: absolute;
  inset: -8%;
  background-color: var(--navy);
  background-image: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/v2-slides/slide-02-dusk-cityscape.jpg');
  background-position: center 38%;
  background-size: cover;
  animation: hero-ken 24s ease-in-out infinite alternate;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 24px 56px;
  width: 100%;
}

.breadcrumb--light {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.breadcrumb--light a:hover { color: var(--white); }

.about-hero-content { max-width: 640px; margin-bottom: 48px; }
.about-hero-content .section-label { color: rgba(255,255,255,0.78); }
.about-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 48px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
}

.about-hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.about-hero-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.about-hero-stats span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

.about-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.about-nav.is-stuck {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.about-nav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.about-nav-inner::-webkit-scrollbar { display: none; }

.about-nav a {
  flex-shrink: 0;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.about-nav a:hover { color: var(--navy); }
.about-nav a.is-active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.about-section {
  padding: 96px 0 88px;
  scroll-margin-top: calc(var(--header-h) + 52px);
}

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

.about-section--dark {
  background: var(--navy);
  color: var(--white);
}

.about-section--dark .section-label {
  color: rgba(255,255,255,0.78);
  letter-spacing: 2px;
}

.about-section--dark .about-section-head h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 12px;
}

.about-section--dark .about-section-head p {
  color: rgba(255,255,255,0.65);
}

.about-section-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.about-section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.about-section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--navy);
  margin-bottom: 12px;
}

.about-section-head p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-intro-block { max-width: 820px; }
.about-intro-block .about-intro-text h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 24px;
}
.about-intro-block .about-intro-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-more-btn { margin-top: 12px; }
/* 简介与宣传片并排：左文右视频 */
.about-intro-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: center;
}
.about-intro-split .about-intro-block { max-width: none; }
.about-video-side .about-video-label h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin-top: 8px;
  margin-bottom: 20px;
}
.about-video-player {
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}
.about-video-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.culture-source {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.5;
}
.culture-card--accent .culture-source { color: rgba(255,255,255,0.6); }
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.philosophy-card {
  padding: 36px 32px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.philosophy-card--accent {
  background: var(--navy);
  border-color: var(--navy);
}
.philosophy-card--accent .philosophy-tagline { color: var(--white); }
.philosophy-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.philosophy-tagline {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 16px;
}
.philosophy-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
}
.philosophy-card.philosophy-card--accent h3 {
  color: var(--white);
}
.philosophy-card.philosophy-card--accent p:not(.philosophy-tagline) {
  color: rgba(255, 255, 255, 0.82);
}
.qual-list {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.qual-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 28px 36px;
  border-bottom: 1px solid var(--border);
}
.qual-item:last-child { border-bottom: none; }
.qual-year {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
}
.qual-item p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
}
.qual-item strong { color: var(--navy); }
.service-area-content { max-width: 820px; }
.service-area-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.advantage-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all var(--transition);
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}
.advantage-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}
.about-more-prose h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  margin: 36px 0 16px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-intro-visual {
  position: relative;
}

.about-intro-image {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--brand-scrim), var(--brand-scrim)),
    linear-gradient(var(--brand-scrim-neutral), var(--brand-scrim-neutral)),
    url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/hero-v2-shenzhen-futian.jpg');
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-lg);
}

.about-intro-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-intro-badge span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.about-intro-badge strong {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1;
}

.about-intro-text h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 24px;
}

.about-intro-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-quote {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  background: var(--bg);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--navy);
  line-height: 1.7;
}

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

.culture-card {
  padding: 36px 28px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.culture-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.culture-card:hover::after { transform: scaleX(1); }

.culture-card--accent {
  background: var(--navy);
  border-color: var(--navy);
}

.culture-card--accent .culture-char { color: var(--white); }
.culture-card--accent::after { background: var(--gold); }

.culture-char {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.9;
}

.culture-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.culture-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}

.culture-card.culture-card--accent h3 {
  color: var(--white);
}

.culture-card.culture-card--accent p {
  color: rgba(255, 255, 255, 0.82);
}

/* 发展历程：横向年份条切换（样式参考中伦「我们的历史」，配色随整站浅色体系） */
.about-yearbar {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 51, 56, 0.28) transparent;
}

/* 年份过多时可横向滚动，显示细滚动条 */
.about-yearbar::-webkit-scrollbar { height: 5px; }
.about-yearbar::-webkit-scrollbar-track { background: transparent; }
.about-yearbar::-webkit-scrollbar-thumb {
  background: rgba(47, 51, 56, 0.24);
  border-radius: 3px;
}
.about-yearbar::-webkit-scrollbar-thumb:hover { background: rgba(47, 51, 56, 0.4); }

.about-yearbar-item {
  flex: 1 0 auto;
  min-width: 88px;
  padding: 18px 12px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy-mid);
  letter-spacing: 1px;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.about-yearbar-item:hover { color: var(--navy); }

.about-yearbar-item.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.about-year-panels {
  margin-top: 36px;
  min-height: 168px;
}

.about-year-panel { display: none; }

.about-year-panel.is-active {
  display: block;
  animation: aboutYearIn 0.4s ease;
}

@keyframes aboutYearIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

.milestone-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.milestone-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(178,31,42,0.45);
}

.milestone-list li:last-child { margin-bottom: 0; }

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

.honor-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 26px 30px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all var(--transition);
}

.honor-card:hover {
  background: var(--white);
  border-color: rgba(178,31,42,0.35);
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.honor-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.honor-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

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

@media (max-width: 1024px) {
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 关于页旧版刊物卡（.pub-cover）；列表页用下方 .pub-card__*，勿互相覆盖 */
#publications .pub-card,
.about-section .pub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition);
}

#publications .pub-card:hover,
.about-section .pub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.pub-cover {
  aspect-ratio: 3/4;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition);
}

#publications .pub-card:hover .pub-cover img,
.about-section .pub-card:hover .pub-cover img {
  transform: scale(1.03);
}

#publications .pub-card h3,
.about-section .pub-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 20px 20px 8px;
  line-height: 1.5;
}

#publications .pub-card p,
.about-section .pub-card p {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 20px;
  line-height: 1.6;
}

#publications .pub-card > span,
.about-section .pub-card > span {
  display: block;
  font-size: 11px;
  color: var(--gold);
  padding: 12px 20px 20px;
  font-weight: 500;
}

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

.client-cell {
  margin: 0;
  aspect-ratio: 5 / 3;
  min-height: 72px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.client-cell img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition);
}

.client-cell:hover {
  border-color: rgba(196, 163, 90, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.client-cell:hover img {
  transform: scale(1.03);
}

/* 红色主题预览：悬停时略提亮，保持统一感 */
html[data-theme="red"] .client-cell:hover {
  border-color: rgba(200, 155, 60, 0.55);
}

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

.about-stat {
  text-align: center;
  padding: 28px;
  background: var(--bg);
  border-radius: 12px;
}

.about-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 6px;
}

.about-stat span { font-size: 13px; color: var(--text-muted); }

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

.honor-item {
  padding: 20px 24px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid var(--gold);
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.client-logo {
  aspect-ratio: 2/1;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Careers */
.job-list { display: flex; flex-direction: column; gap: 16px; }

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  transition: all var(--transition);
}
.job-card .btn {
  align-self: center;
  flex-shrink: 0;
}
.job-card__reqs {
  margin: 8px 0 0;
  padding: 0 0 0 1.35em;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.75;
}
.job-card__reqs li { margin: 0 0 4px; }

.job-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.job-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.job-card p { font-size: 13px; color: var(--text-muted); }

.job-tags { display: flex; gap: 8px; margin-top: 10px; }
.job-tags span {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg);
  border-radius: 4px;
  color: var(--text-muted);
}

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sitemap-col h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.sitemap-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.sitemap-col a:hover { color: var(--navy); padding-left: 6px; }

/* Practice detail related */
.related-block { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-block h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .office-grid, .office-region-grid, .contact-grid, .about-stats, .honor-list, .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logos { grid-template-columns: repeat(3, 1fr); }
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-qr { margin: 0 auto; }
  .about-intro-split { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 768px) {
  .office-grid, .office-region-grid, .contact-grid, .about-stats, .honor-list, .sitemap-grid, .client-logos { grid-template-columns: 1fr; }
  .office-region-nav { gap: 6px; margin-bottom: 28px; }
  .office-regions { gap: 36px; }
  /* keep date beside title on mobile (ui-0821 overrides sizes) */
  .article-row { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .about-yearbar-item { min-width: 88px; font-size: 17px; padding: 14px 12px 12px; }
  .about-year-panels { margin-top: 28px; min-height: 220px; }
}

/* ── Demo UI 2026：减红、简导航、律师/领域/机构改版 ── */
.mega-wide.mega-simple {
  grid-template-columns: 1fr;
  width: min(720px, calc(100vw - 48px));
}
.mega-wide.mega-simple .mega-columns {
  padding: 20px 28px 24px;
}
.mega-wide.mega-wide--offices.mega-simple {
  width: min(980px, calc(100vw - 48px));
}
.mega-simple .mega-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.mega-wide.mega-simple:has(.mega-columns-3) {
  width: min(960px, calc(100vw - 48px));
}

@keyframes hero-ken {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-2.4%, -1.2%, 0); }
}

.page-hero {
  background: #1c1916;
  padding: 0;
  overflow: hidden;
  height: var(--banner-h);
  min-height: 0;
  max-height: var(--banner-h);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -8%;
  background: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/v2-slides/slide-02-dusk-cityscape.jpg') center 40%/cover no-repeat;
  filter: none;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  animation: hero-ken 22s ease-in-out infinite alternate;
}
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.page-hero:has(.page-hero-video)::before,
.about-hero:has(.page-hero-video) .about-hero-bg {
  opacity: 0;
}
.page-hero::after {
  display: block;
  right: auto;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(20, 16, 14, 0.34) 0%, rgba(20, 16, 14, 0.14) 48%, rgba(20, 16, 14, 0.05) 100%);
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 14px;
}
.page-hero h1 { color: var(--white); font-size: 30px; letter-spacing: 0.04em; margin-bottom: 0; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.72); }
.page-hero .breadcrumb a:hover { color: var(--white); }

body[data-page="practice"] .page-hero::before {
  background-image: var(--hero-image, url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/v2-slides/slide-03-office-sunset.jpg'));
}
body[data-page="offices"] .page-hero::before {
  background-image: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/hero-v2-shenzhen-futian.jpg');
}
body[data-page="lawyers"] .page-hero::before {
  background-image: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/v2-slides/slide-01-dusk-towers.jpg');
}
body[data-page="news"] .page-hero::before,
body[data-page="insights"] .page-hero::before {
  background-image: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/v2-slides/slide-02-dusk-cityscape.jpg');
  background-position: center 42%;
}
body[data-page="contact"] .page-hero::before,
body[data-page="careers"] .page-hero::before {
  background-image: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/banner-main.jpg');
}
body[data-page="search"] .page-hero::before {
  background-image: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/banner-alt.jpg');
}

.about-hero:not(.about-hero--slice) { background: #1c1916; min-height: 360px; overflow: hidden; }
.about-hero.about-hero--slice {
  min-height: 0;
  height: var(--banner-h);
  max-height: var(--banner-h);
  overflow: hidden;
  display: block;
  align-items: stretch;
}
.about-hero.about-hero--slice .about-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.about-hero-content { margin-bottom: 0; }
.about-hero-bg {
  filter: none;
  inset: -8%;
  background-image: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/v2-slides/slide-02-dusk-cityscape.jpg');
  background-position: center 38%;
  background-size: cover;
  animation: hero-ken 24s ease-in-out infinite alternate;
}
.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 16, 14, 0.32) 0%, rgba(20, 16, 14, 0.12) 52%, rgba(20, 16, 14, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}
.about-hero-stats--bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.about-hero-stats--bar .about-hero-stats__inner {
  display: flex;
  gap: 48px;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 40px 24px 36px;
}
.about-hero-stats--bar strong {
  display: block;
  font-size: 28px;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 6px;
  white-space: nowrap;
}
.about-hero-stats--bar span {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.about-intro-split {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: start;
  max-width: none;
}
.about-video-player {
  max-width: none;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow);
}

#honors,
#philosophy,
#qualifications,
#service-area,
#service-advantage,
#publications,
#clients {
  display: none !important;
}
.culture-card {
  background: #f7f8fa;
}
.culture-char { color: var(--accent); opacity: 1; }
.culture-card--accent {
  background: #f7f8fa;
  color: inherit;
}
.culture-card--accent .culture-char,
.culture-card.culture-card--accent h3,
.culture-card.culture-card--accent p,
.culture-card--accent .culture-source { color: inherit; }
.culture-card--accent .culture-char { color: var(--accent); }
.culture-card--accent::after { background: var(--accent); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.mission-card {
  position: relative;
  background: #f7f8fa;
  border: none;
  padding: 44px 40px 40px;
}
.mission-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.mission-card__en {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 10px;
}
.mission-card h3 {
  font-size: 36px;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 18px;
  font-weight: 600;
  line-height: 1.15;
}
.mission-card p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}

.cta-band {
  background: #f4f5f7;
}
.cta-band h2,
.cta-band p,
.cta-band .cta-phone { color: var(--navy); }
.cta-band p { opacity: 0.7; }
.cta-band .btn-outline {
  color: var(--navy);
  border-color: var(--border);
}

.lawyer-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.lawyer-grid .lawyer-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}
.lawyer-grid .lawyer-photo {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: none;
  overflow: hidden;
  padding: 0;
}
.lawyer-grid .lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.lawyer-grid .lawyer-info { padding: 14px 0 8px; }
.lawyer-grid .lawyer-info h3 { font-size: 16px; margin-bottom: 4px; }
.lawyer-grid .lawyer-info .title { font-size: 13px; color: var(--text-muted); }
.lawyer-grid .lawyer-info .areas { display: none; }
.lawyer-grid .lawyer-info .office {
  font-size: 12px;
  margin-top: 4px;
}
.lawyer-grid--compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lawyer-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.lawyer-top__photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-photo-1);
}
.lawyer-top__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.lawyer-top__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.lawyer-top h1 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 8px;
}
.lawyer-top .role {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}
.lawyer-top__actions.profile-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 14px;
  width: auto;
  flex: none;
  margin-top: 2px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--navy-mid);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.icon-btn:hover,
.icon-btn:focus-visible {
  color: var(--navy);
  background: rgba(12, 26, 50, 0.06);
  outline: none;
}
.icon-btn:hover::after,
.icon-btn:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  white-space: nowrap;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}
.profile-layout--flat {
  display: block;
  padding-top: 0;
}
.profile-layout--flat .profile-main section h2 {
  font-size: 18px;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.practice-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.practice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 0 20px;
  background: var(--white);
  border: 1px solid var(--border);
  min-height: 148px;
  overflow: hidden;
}
.practice-card__cover {
  display: block;
  width: 100%;
  height: 120px;
  background: #e8eef3 center/cover no-repeat;
}
.practice-card h3,
.practice-card p,
.practice-card > span:last-child {
  padding-left: 24px;
  padding-right: 24px;
}
.practice-card h3 {
  margin-top: 16px;
}
.practice-card h3 {
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}
.practice-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
}
.practice-card span {
  font-size: 12px;
  color: var(--text-muted);
}
.practice-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}
.practice-card:hover span { color: var(--accent); }

a.practice-nav__item { text-decoration: none; }

.contact-page {
  max-width: 1040px;
}
.contact-hq {
  padding-bottom: 36px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.contact-hq__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-hq h2 {
  font-size: 22px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 20px;
}
.contact-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
}
.contact-line span {
  color: var(--text-muted);
}
.contact-line p,
.contact-line a {
  color: var(--navy);
}
.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 48px;
  padding: 28px 0 8px;
}
.contact-mini {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-mini h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-mini h3 a:hover { color: var(--accent); }
.contact-mini p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 2px;
}
.contact-page__more {
  margin-top: 28px;
}

.office-detail-intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
  margin-bottom: 48px;
}
.office-detail-photo {
  margin: 0;
  max-width: none;
}
.office-detail-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: none;
}
.office-detail-copy h2 {
  margin-top: 0;
}
.office-detail-copy h2 + h2,
.office-detail-copy h2:not(:first-child) {
  margin-top: 28px;
}
.office-detail-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  font-size: 14px;
}
.office-detail-links span { color: var(--border); }
.office-detail-links a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .lawyer-grid { grid-template-columns: repeat(4, 1fr); }
  .lawyer-grid--compact { grid-template-columns: repeat(3, 1fr); }
  .practice-card-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyer-top { grid-template-columns: 160px 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .office-region-grid { grid-template-columns: repeat(3, 1fr); }
  .office-detail-intro { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .lawyer-grid,
  .lawyer-grid--compact,
  .practice-card-grid { grid-template-columns: 1fr 1fr; }
  .lawyer-top { grid-template-columns: 1fr; }
  .lawyer-top__heading { align-items: center; }
  .mega-simple .mega-columns-3 { grid-template-columns: 1fr; }
  .about-intro-split { grid-template-columns: 1fr; gap: 32px; }
  .office-region-grid { grid-template-columns: 1fr 1fr; }
  .mission-card { padding: 32px 24px; }
  .mission-card h3 { font-size: 28px; }
  .contact-list { grid-template-columns: 1fr; gap: 0; }
  .contact-line { grid-template-columns: 52px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::before,
  .about-hero-bg,
  .page-hero-video,
  .lawyers-hero::before {
    animation: none;
    transform: none;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Lawyers directory (mockup) ── */
.lawyers-hero {
  margin-top: var(--header-h);
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1c1c1c;
  overflow: hidden;
  background: #ece8e1;
}
body[data-page="lawyers"] .lawyers-hero.lawyers-hero--slice {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible;
  align-items: stretch;
  width: 100%;
}
.lawyers-hero::before {
  content: '';
  position: absolute;
  inset: -8%;
  background: url('https://zhihengweb.oss-cn-shenzhen.aliyuncs.com/site/assets/hero/lawyers-ink-mountains.jpg') center 46%/cover no-repeat;
  animation: hero-ken 22s ease-in-out infinite alternate;
}
.lawyers-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 252, 247, 0.12);
}
.lawyers-hero__inner {
  position: relative;
  z-index: 1;
}
.lawyers-hero__en {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
}
.lawyers-hero__zh {
  margin-top: 12px;
  font-size: 18px;
  letter-spacing: 0.48em;
  padding-left: 0.48em;
  font-weight: 400;
}

.lawyer-directory {
  background: transparent;
  padding-bottom: 72px;
  position: relative;
  z-index: 6;
  margin-top: 0;
  padding-top: 8px;
}
.lawyer-toolbar {
  background: transparent;
  border: none;
  position: relative;
  z-index: 8;
}
.lawyer-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  min-height: 56px;
  flex-wrap: nowrap;
  padding: 12px 20px;
  background: #fff;
  border-top: 2px solid #111;
  border-bottom: 2px solid #111;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.lawyer-directory > .container {
  background: #fff;
  padding-top: 28px;
}
.lawyer-filters {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}
.lawyer-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lawyer-select select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 20px 4px 0;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  font-family: inherit;
  color: #444;
  cursor: pointer;
  outline: none;
}
.lawyer-select select:focus,
.lawyer-select select:hover {
  border: none;
  font-size: 14px;
  color: #444;
}
.lawyer-select::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 50%;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #b0b4ba;
  transform: translateY(-30%);
  pointer-events: none;
}
.lawyer-toolbar__right {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}
.lawyer-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-width: 180px;
  flex: 1 1 220px;
  max-width: 420px;
  color: #9aa0a6;
}
.lawyer-search .filter-input {
  border: none;
  background: transparent;
  padding: 6px 0;
  font-size: 14px;
  line-height: 22px;
  border-radius: 0;
  color: #333;
}
.lawyer-search .filter-input:focus {
  border: none;
  outline: none;
}
.lawyer-search .filter-input::placeholder {
  color: #b0b4ba;
  font-size: 14px;
}
.lawyer-search__rule {
  width: 1px;
  height: 16px;
  background: #d8d8d8;
  flex-shrink: 0;
}
.lawyer-search__icon {
  flex-shrink: 0;
  color: #9aa0a6;
}
.lawyer-sort {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #444;
  white-space: nowrap;
  flex: 0 0 auto;
  padding-right: 2px;
}
.lawyer-sort span {
  font-size: 14px;
  font-weight: 400;
  color: #444;
}
.lawyer-sort .sort-select {
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  background: transparent;
  padding: 0 18px 0 0 !important;
  font-size: 14px !important;
  line-height: 22px;
  font-weight: 400;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  border-radius: 0 !important;
  outline: none;
}
.lawyer-sort::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #b0b4ba;
  transform: translateY(-30%);
  pointer-events: none;
}

.lawyer-directory .lawyer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 22px;
  padding: 36px 0 8px;
}
.lawyer-directory .lawyer-grid .lawyer-card {
  position: relative;
  border: none;
  background: transparent;
  box-shadow: none;
  color: #2a2e33;
}
.lawyer-directory .lawyer-grid .lawyer-card:hover {
  box-shadow: none;
  transform: none;
  background: transparent;
  border-color: transparent;
}
.lawyer-directory .lawyer-grid .lawyer-photo {
  border-radius: 12px;
  aspect-ratio: 3 / 3.4;
  background: #e8eaed;
}
.lawyer-directory .lawyer-grid .lawyer-photo img {
  object-fit: cover;
  object-position: center 12%;
}
.lawyer-directory .lawyer-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 36px 12px 12px;
  background: linear-gradient(180deg, rgba(8,12,18,0) 0%, rgba(8,12,18,0.78) 72%);
  border-radius: 0 0 12px 12px;
  pointer-events: none;
}
.lawyer-directory .lawyer-info h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 4px;
  color: #fff;
}
.lawyer-directory .lawyer-info .title,
.lawyer-directory .lawyer-info .areas {
  display: none !important;
}
.lawyer-directory .lawyer-info .office {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.86);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.lawyer-directory .lawyer-info .office::before {
  display: none;
  content: none;
}
.lawyer-directory .lawyer-pin {
  display: inline-block;
  width: 11px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16' fill='none'%3E%3Cpath d='M6 1.15c-2.4 0-4.35 1.9-4.35 4.25 0 2.86 3.55 7.95 4.12 8.74a.3.3 0 0 0 .46 0c.57-.79 4.12-5.88 4.12-8.74C10.35 3.05 8.4 1.15 6 1.15z' stroke='%23ffffff' stroke-width='1.15'/%3E%3Ccircle cx='6' cy='5.4' r='1.45' stroke='%23ffffff' stroke-width='1.15'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lawyer-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 36px 0 12px;
  font-size: 14px;
  color: #333;
}
.lawyer-pager__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}
.lawyer-pager button {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  padding: 4px 8px;
  min-width: 32px;
  height: 32px;
  line-height: 24px;
}
.lawyer-pager button:disabled {
  color: #c8c8c8;
  cursor: default;
}
.lawyer-pager__pages {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lawyer-pager__num {
  min-width: 32px;
  height: 32px;
  border-radius: 2px;
}
.lawyer-pager__num.is-active {
  background: var(--accent);
  color: #fff;
}
.lawyer-pager__arrow {
  font-size: 16px;
  line-height: 1;
}
.lawyer-pager__jump {
  display: none;
}
.lawyer-pager__input {
  width: 48px;
  height: 28px;
  border: 1px solid var(--border);
  text-align: center;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.lawyer-pager__go {
  background: var(--accent) !important;
  color: #fff !important;
  min-width: 44px;
  height: 28px;
  padding: 0 12px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.news-pager {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 14px;
}
.news-pager a { color: var(--navy); }
.news-pager .is-disabled { color: var(--text-muted); }

@media (max-width: 1024px) {
  .lawyer-directory .lawyer-grid { grid-template-columns: repeat(3, 1fr); }
  .lawyer-search { min-width: 140px; }
  .lawyer-toolbar__inner { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .lawyers-hero:not(.lawyers-hero--slice) { height: 200px; }
  .lawyers-hero__en { font-size: 24px; }
  .lawyer-directory { margin-top: 0; padding-top: 16px; }
  .lawyer-directory .lawyer-grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; padding-top: 12px; }
  .lawyer-directory .lawyer-grid .lawyer-photo { aspect-ratio: 3 / 3.5; }
  .lawyer-directory .lawyer-info { padding: 28px 10px 10px; }
  .lawyer-directory .lawyer-info h3 { font-size: 14px; margin-bottom: 2px; }
  .lawyer-pager { justify-content: center; }
}

/* 研究报告：中伦式竖版封面网格 + 悬浮遮罩 */
.report-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: #1c2430;
  color: #fff;
}
.report-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}
.report-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.report-toolbar select,
.report-toolbar input[type="search"] {
  min-width: 160px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  background: #fff;
  color: #1c2430;
  font-size: 14px;
}
.report-toolbar__search input { min-width: 220px; }
.report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.report-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 270 / 378;
  background: #0f1724;
  color: #fff;
  text-decoration: none;
}
.report-card img,
.report-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.report-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  background: linear-gradient(160deg, #1f4e79, #0f1724);
}
.report-card__mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 18px 20px;
  background: rgba(12, 18, 32, .78);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.report-card:hover img,
.report-card:hover .report-card__placeholder,
.report-card:focus-visible img,
.report-card:focus-visible .report-card__placeholder {
  transform: scale(1.08);
}
.report-card:hover .report-card__mask,
.report-card:focus-visible .report-card__mask {
  opacity: 1;
  transform: translateY(0);
}
.report-card__mask strong {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}
.report-card__mask em {
  margin-top: 6px;
  font-style: normal;
  font-size: 13px;
  opacity: .8;
}
.report-card__mask p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: .9;
}
.report-card__cta {
  margin-top: 14px;
  align-self: flex-start;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.85);
  font-size: 13px;
  letter-spacing: .04em;
}

@media (hover: none) {
  .report-card__mask {
    opacity: 1;
    transform: none;
    background: linear-gradient(180deg, rgba(12,18,32,.08) 28%, rgba(12,18,32,.88) 100%);
  }
}

@media (max-width: 1024px) {
  .report-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .report-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .report-toolbar { padding: 14px 12px; }
  .report-toolbar select,
  .report-toolbar input[type="search"] { min-width: 120px; width: 100%; }
}

/* 知恒刊物：中伦式封面 + 书名号标题 */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}
.pub-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #1c1c1c;
  text-decoration: none;
}
.pub-card__media {
  display: block;
  aspect-ratio: 270 / 378;
  background: #f3f5f8;
  box-shadow: 0 10px 28px rgba(15, 23, 36, .12);
  overflow: hidden;
}
.pub-card__cover,
.pub-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.pub-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  background: linear-gradient(160deg, #1f4e79, #0f1724);
}
.pub-card:hover .pub-card__cover,
.pub-card:hover .pub-card__placeholder,
.pub-card:focus-visible .pub-card__cover,
.pub-card:focus-visible .pub-card__placeholder {
  transform: scale(1.04);
}
.pub-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #1c1c1c !important;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.45;
  font-weight: 700;
  min-height: 2.9em;
  letter-spacing: 0.02em;
}
.pub-card:hover .pub-card__title,
.pub-card:focus-visible .pub-card__title {
  color: #1c1c1c !important;
}
@media (max-width: 1024px) {
  .pub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .pub-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .pub-card__title { font-size: 16px; }
}
