/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  background: #fff;
}
a { color: inherit; text-decoration: none; transition: color 0.25s, background 0.25s, border-color 0.25s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
  background: #222337;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  max-width: 1840px;
  padding: 0 50px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 70px;
}
.logo img {
  height: 62px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}
.logo-text { color: #fff; line-height: 1.3; }
.logo-text .cn { font-size: 18px; font-weight: 600; letter-spacing: 1px; }
.logo-text .en { font-size: 11px; opacity: 0.9; margin: 2px 0; }
.logo-text .tagline { font-size: 11px; opacity: 0.75; letter-spacing: 2px; }

.main-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.main-nav ul {
  display: flex;
  align-items: stretch;
  height: 70px;
}
/* 下拉菜单的 ul 覆盖主导航的 flex 布局 */
.main-nav .dropdown {
  display: block;
  height: auto;
}
.main-nav .dropdown li {
  display: block;
  height: auto;
  border-bottom: 1px solid #f0f0f0;
}
.main-nav .dropdown li:last-child { border-bottom: none; }
.main-nav li {
  position: relative;
  height: 70px;
}
.main-nav li.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  width: max-content;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 1001;
  display: block !important;
  height: auto !important;
}
/* 二级导航链接样式——权重高于 .main-nav a 和 .main-nav li:hover a */
.main-nav .dropdown a {
  display: block;
  height: auto;
  padding: 12px 20px;
  color: #666;
  font-size: 14px;
  white-space: nowrap;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0;
}
.main-nav .dropdown a::after { display: none; }
/* 父级 hover 时不影响二级菜单链接的默认颜色 */
.main-nav li:hover .dropdown a {
  background: transparent;
  color: #666;
}
/* 二级菜单项 hover：深蓝底 + 白字 */
.main-nav .dropdown a:hover,
.main-nav li:hover .dropdown a:hover {
  background: #003399;
  color: #fff;
}
.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 22px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 0;
  height: 3px;
  background: #003690;
  transform: translateX(-50%);
  transition: width 0.2s;
}
.main-nav li:hover a,
.main-nav li.active a {
  background: #fff;
  color: #222337;
}
.main-nav li:hover a::after,
.main-nav li.active a::after {
  width: 20px;
}

