/* ============================================================
   服务案例 — 互联网大厂风格 (列表页 + 详情页)
   设计理念: 数字叙事 — 每个案例用数据说话
   深蓝渐变 Hero + Bento 卡片网格 + 指标高亮 + CTA
   品牌主色: #0f6ab4 | 点缀: #00c6ff / #f59e0b
   前缀: fa- | 部署: /skin/css/fuwu-anli.css
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  --fa-primary: #0f6ab4;
  --fa-primary-dark: #0a4d80;
  --fa-accent: #00c6ff;
  --fa-highlight: #f59e0b;
  --fa-highlight-light: #fef3c7;
  --fa-text: #1a1a2e;
  --fa-text-2: #555;
  --fa-text-3: #888;
  --fa-bg: #f7f9fc;
  --fa-white: #fff;
  --fa-border: #eef0f4;
  --fa-border-dark: #dde1e7;
  --fa-radius: 18px;
  --fa-radius-sm: 12px;
  --fa-radius-xs: 8px;
  --fa-shadow-card: 0 2px 16px rgba(15, 106, 180, 0.06);
  --fa-shadow-hover: 0 12px 40px rgba(15, 106, 180, 0.15);
  --fa-shadow-lg: 0 20px 60px rgba(15, 106, 180, 0.12);
  --fa-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --fa-max: 1200px;
}

/* ===== Reset (scoped under .fa-wrapper) ===== */
.fa-wrapper *,
.fa-wrapper *::before,
.fa-wrapper *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.fa-wrapper {
  font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 15px;
  color: var(--fa-text);
  line-height: 1.6;
  background: var(--fa-white);
  -webkit-font-smoothing: antialiased;
}
.fa-wrapper ul,
.fa-wrapper ol {
  list-style: none;
}
.fa-wrapper a {
  color: inherit;
  text-decoration: none;
  transition: var(--fa-transition);
}
.fa-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
}
.fa-wrapper h1,
.fa-wrapper h2,
.fa-wrapper h3,
.fa-wrapper h4,
.fa-wrapper h5,
.fa-wrapper h6 {
  margin: 0;
  padding: 0;
}

/* Hide PbootCMS secondary nav */
.nav_pc,
.nav_phone {
  display: none !important;
}

/* =================================================================
   SHARED: Hero Section (used by both list & detail page)
   ================================================================= */
#bann.fa-bann {
  position: relative;
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, #060d1a 0%, #0a2647 30%, #0f6ab4 70%, #0a4d80 100%) !important;
  color: #fff;
  overflow: hidden;
  height: auto !important;
  min-height: 420px;
  display: flex;
  align-items: center;
}
/* Grid pattern overlay */
#bann.fa-bann::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}
/* Geometric decorations */
#bann.fa-bann::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Floating dots decoration */
.fa-bann-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.fa-bann-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.fa-bann-dot:nth-child(1) {
  top: 20%;
  left: 8%;
  width: 4px;
  height: 4px;
  animation: fa-float 6s ease-in-out infinite;
}
.fa-bann-dot:nth-child(2) {
  top: 60%;
  left: 15%;
  animation: fa-float 8s ease-in-out 1s infinite;
}
.fa-bann-dot:nth-child(3) {
  top: 30%;
  right: 12%;
  width: 5px;
  height: 5px;
  animation: fa-float 7s ease-in-out 0.5s infinite;
}
.fa-bann-dot:nth-child(4) {
  top: 70%;
  right: 20%;
  animation: fa-float 9s ease-in-out 2s infinite;
}
.fa-bann-dot:nth-child(5) {
  top: 45%;
  left: 50%;
  width: 4px;
  height: 4px;
  animation: fa-float 7.5s ease-in-out 1.5s infinite;
}
@keyframes fa-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) scale(1.5);
    opacity: 0.7;
  }
}
#bann.fa-bann .container {
  max-width: var(--fa-max);
  width: 90%;
  margin: 0 auto;
  height: auto;
  display: block;
  transform: none;
  flex-direction: initial;
  justify-content: initial;
  align-items: initial;
  position: relative;
  z-index: 2;
  overflow: visible;
}

/* Breadcrumb */
.fa-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}
.fa-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fa-breadcrumb li::after {
  content: "/";
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}
.fa-breadcrumb li:last-child::after {
  display: none;
}
.fa-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}
.fa-breadcrumb a:hover {
  color: #fff;
}
.fa-breadcrumb li:last-child {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero tag */
.fa-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
}
.fa-hero-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fa-accent);
  box-shadow: 0 0 8px var(--fa-accent);
}

