/* ============================================
   月白 · 清冷蓝灰（静谧极简型）
   Moonwhite — cool blue-gray minimalist theme
   文章详情页样式
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Source+Sans+Pro:wght@400;600&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --bg-page: #F0F2F5;        /* 极浅灰蓝 */
  --bg-card: #FFFFFF;        /* 纯白卡片 */
  --text-title: #1A2634;     /* 深钢蓝 */
  --text-body: #3D4A5A;      /* 中灰蓝 */
  --text-muted: #8A9AAA;     /* 浅灰蓝 */
  --accent: #5C7A9A;         /* 冷钢蓝 */
  --accent-hover: #3E5E7A;
  --tag-text: #4A6A84;
  --tag-bg: #E4EAF0;
  --line: #DCE2E8;           /* 淡蓝灰线 */
  --card-shadow: 0 2px 6px rgba(60,80,100,0.04);
}

/* ===== 全局重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ===== Body — 月白底色 ===== */
body {
  font-family: 'Source Sans Pro', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-title);
}

/* ===== 导航栏 ===== */
.fp-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.fp-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 20px;
}

/* 品牌 — 直角边框标记 */
.fp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.fp-brand-mark {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 8px;
}

.fp-brand-text {
  display: block;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-title);
  line-height: 1.2;
}

.fp-brand-sub {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.fp-nav-cats {
  display: flex;
  gap: 4px;
  list-style: none;
}

.fp-nav-cats li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.fp-nav-cats li a:hover {
  color: var(--accent);
}

.fp-nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.fp-icon-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.fp-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  stroke-width: 2;
  transition: stroke 0.2s;
}

.fp-icon-btn:hover {
  border-color: var(--accent);
}

.fp-icon-btn:hover svg {
  stroke: var(--accent);
}

.fp-mobile-btn {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 9px;
}

.fp-mobile-btn span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text-body);
}

/* ===== 搜索覆盖层 ===== */
.fp-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 242, 245, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  overflow-y: auto;
}

.fp-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fp-search-box {
  width: 90%;
  max-width: 800px;
  position: relative;
}

.fp-search-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-search-close:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.fp-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--card-shadow);
}

.fp-search-input-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-muted);
  flex-shrink: 0;
}

.fp-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-title);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  outline: none;
  padding: 12px 0;
}

.fp-search-input::placeholder {
  color: var(--text-muted);
}

.fp-search-results {
  margin-top: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.fp-search-empty {
  color: var(--text-muted);
  font-size: 15px;
  text-align: center;
  padding: 30px;
  letter-spacing: 1px;
}

.fp-search-result-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 10px;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.fp-search-result-item:hover {
  box-shadow: 0 4px 12px rgba(60, 80, 100, 0.08);
}

.fp-search-result-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--tag-bg);
}

.fp-search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-search-result-cat {
  font-size: 10px;
  color: var(--tag-text);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fp-search-result-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-title);
  font-weight: 500;
  line-height: 1.4;
}

/* ===== 文章详情 ===== */
.fp-detail-wrap {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.fp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.fp-back:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
}

.fp-back svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

/* 直角边框标签 — 无背景仅有边框 */
.fp-detail-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tag-text);
  border: 1px solid var(--tag-text);
  border-radius: 0;
  padding: 3px 10px;
  margin-bottom: 16px;
}

.fp-detail-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-title);
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* 元信息 — 数字使用等宽字体 */
.fp-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.fp-card-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.fp-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #FFFFFF;
  border-radius: 0;
}

.fp-card-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.fp-card-author-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-title);
}

.fp-card-author-role {
  font-size: 11px;
  color: var(--text-muted);
}

.fp-detail-img {
  display: block;
  width: 100%;
  border-radius: 0;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line);
  margin-bottom: 32px;
}

/* 正文 */
.fp-detail-body {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
}

.fp-detail-body p {
  margin-bottom: 18px;
}

.fp-detail-body a {
  color: var(--accent);
  text-decoration: underline;
}

.fp-detail-body a:hover {
  color: var(--accent-hover);
}

.fp-detail-body h2, .fp-detail-body h3, .fp-detail-body h4 {
  margin-top: 28px;
  margin-bottom: 14px;
  color: var(--text-title);
  font-weight: 500;
}

.fp-detail-quote {
  border-left: 1px solid var(--accent);
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--text-title);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

/* 分割线 — 纯色细线 */
.fp-detail-divider {
  height: 1px;
  background: var(--line);
  margin: 36px 0;
}

/* 上一篇 / 下一篇 */
.fp-detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.fp-detail-nav a {
  text-decoration: none;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--card-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
  max-width: 100%;
  flex: 1;
  min-width: 220px;
  position: relative;
}

.fp-detail-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.fp-detail-nav a:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(60, 80, 100, 0.08);
}

.fp-detail-nav a.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.fp-detail-nav a.next {
  text-align: right;
}

.fp-detail-nav-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.fp-detail-nav-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-title);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== 相关报道 ===== */
.fp-related {
  margin-top: 44px;
}

.fp-related-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 1px solid var(--accent);
}

.fp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fp-rel-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border-radius: 0;
  border: none;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}

.fp-rel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
  z-index: 2;
}

.fp-rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(60, 80, 100, 0.08);
}

.fp-rel-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--tag-bg);
}

