/* STI Center — clean white medical theme */
:root {
  --bg: #ffffff;
  --bg-muted: #f4f7f8;
  --bg-hero: linear-gradient(160deg, #e8f5f3 0%, #ffffff 48%, #f0f7fa 100%);
  --text: #15202b;
  --text-muted: #5b6b76;
  --border: #e2e9ed;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --accent-soft: #d9f2ef;
  --shadow: 0 12px 40px rgba(15, 40, 50, 0.06);
  --radius: 14px;
  --container: 1120px;
  --font: "Be Vietnam Pro", "Sarabun", system-ui, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--accent); color: #fff; padding: 0.75rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.container.narrow { width: min(100% - 2rem, 720px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(15,40,50,0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--text);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.03em; }
.brand-tag { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.nav-desktop ul { display: flex; gap: 0.25rem; align-items: center; }
.nav-desktop a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.7rem; border-radius: 999px;
  text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.9rem;
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--text); background: var(--bg-muted); }
.nav-desktop .has-submenu { position: relative; }
.nav-desktop .submenu-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.65;
}
.nav-desktop .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 14rem;
  padding: 0.45rem;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 40, 50, 0.1);
  z-index: 40;
}
.nav-desktop .has-submenu:hover > .submenu,
.nav-desktop .has-submenu:focus-within > .submenu { display: block; }
.nav-desktop .submenu a {
  display: block;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
}
.nav-desktop .submenu a:hover,
.nav-desktop .submenu a[aria-current="page"] {
  background: var(--bg-muted);
  color: var(--accent-dark);
}
.nav-mobile-sub {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0 0 0 0.85rem;
}
.nav-mobile-sub a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.55rem 0;
  border-bottom-color: transparent;
}
.header-actions { display: flex; align-items: center; gap: 0.65rem; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.lang-switch a {
  padding: 0.45rem 0.75rem; font-size: 0.78rem; font-weight: 700;
  text-decoration: none; color: var(--text);
  line-height: 1; letter-spacing: 0.02em;
}
.lang-switch a:hover { background: var(--bg-muted); }
.lang-switch a.is-active { background: var(--accent); color: #fff; }
.lang-switch-mobile {
  width: min(100% - 2rem, var(--container));
  margin: 0.85rem auto 0;
  display: flex;
}
.lang-switch-mobile a {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.75rem;
  font-size: 0.9rem;
}
@media (min-width: 961px) {
  .lang-switch-mobile { display: none; }
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid #c5d0d6;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #15202b;
  flex-shrink: 0;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  height: 16px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: #15202b;
  transition: transform 0.25s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.nav-mobile {
  border-top: 1px solid var(--border); background: #fff; padding: 1rem 0 1.25rem;
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile ul { width: min(100% - 2rem, var(--container)); margin: 0 auto 1rem; }
.nav-mobile a {
  display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text); font-weight: 600;
}
.nav-mobile .btn { width: min(100% - 2rem, var(--container)); margin-inline: auto; display: flex; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.8rem 1.25rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--text); }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-block { width: 100%; }
.text-link { font-weight: 600; text-decoration: none; color: var(--accent); white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* Hero — full-bleed image, brand first, compact padding */
.hero {
  position: relative;
  min-height: min(68svh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 42%, rgba(255,255,255,0.28) 72%, rgba(255,255,255,0.12) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 35%, rgba(15,40,50,0.18) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.25rem 0 2.5rem;
  max-width: 640px;
}
.eyebrow {
  display: inline-block; margin: 0 0 0.65rem; padding: 0.3rem 0.7rem;
  background: var(--accent-soft); color: var(--accent-dark);
  border-radius: 999px; font-size: 0.8rem; font-weight: 600;
}
.hero-brand {
  margin: 0 0 0.35rem; font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 700; letter-spacing: -0.04em; color: var(--accent-dark);
}
.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem); font-weight: 600;
  color: var(--text); margin-bottom: 0.65rem; max-width: 20ch;
}
.hero .lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 0;
}
.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 42rem; }
.lead-sm { font-size: 1.05rem; color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.15rem; }
.hero .btn-ghost {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-muted { background: var(--bg-muted); }
.section-header { margin-bottom: 2rem; max-width: 40rem; }
.section-header h2 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); }
.section-header p { color: var(--text-muted); margin: 0; }
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; max-width: none;
}