/* Hero title */
.fa-hero-title {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 700px;
}
.fa-hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
}
.fa-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.fa-hero-stat .fa-hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--fa-accent);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.fa-hero-stat .fa-hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}

/* =================================================================
   LIST PAGE: Category Filter
   ================================================================= */
.fa-filter-bar {
  padding: 0;
  background: var(--fa-white);
  border-bottom: 1px solid var(--fa-border);
  position: sticky;
  top: 74px;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
}
.fa-filter-bar .container {
  max-width: var(--fa-max);
  width: 90%;
  margin: 0 auto;
  overflow: visible;
}
.fa-filter-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}
.fa-filter-tabs::-webkit-scrollbar {
  display: none;
}
.fa-filter-tab {
  flex-shrink: 0;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fa-text-2);
  position: relative;
  transition: var(--fa-transition);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
}
.fa-filter-tab:hover {
  color: var(--fa-primary);
}
.fa-filter-tab.active {
  color: var(--fa-primary);
  border-bottom-color: var(--fa-primary);
}

/* =================================================================
   LIST PAGE: Case Grid (Bento-style)
   ================================================================= */
.fa-grid-section {
  padding: 56px 0 80px;
  background: var(--fa-bg);
}
.fa-grid-section .container {
  max-width: var(--fa-max);
  width: 90%;
  margin: 0 auto;
  overflow: visible;
}

/* Bento Grid */
.fa-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Case Card */
.fa-case-card {
  background: var(--fa-white);
  border-radius: var(--fa-radius);
  overflow: hidden;
  border: 1px solid var(--fa-border);
  transition: var(--fa-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.fa-case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--fa-shadow-hover);
  border-color: var(--fa-primary);
}

/* Card Cover Image */
.fa-case-cover {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0f8, #d0e4f4);
}
.fa-case-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fa-case-card:hover .fa-case-cover img {
  transform: scale(1.06);
}

/* Cover overlay with gradient */
.fa-case-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.7), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Tag on cover */
.fa-case-tags {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}
.fa-case-tag {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.fa-case-tag--industry {
  background: rgba(15, 106, 180, 0.85);
  color: #fff;
}
.fa-case-tag--type {
  background: rgba(0, 198, 255, 0.85);
  color: #0a1628;
}

/* Card body */
.fa-case-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fa-case-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fa-text);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.fa-case-card:hover .fa-case-title {
  color: var(--fa-primary);
}
.fa-case-desc {
  font-size: 14px;
  color: var(--fa-text-2);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card metrics row */
.fa-case-metrics {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--fa-border);
}
.fa-case-metric {
  text-align: center;
  flex: 1;
}
.fa-case-metric-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--fa-highlight);
  line-height: 1;
  margin-bottom: 4px;
}
.fa-case-metric-label {
  font-size: 11px;
  color: var(--fa-text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card footer */
.fa-case-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--fa-border);
  background: var(--fa-bg);
}
.fa-case-date {
  font-size: 13px;
  color: var(--fa-text-3);
}
.fa-case-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--fa-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.fa-case-card:hover .fa-case-link {
  gap: 10px;
}

/* Featured card (spans 2 columns on desktop) */
.fa-case-card--featured {
  grid-column: span 2;
  flex-direction: row;
}
.fa-case-card--featured .fa-case-cover {
  width: 45%;
  padding-bottom: 0;
  flex-shrink: 0;
}
.fa-case-card--featured .fa-case-cover img {
  position: absolute;
}
.fa-case-card--featured .fa-case-body {
  padding: 32px;
}
.fa-case-card--featured .fa-case-title {
  font-size: 22px;
}
.fa-case-card--featured .fa-case-desc {
  -webkit-line-clamp: 3;
}
.fa-case-card--featured .fa-case-footer {
  margin-top: auto;
}

/* Empty state */
.fa-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--fa-text-3);
}
.fa-empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--fa-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fa-text-3);
}
.fa-empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--fa-text);
  margin-bottom: 8px;
}
.fa-empty-state p {
  font-size: 14px;
}

/* Pagination wrapper */
.fa-pagination-wrapper {
  margin-top: 48px;
}

/* =================================================================
   LIST PAGE: Bottom Stats Bar
   ================================================================= */
.fa-stats-bar {
  padding: 64px 0;
  background: linear-gradient(135deg, #0a1628 0%, #0f6ab4 50%, #0a4d80 100%);
  position: relative;
  overflow: hidden;
}
.fa-stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.fa-stats-bar .container {
  max-width: var(--fa-max);
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  overflow: visible;
}
.fa-stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.fa-stats-bar-item .fa-stats-bar-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--fa-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.fa-stats-bar-item .fa-stats-bar-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}
.fa-stats-bar-item .fa-stats-bar-num sup {
  font-size: 20px;
  margin-left: 2px;
}

