:root {
  --ink: #101923;
  --navy: #0d1b2a;
  --navy-2: #13283c;
  --green: #2f6f5e;
  --green-dark: #1f5145;
  --green-soft: #e8f2ee;
  --gold: #c9a227;
  --gold-soft: #f6efd4;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --text: #17202a;
  --muted: #64748b;
  --line: rgba(13, 27, 42, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --shadow: 0 24px 70px rgba(13, 27, 42, .12);
  --shadow-soft: 0 18px 46px rgba(13, 27, 42, .08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 111, 94, .18), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(201, 162, 39, .14), transparent 30rem),
    linear-gradient(180deg, #fbfaf6 0%, #f2efe7 58%, #fbfaf6 100%);
  line-height: 1.6;
}

a { color: inherit; }

.trust-strip {
  background: linear-gradient(90deg, var(--navy), var(--green-dark));
  color: rgba(255,255,255,.78);
  padding: .62rem 5vw;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.trust-strip span {
  position: relative;
}

.trust-strip span:first-child {
  color: rgba(255,255,255,.92);
  font-weight: 650;
}

.trust-strip span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -.58rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, .88);
  border-bottom: 1px solid var(--line);
  padding: 1rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent),
    linear-gradient(135deg, var(--navy), var(--green));
  color: #fff;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: 0 16px 36px rgba(13, 27, 42, .2);
}

.brand strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: -.03em;
  color: var(--navy);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 1.25rem;
  color: #334155;
  font-size: .92rem;
  font-weight: 850;
}

nav a {
  text-decoration: none;
  transition: color .2s ease;
}

nav a:hover {
  color: var(--green);
}

.hero {
  padding: 6rem 5vw 4.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  gap: 3rem;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.eyebrow,
.section-kicker,
.card-label {
  display: inline-flex;
  color: var(--green);
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .76rem;
}

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

h1 {
  font-size: clamp(3.2rem, 6.2vw, 6.85rem);
  line-height: .92;
  letter-spacing: -.075em;
  margin: 1rem 0 1.35rem;
  color: var(--navy);
  max-width: 980px;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.85vw, 1.38rem);
  max-width: 760px;
  color: #334155;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin: 2rem 0 1.4rem;
}

.btn {
  padding: .98rem 1.28rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 38px rgba(47, 111, 94, .28);
}

.btn.secondary {
  background: rgba(255,255,255,.78);
  color: var(--navy);
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  max-width: 920px;
  margin-top: 1.7rem;
}

.trust-points div {
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.trust-points strong {
  display: block;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.2;
  margin-bottom: .35rem;
}

.trust-points span {
  color: #536173;
  font-size: .86rem;
  line-height: 1.45;
}

.hero-panel,
.article-card,
.method-card,
.compare-card,
.notice-card,
.disclaimer {
  background: rgba(255, 253, 248, .88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 32px;
}

.hero-panel {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: 25px;
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -86px;
  top: -86px;
  border-radius: 999px;
  background: rgba(47, 111, 94, .12);
  pointer-events: none;
}

.panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.status-pill {
  border: 1px solid rgba(47, 111, 94, .2);
  color: var(--green);
  background: var(--green-soft);
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 950;
}

.hero-panel h2 {
  position: relative;
  z-index: 1;
  font-size: 2.15rem;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--navy);
  margin: .8rem 0 1rem;
}

.hero-panel p {
  position: relative;
  z-index: 1;
  color: #475569;
}

.article-snapshot {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  display: grid;
  gap: .65rem;
}

.article-snapshot div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .85rem;
}

.article-snapshot span {
  display: block;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.article-snapshot strong {
  display: block;
  color: var(--navy);
  line-height: 1.25;
  margin-top: .15rem;
}

.panel-warning {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  color: #5f4b12;
  border-radius: 0 16px 16px 0;
  padding: .9rem 1rem;
  font-size: .9rem;
  font-weight: 750;
}

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4.8rem 5vw;
}

.editorial-intro,
.conditions,
.public,
.disclaimer {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -.052em;
  margin: .7rem 0 1rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.1rem;
}

.section-heading.centered {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro-copy {
  color: #405062;
  font-size: 1.05rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.article-card {
  padding: 1.35rem;
  min-height: 315px;
  display: flex;
  flex-direction: column;
}

.article-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(13, 27, 42, .97), rgba(31, 81, 69, .97));
  color: #fff;
}

