/* ============================================================
   BRIDGE — vergelab.online  |  V1.0 stylesheet
   Editorial + Technology. Warm, minimal, human.
   ============================================================ */

:root {
  --navy: #12314e;
  --navy-deep: #0b2138;
  --navy-soft: #1d4266;
  --blue: #3d7ab5;
  --blue-soft: #e8f1fa;
  --blue-tint: #f3f8fd;
  --bg: #fbf8f3;
  --card: #ffffff;
  --ink: #1c2b3a;
  --muted: #5b6b7c;
  --line: #e6e1d8;
  --orange: #e2622b;
  --orange-soft: #fdeee4;
  --green-tint: #e7f2e4;
  --green-ink: #3c6e34;
  --yellow-tint: #fbf0da;
  --yellow-ink: #8a6a1f;
  --pink-tint: #f9e9e7;
  --pink-ink: #9a4a3e;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(18, 49, 78, .05), 0 6px 24px rgba(18, 49, 78, .07);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800; font-size: 22px; letter-spacing: .06em;
  color: var(--navy); text-decoration: none;
  display: inline-flex; flex-direction: column; line-height: 1;
}
.logo span { text-decoration: none; }
.logo .logo-arc {
  height: 3px; margin-top: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 60%, var(--blue) 100%);
}
.logo .logo-img { height: 30px; width: auto; display: block; }
.site-footer .logo .logo-img { height: 28px; }
@media (max-width: 480px) { .logo .logo-img { height: 26px; } }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--navy); border-bottom: 2px solid var(--orange); padding-bottom: 2px; }

