:root {
  --bg: #ffffff;
  --ink: #101214;
  --muted: #5e6875;
  --line: #e7ebf0;
  --green: #00a878;
  --blue: #1769ff;
  --yellow: #ffd400;
  --red: #ff3b30;
  --orange: #ff8a00;
  --soft-green: #e8fff6;
  --soft-blue: #edf4ff;
  --soft-red: #fff0ef;
  --soft-yellow: #fff9d8;
  --shadow: 0 24px 70px rgba(16, 18, 20, 0.12);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 70% 26%, var(--yellow) 0 14%, transparent 15%),
    linear-gradient(135deg, var(--green), var(--blue));
}

.top-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--ink);
  outline: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 212, 0, 0.2), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(0, 168, 120, 0.12), transparent 26%),
    #ffffff;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft-green);
  color: #00785c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(54px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.28;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: #334155;
  font-size: 20px;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.safe-note {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #f7fbff;
  box-shadow: var(--shadow);
}

.hero-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-card img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
}

.section {
  padding: 88px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  margin-bottom: 34px;
}

.section-split.reverse {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

.section-split.reverse .section-heading {
  order: 2;
}

.section-split.reverse .section-visual {
  order: 1;
}

.section-split .section-heading {
  margin-bottom: 0;
}

.section-visual {
  margin: 0;
}

.section-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.source-mini-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.source-mini-grid a,
.urgent-source-links a {
  border: 1px solid var(--line);
  background: white;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.source-mini-grid a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
}

.source-mini-grid a:hover,
.source-mini-grid a:focus-visible,
.urgent-source-links a:hover,
.urgent-source-links a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blue);
  outline: none;
}

.source-mini-grid strong {
  color: var(--ink);
  font-size: 17px;
}

.source-mini-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section-heading p,
.step-grid p,
.risk-grid p,
.urgent p,
.urgent-card span,
.final-cta p,
.site-footer span {
  color: var(--muted);
}

.section-heading.compact {
  margin-bottom: 24px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-grid article,
.risk-grid article,
.urgent-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 44px rgba(16, 18, 20, 0.06);
}

.step-grid span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.step-grid article:nth-child(2) span {
  background: var(--green);
}

.step-grid article:nth-child(3) span {
  background: var(--blue);
}

.risks {
  background: #f8fbff;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.risk-grid article {
  min-height: 430px;
  display: flex;
  flex-direction: column;
}

.risk-mark {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 18px;
  color: white;
  font-weight: 900;
}

.risk-mark.heart {
  background: var(--red);
}

.risk-mark.sugar {
  background: var(--green);
}

.risk-mark.brain {
  background: var(--blue);
}

.risk-mark.vessel {
  background: var(--orange);
}

.risk-grid b {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.detail-link {
  display: inline-flex;
  width: max-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.risk-grid article:nth-child(1) {
  background: var(--soft-red);
}

.risk-grid article:nth-child(2) {
  background: var(--soft-green);
}

.risk-grid article:nth-child(3) {
  background: var(--soft-blue);
}

.risk-grid article:nth-child(4) {
  background: var(--soft-yellow);
}

.urgent {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.urgent-card {
  display: grid;
  gap: 10px;
  min-height: auto;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 212, 0, 0.34), transparent 28%),
    white;
}

.urgent-card strong {
  margin-top: 10px;
  font-size: 22px;
}

.urgent-card strong:first-child {
  margin-top: 0;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: calc(82svh - 72px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 212, 0, 0.2), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(23, 105, 255, 0.1), transparent 26%),
    #ffffff;
}

.detail-hero.diabetes {
  background:
    radial-gradient(circle at 16% 22%, rgba(0, 168, 120, 0.16), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(255, 212, 0, 0.2), transparent 26%),
    #ffffff;
}

.detail-hero.stroke {
  background:
    radial-gradient(circle at 16% 22%, rgba(23, 105, 255, 0.14), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(0, 168, 120, 0.12), transparent 26%),
    #ffffff;
}

.detail-hero.vascular {
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 138, 0, 0.16), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(23, 105, 255, 0.1), transparent 26%),
    #ffffff;
}

.detail-hero img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.mini-nav {
  position: sticky;
  top: 72px;
  z-index: 20;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(18px, 5vw, 72px);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.mini-nav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.mini-nav a:hover,
.mini-nav a:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  outline: none;
}

.intro-article {
  padding: clamp(46px, 6vw, 74px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 212, 0, 0.18), transparent 22%),
    #ffffff;
}

.intro-article.diabetes {
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 168, 120, 0.13), transparent 22%),
    #ffffff;
}