.article-card.featured h3,
.article-card.featured p {
  color: #fff;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.15rem;
}

.tag-row span {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: .34rem .62rem;
  font-size: .7rem;
  font-weight: 950;
}

.featured .tag-row span {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.article-card h3 {
  font-size: 1.42rem;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--navy);
}

.article-card p {
  color: #475569;
}

.card-meta {
  display: grid;
  gap: .35rem;
  margin: 1rem 0;
}

.card-meta span {
  font-size: .82rem;
  color: rgba(255,255,255,.76);
  border-left: 3px solid rgba(201, 162, 39, .9);
  padding-left: .65rem;
}

.article-card a {
  margin-top: auto;
  font-weight: 950;
  color: var(--green);
  text-decoration: none;
}

.featured a {
  color: #fff;
}

.method {
  background:
    linear-gradient(180deg, rgba(13,27,42,.04), rgba(47,111,94,.05));
  max-width: none;
  padding-left: calc((100vw - 1320px) / 2 + 5vw);
  padding-right: calc((100vw - 1320px) / 2 + 5vw);
}

.method-grid,
.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.method-card,
.compare-card {
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.method-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--navy);
  color: #fff;
  font-weight: 950;
  margin-bottom: 1rem;
}

.method-card strong,
.compare-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.2;
}

.method-card p,
.compare-card p {
  color: #536173;
  margin: .55rem 0 0;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}

.topic-list a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.topic-list strong {
  display: block;
  color: var(--navy);
  line-height: 1.2;
}

.topic-list span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  margin-top: .32rem;
}

.compare-card.accent {
  background: var(--green);
  color: #fff;
}

.compare-card.accent strong,
.compare-card.accent p {
  color: #fff;
}

.public {
  background:
    radial-gradient(circle at 20% 0%, rgba(47,111,94,.55), transparent 34rem),
    linear-gradient(135deg, var(--navy), #08111d);
  color: rgba(255,255,255,.86);
  max-width: none;
  padding-left: calc((100vw - 1320px) / 2 + 5vw);
  padding-right: calc((100vw - 1320px) / 2 + 5vw);
}

.public h2,
.public .section-kicker {
  color: #fff;
}

.notice-card {
  padding: 1.5rem;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}

.notice-card strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

.notice-card p {
  color: rgba(255,255,255,.78);
  margin: 0;
}

.disclaimer {
  box-shadow: none;
  margin-bottom: 4rem;
  background: #fff;
}

.disclaimer > div,
.disclaimer > p {
  padding: 2rem;
}

.disclaimer > p {
  margin: 0;
  color: #475569;
}

.disclaimer h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}



@media (max-width: 1080px) {
  nav {
    display: none;
  }

  .hero,
  .editorial-intro,
  .conditions,
  .public,
  .disclaimer {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .method-grid,
  .compare-grid,
  .trust-points {
    grid-template-columns: 1fr 1fr;
  }

  .article-card.featured {
    grid-column: span 1;
  }

  .footer-links span {
    text-align: left;
  }
}

@media (max-width: 660px) {
  .trust-strip {
    justify-content: flex-start;
  }

  .trust-strip span::after {
    display: none;
  }

  .site-header {
    position: relative;
  }

  .hero {
    padding-top: 3.8rem;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.25rem);
  }

  .article-grid,
  .method-grid,
  .compare-grid,
  .topic-list,
  .trust-points {
    grid-template-columns: 1fr;
  }

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


/* Pharmaceutical Context Library */
.subpage-hero,
.drug-hero {
  padding: 5.2rem 5vw 3.6rem;
  max-width: 1320px;
  margin: 0 auto;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.subpage-hero h1,
.drug-hero h1 {
  font-size: clamp(2.7rem, 5.3vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.07em;
  color: var(--navy);
  margin: 1rem 0 1.2rem;
  max-width: 1020px;
}

.subpage-hero p,
.drug-hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: #405062;
  max-width: 860px;
}

.source-note {
  display: inline-flex;
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: #536173;
  font-weight: 700;
}

.library-intro {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.drug-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .85rem;
}

.drug-card {
  position: relative;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
  min-height: 285px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.drug-rank {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 950;
  margin-bottom: .9rem;
}

.drug-category {
  color: var(--green);
  font-weight: 950;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.drug-card h3 {
  margin: .45rem 0 .65rem;
  line-height: 1.08;
  font-size: 1.25rem;
}

.drug-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.drug-card p {
  font-size: .92rem;
  color: #536173;
}

.drug-topics {
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: #536173;
}

.drug-topics strong {
  color: var(--navy);
}

.drug-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .45fr);
  gap: 2.4rem;
  align-items: start;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 1.2rem;
  text-decoration: none;
  color: var(--green);
  font-weight: 900;
}

.drug-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.3rem;
}

.drug-hero-meta span {
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  padding: .55rem .8rem;
  color: var(--navy);
  font-weight: 850;
  font-size: .88rem;
}

.drug-profile-card,
.content-panel,
.sidebar-card {
  background: rgba(255, 253, 248, .9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 28px;
}

.drug-profile-card {
  padding: 1.5rem;
}

.drug-profile-card h2 {
  font-size: 2rem;
  margin: .6rem 0 1rem;
}

.drug-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.2rem;
  align-items: start;
}

.drug-main {
  display: grid;
  gap: 1rem;
}

.content-panel {
  padding: 1.55rem;
}

.content-panel h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
  margin-bottom: .9rem;
}

