/* ==========================================================================
   EHPS Behavioral Medicine & Preventive Health Archive (ehps2017.org)
   European Health Psychology Research Consortium • Proceedings Stylesheet
   All CSS selectors and custom properties strictly prefixed with 'ehp-'
   ========================================================================== */

:root {
  --ehp-navy: #0F2942;
  --ehp-navy-deep: #081726;
  --ehp-navy-light: #1A365D;
  --ehp-cerulean: #0369A1;
  --ehp-cerulean-hover: #0284C7;
  --ehp-cerulean-light: #E0F2FE;
  --ehp-teal: #0D9488;
  --ehp-teal-light: #CCFBF1;
  --ehp-teal-subtle: #F0FDFA;
  --ehp-teal-dark: #0F766E;
  --ehp-white: #FAFBFC;
  --ehp-paper: #FFFFFF;
  --ehp-border: #CBD5E1;
  --ehp-border-light: #E2E8F0;
  --ehp-text-main: #0F172A;
  --ehp-text-body: #1E293B;
  --ehp-text-muted: #64748B;
  --ehp-text-light: #94A3B8;
  --ehp-bg-alt: #F8FAFC;
  --ehp-font-serif: 'Crimson Pro', Georgia, serif;
  --ehp-font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ehp-font-mono: 'Fira Mono', Menlo, Monaco, Consolas, monospace;
  --ehp-shadow-sm: 0 1px 2px 0 rgba(15, 41, 66, 0.05);
  --ehp-shadow-md: 0 4px 6px -1px rgba(15, 41, 66, 0.08), 0 2px 4px -2px rgba(15, 41, 66, 0.05);
  --ehp-shadow-lg: 0 10px 15px -3px rgba(15, 41, 66, 0.10), 0 4px 6px -4px rgba(15, 41, 66, 0.05);
}

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