.fp-rel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.fp-rel-card:hover .fp-rel-card-img img {
  transform: scale(1.03);
}

.fp-rel-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tag-text);
  background: rgba(240, 242, 245, 0.92);
  padding: 2px 8px;
  border: 1px solid var(--tag-text);
}

.fp-rel-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-title);
  letter-spacing: 0.3px;
  line-height: 1.45;
  padding: 12px 14px 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Footer ===== */
.fp-footer {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  padding: 48px 24px 0;
  margin-top: 64px;
}

.fp-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.fp-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.fp-footer-brand-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-title);
}

.fp-footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
}

.fp-footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.fp-footer-col ul {
  list-style: none;
}

.fp-footer-col ul li {
  margin-bottom: 8px;
}

.fp-footer-col ul li a {
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
}

.fp-footer-col ul li a:hover {
  color: var(--accent);
}

/* 社交图标 — 直角边框按钮 */
.fp-social {
  display: flex;
  gap: 10px;
}

.fp-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text-muted);
  transition: all 0.2s;
}

.fp-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.fp-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.fp-footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
  .fp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fp-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .fp-nav-cats {
    display: none;
  }

  .fp-mobile-btn {
    display: flex;
  }

  .fp-detail-title {
    font-size: 24px;
  }

  .fp-detail-nav a {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .fp-nav-inner {
    height: 60px;
    padding: 0 16px;
  }

  .fp-brand-sub {
    display: none;
  }

  .fp-detail-wrap {
    padding: 32px 16px 48px;
  }

  .fp-detail-title {
    font-size: 21px;
  }

  .fp-detail-body {
    font-size: 15px;
  }

  .fp-related-grid {
    grid-template-columns: 1fr;
  }

  .fp-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
  background: #C9D4DE;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ===== 文本选择样式 ===== */
::selection {
  background: var(--tag-bg);
  color: var(--text-title);
}

/* ===== 链接默认样式 ===== */
a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   首页（index.html）样式 — 沿用月白极简体系
   ============================================ */

/* ===== 滚动入场动画 ===== */
.fp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fp-reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Hero ===== */
.fp-hero {
  position: relative;
  z-index: 1;
  padding: 40px 24px 8px;
}
.fp-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.fp-hero-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 1px solid var(--accent);
}
.fp-hero-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.fp-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--accent);
  z-index: 3;
}
.fp-hero-card:hover {
  box-shadow: 0 8px 22px rgba(60, 80, 100, 0.10);
  transform: translateY(-2px);
}
.fp-hero-card-img {
  position: relative;
  min-height: 340px;
  background: var(--tag-bg);
  overflow: hidden;
}
.fp-hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.fp-hero-card:hover .fp-hero-card-img img {
  transform: scale(1.04);
}
.fp-hero-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tag-text);
  background: rgba(240, 242, 245, 0.92);
  border: 1px solid var(--tag-text);
  padding: 3px 10px;
}
.fp-hero-card-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fp-hero-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-title);
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}
.fp-hero-card-excerpt {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 26px;
}
.fp-hero-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.fp-hero-card-meta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

/* ===== 分割线 ===== */
.fp-divider {
  height: 1px;
  background: var(--line);
  max-width: 1400px;
  margin: 40px auto;
}
.fp-section + .fp-divider,
.fp-hero + .fp-divider {
  margin-top: 40px;
}

/* ===== 分栏 ===== */
.fp-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.fp-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.fp-section-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fp-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text-title);
  letter-spacing: 0.5px;
}
.fp-section-count {
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ===== 卡片网格 ===== */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fp-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.fp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
  z-index: 2;
}
.fp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(60, 80, 100, 0.08);
}
.fp-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tag-bg);
}
.fp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.fp-card:hover .fp-card-img img {
  transform: scale(1.04);
}
.fp-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tag-text);
  background: rgba(240, 242, 245, 0.92);
  border: 1px solid var(--tag-text);
  padding: 2px 8px;
}
.fp-card-id {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: 'Roboto Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 6px;
}
.fp-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fp-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-title);
  letter-spacing: 0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-card-excerpt {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-card-read {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.fp-card-read svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* 大卡（每栏首篇）跨两列 */
.fp-card--lg {
  grid-column: span 2;
}
.fp-card--lg .fp-card-title {
  font-size: 19px;
  -webkit-line-clamp: 3;
}

/* ===== 空态 ===== */
.fp-empty {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
  color: var(--text-muted);
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 1px;
}

/* ===== 移动端导航展开 ===== */
.fp-nav-cats.mobile-open {
  display: flex;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px;
  gap: 2px;
}
.fp-nav-cats.mobile-open li a {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}

/* ===== 首页响应式 ===== */
@media (max-width: 1100px) {
  .fp-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .fp-hero-card { grid-template-columns: 1fr; }
  .fp-hero-card-img { min-height: 220px; }
  .fp-hero-card-body { padding: 28px 26px; }
  .fp-hero-card-title { font-size: 24px; }
  .fp-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-card--lg { grid-column: span 2; }
}
@media (max-width: 560px) {
  .fp-grid { grid-template-columns: 1fr; }
  .fp-card--lg { grid-column: span 1; }
  .fp-section-title { font-size: 21px; }
  .fp-hero { padding: 24px 16px 4px; }
  .fp-section { padding: 0 16px; }
  .fp-divider { margin: 28px auto; }
}