.topic-bullets,
.keyword-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.topic-bullets li,
.keyword-list li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: .78rem .9rem;
  color: #344256;
  font-weight: 750;
}

.highlight-panel {
  background:
    linear-gradient(135deg, rgba(13,27,42,.96), rgba(47,111,94,.96));
  color: #fff;
}

.highlight-panel .section-kicker,
.highlight-panel h2,
.highlight-panel p {
  color: #fff;
}

.inline-cta {
  display: inline-flex;
  margin-top: .4rem;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,.55);
}

.drug-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.sidebar-card {
  padding: 1.25rem;
}

.sidebar-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: .65rem;
}

.sidebar-card ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #536173;
}

.sidebar-card p {
  margin: 0;
  color: #536173;
}

@media (max-width: 1180px) {
  .drug-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .drug-hero,
  .drug-layout,
  .library-intro {
    grid-template-columns: 1fr;
  }

  .drug-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .drug-grid {
    grid-template-columns: 1fr;
  }

  .subpage-hero,
  .drug-hero {
    padding-top: 3.6rem;
  }
}


/* Production polish for pharmaceutical library */
.pharma-hero {
  position: relative;
  overflow: hidden;
}

.pharma-hero::after {
  content: "";
  position: absolute;
  right: 5vw;
  top: 4.5rem;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(47,111,94,.22), transparent 68%),
    radial-gradient(circle at 30% 30%, rgba(201,162,39,.16), transparent 52%);
  pointer-events: none;
}

.production-note {
  max-width: 780px;
  background: rgba(255,255,255,.78);
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
}

.production-intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.production-compare {
  padding-top: 2.6rem;
  padding-bottom: 2.6rem;
}

.pro-drug-grid .pro-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pro-drug-grid .pro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(13,27,42,.14);
  border-color: rgba(47,111,94,.26);
}

.drug-card-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--green);
  font-weight: 950;
  text-decoration: none;
}

.drug-card-link::after {
  content: " →";
}

.production-drug-hero {
  position: relative;
}

.production-drug-hero::before {
  content: "";
  position: absolute;
  inset: auto 5vw 0 5vw;
  height: 1px;
  background: var(--line);
}

.production-profile-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,253,248,.9));
}

.production-drug-layout {
  padding-top: 3.2rem;
}

.lead-panel {
  border-left: 5px solid var(--green);
}

.safety-panel {
  border-left: 5px solid var(--gold);
}

.reader-note {
  margin-top: 1rem;
  border-radius: 18px;
  background: var(--gold-soft);
  border: 1px solid rgba(201,162,39,.28);
  color: #5f4b12;
  padding: 1rem;
  font-weight: 700;
}

.reader-note strong {
  color: #3f3107;
}

.pro-topic-bullets {
  grid-template-columns: repeat(2, 1fr);
}

.pro-topic-bullets li {
  position: relative;
  padding-left: 2.4rem;
}

.pro-topic-bullets li::before {
  content: "";
  position: absolute;
  left: .9rem;
  top: 50%;
  width: .65rem;
  height: .65rem;
  border-radius: 999px;
  background: var(--green);
  transform: translateY(-50%);
}

.pro-topic-bullets li span {
  display: block;
}

.production-highlight {
  position: relative;
  overflow: hidden;
}

