/* ============================================================
   现代财经刊物 · 清透墨绿（Modern Financial Journal）
   清透浅底 + 墨绿文字 + 翡翠点缀，无衬线标题，竖版卡片网格
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --fp-bg: #F6F7F4;             /* 清透浅灰绿 mist sage */
  --fp-bg-soft: #EEF1EC;        /* 略深底色 */
  --fp-card: #FFFFFF;           /* 卡片 */
  --fp-text: #13231D;           /* 墨绿黑 — titles */
  --fp-text-mid: #4E5B54;       /* 灰绿 — body */
  --fp-text-dim: #8B968F;       /* 浅灰绿 — auxiliary */
  --fp-accent: #0E7C5B;         /* 翡翠绿 emerald — links, accents */
  --fp-accent-hover: #0A5F46;   /* hover */
  --fp-accent-soft: #0B6B4F;    /* 深翠 — tag text */
  --fp-tag-bg: #E7F2EC;         /* 标签背景 */
  --fp-red: #C24A3A;            /* 砖红 — down / warning */
  --fp-up: #0E7C5B;
  --fp-down: #C24A3A;
  --fp-divider: #E2E7E0;        /* 细线 */
  --fp-divider-thin: #ECF0EA;   /* ultra-thin card divider */
  --fp-shadow: 0 1px 2px rgba(19,35,29,0.05);
  --fp-shadow-hover: 0 16px 40px rgba(19,35,29,0.12);
  --fp-gold: #B08A3E;           /* editor's pick badge — amber */
  --fp-grad: linear-gradient(90deg, #0E7C5B, #37B489); /* 翡翠渐变 hairline */
  --fp-max: 1200px;
  --fp-serif: 'Noto Serif SC', Georgia, serif;
  --fp-body: 'Inter', 'Helvetica Neue', 'Noto Serif SC', sans-serif;
  --fp-mono: 'JetBrains Mono', ui-monospace, monospace;
  --fp-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fp-head: 'Inter', 'Noto Serif SC', sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; -ms-overflow-style: none; }
body {
  margin: 0;
  background: var(--fp-bg);
  color: var(--fp-text);
  font-family: var(--fp-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--fp-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--fp-accent-hover); }
h1, h2, h3, h4 { font-family: var(--fp-head); font-weight: 700; color: var(--fp-text); margin: 0; line-height: 1.3; letter-spacing: -0.3px; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Hidden scrollbar (滚动功能保留，滚动条隐藏) ---------- */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* ---------- Hide site title & ticker (网站不需要标题和滚动栏) ---------- */
.fp-brand { display: none !important; }
.fp-footer-brand { display: none !important; }
.fp-ticker { display: none !important; }
/* generic pages don't need the leftover big title */
.fp-page h1 { display: none !important; }

/* ---------- Quiet live dot ---------- */
.fp-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fp-accent);
  display: inline-block;
}