/* =================================================================
   SHARED: CTA Section
   ================================================================= */
.fa-cta-section {
  padding: 80px 0;
  background: var(--fa-white);
  text-align: center;
}
.fa-cta-section .container {
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
  overflow: visible;
}
.fa-cta-section h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--fa-text);
  margin-bottom: 16px;
}
.fa-cta-section p {
  font-size: 17px;
  color: var(--fa-text-2);
  line-height: 1.8;
  margin-bottom: 36px;
}
.fa-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
/* 统一蓝底白字，与网站整体按钮风格保持一致 */
.fa-btn-primary,
.fa-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  background: #0f6ab4;
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: var(--fa-transition);
  min-width: 160px;
}
.fa-btn-primary:hover,
.fa-btn-outline:hover {
  background: #0a4d80;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 106, 180, 0.3);
}
.fa-btn-primary svg,
.fa-btn-outline svg {
  stroke: #fff;
}

/* =================================================================
   DETAIL PAGE: Hero with Metadata
   ================================================================= */
.fa-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.fa-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.fa-detail-meta-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* =================================================================
   DETAIL PAGE: Results Bar (Metrics highlight)
   ================================================================= */
.fa-results-bar {
  padding: 0;
  background: var(--fa-white);
  border-bottom: 1px solid var(--fa-border);
}
.fa-results-bar .container {
  max-width: var(--fa-max);
  width: 90%;
  margin: 0 auto;
  overflow: visible;
}
.fa-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fa-results-item {
  text-align: center;
  padding: 28px 16px;
  position: relative;
}
.fa-results-item::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: var(--fa-border);
}
.fa-results-item:last-child::after {
  display: none;
}
.fa-results-item .fa-results-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--fa-highlight);
  line-height: 1;
  margin-bottom: 6px;
}
.fa-results-item .fa-results-label {
  font-size: 13px;
  color: var(--fa-text-3);
}

/* =================================================================
   DETAIL PAGE: Main Layout (Sidebar + Content)
   ================================================================= */
.fa-detail-main {
  padding: 56px 0 80px;
  background: var(--fa-bg);
}
.fa-detail-main .container {
  max-width: var(--fa-max);
  width: 90%;
  margin: 0 auto;
  overflow: visible;
}

/* ---- Project info (mobile top) ---- */
.fa-detail-info-mobile {
  display: none;       /* hidden on desktop */
  margin-bottom: 24px;
}
.fa-detail-info-mobile .fa-side-card {
  margin-bottom: 0;
}

.fa-detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ---- Sidebar ---- */
.fa-detail-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fa-side-card {
  background: var(--fa-white);
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius);
  padding: 22px 20px;
  box-shadow: var(--fa-shadow-card);
}
.fa-side-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fa-border);
}
.fa-side-card__head h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--fa-text);
}
.fa-side-card__head svg {
  color: var(--fa-primary);
  flex-shrink: 0;
}

/* Project info list */
.fa-side-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fa-side-info-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
}
.fa-side-info-item .fa-side-info-label {
  color: var(--fa-text-3);
  flex-shrink: 0;
  min-width: 48px;
}
.fa-side-info-item .fa-side-info-val {
  color: var(--fa-text);
  font-weight: 500;
}

/* Related cases list */
.fa-side-related {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fa-side-related a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px dashed var(--fa-border);
  transition: var(--fa-transition);
}
.fa-side-related a:last-child {
  border-bottom: none;
}
.fa-side-related-thumb {
  width: 100%;
  height: 100px;
  border-radius: var(--fa-radius-xs);
  background-size: cover;
  background-position: center;
  margin-bottom: 8px;
  background-color: var(--fa-bg);
}
.fa-side-related-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fa-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.fa-side-related a:hover .fa-side-related-title {
  color: var(--fa-primary);
}

/* Contact card (gradient) */
.fa-side-card--contact {
  padding: 0;
  overflow: hidden;
  border: none;
  background: linear-gradient(160deg, #0a1628 0%, var(--fa-primary) 100%);
}
.fa-side-contact-inner {
  padding: 26px 22px;
  text-align: center;
  color: #fff;
  position: relative;
}
.fa-side-contact-inner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.fa-side-contact-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  position: relative;
}
.fa-side-contact-inner h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 18px;
  position: relative;
}
.fa-side-contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
  position: relative;
}
.fa-side-contact-phone a {
  font-size: 18px;
  font-weight: 700;
  color: var(--fa-accent);
}
.fa-side-contact-phone a:hover {
  color: #fff;
}
.fa-side-contact-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  position: relative;
}
.fa-side-contact-btn {
  display: inline-block;
  padding: 11px 28px;
  background: var(--fa-accent);
  color: #0a1628;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--fa-transition);
  position: relative;
}
.fa-side-contact-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #0a1628;
}