.production-highlight::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.production-sidebar .sidebar-card {
  background: rgba(255,255,255,.86);
}

.caution-card {
  background: var(--navy) !important;
  color: #fff;
}

.caution-card strong,
.caution-card p {
  color: #fff;
}

.keyword-list li {
  font-weight: 700;
}

.drug-hero-meta span {
  background: rgba(255,255,255,.82);
}

@media (max-width: 760px) {
  .pro-topic-bullets {
    grid-template-columns: 1fr;
  }

  .pharma-hero::after {
    display: none;
  }
}


/* Research Guides Section */
.research-hero,
.article-hero {
  padding: 5.4rem 5vw 3.7rem;
  max-width: 1320px;
  margin: 0 auto;
}

.research-hero h1,
.article-hero h1 {
  font-size: clamp(2.8rem, 5.6vw, 6rem);
  line-height: .93;
  letter-spacing: -.075em;
  color: var(--navy);
  margin: 1rem 0 1.25rem;
  max-width: 1080px;
}

.research-hero p,
.article-hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: #405062;
  max-width: 890px;
}

.research-method-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.research-method-card {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
}

.research-method-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: .35rem;
}

.research-method-card span {
  color: #536173;
}

.research-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
  align-items: stretch;
}

.research-feature-card,
.research-side-panel {
  background: rgba(255,253,248,.9);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.research-feature-card {
  background:
    linear-gradient(135deg, rgba(13,27,42,.97), rgba(47,111,94,.97));
  color: #fff;
}

.research-feature-card h3 {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin-bottom: 1rem;
}

.research-feature-card p {
  color: rgba(255,255,255,.82);
  max-width: 760px;
}

.research-feature-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,.5);
}

.research-side-panel h3 {
  color: var(--navy);
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.research-side-panel ol {
  color: #536173;
  padding-left: 1.2rem;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.upcoming-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
}

.upcoming-grid strong {
  display: block;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: .45rem;
}

.upcoming-grid span {
  color: var(--muted);
  font-size: .92rem;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}

.article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.4rem;
}

.article-badges span {
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 850;
  padding: .55rem .78rem;
  font-size: .86rem;
}