.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 10px 22px; border-radius: 999px; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: var(--shadow); }
.btn-accent:hover { background: #c8521f; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* 导航里的按钮：.main-nav a 的 color 特异性高于 .btn-primary，
   会把按钮文字压成深色（深蓝底+深灰字几乎看不见），这里显式还原。 */
.main-nav a.btn,
.main-nav a.btn:hover,
.main-nav a.btn:focus { color: #fff; }
.main-nav a.btn-primary { background: var(--orange); }
.main-nav a.btn-primary:hover { background: #c8521f; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 8px; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: .2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0b2138 0%, #12314e 55%, #1d4266 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(226, 98, 43, .18), transparent 70%),
    radial-gradient(500px 260px at 10% 90%, rgba(61, 122, 181, .25), transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 96px 24px 104px; max-width: 1120px; margin: 0 auto;
}
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #ffd9c4; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px); line-height: 1.12;
  font-weight: 800; max-width: 640px; letter-spacing: -.01em;
}
.hero .hero-sub {
  margin-top: 20px; font-size: 18px; color: #cddcea; max-width: 560px;
}
.hero .hero-routes {
  margin-top: 22px; font-size: 15px; color: #9fb8cd;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero .hero-routes .route-pill {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  padding: 4px 14px; border-radius: 999px; color: #eaf3fa; font-weight: 600;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Inner page hero */
.page-hero {
  background: linear-gradient(135deg, #0b2138 0%, #12314e 60%, #1d4266 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 240px at 90% 0%, rgba(226,98,43,.16), transparent 70%);
}
.page-hero-inner {
  position: relative; z-index: 1; padding: 64px 24px 60px; max-width: 1120px; margin: 0 auto;
}
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.01em; }
.page-hero .page-hero-sub { margin-top: 14px; color: #cddcea; font-size: 17px; max-width: 640px; }

/* ---------------- Sections ---------------- */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- Cards ---------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .card-tags { margin-top: 12px; font-size: 13px; color: var(--blue); }
.card .card-link {
  display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px;
  color: var(--navy);
}
.card .card-link::after { content: " →"; color: var(--orange); }

.tint-blue { background: var(--blue-tint); border-color: #d7e6f5; }
.tint-green { background: var(--green-tint); border-color: #d4e6cd; }
.tint-yellow { background: var(--yellow-tint); border-color: #f0e2c2; }
.tint-pink { background: var(--pink-tint); border-color: #efd3cf; }
.tint-blue h3 { color: #1d4266; } .tint-green h3 { color: var(--green-ink); }
.tint-yellow h3 { color: var(--yellow-ink); } .tint-pink h3 { color: var(--pink-ink); }

.card-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; background: rgba(255,255,255,.75); border: 1px solid var(--line);
}

/* Entry cards (Start Where You Are) */
.entry-card { border-radius: var(--radius-lg); padding: 30px 26px; }
.entry-card .entry-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.entry-card p { margin-top: 4px; }

/* Journey split */
.journey-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px;
}
.route-map { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.route-node {
  background: var(--blue-tint); border: 1px solid #d7e6f5; color: var(--navy);
  border-radius: 12px; padding: 14px 26px; text-align: center; width: 220px;
}
.route-node strong { display: block; font-size: 16px; }
.route-node span { font-size: 13px; color: var(--muted); }
.route-node.node-orange { background: var(--orange-soft); border-color: #f3cdb4; }
.route-node.node-orange strong { color: #a1441c; }
.route-arrow { font-size: 18px; color: var(--orange); line-height: 1; padding: 2px 0; }

/* BRIDGE Notes */
.note-card { position: relative; }
.note-num {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--orange);
  margin-bottom: 10px; text-transform: uppercase;
}
.note-card blockquote { margin-top: 10px; font-size: 14px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #0b2138, #1d4266);
  color: #fff; text-align: center; padding: 88px 24px;
}
.final-cta h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.final-cta p { margin-top: 12px; color: #cddcea; font-size: 17px; }
.final-cta .btn { margin-top: 28px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: #b9c9d8; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .logo { color: #fff; }
.footer-news p { margin: 14px 0 16px; font-size: 14px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font-family: var(--font); font-size: 14px;
}
.newsletter-form input::placeholder { color: #8fa6ba; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: .04em; }
.footer-col a { display: block; color: #b9c9d8; font-size: 14px; margin-bottom: 9px; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #8fa6ba;
}

/* ---------------- Breadcrumbs ---------------- */
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 13.5px; margin-bottom: 22px; color: #9fb8cd;
}
.breadcrumbs a { color: #cddcea; }
.breadcrumbs .sep { opacity: .5; }

/* ---------------- Start page ---------------- */
.start-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.not-sure-box {
  margin-top: 36px; background: var(--orange-soft); border: 1px solid #f3cdb4;
  border-radius: var(--radius-lg); padding: 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.not-sure-box h3 { color: #a1441c; font-size: 19px; }
.not-sure-box p { color: #7c5236; font-size: 15px; margin-top: 4px; max-width: 520px; }

/* ---------------- Journey page ---------------- */
.timeline { position: relative; max-width: 680px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--blue), var(--orange));
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--blue);
}
.tl-item.tl-orange::before { border-color: var(--orange); }
.tl-item h3 { font-size: 19px; color: var(--navy); }
.tl-item .tl-when { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.tl-item p { margin-top: 6px; color: var(--muted); }

.journey-quote {
  margin: 56px auto 0; max-width: 680px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.journey-quote p { font-size: 20px; font-weight: 600; color: var(--navy); font-style: italic; }

/* ---------------- Guides overview ---------------- */
.search-box {
  display: flex; gap: 10px; max-width: 560px; margin: 0 auto 44px;
}
.search-box input {
  flex: 1; min-width: 0; padding: 13px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-family: var(--font);
  font-size: 15px; color: var(--ink); outline: none;
}
.search-box input:focus { border-color: var(--blue); }

.cat-tile { text-align: left; cursor: pointer; font-family: var(--font); font-size: inherit; }
.cat-count { font-size: 13px; font-weight: 700; color: var(--orange); margin-bottom: 8px; letter-spacing: .08em; text-transform: uppercase; }

.guide-list-item {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 12px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.guide-list-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.guide-list-item h3 { font-size: 16.5px; color: var(--navy); font-weight: 700; }
.guide-list-item .g-meta { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; white-space: nowrap;
}
.badge-live { background: var(--green-tint); color: var(--green-ink); }
.badge-soon { background: var(--yellow-tint); color: var(--yellow-ink); }
.badge-blue { background: var(--blue-tint); color: #1d4266; }

/* ---------------- Guide article ---------------- */
.article-layout {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px;
  align-items: start; padding: 48px 0 72px;
}
.toc { position: sticky; top: 88px; }
.toc h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a {
  display: block; font-size: 14px; color: var(--muted); padding: 5px 0;
  text-decoration: none; border-left: 2px solid transparent; padding-left: 12px;
}
.toc a:hover { color: var(--navy); border-left-color: var(--line); }
.toc a.toc-active { color: var(--navy); border-left-color: var(--orange); font-weight: 600; }

.article h1 { font-size: clamp(28px, 4vw, 40px); color: var(--navy); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.article .article-lede { margin-top: 14px; font-size: 17.5px; color: var(--muted); }
.article .article-meta { margin-top: 16px; font-size: 13.5px; color: #8a97a5; display: flex; gap: 14px; flex-wrap: wrap; }
.article h2 {
  margin: 44px 0 14px; font-size: 23px; color: var(--navy); font-weight: 800;
  letter-spacing: -.01em; scroll-margin-top: 90px;
}
.article h3 { margin: 28px 0 10px; font-size: 17.5px; color: var(--navy); }
.article p { margin-bottom: 14px; }
.article ul, .article ol { margin: 0 0 14px 22px; }
.article li { margin-bottom: 7px; }

.tip-box {
  background: var(--orange-soft); border: 1px solid #f3cdb4; border-radius: var(--radius);
  padding: 22px 24px; margin: 30px 0;
}
.tip-box .tip-label {
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.tip-box p { margin: 0; color: #6b4426; font-size: 15.5px; }

.mistake-list li { margin-bottom: 12px; }
.mistake-list li strong { color: var(--pink-ink); }

.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 20px;
  font-weight: 600; color: var(--navy); font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--orange); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 20px 16px; color: var(--muted); font-size: 15px; }

.resource-list { list-style: none; margin-left: 0 !important; }
.resource-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; margin-bottom: 8px; font-size: 14.5px;
}
.next-guide {
  margin-top: 52px; background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 30px 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.next-guide .ng-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9fb8cd; }
.next-guide h3 { font-size: 20px; margin-top: 4px; }
.helpful-row { margin-top: 34px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.helpful-row button {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 18px; font-family: var(--font); font-size: 14px; cursor: pointer; color: var(--ink);
}
.helpful-row button:hover { border-color: var(--blue); color: var(--blue); }

/* ---------------- Opportunities ---------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 16px; font-family: var(--font); font-size: 13.5px; font-weight: 600;
  color: var(--muted); cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-group-label { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a97a5; margin: 8px 0 2px; }

.opp-card { display: flex; gap: 18px; align-items: flex-start; }
.opp-emoji {
  flex: none; width: 52px; height: 52px; border-radius: 12px; font-size: 24px;
  display: flex; align-items: center; justify-content: center; background: var(--blue-tint);
}
.opp-card h3 { font-size: 16.5px; }
.opp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.opp-tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blue-tint); color: #1d4266; }
.opp-tag.tag-free { background: var(--green-tint); color: var(--green-ink); }
.opp-tag.tag-paid { background: var(--yellow-tint); color: var(--yellow-ink); }
.opp-meta { font-size: 13px; color: #8a97a5; margin-top: 10px; }
.verify-note { font-size: 12.5px; color: var(--orange); margin-top: 6px; font-weight: 600; }

/* ---------------- Stories ---------------- */
.featured-story {
  display: grid; grid-template-columns: 300px 1fr; overflow: hidden;
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
}
.featured-story .fs-visual {
  background: linear-gradient(160deg, #1d4266, #0b2138);
  display: flex; align-items: flex-end; padding: 26px; min-height: 260px;
}
.fs-badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.featured-story .fs-body { padding: 34px 36px; }
.featured-story h3 { font-size: 24px; font-weight: 800; }
.fs-route { margin-top: 6px; color: #ffd9c4; font-weight: 600; font-size: 14.5px; }
.featured-story p { margin-top: 16px; color: #cddcea; font-size: 15.5px; }
.story-facts { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story-facts div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }
.story-facts strong { color: #9fb8cd; display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }

/* ---------------- Research ---------------- */
.research-hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.mini-chart span { width: 22px; border-radius: 6px 6px 0 0; background: var(--blue-soft); }
.mini-chart span:nth-child(2) { height: 40%; }
.mini-chart span:nth-child(1) { height: 25%; }
.mini-chart span:nth-child(3) { height: 55%; }
.mini-chart span:nth-child(4) { height: 75%; background: var(--blue); }
.mini-chart span:nth-child(5) { height: 100%; background: var(--orange); }

/* ---------------- About ---------------- */
.principle-card { text-align: center; padding: 28px 20px; }
.principle-card .p-num { font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: .12em; }
.principle-card h3 { margin-top: 10px; }
.roles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }

/* ---------------- Search page ---------------- */
.search-results { margin-top: 28px; }
.result-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 10px; }
.result-item h3 { font-size: 16px; color: var(--navy); }
.result-item h3 a { color: inherit; }
.result-item .r-url { font-size: 12.5px; color: var(--green-ink); margin-top: 2px; }
.result-item p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.result-empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------------- Misc ---------------- */
.coming-soon-strip {
  background: var(--yellow-tint); border: 1px dashed #e3c98f; color: var(--yellow-ink);
  border-radius: var(--radius); padding: 14px 20px; font-size: 14px; margin: 20px 0;
}
.lead-note { background: var(--blue-tint); border: 1px solid #d7e6f5; border-radius: var(--radius); padding: 18px 22px; font-size: 15px; color: #2c4a68; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .grid-4, .start-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .journey-split { grid-template-columns: 1fr; padding: 30px; }
  .featured-story { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .research-hero-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .start-grid, .story-facts, .roles-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 24px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a.active { border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 14px; text-align: center; }
  .nav-toggle { display: block; }
  .hero-inner { padding: 64px 24px 72px; }
  .section { padding: 52px 0; }
  .guide-list-item { flex-direction: column; align-items: flex-start; }
}

/* ---- media in article body (image / video) ---- */
.article .media { margin: 26px 0; }
.article .media img,
.article .media video {
  width: 100%; height: auto; display: block;
  border-radius: 12px; background: #0f1620;
  box-shadow: 0 8px 24px rgba(9, 20, 34, .10);
}
.article .media figcaption {
  margin-top: 8px; font-size: 13px; color: #7c8896; text-align: center;
}
.article .media-video video { max-height: 520px; object-fit: contain; }

/* ---- media inside journey timeline / story cards ---- */
.tl-item .media { margin: 12px 0 4px; }
.tl-item .media img,
.tl-item .media video,
.fs-body .media img,
.fs-body .media video,
.story-card .media img,
.story-card .media video {
  width: 100%; height: auto; display: block;
  border-radius: 10px; background: #0f1620;
  box-shadow: 0 8px 24px rgba(9, 20, 34, .10);
}
.tl-item .media-video video,
.fs-body .media-video video { max-height: 420px; object-fit: contain; }
.tl-item .media figcaption,
.fs-body .media figcaption,
.story-card .media figcaption {
  margin-top: 6px; font-size: 12.5px; color: #7c8896; text-align: center;
}
/* ---- story cards grid (stories page) ---- */
a.card.story-card { display: block; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.card.story-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(9, 20, 34, .12); }
.story-card h3 { color: var(--navy); }
.story-card .sc-more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--blue); }

/* ---- language switch (EN / 中文) ---- */
/* 语言切换：固定在 header 最右端，不随 nav 文案宽度变化而移动 */
.lang-switch{display:inline-flex;align-items:center;gap:0;margin-left:auto;flex:none;padding:3px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:999px;}
.lang-switch .lang-btn{appearance:none;border:0;background:transparent;cursor:pointer;
  padding:6px 13px;border-radius:999px;font-size:12px;font-weight:700;line-height:1;
  color:inherit;opacity:.65;transition:opacity .15s ease,background .15s ease;}
.lang-switch .lang-btn:hover{opacity:1}
.lang-switch .lang-btn.on{opacity:1;background:var(--accent,#f4a259);color:#0d1b2a;}
.lang-switch .lang-btn:focus-visible{outline:2px solid var(--accent,#f4a259);outline-offset:2px}
@media (max-width:860px){
  .lang-switch{margin-left:0;margin-right:2px}
  .lang-switch .lang-btn{padding:5px 10px;font-size:11px}
  .nav-toggle{margin-left:auto}
}
html[data-lang="zh"] body{word-break:normal;overflow-wrap:anywhere}