/* ---- Main Content ---- */
.fa-detail-content {
  min-width: 0;
}
.fa-detail-article {
  background: var(--fa-white);
  border: 1px solid var(--fa-border);
  border-radius: var(--fa-radius);
  padding: 40px;
  box-shadow: var(--fa-shadow-card);
}

/* Rich article body */
.fa-detail-article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--fa-text);
  margin-top: 32px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--fa-primary);
}
.fa-detail-article h2:first-child {
  margin-top: 0;
}
.fa-detail-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--fa-text);
  margin-top: 24px;
  margin-bottom: 12px;
}
.fa-detail-article p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--fa-text-2);
  margin-bottom: 1.2em;
  text-indent: 0;
}
.fa-detail-article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--fa-radius-sm);
  margin: 24px 0;
  display: block;
}
.fa-detail-article ul,
.fa-detail-article ol {
  margin: 16px 0;
  padding-left: 24px;
}
.fa-detail-article li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--fa-text-2);
  line-height: 1.8;
}
.fa-detail-article ul li {
  list-style: disc;
}
.fa-detail-article ol li {
  list-style: decimal;
}
.fa-detail-article a {
  color: var(--fa-primary);
  text-decoration: underline;
}
.fa-detail-article a:hover {
  color: var(--fa-accent);
}
.fa-detail-article blockquote {
  border-left: 4px solid var(--fa-primary);
  padding: 16px 24px;
  margin: 1.5em 0;
  background: var(--fa-bg);
  border-radius: 0 var(--fa-radius-sm) var(--fa-radius-sm) 0;
  color: var(--fa-text-2);
  font-style: italic;
}
.fa-detail-article strong,
.fa-detail-article b {
  color: var(--fa-text);
  font-weight: 700;
}
.fa-detail-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.fa-detail-article th,
.fa-detail-article td {
  border: 1px solid var(--fa-border);
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
}
.fa-detail-article th {
  background: var(--fa-bg);
  font-weight: 600;
  color: var(--fa-text);
}
/* Highlight box — for key metrics in content */
.fa-detail-article .fa-highlight-box {
  background: linear-gradient(135deg, var(--fa-highlight-light), #fff8e1);
  border: 1px solid #fde68a;
  border-radius: var(--fa-radius-sm);
  padding: 24px 28px;
  margin: 24px 0;
}
.fa-detail-article .fa-highlight-box h3 {
  color: #92400e;
  margin-top: 0;
}
.fa-detail-article .fa-highlight-box p {
  color: #78350f;
  font-weight: 500;
}

/* Article Navigation (Prev/Next) */
.fa-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.fa-nav-card {
  flex: 1;
  min-width: 200px;
  padding: 20px 24px;
  border-radius: var(--fa-radius-sm);
  background: var(--fa-white);
  border: 1px solid var(--fa-border);
  transition: var(--fa-transition);
  box-shadow: var(--fa-shadow-card);
}
.fa-nav-card:hover {
  border-color: var(--fa-primary);
  box-shadow: var(--fa-shadow-hover);
  transform: translateY(-2px);
}
.fa-nav-card.fa-nav-next {
  text-align: right;
}
.fa-nav-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fa-text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.fa-nav-card a {
  font-size: 15px;
  font-weight: 600;
  color: var(--fa-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s;
}
.fa-nav-card:hover a {
  color: var(--fa-primary);
}

/* Back to list button — 统一蓝底白字 */
.fa-back-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  background: #0f6ab4;
  color: #fff !important;
  transition: var(--fa-transition);
  margin-top: 32px;
  border: none;
  min-width: 160px;
}
.fa-back-list:hover {
  background: #0a4d80;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 106, 180, 0.2);
  color: #fff !important;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .fa-case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .fa-case-card--featured {
    grid-column: span 2;
    flex-direction: column;
  }
  .fa-case-card--featured .fa-case-cover {
    width: 100%;
    padding-bottom: 50%;
  }
  .fa-detail-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }
  .fa-stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .fa-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fa-results-item:nth-child(2)::after {
    display: none;
  }
  .fa-hero-title {
    font-size: 34px;
  }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  #bann.fa-bann {
    padding: 130px 16px 56px;
    min-height: auto;
    height: auto !important;
  }
  #bann.fa-bann .container {
    width: 100%;
    padding: 0 16px;
    height: auto !important;
  }
  .fa-hero-title {
    font-size: 26px;
  }
  .fa-hero-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .fa-hero-stats {
    gap: 24px;
  }
  .fa-hero-stat .fa-hero-stat-num {
    font-size: 28px;
  }
  .fa-hero-stat .fa-hero-stat-label {
    font-size: 13px;
  }

  /* Filter */
  .fa-filter-tab {
    padding: 14px 18px;
    font-size: 14px;
  }

  /* Grid */
  .fa-grid-section {
    padding: 36px 0 56px;
  }
  .fa-grid-section .container {
    width: 100%;
    padding: 0 16px;
  }
  .fa-case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fa-case-card--featured {
    grid-column: span 1;
    flex-direction: column;
  }
  .fa-case-card--featured .fa-case-cover {
    width: 100%;
    padding-bottom: 55%;
  }
  .fa-case-card--featured .fa-case-body {
    padding: 20px;
  }
  .fa-case-body {
    padding: 18px;
  }
  .fa-case-title {
    font-size: 16px;
  }
  .fa-case-desc {
    font-size: 13px;
  }
  .fa-case-metric-val {
    font-size: 18px;
  }
  .fa-case-footer {
    padding: 12px 18px;
  }

  /* Stats bar */
  .fa-stats-bar {
    padding: 44px 0;
  }
  .fa-stats-bar .container {
    width: 100%;
    padding: 0 16px;
  }
  .fa-stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .fa-stats-bar-item .fa-stats-bar-num {
    font-size: 32px;
  }
  .fa-stats-bar-item .fa-stats-bar-label {
    font-size: 13px;
  }

  /* CTA */
  .fa-cta-section {
    padding: 48px 0;
  }
  .fa-cta-section .container {
    width: 100%;
    padding: 0 16px;
  }
  .fa-cta-section h2 {
    font-size: 22px;
  }
  .fa-cta-section p {
    font-size: 15px;
  }
  .fa-cta-btns {
    flex-direction: column;
  }
  .fa-btn-primary,
  .fa-btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Detail layout */
  .fa-detail-main {
    padding: 36px 0 56px;
  }
  .fa-detail-main .container {
    width: 100%;
    padding: 0 16px;
  }
  /* Mobile: show project info card above content, hide it from sidebar */
  .fa-detail-info-mobile {
    display: block;
  }
  .fa-side-info-desktop {
    display: none !important;
  }
  .fa-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fa-detail-content {
    order: 1;
  }
  .fa-detail-sidebar {
    position: static;
    order: 2;
  }
  .fa-detail-article {
    padding: 24px 18px;
    border-radius: var(--fa-radius-sm);
  }
  .fa-detail-article h2 {
    font-size: 19px;
  }
  .fa-detail-article h3 {
    font-size: 17px;
  }
  .fa-detail-article p {
    font-size: 15px;
  }
  .fa-detail-article table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border: 0;
  }
  .fa-detail-article th,
  .fa-detail-article td {
    white-space: nowrap;
    font-size: 13px;
    padding: 10px 12px;
  }

  /* Results bar */
  .fa-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fa-results-item {
    padding: 20px 12px;
  }
  .fa-results-item .fa-results-num {
    font-size: 22px;
  }
  .fa-results-item .fa-results-label {
    font-size: 12px;
  }

  /* Article nav */
  .fa-article-nav {
    flex-direction: column;
    gap: 12px;
  }
  .fa-nav-card {
    min-width: 0;
    width: 100%;
    padding: 16px 18px;
  }
  .fa-nav-card.fa-nav-next {
    text-align: left;
  }
  .fa-nav-card a {
    font-size: 14px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .fa-detail-meta {
    gap: 16px;
  }
  .fa-detail-meta-item {
    font-size: 13px;
  }
}

/* Small mobile: < 480px */
@media (max-width: 480px) {
  #bann.fa-bann {
    padding: 110px 12px 44px;
  }
  .fa-hero-title {
    font-size: 22px;
  }
  .fa-hero-desc {
    font-size: 14px;
  }
  .fa-hero-stats {
    gap: 16px;
  }
  .fa-hero-stat .fa-hero-stat-num {
    font-size: 24px;
  }
  .fa-case-body {
    padding: 14px;
  }
  .fa-case-title {
    font-size: 15px;
  }
  .fa-stats-bar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .fa-stats-bar-item .fa-stats-bar-num {
    font-size: 28px;
  }
  .fa-detail-article {
    padding: 18px 14px;
  }
  .fa-detail-article h2 {
    font-size: 17px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fa-wrapper *,
  .fa-wrapper *::before,
  .fa-wrapper *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