.article-summary-card {
  background: rgba(255,253,248,.92);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.article-summary-card h2 {
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.2rem;
  align-items: start;
  padding-top: 2.8rem;
}

.article-content {
  display: grid;
  gap: 1rem;
}

.article-content .content-panel p {
  font-size: 1.02rem;
}

.research-panel {
  border-left: 5px solid var(--green);
}

.public-conversation-panel {
  border-left: 5px solid var(--navy);
}

.evidence-snapshot {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.evidence-snapshot div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.evidence-snapshot strong {
  display: block;
  color: var(--navy);
  line-height: 1.2;
}

.evidence-snapshot span {
  display: block;
  color: var(--muted);
  margin-top: .35rem;
  font-size: .9rem;
}

.conversation-themes {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}

.conversation-themes span {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid rgba(47,111,94,.16);
  border-radius: 999px;
  padding: .55rem .75rem;
  font-weight: 850;
  font-size: .9rem;
}

.sources-panel ol {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.sources-panel li {
  margin-bottom: .65rem;
  color: #536173;
}

.sources-panel a {
  color: var(--green);
  font-weight: 850;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.article-sidebar .sidebar-card {
  display: grid;
  gap: .5rem;
}

.article-sidebar .sidebar-card a {
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .research-method-strip,
  .research-feature-grid,
  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .upcoming-grid,
  .evidence-snapshot {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .upcoming-grid,
  .evidence-snapshot {
    grid-template-columns: 1fr;
  }
}


/* Premium Footer Upgrade */
.site-footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(47,111,94,.28), transparent 34rem),
    linear-gradient(135deg, #07111d 0%, #0d1b2a 52%, #102a27 100%);
  color: rgba(255,255,255,.78);
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 5vw 3rem;
  display: grid;
  grid-template-columns: minmax(320px, .85fr) 1.15fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand-block {
  max-width: 580px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.2rem;
}

.footer-brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent),
    linear-gradient(135deg, var(--green), var(--navy));
  color: #fff;
  font-weight: 950;
  letter-spacing: .04em;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.18rem;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.footer-brand small {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  font-weight: 700;
  margin-top: .15rem;
}

.footer-brand-block p {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.72;
  margin: 0 0 1.1rem;
}

.footer-trust-note {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.06);
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  padding: 1rem;
  color: rgba(255,255,255,.76);
  line-height: 1.55;
}

.footer-trust-note strong {
  color: #fff;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.footer-nav div {
  min-width: 0;
}

.footer-nav strong {
  display: block;
  color: #fff;
  font-size: .86rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.footer-nav a {
  display: block;
  color: rgba(255,255,255,.68);
  text-decoration: none;
  font-weight: 650;
  padding: .34rem 0;
  line-height: 1.35;
  transition: color .2s ease, transform .2s ease;
}

.footer-nav a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.35rem 5vw 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: .86rem;
  line-height: 1.6;
  max-width: 980px;
}

.footer-bottom span {
  color: rgba(255,255,255,.58);
  font-size: .86rem;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .footer-inner {
    padding-top: 3rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
  }
}





/* Premium Responsive Header + Mobile Menu */
body.mobile-menu-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, .9);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.site-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: .88rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo-link picture {
  display: flex;
  align-items: center;
}

.site-logo {
  display: block;
  width: clamp(220px, 26vw, 330px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: #334155;
  font-size: .91rem;
  font-weight: 850;
  white-space: nowrap;
}

.desktop-nav a {
  position: relative;
  text-decoration: none;
  padding: .5rem 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .18rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.desktop-nav a:hover {
  color: var(--green);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(13, 27, 42, .12);
  border-radius: 15px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(13, 27, 42, .08);
  cursor: pointer;
  padding: 0;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
}

.mobile-menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform .22s ease, opacity .22s ease, top .22s ease;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 15px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 22px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 29px;
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--mobile-header-height, 76px) 0 0 0;
  z-index: 99;
  background: rgba(7, 17, 29, .48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 5vw 1.2rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-panel {
  max-width: 1320px;
  margin: 0 auto;
  background:
    radial-gradient(circle at top left, rgba(47,111,94,.13), transparent 24rem),
    linear-gradient(180deg, rgba(255,253,248,.98), rgba(248,246,239,.98));
  border: 1px solid rgba(13, 27, 42, .12);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 34px 90px rgba(7, 17, 29, .26);
  padding: 1rem;
  animation: mobileMenuIn .22s ease both;
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-label {
  color: var(--green);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
  margin: .25rem .25rem .85rem;
}

.mobile-nav {
  display: grid;
  gap: .7rem;
}

.mobile-nav a {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, .1);
  border-radius: 20px;
  padding: .95rem 1rem;
  box-shadow: 0 14px 34px rgba(13,27,42,.07);
}

.mobile-nav a strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.2;
}

.mobile-nav a strong::after {
  content: "→";
  color: var(--green);
  font-weight: 950;
}

.mobile-nav a span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
  margin-top: .28rem;
}

.mobile-menu-note {
  margin-top: .85rem;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  color: #5f4b12;
  border-radius: 0 16px 16px 0;
  padding: .82rem .95rem;
  font-size: .84rem;
  font-weight: 720;
  line-height: 1.45;
}

/* Restore footer logo clarity with real image */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.footer-logo-link picture {
  display: flex;
}

.footer-logo {
  display: block;
  width: min(340px, 82vw);
  height: auto;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.22));
}

/* Premium mobile page polish */
@media (max-width: 980px) {
  .desktop-nav,
  header.site-header > nav,
  .site-header nav:not(.mobile-nav):not(.footer-nav) {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: grid;
  }

  .site-header-inner {
    padding: .72rem 4.5vw;
  }

  .site-logo {
    width: min(285px, 68vw);
    max-height: 54px;
  }

  .trust-strip {
    display: none;
  }

  .hero,
  .research-hero,
  .article-hero,
  .subpage-hero,
  .drug-hero {
    padding-top: 3.2rem;
  }

  .hero {
    gap: 1.8rem;
  }
}