/* ===== Footer ===== */
.site-footer {
  background: #f7f7f9;
  padding-top: 40px;
}
.footer-brand {
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8e8;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 32px 0 40px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  flex: 0 1 auto;
  min-width: 0;
  column-gap: 90px;
  margin: 0;
  justify-content: start;
}
.footer-col h4 {
  font-size: 14px;
  color: #222;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}
.footer-col h4 + h4,
.footer-col ul + h4 {
  margin-top: 18px;
}
.footer-col h4 .ri-arrow-right-s-line {
  display: inline-block;
  margin-right: 4px;
  color: #222;
  font-size: 14px;
  font-weight: normal;
  vertical-align: -1px;
}
.footer-col ul {
  margin: 0;
  padding: 0 0 0 12px;
}
.footer-col ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.footer-col h4 a {
  font-size: 14px;
  color: #222;
  font-weight: 700;
}
.footer-col ul a {
  font-size: 13px;
  color: #666;
}
.footer-col a:hover { color: #003399; }
.footer-qr {
  flex-shrink: 0;
  width: 120px;
  padding-top: 2px;
}
.footer-qr img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  background: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 28px;
  border-top: 1px solid #e8e8e8;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: #333; }
.back-top-link { white-space: nowrap; }

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  background: #1a1c2e;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  transition: background 0.25s;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: #003399; }

/* ===== Page Title / Breadcrumb ===== */
.page-header {
  padding: 50px 0 30px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 40px;
}
.page-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.page-title-cn {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}
.page-title-en {
  font-size: 16px;
  color: #666;
  margin-top: 6px;
  letter-spacing: 0.5px;
}
.breadcrumb {
  font-size: 13px;
  color: #999;
}
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #003399; }
.breadcrumb span { color: #666; }

/* ===== Section Titles ===== */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 28px;
  color: #222;
  font-weight: 600;
  letter-spacing: 2px;
}
.section-title p {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  letter-spacing: 1px;
}
.section-block { padding: 70px 0; }
.section-block + .section-block { border-top: 1px solid #eee; }

/* ===== Buttons ===== */
.btn-more {
  display: inline-block;
  padding: 10px 36px;
  border: 1px solid #525252;
  color: #525252;
  font-size: 14px;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 1px;
}
.btn-more:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}
.btn-load {
  display: inline-block;
  min-width: 220px;
  padding: 14px 56px;
  border: none;
  border-radius: 999px;
  color: #666;
  font-size: 14px;
  font-family: inherit;
  background: #ececf0;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  letter-spacing: 2px;
  line-height: 1.2;
}
.btn-load:hover {
  background: #e0e0e6;
  color: #444;
}
.btn-more-wrap,
.btn-load-wrap { text-align: center; margin-top: 40px;margin-bottom: 40px; }
.btn-more::after { content: " >"; }

.btn-primary {
  display: inline-block;
  padding: 10px 28px;
  background: #fff;
  color: #003399;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: opacity 0.25s;
}
.btn-primary:hover { opacity: 0.85; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
}
.brand-card-img:hover img { transform: scale(1.04); }
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 24px 80px;
  box-sizing: border-box;
}
.hero-content h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.hero-practice {
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 2;
  opacity: 0.95;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 2px;
}
.hero-practice a { color: #fff; white-space: nowrap; }
.hero-practice a:hover { text-decoration: underline; }
.hero-practice .sep { margin: 0 6px; opacity: 0.7; }
.hero-cta {
  margin-top: 48px;
}
.hero-cta .btn-more {
  border-color: #fff;
  color: #fff;
  padding: 10px 28px;
  letter-spacing: 2px;
}
.hero-cta .btn-more:hover {
  background: #fff;
  color: #333;
}
.hero-more {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-more .btn-more {
  border-color: #fff;
  color: #fff;
}
.hero-more .btn-more:hover {
  background: #fff;
  color: #333;
}

/* ===== News Cards ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.news-card {
  background: transparent;
  transition: opacity 0.25s;
}
.news-card:hover {
  opacity: 0.88;
}
.news-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #eee;
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .thumb img { transform: scale(1.03); }
.news-card .body {
  padding: 16px 0 0;
  background: transparent;
}
.news-card h3 {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .body > p:not(.meta) {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .meta {
  margin-top: 14px;
  font-size: 12px;
  color: #bbb;
  letter-spacing: 0.5px;
}

/* ===== Practice Cards ===== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
/* 首页业务卡片与静态站一致：每张只展示前 3 条 */
.section-block .practice-grid .practice-card > ul > li:nth-child(n + 4) {
  display: none;
}
/* 首页悬停与业务领域页一致：整卡撑开 + 预留按钮位 */
.practice-grid-home {
  align-items: stretch;
  gap: 18px;
}
.practice-grid-home .practice-card {
  height: 100%;
  padding: 30px 22px 28px;
  box-sizing: border-box;
  overflow: visible;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    padding 0.3s ease,
    margin 0.3s ease,
    min-height 0.3s ease,
    box-shadow 0.3s ease;
}
.practice-grid-home .practice-card:hover {
  background: #003399;
  color: #fff;
  height: auto;
  min-height: calc(100% + 36px);
  padding-top: 48px;
  padding-bottom: 42px;
  margin-top: -18px;
  margin-bottom: -18px;
  z-index: 2;
}
.practice-grid-home .practice-card:hover .icon {
  top: 48px;
  color: #fff;
}
.practice-grid-home .practice-card .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 22px;
  padding: 10px 16px;
  max-height: none;
  height: 40px;
  flex-shrink: 0;
  overflow: visible;
  opacity: 0;
  background: transparent;
  color: transparent;
  transform: none;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.practice-grid-home .practice-card:hover .btn-primary {
  margin-top: 22px;
  padding: 10px 16px;
  max-height: none;
  opacity: 1;
  background: #fff;
  color: #003399;
  transform: none;
  pointer-events: auto;
}
.practice-card {
  background: #f5f5f5;
  padding: 28px 24px 24px;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.practice-card:hover {
  background: #003399;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 28px;
  z-index: 2;
}
.practice-card h3 {
  font-size: 20px;
  color: #333;
  font-weight: 600;
  margin-bottom: 16px;
  padding-right: 44px;
  transition: color 0.3s ease;
}
.practice-card:hover h3 { color: #fff; }
.practice-card .icon {
  position: absolute;
  top: 28px;
  right: 22px;
  width: 36px;
  height: 36px;
  color: #333;
  transition: color 0.3s ease, top 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.practice-card .icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.practice-card:hover .icon {
  color: #fff;
  top: 40px;
}
.practice-card ul { margin: 0; }
.practice-card li {
  font-size: 13px;
  color: #666;
  padding: 5px 0;
  padding-left: 14px;
  position: relative;
  transition: color 0.3s ease;
  line-height: 1.5;
}
.practice-card:hover li { color: rgba(255,255,255,0.92); }
.practice-card li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #999;
  transition: color 0.3s ease;
}
.practice-card:hover li::before { color: rgba(255,255,255,0.7); }
.practice-card .btn-primary {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  text-align: center;
  background: #fff;
  color: #003399;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  border: none;
  opacity: 0;
  transform: translateY(6px);
  transition: max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  align-self: stretch;
}
.practice-card:hover .btn-primary {
  margin-top: 20px;
  padding: 10px 16px;
  max-height: 48px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== Party List ===== */
.party-list { max-width: 100%; }
.party-item {
  padding: 28px 24px;
  background: transparent;
  border-bottom: 1px solid #eee;
  transition: background 0.25s ease;
  cursor: pointer;
}
.party-item:last-child { border-bottom: none; }
.party-item:hover { background: #f5f5f5; }
.party-item h3 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}
.party-item h3 a:hover { color: #003399; }
.party-item p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}
.party-item .meta {
  margin-top: 14px;
  font-size: 13px;
  color: #bbb;
}

/* ===== Brand Cards (Home) ===== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.brand-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}
.brand-card-img {
  overflow: visible;
}
.brand-card-img .brand-media {
  position: relative;
  display: block;
  overflow: hidden;
}
.brand-card-img .brand-media > img {
  width: 100%;
  aspect-ratio: 454 / 178;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.brand-card:not(.brand-card-img) {
  aspect-ratio: 16/10;
}
.brand-card:not(.brand-card-img) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.brand-card:hover .brand-media > img,
.brand-card:hover img { transform: scale(1.06); }
.brand-card .brand-desc {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  text-align: left;
  opacity: 1;
}
.brand-card .brand-media .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  transition: background 0.25s;
  pointer-events: none;
}
.brand-card:hover .brand-media .overlay { background: rgba(0, 51, 153, 0.5); }
.brand-card .brand-media h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.3;
  margin: 0;
  color: #fff;
}
.brand-card .brand-media .overlay p {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.9;
  line-height: 1.4;
  color: #fff;
}

/* ===== Lawyers Grid ===== */
.lawyers-note {
  font-size: 13px;
  color: #999;
  margin-bottom: 30px;
}
.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
.lawyer-card {
  text-align: left;
  transition: transform 0.25s;
  position: relative;
}
.lawyer-card:hover { transform: translateY(-4px); }
.lawyer-card .photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e8eef3;
  margin-bottom: 16px;
}
.lawyer-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.lawyer-card:hover .photo img { transform: scale(1.03); }
.lawyer-card h3 {
  font-size: 18px;
  color: #333;
  font-weight: 500;
}
.lawyer-card .en { font-size: 14px; color: #666; margin: 4px 0 0; }
.lawyer-card .lawyer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
}
.lawyer-card .title {
  font-size: 13px;
  color: #999;
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}
.lawyer-card .card-actions {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lawyer-card .card-actions span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #003399;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}
.lawyer-card.hidden { display: none; }

/* ===== Lawyer Detail ===== */
.lawyer-profile {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}
.lawyer-profile .portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #e8eef3;
  display: block;
}
.lawyer-info h1 {
  font-size: 32px;
  color: #222;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.lawyer-info .name-sep {
  font-weight: 400;
  color: #999;
  margin: 0 6px;
}
.lawyer-info .en-name {
  font-size: 20px;
  color: #222;
  font-weight: 600;
  margin: 8px 0 0;
  line-height: 1.3;
}
.lawyer-info .position {
  font-size: 16px;
  color: #333;
  margin: 14px 0 28px;
}
.lawyer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  margin-bottom: 36px;
}
.lawyer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-size: 15px;
  color: #333;
  line-height: 1;
}
.lawyer-contact .icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #003399;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lawyer-contact .icon-circle svg {
  display: block;
}
.lawyer-practice {
  margin-bottom: 36px;
}
.lawyer-practice h2,
.lawyer-desc h2,
.lawyer-section h2 {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
  margin: 0 0 20px;
}
.practice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.practice-tags p,
.practice-tags div {
  display: contents;
  margin: 0;
  padding: 0;
}
.practice-tags span {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #003399;
  background: #fff;
  color: #003399;
  font-size: 14px;
  border-radius: 0;
  line-height: 1.4;
  transition: all 0.25s;
}
.practice-tags span:hover {
  background: #003399;
  color: #fff;
}
.lawyer-desc {
  margin-bottom: 36px;
}
.lawyer-desc p {
  font-size: 15px;
  color: #333;
  line-height: 2;
  margin: 0 0 16px;
  text-align: justify;
}
.lawyer-desc p:last-child { margin-bottom: 0; }

.lawyer-info .lawyer-section {
  margin-bottom: 36px;
  padding-bottom: 0;
}
.lawyer-info .lawyer-section:last-child {
  margin-bottom: 0;
}
.lawyer-list {
  margin: 0;
  padding: 0;
}
.lawyer-list li {
  font-size: 15px;
  color: #333;
  line-height: 2;
  margin: 0;
}

.lawyer-bio { margin-top: 50px; }
.lawyer-bio h2 {
  font-size: 20px;
  color: #333;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}
.lawyer-bio p {
  font-size: 15px;
  color: #666;
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
}

/* ===== Practice Page Intro ===== */
.practice-intro {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 50px;
  margin-bottom: 50px;
  align-items: start;
}
.practice-intro-overview {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin: 10px 0 56px;
  padding-bottom: 0;
}
.practice-intro-title {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
  letter-spacing: 1px;
}
.practice-intro-text p {
  font-size: 14px;
  color: #666;
  line-height: 2;
  margin-bottom: 0;
  text-align: justify;
}
.practice-services-title {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
  font-weight: 700;
}
.practice-intro-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Practice detail page */
.practice-detail {
  padding-bottom: 70px;
}
.practice-detail .practice-intro {
  grid-template-columns: 1.45fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 0;
}
.practice-detail .practice-intro-text > p {
  font-size: 15px;
  color: #333;
  line-height: 2;
  margin: 0 0 22px;
  text-align: left;
}
.practice-detail .practice-services-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 8px 0 14px;
  line-height: 2;
}
.practice-detail .practice-services-list p {
  font-size: 15px;
  color: #333;
  line-height: 2;
  margin: 0;
  text-align: left;
}
.practice-detail .practice-intro-photo {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}
.practice-detail .practice-intro-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Practice overview page (match design mockup) */
.practice-overview {
  padding-bottom: 80px;
}
.practice-grid-overview {
  align-items: stretch;
  gap: 18px;
}
.practice-grid-overview .practice-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 22px 28px;
  box-sizing: border-box;
  overflow: visible;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    padding 0.3s ease,
    margin 0.3s ease,
    min-height 0.3s ease,
    box-shadow 0.3s ease;
}
.practice-grid-overview .practice-card.is-active {
  background: #003399;
  color: #fff;
}
/* Expand from the row's tallest height, not from this card's content height */
.practice-grid-overview .practice-card:hover {
  background: #003399;
  color: #fff;
  height: auto;
  min-height: calc(100% + 36px);
  padding-top: 48px;
  padding-bottom: 42px;
  margin-top: -18px;
  margin-bottom: -18px;
  z-index: 2;
}
.practice-grid-overview .practice-card .icon {
  position: static;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  top: auto;
  right: auto;
  flex-shrink: 0;
}
.practice-grid-overview .practice-card:hover .icon,
.practice-grid-overview .practice-card.is-active .icon {
  top: auto;
  color: #fff;
}
.practice-grid-overview .practice-card h3 {
  font-size: 20px;
  padding-right: 0;
  margin-bottom: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}
.practice-grid-overview .practice-card:hover h3,
.practice-grid-overview .practice-card.is-active h3 {
  color: #fff;
}
.practice-grid-overview .practice-card ul {
  flex: 1 1 auto;
}
.practice-grid-overview .practice-card li {
  font-size: 13px;
  padding: 4px 0 4px 14px;
  line-height: 1.55;
}
.practice-grid-overview .practice-card:hover li,
.practice-grid-overview .practice-card.is-active li {
  color: rgba(255, 255, 255, 0.92);
}
.practice-grid-overview .practice-card:hover li::before,
.practice-grid-overview .practice-card.is-active li::before {
  color: rgba(255, 255, 255, 0.7);
}
/* Reserve button space so default heights stay equal */
.practice-grid-overview .practice-card .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 22px;
  padding: 10px 16px;
  max-height: none;
  height: 40px;
  flex-shrink: 0;
  overflow: visible;
  opacity: 0;
  background: transparent;
  color: transparent;
  transform: none;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.practice-grid-overview .practice-card.is-active .btn-primary,
.practice-grid-overview .practice-card:hover .btn-primary {
  opacity: 1;
  background: #fff;
  color: #003399;
  pointer-events: auto;
}

/* ===== Clients ===== */
.clients-section {
  margin-bottom: 60px;
}
.clients-section h3 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin-bottom: 30px;
}
.clients-section-img {
  display: block;
  width: 100%;
  height: auto;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 16px;
}
.clients-grid-gov {
  gap: 16px;
}
.client-logo {
  text-align: center;
}
.client-logo .logo-box {
  border: 1px solid #eee;
  padding: 18px 12px;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.25s;
}
.client-logo:hover .logo-box {
  border-color: #003399;
}
.client-logo .logo-box img {
  max-width: 86%;
  max-height: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-logo .name {
  font-size: 13px;
  color: #666;
  margin-top: 12px;
  line-height: 1.45;
  padding: 0 4px;
}
.client-gov {
  border: 1px solid #eee;
  background: #fff;
  min-height: 88px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.45;
  box-sizing: border-box;
  transition: border-color 0.25s;
}
.client-gov:hover {
  border-color: #003399;
}

.gov-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gov-tag {
  padding: 10px 24px;
  background: #f5f5f5;
  color: #666;
  font-size: 14px;
  transition: all 0.25s;
}
.gov-tag:hover {
  background: #003399;
  color: #fff;
}

/* ===== Insights ===== */
.insights-section { margin-bottom: 70px; }
.insights-section-case,
.insights-section-industry,
.insights-section-regs {
  padding-top: 50px;
  border-top: 1px solid #e8e8e8;
}
.insights-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
  position: relative;
}
.insights-section-header h3 {
  font-size: 24px;
  color: #222;
  font-weight: 700;
  letter-spacing: 1px;
}
.insights-section-header .en {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.insights-section-header a {
  position: absolute;
  right: 0;
  top: 8px;
  font-size: 13px;
  color: #999;
}
.insights-section-header a:hover { color: #003399; }
.insights-more {
  text-align: center;
  margin-top: 36px;
}

.insights-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
.insight-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 14px;
}
.insight-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.insight-card:hover .thumb img { transform: scale(1.05); }
.insight-card h4 {
  font-size: 15px;
  color: #333;
  line-height: 1.55;
  font-weight: 400;
  transition: color 0.25s;
}
.insight-card:hover h4 {
  color: #4A6894;
}
.insight-card .date {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
  font-weight: 400;
}
.insight-card .date span {
  margin: 0 4px;
  color: #ccc;
}

/* Case Commentary cards */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-card {
  position: relative;
  display: block;
  background: #f7f8fa;
  padding: 28px 48px 28px 28px;
  min-height: 150px;
  transition: background 0.3s, color 0.3s;
  color: inherit;
}
.case-date {
  font-size: 13px;
  color: #7a8fb0;
  margin: 0 0 14px;
  line-height: 1;
}
.case-card h4 {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 18px;
  transition: color 0.3s;
}
.case-tags {
  font-size: 13px;
  color: #999;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s;
}
.case-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #bbb;
  line-height: 1;
  transition: color 0.3s;
}
.case-card:hover {
  background: #003399;
}
.case-card:hover .case-date,
.case-card:hover h4,
.case-card:hover .case-tags,
.case-card:hover .case-arrow {
  color: #fff;
}