html.ehp-html {
  font-size: 16px;
  background-color: var(--ehp-white);
  color: var(--ehp-text-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.ehp-body {
  font-family: var(--ehp-font-sans);
  background-color: var(--ehp-white);
  color: var(--ehp-text-body);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography Defaults */
h1.ehp-article-headline,
h2.ehp-section-title,
h2.ehp-charter-heading,
h3.ehp-abstract-label,
h3.ehp-callout-title,
h3.ehp-forest-plot-title,
h4.ehp-track-card-title,
h4.ehp-related-card-title,
h4.ehp-footer-heading {
  color: var(--ehp-navy);
  font-family: var(--ehp-font-serif);
  font-weight: 700;
  line-height: 1.25;
}

/* Container */
.ehp-site-container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Topbar Stripe */
.ehp-topbar-stripe {
  background-color: var(--ehp-navy-deep);
  color: #E2E8F0;
  font-family: var(--ehp-font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.15);
}

.ehp-topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ehp-topbar-item {
  display: inline-flex;
  align-items: center;
}

.ehp-topbar-badge {
  background-color: var(--ehp-teal);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.70rem;
}

/* Masthead Main */
.ehp-masthead-main {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--ehp-border);
  padding-top: 24px;
  padding-bottom: 24px;
}

.ehp-masthead-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.ehp-brand-group {
  display: flex;
  align-items: center;
}

.ehp-brand-anchor {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.ehp-brand-sigil {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: var(--ehp-navy);
  color: #FFFFFF;
  font-family: var(--ehp-font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: 2px solid var(--ehp-teal);
  flex-shrink: 0;
}

.ehp-brand-text-block {
  display: flex;
  flex-direction: column;
}

.ehp-brand-name {
  font-family: var(--ehp-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ehp-navy);
  line-height: 1.2;
}

.ehp-brand-tagline {
  font-size: 0.85rem;
  color: var(--ehp-text-muted);
  margin-top: 3px;
}

.ehp-editorial-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  border-left: 3px solid var(--ehp-teal);
  padding-left: 14px;
}

.ehp-chair-label {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--ehp-teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ehp-chair-name {
  font-family: var(--ehp-font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ehp-navy);
}

.ehp-chair-loc {
  font-size: 0.75rem;
  color: var(--ehp-text-muted);
}

/* Primary Navigation */
.ehp-primary-nav {
  background-color: var(--ehp-navy);
  border-bottom: 2px solid var(--ehp-teal);
}

.ehp-nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.ehp-nav-menu {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.ehp-nav-item {
  display: inline-block;
}

.ehp-nav-link {
  display: block;
  padding: 12px 16px;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ehp-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
}

.ehp-nav-link.ehp-nav-link-active {
  background-color: var(--ehp-teal);
  color: #FFFFFF;
}

.ehp-nav-action {
  padding: 8px 0;
}

.ehp-nav-calc-btn {
  display: inline-block;
  background-color: var(--ehp-cerulean);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.ehp-nav-calc-btn:hover {
  background-color: var(--ehp-cerulean-hover);
}

/* Main Content Area */
.ehp-main-content {
  flex: 1 0 auto;
  padding-bottom: 60px;
}

/* Hero Section (Homepage) */
.ehp-hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--ehp-white) 100%);
  border-bottom: 1px solid var(--ehp-border);
  padding-top: 48px;
  padding-bottom: 48px;
}

.ehp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.ehp-hero-badge {
  display: inline-block;
  background-color: var(--ehp-teal-light);
  color: var(--ehp-teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.ehp-hero-title {
  font-size: 2.35rem;
  color: var(--ehp-navy);
  margin-bottom: 16px;
  line-height: 1.15;
}

.ehp-hero-subtitle {
  font-size: 1.15rem;
  color: var(--ehp-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.ehp-hero-preface {
  background-color: #FFFFFF;
  border: 1px solid var(--ehp-border);
  border-left: 4px solid var(--ehp-cerulean);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.ehp-hero-quote-text {
  font-family: var(--ehp-font-serif);
  font-size: 1.10rem;
  font-style: italic;
  color: var(--ehp-text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}

.ehp-hero-byline {
  font-size: 0.85rem;
  color: var(--ehp-text-muted);
  font-weight: 600;
}

.ehp-hero-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.ehp-hero-feature-item {
  font-size: 0.90rem;
  color: var(--ehp-text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ehp-hero-feature-item::before {
  content: '✓';
  color: var(--ehp-teal);
  font-weight: 700;
}

/* Calculator Widget */
.ehp-calc-widget-card {
  background-color: #FFFFFF;
  border: 1px solid var(--ehp-border);
  border-radius: 6px;
  padding: 24px;
  box-shadow: var(--ehp-shadow-md);
}

.ehp-calc-head {
  border-bottom: 1px solid var(--ehp-border-light);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.ehp-calc-tag {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--ehp-cerulean);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ehp-calc-title {
  font-family: var(--ehp-font-serif);
  font-size: 1.45rem;
  color: var(--ehp-navy);
  margin-top: 4px;
  margin-bottom: 6px;
}

.ehp-calc-intro {
  font-size: 0.85rem;
  color: var(--ehp-text-muted);
  line-height: 1.4;
}

.ehp-calc-presets-row {
  margin-bottom: 16px;
}

.ehp-calc-preset-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ehp-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ehp-calc-preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ehp-calc-preset-btn {
  background-color: var(--ehp-bg-alt);
  border: 1px solid var(--ehp-border);
  color: var(--ehp-navy);
  font-family: var(--ehp-font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ehp-calc-preset-btn:hover {
  background-color: var(--ehp-teal-light);
  border-color: var(--ehp-teal);
  color: var(--ehp-teal-dark);
}

.ehp-calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.ehp-calc-field-group {
  display: flex;
  flex-direction: column;
}

.ehp-calc-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ehp-text-main);
  margin-bottom: 4px;
}

.ehp-calc-field-input {
  font-family: var(--ehp-font-mono);
  font-size: 0.90rem;
  padding: 7px 10px;
  border: 1px solid var(--ehp-border);
  border-radius: 3px;
  background-color: var(--ehp-white);
  color: var(--ehp-text-main);
}

.ehp-calc-field-input:focus {
  outline: none;
  border-color: var(--ehp-cerulean);
  box-shadow: 0 0 0 2px rgba(3, 105, 161, 0.15);
}

.ehp-calc-field-help {
  font-size: 0.70rem;
  color: var(--ehp-text-muted);
  margin-top: 2px;
}

/* Calculator Outputs */
.ehp-calc-outputs-panel {
  background-color: var(--ehp-bg-alt);
  border: 1px solid var(--ehp-border);
  border-radius: 4px;
  padding: 16px;
}

.ehp-calc-metric-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.ehp-calc-metric-box {
  background-color: #FFFFFF;
  border: 1px solid var(--ehp-border-light);
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

.ehp-calc-metric-val {
  font-family: var(--ehp-font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ehp-navy);
  line-height: 1.2;
}

.ehp-calc-metric-sub {
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--ehp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Meter Bar */
.ehp-calc-meter-wrap {
  margin-bottom: 12px;
}

.ehp-calc-meter-track {
  height: 8px;
  background-color: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.ehp-calc-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #38BDF8 0%, #0D9488 60%, #0F2942 100%);
  width: 0%;
  transition: width 0.3s ease;
}

.ehp-calc-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--ehp-text-muted);
  margin-top: 3px;
  font-family: var(--ehp-font-mono);
}

.ehp-calc-feedback-box {
  background-color: #FFFFFF;
  border-left: 3px solid var(--ehp-teal);
  padding: 8px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.ehp-calc-interpret-text {
  font-size: 0.80rem;
  color: var(--ehp-text-body);
  line-height: 1.45;
}

.ehp-calc-copy-btn {
  width: 100%;
  background-color: var(--ehp-navy);
  color: #FFFFFF;
  border: none;
  padding: 8px 14px;
  border-radius: 3px;
  font-family: var(--ehp-font-sans);
  font-size: 0.80rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ehp-calc-copy-btn:hover {
  background-color: var(--ehp-navy-light);
}

/* Section Common */
.ehp-section-block {
  padding-top: 48px;
  padding-bottom: 48px;
}

.ehp-section-header {
  margin-bottom: 32px;
  text-align: center;
}

.ehp-section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ehp-teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ehp-section-title {
  font-size: 2.10rem;
  color: var(--ehp-navy);
  margin-top: 6px;
  margin-bottom: 10px;
}

.ehp-section-lead {
  font-size: 1.05rem;
  color: var(--ehp-text-muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Clinical Tracks Grid */
.ehp-tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.ehp-track-card {
  background-color: #FFFFFF;
  border: 1px solid var(--ehp-border);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ehp-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ehp-track-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ehp-shadow-md);
  border-color: var(--ehp-cerulean);
}

.ehp-track-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ehp-track-tag {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--ehp-teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ehp-track-card-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.ehp-track-card-title a {
  color: var(--ehp-navy);
  text-decoration: none;
}

.ehp-track-card-title a:hover {
  color: var(--ehp-cerulean);
}

.ehp-track-card-lead {
  font-size: 0.90rem;
  color: var(--ehp-text-body);
  margin-bottom: 16px;
  flex-grow: 1;
}

.ehp-track-card-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ehp-track-stat-pill {
  background-color: var(--ehp-bg-alt);
  border: 1px solid var(--ehp-border-light);
  font-family: var(--ehp-font-mono);
  font-size: 0.70rem;
  color: var(--ehp-navy);
  padding: 3px 8px;
  border-radius: 3px;
}

.ehp-track-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ehp-cerulean);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ehp-track-card-link:hover {
  color: var(--ehp-cerulean-hover);
  text-decoration: underline;
}

/* Charter Section */
.ehp-charter-section {
  background-color: #FFFFFF;
  border-top: 1px solid var(--ehp-border);
  border-bottom: 1px solid var(--ehp-border);
  padding-top: 48px;
  padding-bottom: 48px;
}

.ehp-charter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ehp-charter-card {
  border-top: 3px solid var(--ehp-navy);
  padding-top: 16px;
}

.ehp-charter-heading {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.ehp-charter-text {
  font-size: 0.85rem;
  color: var(--ehp-text-muted);
  line-height: 1.6;
}

/* Article Page Layout */
.ehp-article-container {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
}

.ehp-article-masthead {
  margin-bottom: 28px;
}

.ehp-article-category-badge {
  display: inline-block;
  background-color: var(--ehp-navy);
  color: #FFFFFF;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ehp-article-headline {
  font-size: 2.45rem;
  color: var(--ehp-navy);
  margin-bottom: 18px;
  line-height: 1.18;
}

.ehp-article-byline-bar {
  border-top: 1px solid var(--ehp-border-light);
  border-bottom: 1px solid var(--ehp-border-light);
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.ehp-author-block {
  margin-bottom: 4px;
}

.ehp-author-name {
  font-family: var(--ehp-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ehp-navy);
}

.ehp-author-affiliation {
  font-size: 0.85rem;
  color: var(--ehp-text-muted);
  margin-left: 6px;
}

.ehp-article-date-row {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--ehp-text-muted);
  font-family: var(--ehp-font-sans);
}

/* DOI Panel */
.ehp-doi-panel {
  background-color: var(--ehp-bg-alt);
  border: 1px solid var(--ehp-border);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 28px;
}

.ehp-doi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.ehp-doi-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ehp-meta-pill {
  font-size: 0.70rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ehp-pill-track {
  background-color: var(--ehp-teal-light);
  color: var(--ehp-teal-dark);
}

.ehp-pill-license {
  background-color: var(--ehp-cerulean-light);
  color: var(--ehp-cerulean);
}

.ehp-meta-date {
  font-size: 0.75rem;
  color: var(--ehp-text-muted);
}

.ehp-doi-ident {
  font-family: var(--ehp-font-mono);
  font-size: 0.75rem;
  color: var(--ehp-navy);
}

.ehp-doi-label {
  font-weight: 700;
  margin-right: 4px;
  color: var(--ehp-text-muted);
}

.ehp-doi-code {
  background-color: #FFFFFF;
  padding: 2px 6px;
  border: 1px solid var(--ehp-border);
  border-radius: 2px;
}

.ehp-citation-box {
  border-top: 1px dashed var(--ehp-border);
  padding-top: 8px;
  margin-top: 6px;
}

.ehp-citation-text {
  font-size: 0.80rem;
  color: var(--ehp-text-muted);
  line-height: 1.4;
}

/* Structured Abstract */
.ehp-structured-abstract {
  background-color: #FFFFFF;
  border: 1px solid var(--ehp-border);
  border-left: 4px solid var(--ehp-teal);
  border-radius: 4px;
  padding: 22px 24px;
  margin-bottom: 32px;
  box-shadow: var(--ehp-shadow-sm);
}

.ehp-abstract-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--ehp-border-light);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.ehp-abstract-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ehp-teal-dark);
  letter-spacing: 0.05em;
}

.ehp-abstract-format {
  font-size: 0.70rem;
  color: var(--ehp-text-muted);
  letter-spacing: 0.04em;
  font-family: var(--ehp-font-mono);
}

.ehp-abstract-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ehp-abstract-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ehp-abstract-label {
  font-family: var(--ehp-font-sans);
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--ehp-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ehp-abstract-text {
  font-family: var(--ehp-font-serif);
  font-size: 1.05rem;
  color: var(--ehp-text-body);
  line-height: 1.6;
}

/* Key Findings Callout */
.ehp-key-findings-callout {
  background-color: var(--ehp-teal-subtle);
  border: 1px solid var(--ehp-teal);
  border-radius: 4px;
  padding: 18px 20px;
  margin-bottom: 32px;
}

.ehp-callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ehp-callout-tag {
  background-color: var(--ehp-teal);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
}

.ehp-callout-title {
  font-size: 1.15rem;
  color: var(--ehp-navy);
}

.ehp-callout-body {
  font-size: 0.90rem;
  color: var(--ehp-text-body);
  line-height: 1.55;
}

/* Article Prose */
.ehp-article-prose {
  font-family: var(--ehp-font-serif);
  font-size: 1.18rem;
  color: var(--ehp-text-body);
  line-height: 1.75;
}

.ehp-article-prose p {
  margin-bottom: 20px;
}

.ehp-article-prose h2 {
  font-family: var(--ehp-font-serif);
  font-size: 1.75rem;
  color: var(--ehp-navy);
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ehp-border-light);
}

.ehp-article-prose h3 {
  font-family: var(--ehp-font-serif);
  font-size: 1.35rem;
  color: var(--ehp-navy);
  margin-top: 28px;
  margin-bottom: 12px;
}

.ehp-lead-paragraph {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ehp-navy);
  font-weight: 400;
}

.ehp-body-link {
  color: var(--ehp-cerulean);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ehp-body-link:hover {
  color: var(--ehp-cerulean-hover);
}

.ehp-client-anchor {
  color: var(--ehp-navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ehp-teal);
  text-underline-offset: 3px;
}

/* Data Tables */
.ehp-data-table-wrapper {
  margin-top: 28px;
  margin-bottom: 32px;
  border: 1px solid var(--ehp-border);
  border-radius: 4px;
  overflow-x: auto;
  background-color: #FFFFFF;
}

.ehp-table-caption {
  caption-side: top;
  font-family: var(--ehp-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ehp-navy);
  text-align: left;
  padding: 10px 14px;
  background-color: var(--ehp-bg-alt);
  border-bottom: 1px solid var(--ehp-border);
}

.ehp-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ehp-font-sans);
  font-size: 0.85rem;
}

.ehp-table-th {
  background-color: var(--ehp-navy);
  color: #FFFFFF;
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.80rem;
  letter-spacing: 0.03em;
}

.ehp-table-td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ehp-border-light);
  color: var(--ehp-text-body);
}

.ehp-table-tr:nth-child(even) {
  background-color: var(--ehp-white);
}

.ehp-mono-val {
  font-family: var(--ehp-font-mono);
  font-size: 0.80rem;
}

/* Forest Plot Wrapper */
.ehp-forest-plot-wrapper {
  background-color: #FFFFFF;
  border: 1px solid var(--ehp-border);
  border-radius: 6px;
  padding: 20px;
  margin-top: 32px;
  margin-bottom: 36px;
  box-shadow: var(--ehp-shadow-sm);
}

.ehp-forest-plot-caption {
  margin-bottom: 14px;
}

.ehp-forest-plot-tag {
  font-family: var(--ehp-font-sans);
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--ehp-cerulean);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.ehp-forest-plot-title {
  font-size: 1.25rem;
  color: var(--ehp-navy);
}

.ehp-forest-plot-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.ehp-forest-plot-svg {
  width: 100%;
  min-width: 680px;
  height: auto;
  display: block;
}

.ehp-forest-plot-note {
  margin-top: 12px;
  border-top: 1px solid var(--ehp-border-light);
  padding-top: 10px;
}

.ehp-forest-plot-explanation {
  font-family: var(--ehp-font-sans);
  font-size: 0.75rem;
  color: var(--ehp-text-muted);
  line-height: 1.45;
}

/* References Section */
.ehp-reference-section {
  border-top: 2px solid var(--ehp-navy);
  padding-top: 24px;
  margin-top: 44px;
  margin-bottom: 36px;
}

.ehp-reference-title {
  font-family: var(--ehp-font-serif);
  font-size: 1.45rem;
  color: var(--ehp-navy);
  margin-bottom: 16px;
}

.ehp-reference-ol {
  font-family: var(--ehp-font-sans);
  font-size: 0.82rem;
  color: var(--ehp-text-muted);
  padding-left: 22px;
  line-height: 1.6;
}

.ehp-reference-li {
  margin-bottom: 10px;
}

/* Related Monographs Box */
.ehp-related-monographs {
  background-color: var(--ehp-bg-alt);
  border: 1px solid var(--ehp-border);
  border-radius: 6px;
  padding: 24px;
  margin-top: 40px;
  margin-bottom: 32px;
}

.ehp-related-header {
  margin-bottom: 18px;
}

.ehp-related-tag {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--ehp-teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.ehp-related-title {
  font-size: 1.35rem;
  color: var(--ehp-navy);
  margin-bottom: 4px;
}

.ehp-related-sub {
  font-size: 0.85rem;
  color: var(--ehp-text-muted);
}

.ehp-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.ehp-related-card {
  background-color: #FFFFFF;
  border: 1px solid var(--ehp-border-light);
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

.ehp-related-track {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ehp-teal-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ehp-related-card-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.ehp-related-anchor {
  color: var(--ehp-navy);
  text-decoration: none;
}

.ehp-related-anchor:hover {
  color: var(--ehp-cerulean);
}

.ehp-related-card-desc {
  font-size: 0.80rem;
  color: var(--ehp-text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
  flex-grow: 1;
}

.ehp-related-card-footer {
  margin-top: auto;
}

.ehp-related-read-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ehp-cerulean);
  text-decoration: none;
}

.ehp-related-read-link:hover {
  text-decoration: underline;
}

.ehp-symposium-return-bar {
  border-top: 1px solid var(--ehp-border-light);
  padding-top: 12px;
  text-align: center;
}

.ehp-return-text {
  font-size: 0.85rem;
  color: var(--ehp-text-body);
}

.ehp-return-link {
  font-weight: 700;
  color: var(--ehp-cerulean);
  text-decoration: underline;
}

/* Institutional Footer */
.ehp-site-footer {
  background-color: var(--ehp-navy);
  color: #E2E8F0;
  padding-top: 48px;
  padding-bottom: 32px;
  border-top: 3px solid var(--ehp-teal);
  margin-top: auto;
}

.ehp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}

.ehp-footer-heading {
  color: #FFFFFF;
  font-family: var(--ehp-font-serif);
  font-size: 1.20rem;
  margin-bottom: 14px;
}

.ehp-footer-about {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.ehp-footer-meta-block {
  font-size: 0.78rem;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ehp-footer-meta-line strong {
  color: #E2E8F0;
}

.ehp-footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ehp-footer-link {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

.ehp-footer-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.ehp-footer-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.2);
  padding-top: 24px;
}

.ehp-footer-bottom-flex {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ehp-copyright-text {
  font-size: 0.75rem;
  color: #94A3B8;
}

.ehp-disclaimer-text {
  font-size: 0.70rem;
  color: #64748B;
  font-style: italic;
}

/* Static Pages Styles (About, Privacy, Terms) */
.ehp-static-page-card {
  background-color: #FFFFFF;
  border: 1px solid var(--ehp-border);
  border-radius: 6px;
  padding: 36px 40px;
  margin-top: 32px;
  margin-bottom: 32px;
  box-shadow: var(--ehp-shadow-sm);
}

.ehp-static-hero-title {
  font-size: 2.30rem;
  color: var(--ehp-navy);
  margin-bottom: 12px;
}

.ehp-static-lead-text {
  font-size: 1.10rem;
  color: var(--ehp-text-muted);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--ehp-border-light);
  padding-bottom: 16px;
}

.ehp-static-content h2 {
  font-family: var(--ehp-font-serif);
  font-size: 1.55rem;
  color: var(--ehp-navy);
  margin-top: 28px;
  margin-bottom: 12px;
}

.ehp-static-content h3 {
  font-family: var(--ehp-font-serif);
  font-size: 1.25rem;
  color: var(--ehp-navy);
  margin-top: 20px;
  margin-bottom: 8px;
}

.ehp-static-content p {
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: 16px;
  color: var(--ehp-text-body);
}

.ehp-static-content ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.ehp-static-content li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .ehp-hero-grid {
    grid-template-columns: 1fr;
  }
  .ehp-charter-grid {
    grid-template-columns: 1fr;
  }
  .ehp-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ehp-related-grid {
    grid-template-columns: 1fr;
  }
  .ehp-editorial-lead {
    align-items: flex-start;
    text-align: left;
    border-left: none;
    border-top: 3px solid var(--ehp-teal);
    padding-left: 0;
    padding-top: 10px;
  }
}

@media (max-width: 600px) {
  .ehp-article-headline {
    font-size: 1.85rem;
  }
  .ehp-hero-title {
    font-size: 1.80rem;
  }
  .ehp-calc-inputs-grid {
    grid-template-columns: 1fr;
  }
  .ehp-calc-metric-cards {
    grid-template-columns: 1fr;
  }
  .ehp-static-page-card {
    padding: 20px;
  }
}