@media (max-width: 680px) {
  .site-header-inner {
    padding: .64rem 4vw;
    gap: .8rem;
  }

  .site-logo {
    width: min(235px, 64vw);
    max-height: 48px;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .mobile-menu-toggle span {
    width: 18px;
  }

  .mobile-menu-toggle span:nth-child(1) {
    top: 13px;
  }

  .mobile-menu-toggle span:nth-child(2) {
    top: 20px;
  }

  .mobile-menu-toggle span:nth-child(3) {
    top: 27px;
  }

  .site-header.menu-open .mobile-menu-toggle span:nth-child(1),
  .site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
    top: 20px;
  }

  .mobile-menu {
    inset: 62px 0 0 0;
    padding-left: 3.5vw;
    padding-right: 3.5vw;
  }

  .mobile-menu-panel {
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    border-radius: 0 0 24px 24px;
  }

  .mobile-nav a {
    padding: .88rem .9rem;
    border-radius: 18px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero-lead,
  .research-hero p,
  .article-hero p,
  .subpage-hero p,
  .drug-hero p {
    font-size: 1rem;
  }

  .footer-logo {
    width: min(290px, 84vw);
    max-height: 74px;
  }
}


/* Transparent Logo Polish */
.site-logo {
  mix-blend-mode: normal;
}

.footer-logo {
  mix-blend-mode: normal;
}

.site-header-inner {
  min-height: 76px;
}

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


/* Premium Article Template Polish */
.article-hero-premium {
  position: relative;
  overflow: hidden;
}

.article-hero-premium::after {
  content: "";
  position: absolute;
  right: 5vw;
  top: 4rem;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(47,111,94,.18), transparent 66%),
    radial-gradient(circle at 30% 35%, rgba(201,162,39,.14), transparent 52%);
  pointer-events: none;
}

.premium-summary-card {
  position: relative;
  z-index: 1;
  border-left: 5px solid var(--green);
}

.premium-article-badges span {
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(13,27,42,.06);
}

.premium-article-layout {
  align-items: start;
}

.premium-article-content .content-panel {
  position: relative;
  overflow: hidden;
}

.article-intro-panel {
  border-left: 5px solid var(--green);
}

.article-context-panel {
  border-left: 5px solid var(--navy);
}

.premium-research-panel {
  background:
    radial-gradient(circle at top right, rgba(47,111,94,.1), transparent 22rem),
    rgba(255,253,248,.92);
}

.premium-evidence-snapshot {
  grid-template-columns: repeat(3, 1fr);
}

.premium-evidence-snapshot div {
  transition: transform .2s ease, box-shadow .2s ease;
}

.premium-evidence-snapshot div:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13,27,42,.08);
}

.premium-safety-panel {
  background:
    radial-gradient(circle at top right, rgba(201,162,39,.13), transparent 24rem),
    rgba(255,253,248,.92);
}

.safety-list {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.safety-list div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.safety-list strong {
  display: block;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .35rem;
}

.safety-list span {
  display: block;
  color: #536173;
  font-size: .92rem;
}

.premium-public-panel {
  background:
    radial-gradient(circle at top left, rgba(13,27,42,.07), transparent 24rem),
    rgba(255,253,248,.92);
}

.conversation-card-grid,
.source-card-grid,
.related-card-grid {
  display: grid;
  gap: .8rem;
}

.conversation-card-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 1.1rem 0;
}

.conversation-card-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.conversation-card-grid strong {
  display: block;
  color: var(--navy);
  margin-bottom: .35rem;
}

.conversation-card-grid span {
  color: #536173;
  font-size: .92rem;
}

.bottom-line-panel {
  background:
    linear-gradient(135deg, rgba(13,27,42,.96), rgba(31,81,69,.96));
  color: #fff;
}

.bottom-line-panel .section-kicker,
.bottom-line-panel h2,
.bottom-line-panel p {
  color: #fff;
}

.source-card-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.1rem;
}

.source-card-grid a,
.related-card-grid a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.source-card-grid a:hover,
.related-card-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(13,27,42,.1);
}

.source-card-grid strong,
.related-card-grid strong {
  display: block;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .35rem;
}

.source-card-grid span,
.related-card-grid span {
  display: block;
  color: #536173;
  font-size: .92rem;
}

.related-card-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1rem;
}

.premium-article-sidebar {
  position: sticky;
  top: 100px;
}

.toc-card a {
  border-bottom: 1px solid var(--line);
  padding: .45rem 0;
}

.toc-card a:last-child {
  border-bottom: 0;
}

.article-facts-card div {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: .5rem;
  border-bottom: 1px solid var(--line);
  padding: .55rem 0;
}

.article-facts-card div:last-child {
  border-bottom: 0;
}

.article-facts-card span {
  color: var(--muted);
  font-size: .84rem;
}

.article-facts-card b {
  color: var(--navy);
  font-size: .88rem;
}