/* ---------- Layout containers ---------- */
.fp-wrap { width: 100%; max-width: var(--fp-max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.fp-main { position: relative; z-index: 1; padding: 0 0 64px; }

/* ---------- Top nav (56px) ---------- */
.fp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fp-divider);
}
.fp-nav-inner {
  height: 100%;
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.fp-nav-cats {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
}
.fp-nav-cats li { flex-shrink: 0; }
.fp-nav-cats a {
  display: block;
  padding: 18px 12px;
  font-family: var(--fp-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--fp-text-mid);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.fp-nav-cats a:hover { color: var(--fp-text); }
.fp-nav-cats a.active {
  color: var(--fp-accent);
  font-weight: 600;
  border-bottom-color: var(--fp-accent);
}
.fp-nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.fp-icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--fp-text-mid);
  transition: color .2s;
}
.fp-icon-btn:hover { color: var(--fp-accent); }
.fp-icon-btn svg { width: 18px; height: 18px; }
.fp-mobile-btn { display: none; flex-direction: column; gap: 4px; width: 38px; height: 38px; align-items: center; justify-content: center; }
.fp-mobile-btn span { width: 18px; height: 1.5px; background: var(--fp-text-mid); transition: .25s; }
.fp-mobile-btn.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.fp-mobile-btn.active span:nth-child(2) { opacity: 0; }
.fp-mobile-btn.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Search overlay ---------- */
.fp-search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(19,35,29,0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 20px;
}
.fp-search-overlay.active { display: flex; }
.fp-search-box {
  width: 100%; max-width: 640px;
  background: var(--fp-card);
  border: 1px solid var(--fp-divider);
  box-shadow: var(--fp-shadow-hover);
  padding: 24px;
  position: relative;
  border-radius: 10px;
}
.fp-search-close {
  position: absolute; top: 12px; right: 14px;
  font-size: 26px; line-height: 1; color: var(--fp-text-dim);
}
.fp-search-input-wrap { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--fp-accent); padding: 8px 4px; }
.fp-search-input-wrap svg { width: 20px; height: 20px; color: var(--fp-accent); flex-shrink: 0; }
.fp-search-result-cat { font-family: var(--fp-sans); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fp-accent-soft); }
.fp-search-input { flex: 1; border: none; outline: none; font-family: var(--fp-body); font-size: 18px; background: transparent; color: var(--fp-text); }
.fp-search-results { margin-top: 14px; max-height: 56vh; overflow-y: auto; }
.fp-search-empty { padding: 18px 4px; color: var(--fp-text-dim); font-style: italic; font-family: var(--fp-body); }
.fp-search-result-item { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--fp-divider-thin); border-radius: 6px; }
.fp-search-result-item:hover { background: var(--fp-bg-soft); }
.fp-search-result-thumb { width: 56px; height: 42px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.fp-search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-search-result-title { font-family: var(--fp-sans); font-size: 14px; font-weight: 600; color: var(--fp-text); line-height: 1.4; margin-top: 2px; }

/* ---------- Hero ---------- */
.fp-hero {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 36px 28px 40px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.fp-hero-text { min-width: 0; }
.fp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fp-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--fp-accent);
  margin-bottom: 18px;
}
.fp-hero-tag::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--fp-accent);
}
.fp-hero-title {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}
.fp-hero-title a { color: inherit; transition: color .25s ease; }
.fp-hero-title a:hover { color: var(--fp-accent); }
.fp-hero-summary {
  font-family: var(--fp-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--fp-text-mid);
  margin: 0 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-hero-author { display: flex; align-items: center; gap: 12px; }
.fp-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--fp-sans);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.fp-hero-author-info { font-family: var(--fp-sans); line-height: 1.4; }
.fp-hero-author-name { font-size: 13px; font-weight: 600; color: var(--fp-text); }
.fp-hero-author-role { font-size: 11px; color: var(--fp-text-dim); letter-spacing: 0.3px; }
.fp-hero-img {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--fp-bg-soft);
  border-radius: 14px;
  box-shadow: var(--fp-shadow-hover);
}
.fp-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.fp-hero:hover .fp-hero-img img { transform: scale(1.03); }
.fp-hero-img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  font-family: var(--fp-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(transparent, rgba(19,35,29,0.65));
  letter-spacing: 0.4px;
}

/* ---------- Body: two columns ---------- */
.fp-body {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 8px 28px 0;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
}
.fp-content { min-width: 0; transition: opacity .2s ease; }
.fp-content.switching { opacity: 0; }

/* ---------- Module ---------- */
.fp-module { margin-bottom: 52px; }
.fp-module-head {
  display: block;
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fp-divider);
}
.fp-module-head::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 56px; height: 3px;
  background: var(--fp-grad);
  border-radius: 2px;
}
.fp-module-title {
  font-size: 24px;
  letter-spacing: -0.4px;
}
.fp-module-label {
  display: block;
  font-family: var(--fp-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fp-accent);
  margin-bottom: 6px;
}
.fp-module-meta {
  position: absolute;
  right: 0; bottom: 16px;
  font-family: var(--fp-mono);
  font-size: 11px;
  color: var(--fp-text-dim);
}

