:root {
  --ink: #1c2b3a;
  --ink-soft: #44586b;
  --navy: #123c5f;
  --blue: #2b6ba8;
  --sky: #0d8ad8;
  --cream: #f7f4ee;
  --sand: #eee9df;
  --paper: #ffffff;
  --line: #e3e0d8;
  --gold: #b58a4f;
  --red: #a33b2e;
  --shadow-sm: 0 1px 2px rgba(18, 46, 71, .06), 0 4px 12px rgba(18, 46, 71, .06);
  --shadow-md: 0 6px 18px rgba(18, 46, 71, .10);
  --radius: 14px;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--sky); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ---------- Test notice modal ---------- */
.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.notice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 41, .72);
  backdrop-filter: blur(3px);
}
.notice-modal-box {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: var(--paper);
  border-radius: 18px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(8, 22, 38, .35);
}
.notice-modal-box h2 {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 21px;
  margin: 0 0 16px;
}
.notice-modal-box .notice-zh {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.6;
}
.notice-modal-box .notice-en {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.6;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 19px; letter-spacing: .2px; }
.brand-text small { color: var(--ink-soft); font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--navy); background: var(--cream); }
.site-nav a.active { color: var(--navy); background: var(--cream); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.share-btn:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.share-btn img { width: 22px; height: 22px; border-radius: 5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--sky); color: #fff; box-shadow: 0 6px 16px rgba(13, 138, 216, .3); }
.btn-accent:hover { background: #0b7bc0; color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0d3251; color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(13, 138, 216, .35), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(181, 138, 79, .22), transparent 55%),
    linear-gradient(135deg, #0e2e4d 0%, #14436b 55%, #1b5487 100%);
  overflow: hidden;
}
/* Full-width team-photo hero variant (banner already carries a left navy
   gradient, so overlay text stays readable without an extra panel). */
.hero.has-bg {
  background: #0e2e4d;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 46, 77, .55) 0%, rgba(14, 46, 77, .10) 45%, rgba(14, 46, 77, 0) 70%);
  pointer-events: none;
}
.hero.has-bg .hero-inner { position: relative; z-index: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  pointer-events: none;
}
.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .92;
  -webkit-mask-image: linear-gradient(to left, black 72%, transparent 100%);
  mask-image: linear-gradient(to left, black 72%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding-block: 88px 96px;
  max-width: 780px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bfe3ff;
  border: 1px solid rgba(191, 227, 255, .4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.16;
  margin: 0 0 20px;
  letter-spacing: .2px;
}
.hero p.lede {
  font-size: 18.5px;
  color: rgba(255, 255, 255, .88);
  max-width: 620px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }

.trust-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 30px;
  list-style: none;
  margin: 0;
  padding: 16px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.trust-strip li { display: flex; align-items: center; gap: 9px; }
.trust-strip li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 0;
}
.stats-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  color: #bfe3ff;
}
.stats-grid span { font-size: 13.5px; color: rgba(255, 255, 255, .78); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section-alt { background: var(--cream); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head .eyebrow {
  color: var(--blue);
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.22;
  margin: 10px 0 12px;
  color: var(--navy);
}
.section-head p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }
.section-head.center { margin-inline: auto; text-align: center; }

.lead { font-size: 18px; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(13, 138, 216, .1);
  color: var(--sky);
  font-size: 22px;
  margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}
.card h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; color: var(--navy); }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.8px; }
.card a.card-link { margin-top: 16px; display: inline-block; font-weight: 600; font-size: 14px; }