@media (max-width: 1080px) {
  .premium-article-sidebar {
    position: static;
  }

  .premium-evidence-snapshot {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-hero-premium::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .premium-evidence-snapshot,
  .safety-list,
  .conversation-card-grid,
  .source-card-grid,
  .related-card-grid {
    grid-template-columns: 1fr;
  }

  .article-facts-card div {
    grid-template-columns: 1fr;
  }

  .premium-article-content .content-panel {
    padding: 1.2rem;
  }
}


/* Homepage Hero H1 Overlap Fix */
.hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.56fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(3.35rem, 6.85vw, 6.9rem);
  line-height: .94;
  letter-spacing: -.07em;
  max-width: 720px;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-panel,
.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 440px;
}

.hero-lead,
.hero-copy > p {
  max-width: 660px;
}

@media (min-width: 1320px) {
  .hero h1 {
    font-size: clamp(4rem, 6.15vw, 7.15rem);
    max-width: 760px;
  }

  .hero-panel,
  .hero-card {
    max-width: 455px;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 920px;
  }

  .hero h1 {
    max-width: 900px;
    font-size: clamp(3.3rem, 9vw, 6.4rem);
  }

  .hero-panel,
  .hero-card {
    justify-self: start;
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.35rem);
    line-height: .97;
    letter-spacing: -.055em;
    max-width: 100%;
  }

  .hero-copy {
    max-width: 100%;
  }
}


/* X Public Opinion Topic Links */
.x-opinion-panel {
  background:
    radial-gradient(circle at top left, rgba(13,27,42,.07), transparent 24rem),
    rgba(255,253,248,.94);
}

.x-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  margin-top: 1.15rem;
}

.x-topic-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.x-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(13,27,42,.1);
  border-color: rgba(13,27,42,.18);
}

.x-topic-card strong {
  display: block;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .35rem;
}

.x-topic-card span {
  color: var(--green);
  font-size: .92rem;
  font-weight: 850;
}

@media (max-width: 720px) {
  .x-topic-grid {
    grid-template-columns: 1fr;
  }
}


/* Public X Posts Section */
.x-posts-panel {
  background:
    radial-gradient(circle at top left, rgba(13,27,42,.07), transparent 24rem),
    rgba(255,253,248,.94);
}

.x-post-grid {
  display: grid;
  gap: .9rem;
  margin-top: 1.2rem;
}

.x-post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.x-post-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .65rem;
}

.x-post-card strong {
  color: var(--navy);
}

.x-post-card small {
  color: var(--muted);
  font-weight: 750;
}

.x-post-text {
  color: #405062;
  line-height: 1.55;
  margin: 0 0 .75rem;
}

.x-post-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
}

.x-post-card a {
  display: inline-flex;
  margin-top: .75rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 950;
}

.x-post-empty {
  background: #fff;
  border: 1px dashed rgba(13,27,42,.22);
  border-radius: 20px;
  padding: 1.2rem;
  color: var(--muted);
}

.x-post-refresh-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}


/* X Cached Post Query Card */
.x-post-query-card {
  display: grid;
  gap: .35rem;
  background: rgba(13, 27, 42, .96);
  color: #fff;
  border-radius: 20px;
  padding: 1rem;
  margin: 1rem 0 1.1rem;
  box-shadow: 0 18px 42px rgba(13,27,42,.18);
}

.x-post-query-card strong,
.x-post-query-card span {
  color: #fff;
}

.x-post-query-card span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .9rem;
  opacity: .9;
}

.x-post-query-card a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 950;
  width: fit-content;
}

.x-post-card-header small {
  display: block;
}


/* Public Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.sitemap-link-card {
  display: block;
  background: rgba(255,253,248,.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.sitemap-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(13,27,42,.1);
}

.sitemap-link-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: .35rem;
}

.sitemap-link-card span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}


/* Drug Side Effects Snapshot */
.drug-side-effects-panel {
  background:
    linear-gradient(135deg, rgba(255, 248, 230, .96), rgba(255, 253, 248, .98)),
    #fff;
  border-color: rgba(197, 142, 34, .24);
}

.drug-side-effects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  margin-top: 1rem;
}

.drug-side-effects-grid > div {
  background: #fff;
  border: 1px solid rgba(197, 142, 34, .2);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.drug-side-effects-grid strong {
  display: block;
  color: var(--navy);
  margin-bottom: .55rem;
}

.drug-side-effects-grid ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #405062;
  line-height: 1.55;
}