/* Industry Updates list */
.industry-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid #e8e8e8;
  color: inherit;
}
.industry-item:first-of-type {
  border-top: 1px solid #e8e8e8;
}
.industry-item .thumb {
  flex: 0 0 240px;
  width: 240px;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f5f5f5;
}
.industry-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.industry-item:hover .thumb img { transform: scale(1.03); }
.industry-body {
  flex: 1;
  min-width: 0;
}
.industry-date {
  font-size: 13px;
  color: #4A6894;
  margin: 0 0 10px;
  line-height: 1;
}
.industry-item h4 {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  transition: color 0.25s;
}
.industry-item:hover h4 { color: #003399; }
.industry-body > p:not(.industry-date) {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.industry-arrow {
  flex-shrink: 0;
  width: 24px;
  color: #4A6894;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

/* Regulatory Updates */
.regs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}
.reg-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f7f8fa;
  padding: 24px 24px 24px 0;
  color: inherit;
  transition: background 0.25s;
}
.reg-card:hover { background: #eef1f6; }
.reg-date {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  margin-left: 24px;
  background: #003399;
  color: #fff;
  text-align: center;
  padding: 14px 6px 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
}
.reg-date .day {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}
.reg-date .ym {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.95;
  letter-spacing: 0.5px;
}
.reg-body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}
.reg-body h4 {
  font-size: 16px;
  color: #222;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  transition: color 0.25s;
}
.reg-card:hover .reg-body h4 { color: #003399; }
.reg-body p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* legacy list (insights-list page) */
.insights-list-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  transition: background 0.25s;
}
.insights-list-item:hover { background: #fafafa; }
.insights-list-item .thumb {
  width: 280px;
  flex-shrink: 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f5f5f5;
}
.insights-list-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insights-list-item h4 {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.5;
}
.insights-list-item p {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insights-list-item .date { font-size: 12px; color: #bbb; margin-top: 10px; }

/* ===== Article Detail (党建/洞察详情) ===== */
.article-page {
  padding-bottom: 60px;
}
.article-top {
  position: relative;
  margin-bottom: 40px;
  /* 右侧给二维码留位，左侧标题区高度/间距不受二维码影响 */
  padding-right: 148px;
  min-height: 0;
}
.article-top-main {
  max-width: 900px;
}
.article-title {
  font-size: 28px;
  color: #222;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 18px;
}
.article-meta {
  font-size: 14px;
  color: #999;
  margin: 0;
  line-height: 1.4;
}
.article-qr {
  position: absolute;
  top: 150px;
  right: 0;
  width: 100px;
  text-align: center;
  padding-top: 0;
}
.article-qr-code {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}
.article-qr img,
.article-qr canvas,
.article-qr-code img,
.article-qr-code canvas,
.article-qr-code table {
  width: 100px !important;
  height: 100px !important;
  display: block;
  margin: 0 auto;
}
.article-qr p {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  margin-top: 8px;
}
.article-body {
  max-width: 900px;
  font-size: 16px;
  color: #333;
  line-height: 2;
}
.article-body p {
  margin: 0 0 28px;
  text-align: justify;
}
.article-body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 28px;
  border-radius: 0;
}
.article-pager {
  max-width: 900px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-pager a {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}
.article-pager a:hover { color: #003399; }

/* legacy fixed sidebar (unused) */
.article-sidebar {
  display: none;
}
.article-header {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}
.article-header h1 {
  font-size: 28px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto 16px;
}
.article-header .meta { font-size: 13px; color: #999; }

/* ===== Party List Page ===== */
/* Sizes scaled from design 7嘉观党建.jpg (content 1420 → container 1200) */
.party-list-page {
  padding-bottom: 50px;
}
.party-list-page .party-item {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid #e8e8e8;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  color: inherit;
}
.party-list-page .party-item.hidden { display: none; }
.party-list-page .party-item:last-child { border-bottom: 1px solid #e8e8e8; }
.party-list-page .party-item:hover { background: transparent; }
.party-list-page .party-item:hover h3 { color: #003399; }
.party-list-page .party-item:hover .party-arrow { color: #003399; }
.party-list-page .party-item .thumb {
  flex: 0 0 206px;
  width: 206px;
  max-width: 206px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f0f0f0;
}
.party-list-page .party-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.party-list-page .party-item:hover .thumb img { transform: scale(1.03); }
.party-list-page .party-body {
  flex: 1;
  min-width: 0;
  padding-right: 12px;
}
.party-list-page .party-date {
  font-size: 14px;
  color: #003399;
  margin: 0 0 8px;
  line-height: 1.2;
}
.party-list-page .party-item h3 {
  font-size: 20px;
  color: #222;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
  transition: color 0.2s;
}
.party-list-page .party-item p {
  font-size: 15px;
  color: #888;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.party-list-page .party-arrow {
  flex-shrink: 0;
  align-self: center;
  width: 28px;
  color: #003399;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

/* ===== Brand Overview (品牌总览) ===== */
.brand-overview {
  padding-bottom: 60px;
}
.brand-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
}
.brand-row .brand-media,
.brand-row > img {
  min-height: 360px;
  overflow: hidden;
  background: #eee;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-row .brand-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-row .brand-copy,
.brand-row > div:not(.brand-media) {
  background: #f7f7f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
}
.brand-row.reverse .brand-media { order: 2; }
.brand-row.reverse .brand-copy { order: 1; }
.brand-row h3 {
  font-size: 24px;
  color: #222;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.3;
}
.brand-row .brand-copy p,
.brand-row > div:not(.brand-media) p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  text-align: justify;
  margin: 0;
}
.brand-row .brand-more {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  color: #003399;
  font-weight: 500;
  line-height: 1;
  transition: opacity 0.25s;
}
.brand-row .brand-more::after { content: " >"; }
.brand-row .brand-more:hover { opacity: 0.75; }

/* ===== 嘉观影廊 ===== */
.gallery-page {
  padding-bottom: 60px;
}
.gallery-intro {
  font-size: 15px;
  color: #333;
  line-height: 2;
  text-align: justify;
  margin: 0 0 48px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 48px;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 334 / 500;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-item figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ===== 嘉观披萨日 ===== */
.pizza-page {
  padding-bottom: 60px;
}
.pizza-intro {
  margin-bottom: 48px;
}
.pizza-intro p {
  font-size: 15px;
  color: #333;
  line-height: 2;
  margin: 0 0 28px;
  text-align: justify;
}
.pizza-intro p:last-child {
  margin-bottom: 0;
}
.pizza-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.pizza-main {
  display: grid;
  overflow: hidden;
  background: #f0f0f0;
  min-height: 0;
}
.pizza-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pizza-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pizza-thumbs img {
  width: 100%;
  aspect-ratio: 332 / 228;
  object-fit: cover;
  display: block;
}

/* ===== 嘉言观道 ===== */
.jygd-page {
  padding-bottom: 60px;
}
.jygd-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.jygd-intro-media {
  overflow: hidden;
  background: #f0f0f0;
}
.jygd-intro-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 572 / 396;
  object-fit: cover;
  display: block;
}
.jygd-intro-copy p {
  font-size: 15px;
  color: #444;
  line-height: 2;
  text-align: justify;
  margin: 0 0 20px;
}
.jygd-intro-copy p:last-child { margin-bottom: 0; }

.jygd-hero {
  margin: 0 0 20px;
}
.jygd-hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.jygd-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 48px;
}
.jygd-dots span {
  display: block;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
}
.jygd-dots span.is-active {
  background: #003399;
}

.jygd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.jygd-grid a {
  display: block;
  overflow: hidden;
  background: #f5f5f5;
}
.jygd-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.jygd-grid a:hover img { transform: scale(1.04); }

/* ===== Contact ===== */
.contact-page {
  padding-bottom: 80px;
}
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.contact-block-img {
  display: block;
  min-height: 0;
}
.contact-block-img img {
  display: block;
  width: 100%;
  height: auto;
}
.contact-info {
  background: #003399;
  color: #fff;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-info h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 40px;
}
.contact-info p {
  font-size: 15px;
  line-height: 2.2;
  opacity: 0.95;
}
.contact-map img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

/* ===== Join Page ===== */
.join-page {
  padding-bottom: 60px;
}
.join-posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0 0;
}
.join-posters img {
  width: 100%;
  object-fit: contain;
}

.accordion { border-top: none; }
.accordion-item {
  border: none;
  background: #f7f7f7;
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
}
.accordion-item.open { background: #f7f7f7; }
.accordion-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 22px 40px;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  font-weight: 700;
  transition: color 0.25s;
}
.accordion-header:hover .job-title { color: #003399; }
.accordion-header .job-title {
  justify-self: start;
  font-weight: 700;
  color: #333;
  transition: color 0.25s;
}
.accordion-item.open .job-title { color: #003399; }
.accordion-header .job-city {
  color: #999;
  font-weight: 400;
  font-size: 15px;
}
.accordion-header .job-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #003399;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}
.accordion-item.open .job-toggle {
  background: #fff;
  color: #333;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.accordion-header .arrow {
  font-size: 12px;
  transition: transform 0.3s;
  color: #999;
}
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-body { max-height: 900px; }
.accordion-body-inner {
  padding: 4px 40px 36px;
  font-size: 15px;
  color: #333;
  line-height: 2;
}
.accordion-body-inner h4 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 20px 0 10px;
}
.accordion-body-inner h4:first-child {
  margin-top: 4px;
}
.accordion-body-inner p {
  margin: 0;
  font-size: 15px;
  color: #333;
  line-height: 2;
  font-weight: 400;
}
.job-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: job-item;
}
.job-list li {
  position: relative;
  padding-left: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 2;
  counter-increment: job-item;
}
.job-list li::before {
  content: counter(job-item) "、";
}

/* ===== About ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 50px;
  margin-bottom: 60px;
}
.about-intro h2 {
  font-size: 22px;
  color: #222;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}
.about-intro p {
  font-size: 15px;
  color: #666;
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
}
.about-anni img { width: 100%; }

.about-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 50px 0;
}
.video-item { margin: 0; }
.video-item figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: #333;
  text-align: center;
  line-height: 1.5;
}
.video-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.video-thumb:hover img { transform: scale(1.03); }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  pointer-events: none;
  transition: opacity 0.25s;
}
.video-play svg { width: 100%; height: 100%; display: block; }
.video-thumb:hover .video-play { opacity: 0.85; }

/* ===== Awards ===== */
.awards-page {
  padding-bottom: 80px;
}
.awards-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 1000px;
  margin: 0 auto 56px;
}
.awards-logos img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.awards-banner {
  max-width: 1000px;
  margin: 0 auto 48px;
  text-align: center;
}
.awards-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.award-item {
  border: 1px solid #eee;
  padding: 20px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.award-item:hover {
  border-color: #003399;
  box-shadow: 0 4px 16px rgba(0,51,153,0.08);
}
.award-item img {
  max-height: 80px;
  margin: 0 auto 12px;
  object-fit: contain;
}
.award-item p { font-size: 13px; color: #666; line-height: 1.5; }

.awards-text {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.awards-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #333;
}
.awards-bullets li {
  font-size: 15px;
  font-weight: 400;
  line-height: 2.2;
  margin: 0;
  color: #333;
}
.awards-bullets li::before {
  content: "★";
  margin-right: 8px;
  color: #333;
  font-size: 12px;
  vertical-align: 1px;
}
.awards-bullets-local {
  margin-top: 40px;
}

/* ===== Awards List (awards page) ===== */
.awards-list {
  margin-bottom: 0;
}
.award-row {
  display: grid;
  grid-template-columns: 120px 200px 1fr;
  align-items: center;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.award-row:first-child {
  border-top: 1px solid #eee;
}
.award-row.hidden {
  display: none;
}
.award-year {
  font-size: 42px;
  font-weight: 300;
  color: #ccc;
  line-height: 1;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.award-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 90px;
  flex-shrink: 0;
  border: 1px solid #eee;
  background: #fff;
  padding: 10px;
}
.award-logo img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.award-content h3 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.award-content p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .award-row {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 16px 20px;
    padding: 24px 0;
  }
  .award-logo {
    width: 100%;
    grid-column: 1 / -1;
    height: 70px;
    justify-content: flex-start;
  }
  .award-year {
    font-size: 28px;
  }
}

/* ===== Address Section (Home) ===== */
.address-section { text-align: center; padding: 70px 0; }
.address-section p {
  font-size: 16px;
  color: #999;
  line-height: 2;
}
.address-map {
  margin-top: 30px;
  aspect-ratio: 16/5;
  overflow: hidden;
  background: #eee;
}
.address-map iframe,
.address-map img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ===== Sub Nav ===== */
.sub-nav {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #e8e8e8;
}
.sub-nav a {
  padding: 12px 28px;
  font-size: 14px;
  color: #666;
  border: 1px solid transparent;
  margin-bottom: -1px;
  transition: all 0.25s;
}
.sub-nav a:hover,
.sub-nav a.active {
  color: #003399;
  border: 1px solid #003399;
  background: #003399;
  color: #fff;
}

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.mobile-menu-toggle i {
  display: block;
  line-height: 1;
}

.nav-expand-icon {
  display: none;
}

/* Mobile panel chrome — desktop hidden */
.mobile-nav-panel-head,
.mobile-nav-backdrop {
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 1400px) {
  .site-header .container { padding: 0 24px; }
  .header-inner { gap: 20px; }
  .main-nav a { padding: 0 14px; font-size: 14px; }
  .logo img { height: 54px; }
}

@media (max-width: 1200px) {
  .main-nav a { padding: 0 8px; font-size: 13px; letter-spacing: 0; }
  .news-grid, .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyers-grid { grid-template-columns: repeat(3, 1fr); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-nav { column-gap: 90px; }
  .footer-main { gap: 24px; }
  .footer-logo img { height: 48px; }
  .lawyer-profile { grid-template-columns: 320px 1fr; gap: 40px; }
  .practice-intro { grid-template-columns: 1fr; }
  .insights-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .case-grid,
  .regs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section-block { padding: 48px 0; }
  .lawyers-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Header & Navigation */
  .site-header { height: 60px; }
  .site-header .container { padding: 0 16px; }
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0;
    gap: 0;
  }
  .logo { height: 60px; display: flex; align-items: center; }
  .logo img { height: 42px; }

  /* Page title + breadcrumb：上下排列，避免挤成一团 */
  .container.page-header {
    padding-top: 36px;
    padding-bottom: 18px;
    margin-bottom: 24px;
  }
  .page-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-title-cn {
    font-size: 24px;
  }
  .page-title-en {
    font-size: 13px;
    margin-top: 4px;
  }
  .breadcrumb {
    order: -1;
    width: 100%;
    font-size: 12px;
    line-height: 1.6;
    word-break: break-word;
  }

  /* Show mobile menu toggle */
  .mobile-menu-toggle { display: block; }

  /* Dimmed page behind panel */
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
  }
  .mobile-nav-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Dark navy mobile nav — site brand colors */
  .main-nav {
    position: fixed;
    top: 0;
    left: auto;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    max-width: 100%;
    background: #222337;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .mobile-nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    min-height: 64px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #222337;
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: auto;
    max-width: calc(100% - 48px);
  }

  .mobile-nav-brand img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: none;
  }

  .mobile-nav-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
  }

  .mobile-nav-close i {
    display: block;
    line-height: 1;
  }

  .main-nav > ul {
    flex-direction: column;
    height: auto;
    justify-content: flex-start;
    align-items: stretch;
    flex: 1;
    background: #222337;
  }

  .main-nav > ul > li {
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #222337;
  }

  .main-nav > ul > li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    min-height: 52px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: left;
    letter-spacing: 0;
    background: transparent !important;
  }

  .main-nav > ul > li:hover > a {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff;
  }

  .main-nav > ul > li.active > a {
    background: #fff !important;
    color: #222337;
  }

  .main-nav a::after { display: none !important; }

  /* Expandable: RemixIcon + / − */
  .main-nav .has-dropdown > a {
    position: relative;
    padding-right: 48px;
  }

  .main-nav .has-dropdown > a .nav-expand-icon {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: normal;
    line-height: 1;
    color: #fff;
    transition: color 0.2s;
  }

  .main-nav .has-dropdown.open > a .nav-expand-icon,
  .main-nav > ul > li.active.has-dropdown > a .nav-expand-icon {
    color: #222337;
  }

  .main-nav .has-dropdown.open > a {
    background: #fff !important;
    color: #222337;
  }

  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #1a1b2b;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
    min-width: 0;
  }

  .main-nav .has-dropdown.open .dropdown {
    max-height: 640px;
  }

  .main-nav .dropdown li {
    border-bottom: none;
    height: auto;
  }

  .main-nav .dropdown a {
    padding: 12px 20px 12px 36px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    background: transparent !important;
  }

  .main-nav .dropdown a:hover,
  .main-nav li:hover .dropdown a:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff;
  }

  /* Content sections */
  .hero { height: auto; min-height: 400px; }
  .hero-content { padding: 48px 16px; }
  .hero-content h1 {
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    white-space: normal;
    line-height: 1.4;
  }
  .hero-practice {
    font-size: 13px;
    line-height: 1.8;
  }
  .hero-practice .sep { margin: 0 4px; }
  .hero-cta { margin-top: 32px; }

  .section-block { padding: 40px 0; }
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 13px; }

  /* Grids */
  .news-grid, .practice-grid, .brand-grid, .lawyers-grid,
  .clients-grid, .insights-grid-4, .gallery-grid,
  .case-grid, .regs-grid,
  .join-posters, .about-videos, .awards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .brand-card .brand-media h3 { font-size: 16px; }
  .brand-card .brand-media .overlay p { font-size: 11px; }

  /* Cards */
  .news-card .body h3 { font-size: 16px; }
  .news-card .body p { font-size: 14px; }
  .practice-card h3 { font-size: 18px; }

  /* Profile & Detail pages */
  .lawyer-profile { grid-template-columns: 1fr; gap: 24px; }
  .contact-block { grid-template-columns: 1fr; gap: 24px; }

  /* Footer */
  .footer-main {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 28px;
    width: 100%;
  }
  .footer-nav h4 { font-size: 15px; margin-bottom: 12px; }
  .footer-nav a { font-size: 13px; }
  .footer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: auto;
    padding-top: 0;
    order: 2;
  }
  .footer-nav { order: 1; }
  .footer-qr img {
    width: 110px;
    height: 110px;
    background: #fff;
    border: 1px solid #e8e8e8;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 12px;
  }

  /* Brand pages */
  .brand-row { grid-template-columns: 1fr; gap: 0; }
  .brand-row .brand-media,
  .brand-row > img { min-height: 280px; order: -1; }
  .brand-row.reverse .brand-media { order: -1; }
  .brand-row.reverse .brand-copy { order: 0; }
  .brand-row .brand-copy,
  .brand-row > div:not(.brand-media) { padding: 32px 20px; }
  .brand-row h2 { font-size: 22px; }

  .jygd-intro { grid-template-columns: 1fr; gap: 24px; }
  .jygd-grid { grid-template-columns: 1fr; }
  .pizza-layout { grid-template-columns: 1fr; }
  .pizza-main { aspect-ratio: 692 / 476; }
  .pizza-thumbs { gap: 12px; }
  .pizza-intro p { margin-bottom: 16px; font-size: 15px; }

  /* About page */
  .about-intro { grid-template-columns: 1fr; gap: 24px; }

  /* List items */
  .insights-list-item { flex-direction: column; gap: 16px; }
  .industry-item { flex-direction: column; align-items: flex-start; gap: 16px; }
  .industry-item .thumb {
    flex: none;
    width: 100%;
  }
  .industry-arrow { display: none; }

  .party-list-page .party-item {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 0;
  }
  .party-list-page .party-item .thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
  .party-list-page .party-body {
    padding-right: 0;
  }
  .party-list-page .party-date {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .party-list-page .party-item h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .party-list-page .party-item p {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
  .party-list-page .party-arrow { display: none; }

  /* Article pages */
  .article-top {
    padding-right: 0;
  }
  /* 手机端不显示「扫一扫阅读本文」二维码 */
  .article-qr {
    display: none !important;
  }
  .article-title { font-size: 22px; line-height: 1.4; }
  .article-body { font-size: 15px; line-height: 1.8; }
  .article-body img { margin: 20px 0; }
}

@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }

  .hero-content h1 { font-size: 20px; }
  .hero-practice { font-size: 12px; }

  .section-block { padding: 32px 0; }
  .section-title { margin-bottom: 24px; }
  .section-title h2 { font-size: 22px; }

  .news-grid, .practice-grid, .brand-grid, .lawyers-grid,
  .clients-grid, .insights-grid-4, .gallery-grid {
    gap: 16px;
  }

  .btn-more, .btn-primary, .btn-load {
    padding: 10px 24px;
    font-size: 13px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 24px;
  }

  .practice-card {
    padding: 24px 20px;
  }

  .lawyer-card h3 { font-size: 16px; }
  .lawyer-card .title { font-size: 13px; }
}

/* CMS pagination */
.btn-load-wrap { text-align: center; margin: 32px 0; }
.btn-load-wrap a, .btn-load-wrap span {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 14px;
  border: 1px solid #c9a24a;
  color: #8a6d2b;
  text-decoration: none;
  font-size: 13px;
}
.btn-load-wrap span { background: #c9a24a; color: #fff; border-color: #c9a24a; }
.home-practice .practice-card-home {
  display: block;
  padding: 20px;
  border: 1px solid #e8e4dc;
  text-decoration: none;
  color: inherit;
}
.brand-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.insights-hub .insights-section { margin-bottom: 48px; }
.insights-hub .section-title { display: flex; justify-content: space-between; align-items: baseline; }
.insights-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