/* ---------- Cards (vertical grid) ---------- */
.fp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.fp-card {
  display: flex;
  flex-direction: column;
  background: var(--fp-card);
  border: 1px solid var(--fp-divider-thin);
  border-radius: 12px;
  box-shadow: var(--fp-shadow);
  overflow: hidden;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.fp-card:hover { transform: translateY(-4px); box-shadow: var(--fp-shadow-hover); border-color: var(--fp-divider); }
.fp-card-img {
  position: relative;
  display: block;
  height: 168px;
  overflow: hidden;
  background: var(--fp-bg-soft);
  flex-shrink: 0;
}
.fp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.fp-card:hover .fp-card-img img { transform: scale(1.04); }
.fp-card-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--fp-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fp-accent-soft);
  background: rgba(255,255,255,0.95);
  padding: 5px 10px;
  border-radius: 99px;
}
.fp-card-tag.red { color: #A63A2C; }
.fp-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.95);
  color: var(--fp-gold);
  font-size: 13px;
  border-radius: 50%;
  z-index: 3;
}
.fp-card-body { min-width: 0; display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; }
.fp-card-title {
  font-size: 17.5px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.fp-card-title a { color: var(--fp-text); cursor: pointer; transition: color .2s ease; }
.fp-card-title a:hover { color: var(--fp-accent); }
.fp-card-excerpt {
  font-family: var(--fp-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--fp-text-mid);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-card-full {
  max-height: 0;
  overflow: hidden;
  font-family: var(--fp-body);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--fp-text-mid);
  transition: max-height .4s ease, margin .4s ease, opacity .4s ease;
  opacity: 0;
}
.fp-card.expanded .fp-card-full { max-height: 600px; margin: 0 0 14px; opacity: 1; }
.fp-card.expanded .fp-card-excerpt { display: none; }
.fp-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--fp-divider-thin);
}
.fp-card-author { display: flex; align-items: center; gap: 8px; }
.fp-card-author .fp-avatar { width: 26px; height: 26px; font-size: 10.5px; }
.fp-card-author-info { font-family: var(--fp-sans); line-height: 1.25; }
.fp-card-author-name { font-size: 11.5px; font-weight: 600; color: var(--fp-text); }
.fp-card-author-role { font-size: 9.5px; color: var(--fp-text-dim); }
.fp-card-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--fp-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--fp-accent);
  white-space: nowrap;
}
.fp-card-quote {
  border-left: 3px solid var(--fp-accent);
  padding: 4px 0 4px 14px;
  margin: 0 0 12px;
  font-style: italic;
  font-family: var(--fp-serif);
  font-size: 15px;
  line-height: 1.65;
  color: var(--fp-text);
}
.fp-card-read svg { width: 13px; height: 13px; transition: transform .2s ease; }
.fp-card-read:hover svg { transform: translateX(3px); }
.fp-card-read.inline { display: none; }
.fp-card.expanded .fp-card-read.inline { display: inline-flex; }

/* ---------- Flat category list ---------- */
.fp-cat-head { display: block; position: relative; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--fp-divider); }
.fp-cat-head::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 56px; height: 3px;
  background: var(--fp-grad);
  border-radius: 2px;
}
.fp-cat-head .fp-module-label { display: block; margin-bottom: 6px; }
.fp-cat-head h2 { font-size: 28px; }

/* ---------- Sidebar ---------- */
.fp-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 24px; }
.fp-widget {
  background: var(--fp-card);
  border: 1px solid var(--fp-divider-thin);
  box-shadow: var(--fp-shadow);
  padding: 22px 20px;
  border-radius: 12px;
}
.fp-widget-title {
  font-family: var(--fp-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--fp-text);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fp-divider);
  display: flex; align-items: center; gap: 8px;
}
.fp-widget-title .star { color: var(--fp-gold); font-size: 12px; }
.fp-widget-title .accent { color: var(--fp-accent); font-size: 12px; }