.trust-bar { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust-item {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.5rem 0.75rem 0.5rem 0; border-left: 2px solid var(--accent-soft);
  padding-left: 1rem;
}
.trust-item strong { font-size: 0.98rem; }
.trust-item span { font-size: 0.88rem; color: var(--text-muted); }

.disease-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.disease-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.35rem; border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: #fff; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.disease-link:hover {
  border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text);
}
.disease-link span:first-child { font-weight: 600; font-size: 1.05rem; }
.disease-more { color: var(--accent); font-size: 0.88rem; font-weight: 600; }

.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center;
}
.stat-num {
  display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700;
  color: var(--accent-dark); letter-spacing: -0.04em; line-height: 1.1;
}
.stat-label { color: var(--text-muted); font-size: 0.95rem; }

.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.service-item {
  padding: 1.5rem 0 0; border-top: 2px solid var(--accent);
}
.service-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.service-item p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

.article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.article-grid-3 { grid-template-columns: repeat(3, 1fr); }
.article-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-muted); }
.article-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.article-card:hover .article-card-media img { transform: scale(1.04); }
.article-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-soft), #e8f1f5);
}
.article-card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.article-card-body time { font-size: 0.82rem; color: var(--text-muted); }
.article-card-body h2,
.article-card-body h3,
.article-card-body .h3 { font-size: 1.05rem; margin: 0; }
.article-card-body h2 a,
.article-card-body h3 a,
.article-card-body .h3 a { text-decoration: none; color: var(--text); }
.article-card-body h2 a:hover,
.article-card-body h3 a:hover { color: var(--accent); }
.article-card-body p { color: var(--text-muted); font-size: 0.92rem; margin: 0; flex: 1; }

.cta-band {
  background: linear-gradient(120deg, #0f766e, #0e7490);
  color: #fff; padding: 3rem 0;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.35rem; font-size: 1.6rem; }
.cta-band p { margin: 0; opacity: 0.9; }

/* Page hero */
.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #eef8f6 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.breadcrumbs { padding: 0.4rem 0 0; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: #b0bcc4;
  font-weight: 400;
  line-height: 1;
}
.breadcrumbs a {
  text-decoration: none;
  color: var(--text-muted);
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.search-form {
  display: flex; gap: 0.6rem; margin-top: 1.5rem; max-width: 560px;
}
.search-form input {
  flex: 1; padding: 0.85rem 1rem; border: 1px solid var(--border);
  border-radius: 999px; font: inherit; background: #fff;
}
.search-form input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2.75rem;
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination-btn,
.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.pagination-num {
  min-width: 42px;
  padding: 0;
  border-radius: 12px;
}
.pagination-btn:hover,
.pagination-num:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.pagination-num.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  pointer-events: none;
}
.pagination-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  color: var(--text-muted);
  font-weight: 600;
}
.pagination-meta {
  text-align: center;
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
@media (max-width: 640px) {
  .pagination { gap: 0.65rem; }
  .pagination-btn span:not([aria-hidden]) { display: none; }
  .pagination-btn { min-width: 42px; padding: 0; justify-content: center; border-radius: 12px; }
}
.empty-state { text-align: center; color: var(--text-muted); padding: 3rem 0; }

/* Article detail — WP-like 2-column layout */
.article-detail { padding-bottom: 2.5rem; }
.breadcrumbs + .article-detail {
  margin-top: 0;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
  padding-top: 0.15rem;
}
.article-main { min-width: 0; }
.article-header { padding: 0 0 0.5rem; }
.article-header .meta {
  margin: 0 0 0.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.article-header h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  margin: 0;
  color: #1e3a5f;
  line-height: 1.25;
}
.article-body { padding-bottom: 0.5rem; }
.article-body.prose { font-size: 1.05rem; color: var(--text); line-height: 1.75; }
.article-body.prose h2,
.article-body.prose h3 { margin-top: 1.75em; font-size: 1.3rem; color: #1e3a5f; }
.article-body.prose p,
.article-body.prose ul,
.article-body.prose ol { margin-bottom: 1.15em; }
.article-body.prose ul { padding-left: 1.25rem; list-style: disc; }
.article-body.prose ol { padding-left: 1.25rem; list-style: decimal; }
.article-body.prose a:not(.btn) { color: #5b21b6; }
.article-body.prose figure { margin: 0 0 1.35rem; }
.article-body.prose figure img,
.article-body.prose img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.article-body.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.article-body.prose th,
.article-body.prose td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.article-body.prose th { background: var(--bg-muted); font-weight: 600; }
.article-body.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-muted);
}

/* TOC */
.article-toc,
#ez-toc-container {
  margin: 1.35rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #f7f8fa;
}
.article-toc .toc-title,
#ez-toc-container .toc-title,
#ez-toc-container .ez-toc-title {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e3a5f;
}
.article-toc ul,
#ez-toc-container ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style: decimal;
}
.article-toc li,
#ez-toc-container li { margin: 0.3rem 0; }
.article-toc a,
#ez-toc-container a {
  text-decoration: none;
  color: #2563eb;
  font-size: 0.95rem;
}
.article-toc a:hover,
#ez-toc-container a:hover { text-decoration: underline; }