.drug-side-effect-source {
  display: grid;
  gap: .5rem;
  background: rgba(13, 27, 42, .05);
  border-radius: 18px;
  padding: .9rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.drug-side-effect-source a {
  color: var(--green);
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 760px) {
  .drug-side-effects-grid {
    grid-template-columns: 1fr;
  }
}


/* FDA Trust Pages + Reviewer Block */
.trust-page-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem);
}

.trust-page-hero h1 {
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.trust-page-hero p {
  color: var(--muted);
  max-width: 780px;
  line-height: 1.65;
  font-size: 1.08rem;
}

.trust-page-content {
  max-width: 950px;
  margin: 0 auto 4rem;
  background: rgba(255,253,248,.96);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.trust-page-content h2 {
  color: var(--navy);
  margin-top: 1.3rem;
}

.trust-page-content p {
  color: #405062;
  line-height: 1.65;
}

.article-reviewer-panel {
  background:
    linear-gradient(135deg, rgba(237,243,238,.98), rgba(255,253,248,.98)),
    #fff;
  border-color: rgba(31,81,69,.22);
}

.article-reviewer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin: 1rem 0;
}

.article-reviewer-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .85rem;
  box-shadow: var(--shadow-soft);
}

.article-reviewer-grid strong {
  display: block;
  color: var(--green);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}

.article-reviewer-grid span {
  display: block;
  color: var(--navy);
  font-weight: 850;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .article-reviewer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .article-reviewer-grid {
    grid-template-columns: 1fr;
  }
}


/* Trust & Standards footer/sidebar links */
.footer-trust-links {
  display: grid;
  gap: .45rem;
  margin-top: 1rem;
}

.footer-trust-links strong {
  color: #fff;
}

.footer-trust-links a,
.trust-shortcuts-card a {
  color: inherit;
  text-decoration: none;
}

.trust-shortcuts-card {
  display: grid;
  gap: .55rem;
}

.trust-shortcuts-card a {
  color: var(--green);
  font-weight: 850;
}


/* Compact Header Navigation */
.site-header {
  position: relative;
  z-index: 20;
}

.site-header-inner {
  gap: 1rem;
}

.compact-main-nav,
.desktop-nav {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: nowrap;
}

.compact-main-nav a,
.desktop-nav a {
  white-space: nowrap;
  font-size: .92rem;
  line-height: 1;
  padding: .62rem .78rem;
}

.site-logo {
  max-width: 240px;
  height: auto;
}

.trust-strip {
  font-size: .78rem;
  line-height: 1.25;
}

@media (max-width: 1120px) {
  .site-logo {
    max-width: 205px;
  }

  .compact-main-nav a,
  .desktop-nav a {
    font-size: .86rem;
    padding: .55rem .62rem;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .compact-main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .trust-strip {
    display: none;
  }
}


/* Standard FDA Footer */
.standard-site-footer {
  background: #0d1b2a;
  color: #fff;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.standard-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(360px, 1.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.standard-site-footer .footer-brand-block p {
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

.standard-site-footer .footer-trust-note {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
  border-radius: 18px;
  padding: .85rem;
  margin-top: 1rem;
}

.standard-site-footer .footer-trust-note strong {
  color: #fff;
}

.standard-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.standard-footer-nav div {
  display: grid;
  gap: .48rem;
  align-content: start;
}

.standard-footer-nav strong {
  color: #fff;
  font-size: .86rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}

.standard-footer-nav a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  line-height: 1.35;
  font-weight: 700;
}

.standard-footer-nav a:hover {
  color: #fff;
}

.standard-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .72);
}

.standard-footer-bottom p {
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .standard-footer-grid,
  .standard-footer-nav {
    grid-template-columns: 1fr;
  }
}


/* Evidence Summary Width Fix */
.evidence-snapshot-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
}

.evidence-snapshot-wide > div {
  width: 100%;
  max-width: 100%;
}

.evidence-snapshot-wide > div:only-child {
  grid-column: 1 / -1;
  max-width: 780px;
}

.evidence-snapshot-wide > div:only-child span {
  max-width: 68ch;
  line-height: 1.65;
}

@media (min-width: 900px) {
  .evidence-snapshot-wide {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .evidence-snapshot-wide > div:only-child {
    max-width: 100%;
  }
}