/* Editor's picks */
.fp-pick { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--fp-divider-thin); }
.fp-pick:last-child { border-bottom: none; padding-bottom: 0; }
.fp-pick-num {
  font-family: var(--fp-mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--fp-accent);
  line-height: 1.6;
  flex-shrink: 0;
  width: 24px;
}
.fp-pick-body { min-width: 0; }
.fp-pick-title {
  font-family: var(--fp-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.1px;
  color: var(--fp-text);
  margin-bottom: 4px;
  transition: color .2s ease;
}
.fp-pick-title:hover { color: var(--fp-accent); }
.fp-pick-cat { font-family: var(--fp-sans); font-size: 9.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--fp-text-dim); }

/* Market calendar */
.fp-cal-item { padding: 11px 0; border-bottom: 1px solid var(--fp-divider-thin); }
.fp-cal-item:last-child { border-bottom: none; padding-bottom: 0; }
.fp-cal-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fp-cal-name { font-family: var(--fp-sans); font-size: 13px; font-weight: 600; color: var(--fp-text); }
.fp-cal-time { font-family: var(--fp-mono); font-size: 10.5px; color: var(--fp-text-dim); white-space: nowrap; }
.fp-cal-countdown {
  font-family: var(--fp-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fp-accent);
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.fp-cal-impact { font-family: var(--fp-sans); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 6px; margin-left: 8px; vertical-align: middle; border-radius: 99px; }
.fp-cal-impact.high { color: #A63A2C; background: #F9E9E5; }
.fp-cal-impact.med { color: var(--fp-accent-soft); background: var(--fp-tag-bg); }

/* Most read */
.fp-trend-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fp-divider-thin); }
.fp-trend-item:last-child { border-bottom: none; padding-bottom: 0; }
.fp-trend-thumb { width: 62px; height: 46px; flex-shrink: 0; overflow: hidden; border-radius: 6px; }
.fp-trend-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-trend-title { font-family: var(--fp-sans); font-size: 12.5px; font-weight: 600; line-height: 1.4; letter-spacing: -0.1px; color: var(--fp-text); transition: color .2s ease; }
.fp-trend-title:hover { color: var(--fp-accent); }

/* ---------- Load sentinel ---------- */
.fp-sentinel { height: 40px; display: grid; place-items: center; }
.fp-sentinel .fp-spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--fp-divider);
  border-top-color: var(--fp-accent);
  animation: fp-spin 0.8s linear infinite;
}
@keyframes fp-spin { to { transform: rotate(360deg); } }
.fp-end-note {
  text-align: center;
  font-family: var(--fp-serif);
  font-style: italic;
  color: var(--fp-text-dim);
  padding: 24px 0;
  font-size: 14px;
}