.article-ad {
  margin: 1.5rem 0;
  text-align: center;
}
.article-ad a { display: inline-block; line-height: 0; }
.article-ad img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
}
.article-share span { color: var(--text-muted); font-weight: 600; }
.article-share a { text-decoration: none; font-weight: 600; }

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sidebar-search {
  display: flex;
  border: 1px solid #c9d2dc;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.sidebar-search input {
  flex: 1;
  border: 0;
  padding: 0.7rem 0.85rem;
  font: inherit;
  min-width: 0;
}
.sidebar-search input:focus { outline: none; }
.sidebar-search button {
  width: 44px;
  border: 0;
  background: #3b82f6;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sidebar-search button:hover { background: #2563eb; }
.sidebar-ad {
  display: block;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
}
.sidebar-ad img {
  width: 100%;
  height: auto;
  display: block;
}
.sidebar-widget {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 6px 18px rgba(15, 40, 50, 0.05);
}
.sidebar-widget h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #1e3a5f;
}
.sidebar-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sidebar-widget a {
  text-decoration: none;
  color: #2563eb;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 500;
}
.sidebar-widget a:hover { text-decoration: underline; }

.prose { font-size: 1.05rem; color: var(--text); }
.prose h2, .prose h3 { margin-top: 1.75em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose ul, .prose ol { padding-left: 1.25rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose img { border-radius: 10px; margin: 1.25rem 0; }
.prose a:not(.btn) { color: var(--accent); }
.prose a.btn-primary { color: #fff; }
.prose a.btn-primary:hover { color: #fff; }
.prose figure { margin: 1.5rem 0; }

@media (max-width: 960px) {
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar { position: static; order: 2; }
}
.aside-box {
  position: sticky; top: calc(var(--header-h) + 1rem);
  padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-muted);
}
.aside-box.accent { background: var(--accent-soft); border-color: transparent; margin-top: 1rem; }
.aside-title, .aside-box h2 { font-size: 1rem; margin-bottom: 0.75rem; }
.share-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.share-list a { text-decoration: none; font-weight: 500; }

/* About / FAQ / Contact */
.about-grid {
  display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 3rem; align-items: start;
}
.value-list { display: flex; flex-direction: column; gap: 0.75rem; }
.value-list li {
  padding: 1rem 1.1rem; background: var(--bg-muted); border-radius: 12px;
  border-left: 3px solid var(--accent); font-weight: 500;
}
.about-wp { margin-top: 2rem; color: var(--text-muted); }
.about-wp img { display: none; } /* hide decorative WP stock images */

.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 0.25rem 0;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h2 {
  font-size: 1.05rem; margin: 0; font-weight: 600;
}
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 0 1.25rem; color: var(--text-muted); }
.faq-answer p { margin: 0; }

/* Knowledge hub */
.page-hero-compact { padding-bottom: 1.5rem; }
.page-hero-compact .eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.knowledge-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(180deg, #fff 0%, #f7fbfc 100%);
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.knowledge-card:hover {
  border-color: #9ec9d4;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 40, 50, 0.06);
}
.knowledge-card h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #1e3a5f;
}
.knowledge-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}
.knowledge-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.knowledge-card-cta {
  font-weight: 650;
  color: var(--accent-dark);
  font-size: 0.92rem;
}
.knowledge-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.knowledge-cta h2 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.knowledge-cta p { margin: 0; color: var(--text-muted); }
.knowledge-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.knowledge-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.knowledge-aside-block h2 {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.knowledge-toc,
.knowledge-siblings {
  margin: 0;
  padding: 0;
  list-style: none;
}
.knowledge-toc { counter-reset: topic; }
.knowledge-toc li { counter-increment: topic; }
.knowledge-toc a,
.knowledge-siblings a {
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  border-bottom: 1px solid transparent;
}
.knowledge-toc a::before {
  content: counter(topic) ". ";
  color: #9aa8b2;
  font-weight: 600;
}
.knowledge-toc a:hover,
.knowledge-siblings a:hover,
.knowledge-siblings a[aria-current="page"] {
  color: var(--accent-dark);
}
.knowledge-section {
  padding: 0 0 1.75rem;
  margin: 0 0 1.75rem;
  border-bottom: 1px solid var(--border);
}
.knowledge-section:last-of-type { border-bottom: 0; margin-bottom: 0.5rem; }
.knowledge-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  color: #1e3a5f;
}
.knowledge-section h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  color: #1e3a5f;
  font-weight: 600;
}
.knowledge-section p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.75;
}
.knowledge-section p:last-child { margin-bottom: 0; }
.knowledge-section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.knowledge-section li { margin-bottom: 0.35rem; line-height: 1.65; }
.knowledge-figure {
  margin: 1.25rem 0 1.5rem;
  padding: 0.75rem;
  background: linear-gradient(180deg, #f3faf9 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.knowledge-figure img {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 8px;
  background: #fff;
}
.knowledge-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
.knowledge-table-wrap {
  overflow-x: auto;
  margin: 1.15rem 0 1.35rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.knowledge-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0;
}
.knowledge-content caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}
.knowledge-content th,
.knowledge-content td {
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}
.knowledge-content th { background: #f7fbfa; font-weight: 600; color: #1e3a5f; }
.knowledge-content tr:last-child td { border-bottom: 0; }
.knowledge-references ol {
  margin: 0;
  padding-left: 1.25rem;
}
.knowledge-references li { margin-bottom: 0.55rem; line-height: 1.55; }
.knowledge-references a { word-break: break-word; }
.knowledge-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Contact — channels, no form */
.contact-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.contact-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1rem 0;
}
.contact-toc-title {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-toc ol {
  list-style: decimal;
  padding-left: 1.15rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.contact-toc a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-toc a:hover { color: var(--accent); }
.contact-main { max-width: 720px; }
.contact-block { margin-bottom: 2.75rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.contact-block h2 { font-size: 1.45rem; margin-bottom: 0.65rem; }
.contact-block-lead,
.contact-block > p { color: var(--text-muted); }
.contact-channels {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-channel {
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-template-areas:
    "label value"
    "label desc";
  gap: 0.15rem 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.contact-channel:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--text);
}
.contact-channel-label {
  grid-area: label;
  align-self: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.contact-channel-value {
  grid-area: value;
  font-weight: 700;
  font-size: 1.05rem;
}
.contact-channel-desc {
  grid-area: desc;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact-related {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.contact-related li { border-bottom: 1px solid var(--border); }
.contact-related a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}
.contact-related a:hover { color: var(--accent); }
.contact-related a span:last-child {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-toc { position: static; padding: 0 0 0.5rem; }
  .contact-toc ol {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    list-style: none;
    padding-left: 0;
  }
}
.privacy-updated { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.75rem; }
.privacy-body h2 { font-size: 1.15rem; margin-top: 1.75em; }

/* Footer */
.site-footer {
  background: #0f1c22; color: #c5d0d6; padding: 3.5rem 0 0; margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand { color: #fff; margin-bottom: 0.85rem; }
.footer-brand p { font-size: 0.92rem; max-width: 28ch; }
.footer-heading {
  color: #fff; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { color: #c5d0d6; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.15rem 0; font-size: 0.85rem;
}

/* Motion */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .article-card:hover, .disease-link:hover { transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid,
  .article-grid,
  .article-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .article-layout,
  .about-grid,
  .footer-grid,
  .knowledge-layout { grid-template-columns: 1fr; }
  .knowledge-aside { position: static; }
  .knowledge-cta { flex-direction: column; align-items: flex-start; }
  .aside-box { position: static; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero {
    min-height: min(58svh, 480px);
    align-items: flex-end;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.78) 42%, rgba(255,255,255,0.96) 100%);
  }
  .hero-content { padding: 1.5rem 0 1.75rem; }
  .hero h1 { max-width: none; }
  .trust-grid,
  .disease-grid,
  .stats-grid,
  .service-grid,
  .article-grid,
  .article-grid-3 { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .search-form { flex-direction: column; }
  .brand-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