.intro-article.stroke {
  background:
    radial-gradient(circle at 92% 12%, rgba(23, 105, 255, 0.11), transparent 22%),
    #ffffff;
}

.intro-article.vascular {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 138, 0, 0.13), transparent 22%),
    #ffffff;
}

.intro-article h2 {
  max-width: 14ch;
}

.intro-article p:not(.eyebrow) {
  max-width: 860px;
  color: #334155;
  font-size: 19px;
  font-weight: 620;
}

.intro-article p:last-child {
  margin-bottom: 0;
}

.detail-section {
  padding: 88px clamp(18px, 5vw, 72px);
  background: #f8fbff;
}

.detail-section.white {
  background: white;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 44px rgba(16, 18, 20, 0.06);
}

.detail-grid h2 {
  font-size: 25px;
  line-height: 1.18;
}

.detail-grid p {
  color: var(--muted);
}

.card-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.info-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px);
}

.info-band h2 {
  max-width: 10ch;
}

.info-band ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-band li {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.urgent-band {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 212, 0, 0.32), transparent 24%),
    linear-gradient(135deg, #101214, #223044);
  color: white;
}

.urgent-band .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.urgent-lede {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 650;
}

.urgent-content {
  display: grid;
  gap: 18px;
}

.urgent-content img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.urgent-content li strong {
  color: white;
}

.urgent-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.urgent-source-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 14px;
  font-weight: 900;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.checklist-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbff;
}

.checklist-grid h3 {
  font-size: 22px;
}

.checklist-grid p {
  color: var(--muted);
}

.source-box {
  display: grid;
  gap: 10px;
  margin: 0 clamp(18px, 5vw, 72px) 74px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}

.source-box strong {
  font-size: 20px;
}

.source-box p {
  max-width: 760px;
  margin-bottom: 4px;
  color: var(--muted);
}

.source-box a {
  color: var(--blue);
  font-weight: 800;
}

.source-box .back-link {
  width: max-content;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.final-cta {
  margin: 0 clamp(18px, 5vw, 72px) 74px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 212, 0, 0.38), transparent 24%),
    linear-gradient(135deg, #101214, #1d2939);
  color: white;
}

.final-cta .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.final-cta p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
}

.final-cta .button.primary {
  margin-top: 8px;
  background: white;
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

.knowledge-hero h1 {
  max-width: 9ch;
}

.latest-section {
  background: #f8fbff;
}

.latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.85fr));
  gap: 18px;
}

.featured-post-card,
.post-card,
.archive-card,
.category-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 44px rgba(16, 18, 20, 0.06);
}

.featured-post-card {
  grid-row: span 2;
  min-height: 520px;
  padding: 34px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 212, 0, 0.28), transparent 28%),
    white;
}

.post-card {
  min-height: 250px;
  padding: 26px;
}

.featured-post-card,
.post-card,
.archive-card {
  display: flex;
  flex-direction: column;
}

.featured-post-card h3 {
  max-width: 12ch;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

.post-card h3 {
  font-size: 23px;
}

.featured-post-card p,
.post-card p,
.archive-card p,
.category-card p,
.empty-state p {
  color: var(--muted);
}

.post-meta {
  margin-bottom: 16px;
  color: #00785c;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  min-height: 170px;
  padding: 22px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ink);
  outline: none;
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.five-step-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.archive-hero {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 212, 0, 0.18), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(23, 105, 255, 0.1), transparent 26%),
    #ffffff;
}

.archive-hero h1 {
  max-width: 14ch;
  margin-bottom: 18px;
}

.article-list {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.archive-card {
  min-height: 230px;
  padding: 30px;
}

.archive-card h2 {
  max-width: 18ch;
  font-size: clamp(30px, 4vw, 48px);
}

.article-page {
  background: #f8fbff;
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 18px 46px;
}

.article-hero {
  margin-bottom: 30px;
}

.article-hero h1 {
  max-width: 13ch;
  margin-bottom: 16px;
  font-size: clamp(44px, 6vw, 76px);
}

.article-cover img {
  width: 100%;
  height: auto;
  margin-bottom: 34px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.article-content,
.article-safety-note {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}

.article-content {
  color: #273447;
  font-size: 20px;
  font-weight: 560;
}

.article-content p,
.article-content ul,
.article-content ol {
  max-width: 760px;
}

.article-content h2,
.article-content h3 {
  margin-top: 34px;
}

.article-visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 28px;
}

.article-visual-card,
.article-info-card,
.article-flow-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.article-visual-card {
  min-height: 170px;
  padding: 18px;
  border-top: 7px solid var(--card-accent, var(--blue));
}

.article-visual-card span,
.article-info-card span,
.article-flow-card span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent, var(--blue)) 14%, white);
  color: var(--card-accent, var(--blue));
  font-size: 12px;
  font-weight: 900;
}