/* ---------- Reveal on scroll ---------- */
.fp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.fp-reveal.visible { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.fp-footer {
  background: #13231D;
  color: rgba(255,255,255,0.72);
  border-top: 1px solid var(--fp-divider);
  position: relative;
  z-index: 1;
}
.fp-footer-inner {
  max-width: var(--fp-max);
  margin: 0 auto;
  padding: 40px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.fp-footer-desc { font-family: var(--fp-body); font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.6); margin: 0; max-width: 380px; }
.fp-footer-col h4 { font-family: var(--fp-sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 14px; }
.fp-footer-col ul li { margin-bottom: 8px; }
.fp-footer-col a { font-family: var(--fp-sans); font-size: 13px; color: rgba(255,255,255,0.62); transition: color .2s; }
.fp-footer-col a:hover { color: #37B489; }
.fp-social { display: flex; gap: 10px; margin-top: 4px; }
.fp-social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: rgba(255,255,255,0.6); transition: all .2s; }
.fp-social a:hover { background: var(--fp-accent); border-color: var(--fp-accent); color: #fff; }
.fp-social svg { width: 15px; height: 15px; }
.fp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 16px 28px;
  font-family: var(--fp-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.4px;
}

/* ---------- Detail page ---------- */
.fp-detail-wrap { max-width: 800px; margin: 0 auto; padding: 44px 28px 64px; position: relative; z-index: 1; }
.fp-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fp-sans); font-size: 13px; color: var(--fp-text-mid); margin-bottom: 24px; }
.fp-back svg { width: 16px; height: 16px; }
.fp-back:hover { color: var(--fp-accent); }
.fp-detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fp-sans); font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--fp-accent);
  margin-bottom: 18px;
}
.fp-detail-tag::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--fp-accent);
}
.fp-detail-title { font-size: 38px; line-height: 1.2; letter-spacing: -0.6px; margin-bottom: 18px; }
.fp-detail-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-family: var(--fp-sans); font-size: 13px; color: var(--fp-text-dim); margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--fp-divider); }
.fp-detail-meta .fp-card-author { gap: 10px; }
.fp-detail-meta .fp-card-author .fp-avatar { width: 36px; height: 36px; font-size: 13px; }
.fp-detail-img { width: 100%; height: 420px; object-fit: cover; margin-bottom: 30px; border-radius: 14px; box-shadow: var(--fp-shadow-hover); }
.fp-detail-body { font-family: var(--fp-body); font-size: 17px; line-height: 1.85; color: var(--fp-text); }
.fp-detail-body p { margin: 0 0 22px; }
.fp-detail-body p:first-child::first-letter {
  font-family: var(--fp-sans);
  font-size: 52px;
  font-weight: 700;
  float: left;
  line-height: 0.9;
  padding: 6px 12px 0 0;
  color: var(--fp-accent);
}
.fp-detail-quote {
  border-left: 3px solid var(--fp-accent);
  padding: 6px 0 6px 20px;
  margin: 26px 0;
  font-style: italic;
  font-family: var(--fp-serif);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fp-text);
}
.fp-detail-divider { height: 1px; background: var(--fp-divider); margin: 40px 0; position: relative; }
.fp-detail-divider::before {
  content: '◆';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: var(--fp-bg);
  padding: 0 14px;
  color: var(--fp-accent);
  font-size: 11px;
}
.fp-detail-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.fp-detail-nav a { display: block; padding: 20px; background: var(--fp-card); border: 1px solid var(--fp-divider-thin); box-shadow: var(--fp-shadow); border-radius: 12px; transition: transform .25s, box-shadow .25s; }
.fp-detail-nav a:hover { transform: translateY(-2px); box-shadow: var(--fp-shadow-hover); }
.fp-detail-nav a.disabled { opacity: 0.4; pointer-events: none; }
.fp-detail-nav-label { font-family: var(--fp-sans); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fp-text-dim); margin-bottom: 6px; }
.fp-detail-nav-title { font-family: var(--fp-sans); font-size: 15px; font-weight: 600; letter-spacing: -0.1px; color: var(--fp-accent); line-height: 1.45; }
.fp-related-title { font-family: var(--fp-sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--fp-text); margin-bottom: 18px; }
.fp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fp-rel-card {
  background: var(--fp-card);
  border: 1px solid var(--fp-divider-thin);
  box-shadow: var(--fp-shadow);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.fp-rel-card::after { display: none; }
.fp-rel-card:hover { transform: translateY(-2px); box-shadow: var(--fp-shadow-hover); }
.fp-rel-card-img { height: 132px; overflow: hidden; position: relative; background: var(--fp-bg-soft); }
.fp-rel-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fp-rel-card:hover .fp-rel-card-img img { transform: scale(1.04); }
.fp-rel-card-tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--fp-sans); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--fp-accent-soft);
  background: rgba(255,255,255,0.95);
  padding: 4px 9px; border-radius: 99px;
}
.fp-rel-card-title { font-family: var(--fp-sans); font-size: 14.5px; font-weight: 600; line-height: 1.45; letter-spacing: -0.1px; color: var(--fp-text); padding: 14px 16px 16px; margin: 0; transition: color .2s ease; }
.fp-rel-card:hover .fp-rel-card-title { color: var(--fp-accent); }