/* ---------- Category index pages ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(13, 138, 216, .25), transparent 60%),
    linear-gradient(135deg, #0e2e4d, #175085);
  color: #fff;
}
.page-hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .9;
  -webkit-mask-image: linear-gradient(to left, black 72%, transparent 100%);
  mask-image: linear-gradient(to left, black 72%, transparent 100%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; padding-block: 60px 66px; max-width: 760px; }
.page-hero .eyebrow {
  font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase;
  color: #bfe3ff; font-weight: 700;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.2;
  margin: 10px 0 16px;
}
.page-hero p { color: rgba(255, 255, 255, .86); font-size: 17px; margin: 0; max-width: 640px; }

.index-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}
.index-search {
  flex: 1 1 280px;
  position: relative;
}
.index-search input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  background: var(--paper);
}
.index-search input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(13, 138, 216, .15); }
.index-search::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border: 2px solid var(--ink-soft);
  border-radius: 50%;
}
.index-search::after {
  content: "";
  position: absolute;
  left: 28px;
  top: calc(50% + 8px);
  width: 7px;
  height: 2px;
  background: var(--ink-soft);
  transform: rotate(45deg);
}
.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-filters button {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.cat-filters button:hover { border-color: var(--sky); color: var(--navy); }
.cat-filters button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cond-group { margin-bottom: 42px; }
.cond-group h2 {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--navy);
  margin: 0 0 4px;
}
.cond-group > p { color: var(--ink-soft); margin: 0 0 18px; font-size: 14.5px; }
.cond-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.cond-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.cond-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(13, 138, 216, .5); color: var(--ink); }
.cond-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}
.cond-card h3 { font-size: 16.5px; margin: 0 0 6px; color: var(--navy); }
.cond-card p { margin: 0; font-size: 13.8px; color: var(--ink-soft); }
.cond-card .go { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--sky); }
.hidden-group { display: none; }
.no-results { display: none; text-align: center; color: var(--ink-soft); padding: 40px 0; }
.no-results.show { display: block; }

/* ---------- Article page ---------- */
.article-page { background: var(--paper); padding-block: 48px 24px; }
.article-head { max-width: 780px; margin-bottom: 34px; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 7px; color: #b6bec7; }
.kicker {
  font-size: 12.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sky);
  margin: 0 0 10px;
}
.article-head h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.24;
  color: var(--navy);
  margin: 0 0 14px;
}
.article-summary {
  font-size: 17.5px;
  color: var(--ink-soft);
  border-left: 3px solid var(--sky);
  padding-left: 18px;
  margin: 0;
}
.article-body {
  max-width: 780px;
  font-size: 16.8px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--navy);
  margin: 44px 0 14px;
  padding-top: 8px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--navy); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }

.callout {
  border-radius: 12px;
  padding: 20px 22px;
  margin: 26px 0;
  font-size: 15.5px;
}
.callout h3 { margin: 0 0 10px; font-size: 16px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.callout ul { margin: 0; padding-left: 20px; }
.callout li { margin-bottom: 6px; }
.callout-red {
  background: #fdf3f1;
  border: 1px solid #f0d0c9;
  color: #6d2c22;
}
.callout-red h3 { color: var(--red); }
.callout-blue {
  background: #eff7fd;
  border: 1px solid #d3e9f7;
  color: #123c5f;
}
.callout-blue h3 { color: var(--blue); }
.callout-gold {
  background: #fbf6ec;
  border: 1px solid #ecd9b4;
  color: #6d5124;
}
.callout-gold h3 { color: var(--gold); }

.article-refs {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.article-refs h2 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); margin: 0 0 12px; }
.article-refs ul { list-style: none; margin: 0; padding: 0; }
.article-refs li { margin-bottom: 6px; }
.article-refs a { color: var(--ink-soft); }
.article-refs a:hover { color: var(--blue); }

/* ---------- CTA band ---------- */
.section-cta { padding-block: 0 0; }
.cta-box {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(13, 138, 216, .4), transparent 60%),
    linear-gradient(135deg, #0e2e4d, #1b5487);
  border-radius: 20px;
  color: #fff;
  padding: 44px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block: 72px;
  box-shadow: var(--shadow-md);
}
.cta-box h2 { font-family: var(--font-display); font-size: 25px; margin: 0 0 8px; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 520px; }

/* ---------- About / contact ---------- */
.about-story { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.about-story p { color: var(--ink-soft); }
.values-list { list-style: none; padding: 0; margin: 0; }
.values-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.values-list li:last-child { border-bottom: 0; }
.values-list strong { display: block; color: var(--navy); }
.values-list span { font-size: 14.5px; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.qr-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.qr-card img { border-radius: 12px; margin: 0 auto 16px; width: 180px; height: 180px; }
.qr-card h3 { font-family: var(--font-display); color: var(--navy); margin: 0 0 8px; }
.qr-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.contact-card .label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--sky);
  font-weight: 700;
}
.contact-card .value {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 7px;
  line-height: 1.4;
}
.contact-card p.sub { font-size: 13.5px; color: var(--ink-soft); margin: 8px 0 0; }
.qr-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 10px;
}
.qr-matrix figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.qr-matrix img { width: 120px; height: 120px; margin: 0 auto; border-radius: 8px; }
.qr-matrix figcaption { font-size: 13.5px; margin-top: 10px; color: var(--navy); font-weight: 600; }