.article-visual-card strong,
.article-info-card strong,
.article-flow-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
}

.article-visual-card p,
.article-info-card p,
.article-flow-card p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.article-illustration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.article-info-card {
  padding: 18px;
}

.article-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.article-flow-card {
  position: relative;
  min-height: 156px;
  padding: 18px;
}

.article-flow-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 2px;
  background: var(--line);
}

.article-flow-card:last-child::after {
  display: none;
}

.article-stat-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f3fbff);
}

.article-stat-bars {
  display: grid;
  gap: 12px;
  align-content: center;
}

.article-stat-bar {
  display: grid;
  gap: 6px;
}

.article-stat-bar strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
}

.article-stat-bar i {
  display: block;
  width: var(--bar-width, 50%);
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.article-callout {
  margin: 26px 0;
  padding: 18px;
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: #f1f7ff;
  color: #334155;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.accent-teal {
  --card-accent: #00a885;
}

.article-safety-note {
  margin-top: 18px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 212, 0, 0.28), transparent 28%),
    #101214;
  color: white;
}

.article-safety-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.related-section {
  padding-top: 42px;
}

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

.pagination-nav {
  margin-top: 28px;
}

.pagination-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 900;
}

.pagination-nav .current {
  background: var(--ink);
  color: white;
}

.empty-state {
  max-width: 760px;
  padding: 32px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .top-nav {
    display: flex;
  }

  .top-nav a {
    padding: 12px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .detail-hero,
  .urgent,
  .section-split,
  .section-split.reverse {
    grid-template-columns: 1fr;
  }

  .section-split.reverse .section-heading,
  .section-split.reverse .section-visual {
    order: initial;
  }

  .step-grid,
  .risk-grid,
  .detail-grid,
  .checklist-grid,
  .latest-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid,
  .five-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-post-card {
    grid-row: auto;
  }

  .info-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .mini-nav {
    top: 64px;
    padding: 10px 18px;
  }

  .brand span:last-child {
    max-width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 44px 18px 54px;
  }

  .detail-hero {
    min-height: auto;
    padding: 44px 18px 54px;
  }

  h1 {
    max-width: 11ch;
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-card {
    border-radius: 22px;
  }

  .hero-card img {
    min-height: 360px;
    object-position: 60% center;
  }

  .section-visual img,
  .urgent-content img {
    border-radius: 20px;
  }

  .detail-hero img {
    min-height: 340px;
    object-position: 55% center;
    border-radius: 22px;
  }

  .step-grid,
  .risk-grid,
  .detail-grid,
  .checklist-grid,
  .latest-grid,
  .related-grid,
  .category-grid,
  .five-step-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 18px;
  }

  .detail-section {
    padding: 64px 18px;
  }

  .info-band {
    padding: 48px 18px;
  }

  .intro-article {
    padding: 42px 18px;
  }

  .intro-article h2 {
    max-width: none;
  }

  .intro-article p:not(.eyebrow) {
    font-size: 17px;
  }

  .info-band h2 {
    max-width: none;
  }

  .step-grid article,
  .risk-grid article,
  .detail-grid article,
  .checklist-grid article,
  .post-card,
  .featured-post-card,
  .archive-card,
  .category-card {
    min-height: auto;
  }

  .featured-post-card h3 {
    max-width: none;
    font-size: 32px;
  }

  .article-content {
    font-size: 17px;
  }

  .source-box {
    margin: 0 18px 56px;
  }

  .final-cta {
    margin: 0 18px 56px;
  }

  .site-footer {
    flex-direction: column;
  }
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 18px;
}

.hero-proof a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(23, 105, 255, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  color: #0f3f7a;
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero-proof a:hover,
.hero-proof a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(23, 105, 255, 0.42);
  outline: none;
  background: linear-gradient(135deg, #f9fcff, #dff0ff);
}

.priority-urgent {
  position: relative;
  overflow: hidden;
}

.priority-urgent::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--red), var(--yellow), var(--blue));
}

.wide-heading {
  max-width: 980px;
}

.disease-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbff 54%, #ffffff 100%);
}

.chronic-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 172, 193, 0.12), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(255, 193, 7, 0.16), transparent 28%),
    #ffffff;
}

.chronic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.chronic-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 52px rgba(16, 18, 20, 0.08);
}

.chronic-card span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e8fbf5;
  color: #008a6d;
  font-size: 13px;
  font-weight: 900;
}

