/* ============================================================
   山东崇真（德州）律师事务所官网 · 页面独有样式
   文件：css/pages.css
   ============================================================ */

/* ===== 首页：关于速览左对齐标题 ===== */
.section-head--left { text-align: left; margin-bottom: 20px; }
.section-head--left h2 { display: block; }
.section-head--left h2::after { margin-left: 0; }

/* ===== 首页：资讯列表区无上下大留白 ===== */
.news-block { padding: 0; }

/* ===== 关于页：正文排版 ===== */
.about-intro .lead { font-size: 1.05rem; color: var(--ink-900); margin-bottom: 16px; }
.about-intro p { color: var(--ink-600); margin-bottom: 14px; }
.about-intro .first-letter::first-letter {
  font-size: 3rem; font-weight: 800; color: var(--gold-600);
  float: left; line-height: 1; padding: 6px 10px 0 0;
}
.about-intro h3 {
  margin: 28px 0 12px;
  padding-left: 14px;
  font-size: 1.25rem;
  color: var(--navy-800);
  position: relative;
}
.about-intro h3::before {
  content: "";
  position: absolute; left: 0; top: 5px; bottom: 5px;
  width: 4px; background: var(--gold-500); border-radius: 2px;
}
.about-intro h4 { margin: 20px 0 6px; font-size: 1.05rem; color: var(--navy-700); }
.about-svc { list-style: none; margin: 0 0 8px; }
.about-svc li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: var(--ink-600);
  font-size: .93rem;
  line-height: 1.8;
}
.about-svc li::before {
  content: "▪";
  position: absolute; left: 2px; top: 7px;
  color: var(--gold-500);
}
.about-svc strong { color: var(--ink-900); font-weight: 600; }

/* ===== 业务领域详情卡 ===== */
.practice-detail .practice-card { display: flex; flex-direction: column; }
.practice-detail .svc-list { margin: 4px 0 16px; flex: 1; }
.practice-detail .svc-list li { position: relative; padding-left: 18px; color: var(--ink-600); font-size: .9rem; line-height: 2; }
.practice-detail .svc-list li::before { content: "▸"; position: absolute; left: 0; color: var(--gold-500); }
.practice-detail .result { font-size: .82rem; color: var(--ink-400); border-top: 1px dashed var(--line); padding-top: 10px; }
.practice-detail .result b { color: var(--gold-600); font-weight: 600; }

/* ===== 团队页：执业证号 ===== */
.team-card .license { color: var(--ink-400); font-size: .78rem; margin-bottom: 10px; }

/* ===== 资讯列表页：日期块更突出 ===== */
.news-page .news-date .d { color: var(--gold-600); }

/* ===== 党建照片墙说明 ===== */
.photo-caption { margin-top: 8px; text-align: center; color: var(--ink-600); font-size: .85rem; }

/* ===== 学习园地列表 ===== */
.study-list { max-width: 800px; margin: 0 auto; }
.study-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; transition: all .25s ease; }
.study-list a:hover { border-color: var(--gold-500); box-shadow: var(--shadow); transform: translateX(6px); }
.study-list .t { color: var(--ink-900); font-size: .95rem; }
.study-list .d { color: var(--ink-400); font-size: .82rem; flex-shrink: 0; }

/* ===== 律师详情页 ===== */
.lawyer-profile { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lawyer-profile-hero { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; padding: 36px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.lawyer-portrait { width: 220px; height: 220px; overflow: hidden; border: 4px solid var(--gold-500); border-radius: 50%; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.lawyer-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lawyer-profile-heading .subtitle { color: var(--gold-300); }
.lawyer-profile-heading h1 { margin: 10px 0 8px; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.lawyer-profile-heading p { margin-bottom: 18px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.lawyer-profile-heading .tag { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.lawyer-profile-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); gap: 24px; padding: 32px 36px 0; }
.lawyer-profile-panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-page); }
.lawyer-profile-panel h2 { margin-bottom: 18px; font-size: 1.25rem; }
.lawyer-intro p { margin-bottom: 14px; color: var(--ink-600); }
.lawyer-intro p.lead { color: var(--ink-900); font-size: 1rem; }
.lawyer-facts dl { margin: 0; }
.lawyer-facts dl > div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.lawyer-facts dl > div:last-child { border-bottom: 0; }
.lawyer-facts dt { color: var(--ink-400); font-size: .88rem; }
.lawyer-facts dd { margin: 0; color: var(--ink-900); font-size: .9rem; }
.lawyer-cases { padding: 34px 36px 0; }
.lawyer-cases .section-head { margin-bottom: 20px; }
.case-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 0; padding: 0 0 0 28px; }
.case-list li { padding-left: 8px; color: var(--ink-600); font-size: .92rem; line-height: 1.75; }
.case-list li::marker { color: var(--gold-600); font-weight: 700; }
.lawyer-focus-list { display: flex; flex-wrap: wrap; gap: 10px; }
.lawyer-focus-list span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--navy-100); color: var(--navy-700); font-size: .9rem; }
.lawyer-profile-actions { display: flex; justify-content: center; gap: 14px; padding: 32px 36px 36px; }

/* ===== 常见法律问题 FAQ 页 ===== */
.page-banner--faq h1 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
.faq-page .faq-lead {
  margin: 0 0 30px;
  padding: 18px 22px;
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  color: var(--ink-600);
  font-size: .95rem;
  line-height: 1.9;
}
.faq-page .faq-cat { margin-bottom: 38px; }
.faq-page .faq-cat:last-of-type { margin-bottom: 0; }
.faq-page .faq-cat > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: var(--navy-700);
}
.faq-page .faq-cat > h2::before {
  content: "";
  flex: none;
  width: 5px;
  height: 1.15em;
  background: var(--gold-500);
  border-radius: 3px;
}
.faq-item {
  padding: 20px 24px;
  margin-bottom: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, transform .25s ease;
}
.faq-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.faq-item h3 { margin-bottom: 8px; font-size: 1.02rem; line-height: 1.55; color: var(--navy-700); }
.faq-item p { color: var(--ink-600); font-size: .94rem; line-height: 1.9; }
.faq-item .faq-tag { color: var(--gold-600); font-weight: 700; }
.faq-summary {
  margin-top: 34px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-600);
  font-size: .92rem;
  line-height: 1.9;
}
.faq-summary strong { color: var(--navy-700); }

/* ===== FAQ 主页：分类缩略 + 查看更多 ===== */
.faq-home .faq-cat > h2 a { color: inherit; }
.faq-home .faq-cat > h2 a:hover { color: var(--gold-600); }
.faq-home .faq-item p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.faq-more-wrap { text-align: center; margin: 8px 0 6px; }
.faq-more { padding: 10px 36px; }
.faq-back-wrap { text-align: center; margin-top: 12px; }
.faq-back { display: inline-block; color: var(--navy-700); font-weight: 600; font-size: .92rem; }
.faq-back:hover { color: var(--gold-600); }

@media (max-width: 768px) {
  .lawyer-profile-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 22px; }
  .lawyer-profile-heading .tags { justify-content: center; }
  .lawyer-profile-grid { grid-template-columns: 1fr; padding: 24px 20px 0; }
  .lawyer-cases { padding: 28px 20px 0; }
  .case-list { grid-template-columns: 1fr; gap: 10px; }
  .lawyer-profile-actions { padding: 28px 20px 30px; flex-wrap: wrap; }
}