/* ---------- Generic page (about/contact/privacy) ---------- */
.fp-page { max-width: 760px; margin: 0 auto; padding: 52px 28px 64px; position: relative; z-index: 1; }
.fp-page .fp-page-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fp-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fp-accent);
  margin-bottom: 20px;
}
.fp-page .fp-page-lead::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--fp-accent);
}
.fp-page h2 { font-size: 22px; letter-spacing: -0.3px; margin: 30px 0 12px; }
.fp-page p { font-family: var(--fp-body); font-size: 15.5px; line-height: 1.85; color: var(--fp-text-mid); margin: 0 0 16px; }
.fp-page ul.bullets { list-style: none; padding: 0; margin: 0 0 16px; }
.fp-page ul.bullets li { font-family: var(--fp-body); font-size: 15.5px; line-height: 1.8; color: var(--fp-text-mid); padding-left: 20px; position: relative; }
.fp-page ul.bullets li::before { content: '◆'; position: absolute; left: 0; top: 1px; color: var(--fp-accent); font-size: 10px; }
.fp-form { display: grid; gap: 16px; max-width: 520px; margin-top: 8px; }
.fp-form label { font-family: var(--fp-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: var(--fp-text-mid); }
.fp-form input, .fp-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--fp-divider); background: var(--fp-card); font-family: var(--fp-body); font-size: 15px; color: var(--fp-text); border-radius: 8px; }
.fp-form input:focus, .fp-form textarea:focus { outline: none; border-color: var(--fp-accent); box-shadow: 0 0 0 3px rgba(14,124,91,0.12); }
.fp-form button { justify-self: start; padding: 12px 28px; background: var(--fp-accent); color: #fff; font-family: var(--fp-sans); font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-radius: 99px; transition: background .2s; }
.fp-form button:hover { background: var(--fp-accent-hover); }

/* ---------- Mobile ---------- */
@media (max-width: 1100px) {
  .fp-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .fp-body { grid-template-columns: 1fr; gap: 32px; }
  .fp-sidebar { position: static; flex-direction: column; }
  .fp-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .fp-related-grid { grid-template-columns: 1fr 1fr; }
  .fp-hero { grid-template-columns: 1fr; padding: 28px 28px 32px; gap: 26px; }
  .fp-hero-img { height: 260px; order: -1; }
  .fp-hero-title { font-size: 32px; }
}
@media (max-width: 720px) {
  .fp-nav-cats { display: none; }
  .fp-nav-cats.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--fp-card); padding: 10px 16px;
    border-bottom: 1px solid var(--fp-divider); box-shadow: var(--fp-shadow-hover);
    gap: 2px;
  }
  .fp-nav-cats.mobile-open a { padding: 12px 14px; border-bottom: none; }
  .fp-mobile-btn { display: flex; }
  .fp-hero { padding: 24px 20px 28px; }
  .fp-hero-img { height: 210px; }
  .fp-hero-title { font-size: 28px; }
  .fp-hero-summary { -webkit-line-clamp: 3; }
  .fp-body { padding: 8px 20px 0; }
  .fp-cards { grid-template-columns: 1fr; }
  .fp-card-img { height: 190px; }
  .fp-card-title { font-size: 17px; }
  .fp-module-title { font-size: 21px; }
  .fp-detail-title { font-size: 28px; }
  .fp-detail-img { height: 240px; }
  .fp-detail-nav { grid-template-columns: 1fr; }
  .fp-related-grid { grid-template-columns: 1fr; }
  .fp-wrap { padding: 0 20px; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; }
  .fp-nav, .fp-ticker, .fp-sidebar, .fp-footer, .fp-search-overlay, .fp-mobile-btn, .fp-icon-btn, .fp-card-read, .fp-card-badge { display: none !important; }
  .fp-hero { padding: 0 0 16px; }
  .fp-cards { display: block; }
  .fp-card { box-shadow: none; border: none; border-bottom: 1px solid #ccc; break-inside: avoid; }
  .fp-card:hover { transform: none; box-shadow: none; }
  .fp-card-full { max-height: none; opacity: 1; }
  .fp-card-excerpt { display: none !important; }
  .fp-reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: underline; }
  .fp-hero-img, .fp-card-img { break-inside: avoid; }
}