.chronic-card h3 {
  margin-bottom: 14px;
  font-size: clamp(23px, 2.4vw, 30px);
}

.chronic-card p {
  margin: 0 0 13px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
}

.chronic-card strong {
  color: var(--ink);
}

.disease-section .section-heading {
  margin-bottom: 22px;
}

.disease-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(23, 105, 255, 0.08);
}

.disease-toolbar > div:first-child {
  display: grid;
  gap: 2px;
}

.disease-toolbar strong {
  font-size: 18px;
  line-height: 1.2;
}

.disease-toolbar span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.pager-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pager-controls button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.pager-controls button:hover,
.pager-controls button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--blue);
  outline: none;
}

.pager-controls button[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.pager-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.disease-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.disease-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 22px 56px rgba(16, 18, 20, 0.08);
}

.disease-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--card-accent, var(--blue));
}

.disease-card[hidden] {
  display: none;
}

.disease-pill {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent, var(--blue)) 12%, white);
  color: var(--card-accent, var(--blue));
  font-size: 13px;
  font-weight: 900;
}

.disease-card h3 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 34px);
}

.disease-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.disease-card dl div {
  padding: 14px;
  border: 1px solid #edf1f6;
  border-radius: 16px;
  background: #fbfdff;
}

.disease-card dt {
  margin-bottom: 5px;
  color: var(--card-accent, var(--blue));
  font-size: 14px;
  font-weight: 900;
}