.faq-list { display: grid; gap: 12px; margin-top: 6px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 15.5px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q  "; color: var(--sky); font-weight: 700; }
.faq-item p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #10263c;
  color: rgba(255, 255, 255, .78);
  margin-top: 0;
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand p { font-size: 14px; margin: 14px 0 0; max-width: 300px; }
.footer-col h3 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact p { font-size: 13px; margin: 10px 0 0; }
.qr { border-radius: 10px; }
.footer-contact-list { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.65; }
.footer-contact-list li { margin-bottom: 9px; }
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.qr-item { margin: 0; text-align: center; }
.qr-item img { width: 92px; height: 92px; margin: 0 auto; border-radius: 8px; background: #fff; }
.qr-item figcaption { margin-top: 6px; font-size: 11px; color: rgba(255, 255, 255, .66); }
.qr-note { font-size: 12px; color: rgba(255, 255, 255, .55); margin-top: 12px; }
.footer-filing {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
}
.footer-filing a { color: rgba(255, 255, 255, .55); }
.footer-filing a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom p { margin: 0; }
.footer-bottom .disclaimer { max-width: 640px; color: rgba(255, 255, 255, .55); }

/* ---------- Featured list ---------- */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.article-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--ink);
  font-weight: 500;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.article-list a:hover { border-color: rgba(13, 138, 216, .5); box-shadow: var(--shadow-sm); color: var(--ink); }
.article-list-thumb {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}
.article-list a > span:first-of-type { flex: 1; }
.article-list .article-cat { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 14px 4vw 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { padding: 12px 14px; }
  .nav-cta { margin: 12px 0 0; width: 100%; }
  .about-story, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 620px) {
  .section { padding-block: 52px; }
  .hero-inner { padding-block: 58px 66px; }
  .hero-art { width: 100%; opacity: .18; }
  .page-hero-art { width: 100%; opacity: .2; }
  .cta-box { padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip ul { justify-content: flex-start; }
  .article-list .article-cat { display: none; }
}
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .stats-grid strong { font-size: 26px; }
  .stats-grid span { font-size: 12px; }
}

/* Article header figure */
.article-figure {
  margin: 22px 0 26px;
}
.article-figure img {
  width: 100%;
  max-width: 780px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* Doctor team & doctor profile (eyelids site additions) */
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.doctor-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.doctor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.doctor-card .doc-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 26px; margin-bottom: 16px; }
.doctor-card h3 { margin: 0 0 2px; font-size: 19px; }
.doctor-card .doc-cred { font-size: 12.5px; letter-spacing: .4px; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; }
.doctor-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 14px; }
.doctor-card .card-link { font-size: 14px; }
.doc-subspecialty { font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 6px; }
.doc-meta { list-style: none; margin: 0 0 18px; padding: 0; font-size: 13.5px; color: var(--ink-soft); }
.doc-meta li { margin-bottom: 5px; padding-left: 16px; position: relative; }
.doc-meta li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.doc-portrait { width: 108px; height: 108px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 40px; flex-shrink: 0; border: 3px solid var(--line); }
.doc-portrait-lg { display: flex; align-items: center; gap: 26px; margin: 6px 0 22px; }
.doc-portrait-lg h2 { margin: 0 0 4px; }
.doc-portrait-lg .doc-cred-lg { margin: 0; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 620px) {
  .doc-portrait { width: 84px; height: 84px; font-size: 30px; }
  .doc-portrait-lg { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Hero with background photo (eyelids site) */
.hero.has-bg { position: relative; background: #0e2e4d; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero.has-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,46,77,.55) 0%, rgba(14,46,77,.10) 45%, rgba(14,46,77,0) 70%); pointer-events: none; }
.hero.has-bg .hero-inner { position: relative; z-index: 1; }

/* Social follow buttons (contact page) */
.social-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.social-btn svg { flex-shrink: 0; }
.social-x:hover { background: #0f1419; border-color: #0f1419; color: #fff; }
.social-fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }

/* Share panel (main.js) */
.amc-share-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; background: rgba(8,22,38,.58); padding: 24px; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.amc-share-card { background: #fff; border-radius: 18px; max-width: 340px; width: 100%; padding: 26px 22px 20px; text-align: center; box-shadow: 0 18px 60px rgba(0,0,0,.28); }
.amc-share-card h3 { margin: 0 0 18px; font-size: 19px; line-height: 1.3; color: #123c5f; }
.amc-share-btn { display: block; width: 100%; padding: 12px 16px; margin-bottom: 10px; border: 0; border-radius: 999px; background: #123c5f; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: filter .15s ease; }
.amc-share-btn:hover { filter: brightness(1.12); }
.amc-share-wechat { background: #07c160; }
.amc-share-x { background: #0f1419; }
.amc-share-fb { background: #1877f2; }
.amc-share-copy { background: #eef3f8; color: #123c5f; border: 1.5px solid #d8e0e8; }
.amc-share-close { display: block; width: 100%; padding: 12px 16px; border: 1.5px solid #d8e0e8; border-radius: 999px; background: #fff; color: #123c5f; font-size: 15px; font-weight: 600; cursor: pointer; }
.amc-share-close:hover { background: #f4f7fa; }

/* Contact QR block (centered on all viewports) */
.qr-center { max-width: 340px; margin: 8px auto 0; text-align: center; }
.qr-center img { display: block; margin: 0 auto; }


/* --- Article review block: reviewer, date, risks, red flags, references --- */
.article-review {
  margin: 40px 0 8px;
  padding: 26px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfaf7;
}
.article-review h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.article-review h2 + ul { margin-bottom: 20px; }
.article-review ul { padding-left: 20px; }
.article-review li { margin-bottom: 7px; }
.article-review .review-refs { font-size: 15px; color: var(--ink-soft, #445867); }
.article-review-meta {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.article-review-meta strong { color: var(--navy, #123c5f); }
.article-review-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-soft, #445867);
}


/* --- Blocks introduced with the cluster's later content work ---------------
   The article FAQ, the inter-site related-links block and the footer reviewer
   line are rendered by engine/partials.py and engine/article.py. They had no
   rules until now, so they displayed unstyled. */
.article-faq {
  margin: 40px 0 8px;
}
.article-faq h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.related-sites {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.related-sites li {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.related-sites a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.related-sites a:hover { text-decoration: underline; }
.rel-note {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

.reviewed-line {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.reviewed-line strong {
  color: var(--navy);
  font-weight: 600;
}
/* --- engine:content-blocks --- */
/* --- engine:decision-assets --- */
/* --- Decision assets (original figures required by the content plan) --- */
.decision-asset {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.decision-asset svg { display: block; width: 100%; height: auto; }
.decision-asset figcaption {
  padding: 14px 20px 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: #fbfaf7;
}
.decision-asset.asset-safety { border-color: #e8c9c9; }

/* --- Emergency notice (T-SAFETY home pages) ---
   The Safety template renders its red_flags_first module as
   <div class="notice notice-emergency">, and the module order puts it directly
   under the hero, so the first thing a reader meets is the emergency routing.
   Without these rules the class had no styling anywhere in the cluster CSS and
   the notice read as an ordinary paragraph. */
.notice {
  padding: 16px 0;
  background: #fdf3f1;
  border-top: 1px solid #f0d0c9;
  border-bottom: 1px solid #f0d0c9;
}
.notice p { margin: 0; color: #6d2c22; font-size: 15.5px; line-height: 1.6; }
.notice-emergency { background: #a33b2e; border-color: #8d3126; }
.notice-emergency p { color: #fff; font-weight: 500; }
.notice-emergency a { color: #ffe6e0; text-decoration: underline; }
.notice-emergency a:hover { color: #fff; }
/* --- engine:topic-trail --- */
.topic-trail {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.topic-trail a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.topic-trail a:hover { text-decoration: underline; }
/* --- engine:hero-banner --- */
.hero.has-bg::after { display: none; }
.hero.has-bg .hero-bg {
  position: static;
  display: block;
  width: 100%;
  /* 31.25vw is the photo's own 1920x600 ratio, so on a normal screen the whole
     row is visible and nothing is cropped. The clamp stops it collapsing to an
     unreadable strip of shoulders on a phone, and stops it dominating a very
     wide display; object-fit covers whatever the clamp leaves over. */
  height: clamp(180px, 31.25vw, 420px);
  object-fit: cover;
  object-position: center;
}
.hero.has-bg .hero-inner { position: static; padding-block: 60px 84px; }
@media (max-width: 620px) {
  .hero.has-bg .hero-inner { padding-block: 44px 56px; }
}
/* --- engine:doc-figure --- */
.doc-figure {
  margin: 26px 0;
}
.doc-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.doc-figure figcaption {
  margin: 10px 2px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