.disease-card dd {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.disease-source {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.disease-source a {
  color: var(--card-accent, var(--blue));
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.accent-green {
  --card-accent: var(--green);
}

.accent-blue {
  --card-accent: var(--blue);
}

.accent-orange {
  --card-accent: var(--orange);
}

.accent-red {
  --card-accent: var(--red);
}

.accent-violet {
  --card-accent: #7c3aed;
}

.accent-cyan {
  --card-accent: #0891b2;
}

.accent-yellow {
  --card-accent: #d99c00;
}

.accent-dark {
  --card-accent: #0f172a;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.source-row a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.latest-priority {
  padding-top: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 181, 138, 0.12), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(23, 105, 255, 0.12), transparent 30%),
    #f8fbff;
}

.chronic-card .detail-link {
  margin-top: auto;
}

.wechat-float {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(16px, 4vw, 30px);
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.wechat-float-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(0, 181, 138, 0.24);
  border-radius: 999px;
  background: #09b67b;
  color: white;
  box-shadow: 0 18px 40px rgba(0, 130, 92, 0.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.wechat-float-button:hover,
.wechat-float-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 22px 48px rgba(0, 130, 92, 0.34);
}

.wechat-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 34%, #ffe3c5 0 22%, transparent 23%),
    radial-gradient(circle at 50% 62%, #ffffff 0 29%, transparent 30%),
    linear-gradient(145deg, #1057d8, #0aa67e);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.72);
}

.wechat-label {
  white-space: nowrap;
}

.wechat-panel {
  position: relative;
  width: min(310px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(0, 181, 138, 0.2);
  border-radius: 22px;
  background: white;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.wechat-panel strong {
  display: block;
  margin-right: 34px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.wechat-panel img {
  display: block;
  width: 210px;
  height: 210px;
  margin: 14px auto 12px;
  border-radius: 14px;
  background: #f8fafc;
}

.wechat-panel span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.wechat-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .disease-grid,
  .chronic-grid {
    grid-template-columns: 1fr;
  }

  .disease-card,
  .chronic-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .knowledge-hero h1 {
    max-width: 10ch;
    font-size: 40px;
  }

  .section-heading h2,
  .wide-heading h2 {
    font-size: 38px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-proof a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .article-visual-strip,
  .article-illustration-grid,
  .article-flow,
  .article-stat-panel {
    grid-template-columns: 1fr;
  }

  .article-flow-card::after {
    top: auto;
    right: auto;
    bottom: -12px;
    left: 20px;
    width: 2px;
    height: 12px;
  }

  .disease-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .pager-controls {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pager-controls button {
    min-width: 0;
    padding: 0 8px;
  }

  .disease-card {
    border-radius: 20px;
  }

  .chronic-card {
    border-radius: 20px;
    padding: 22px;
  }

  .disease-card dl div {
    padding: 12px;
  }

  .source-row a {
    width: 100%;
    justify-content: center;
  }
}

/* Editorial reading tools: visual summaries are intentionally diagrammatic, not stock-like. */
.daily-launch {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(26px, 5vw, 66px);
  align-items: center;
  margin: clamp(24px, 4vw, 54px) clamp(18px, 5vw, 72px) 0;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 8px;
  background: linear-gradient(112deg, #073157 0%, #10517d 55%, #00a878 155%);
  color: white;
  box-shadow: 0 24px 64px rgba(7, 49, 87, 0.2);
}
.daily-launch .eyebrow { background: rgba(255, 255, 255, 0.16); color: #dff8ff; }
.daily-launch h2 { max-width: 12ch; margin-bottom: 14px; color: white; }
.daily-launch-copy > p:last-child { max-width: 640px; margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 18px; font-weight: 650; }
.daily-launch-route { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(2, 25, 47, 0.24); }
.daily-launch-route > span { flex-basis: 100%; color: #b4fbe2; font-size: 13px; font-weight: 900; }
.daily-launch-route strong { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.12); color: white; font-size: 15px; }
.daily-launch-route i { width: 16px; height: 2px; background: #ffd400; }
.daily-launch-route .button { width: 100%; margin-top: 8px; background: white; color: #09385f; }

.health-explainer { overflow: hidden; margin: 30px 0; border: 1px solid #dce7f2; border-radius: 8px; background: #f8fbff; }
.health-explainer figcaption { display: grid; gap: 6px; padding: 22px 24px; background: #0f3457; color: white; }
.health-explainer figcaption span { color: #83ebca; font-size: 13px; font-weight: 900; }
.health-explainer figcaption strong { font-size: clamp(20px, 3vw, 30px); line-height: 1.15; }
.plate-visual { display: grid; grid-template-columns: 1fr 1fr; width: min(360px, calc(100% - 48px)); aspect-ratio: 1; margin: 30px auto 20px; overflow: hidden; border: 12px solid #edf5ff; border-radius: 50%; background: white; box-shadow: 0 12px 0 #cde0f2, 0 22px 45px rgba(15, 52, 87, 0.16); }
.plate-visual i { display: grid; place-items: center; padding: 12px; color: #0f3457; font-size: 16px; font-style: normal; font-weight: 900; }
.plate-veg { grid-row: span 2; background: #bdf4d7; }.plate-protein { background: #cce8ff; }.plate-carb { background: #ffe7a7; }
.explainer-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #dce7f2; }
.explainer-notes p { min-height: 130px; margin: 0; padding: 18px; background: white; color: #4b5563; font-size: 15px; line-height: 1.65; }
.explainer-notes b { display: block; margin-bottom: 5px; color: #008a6d; }
.day-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 28px 0; background: #dce7f2; border: 1px solid #dce7f2; }
.day-strip div { min-height: 136px; padding: 18px; background: white; }.day-strip span { display: inline-grid; width: 32px; height: 32px; margin-bottom: 14px; place-items: center; background: #d9f7eb; color: #008a6d; font-size: 13px; font-weight: 900; }.day-strip strong,.day-strip p { display: block; margin: 0; }.day-strip strong { color: #0f3457; }.day-strip p { margin-top: 5px; color: #5e6875; font-size: 14px; }
.activity-path { display: grid; grid-template-columns: repeat(7, auto); align-items: center; justify-content: center; gap: 8px; padding: 32px 24px; background: linear-gradient(180deg, #e9fff7, #f8fbff); }
.activity-path > div { display: grid; width: 118px; min-height: 118px; align-content: center; justify-items: center; gap: 5px; padding: 14px; border: 1px solid #beeede; border-radius: 8px; background: white; text-align: center; }.activity-path b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #00a878; color: white; font-size: 13px; }.activity-path span { color: #0f3457; font-weight: 900; }.activity-path small { color: #5e6875; font-size: 12px; }.activity-path i { width: 26px; height: 2px; background: #00a878; }
.medicine-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }.medicine-map-card { padding: 22px; border: 1px solid var(--line); border-top: 8px solid var(--card-accent, var(--blue)); border-radius: 8px; background: white; box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08); }.medicine-map-card span { display: inline-flex; margin-bottom: 12px; color: var(--card-accent, var(--blue)); font-size: 13px; font-weight: 900; }.medicine-map-card h3 { font-size: 22px; }.medicine-map-card p { color: #4b5563; font-size: 15px; line-height: 1.65; }.medicine-map-card b { color: #0f3457; }

@media (max-width: 780px) {
  .daily-launch,
  .explainer-notes,
  .medicine-map { grid-template-columns: 1fr; }
  .daily-launch { margin-top: 18px; }
  .explainer-notes p { min-height: auto; }
  .day-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-path { grid-template-columns: 1fr; justify-items: center; }
  .activity-path i { width: 2px; height: 18px; }
}
