/* ==========================================================================
   VHC ARTICLE STYLESHEET v1.0
   Vital Intel article pages — namespaced .vhc-article-*
   Brand colors locked to VHC palette.
   ========================================================================== */

:root {
  --vhc-teal:        #0D6B5E;
  --vhc-teal-dark:   #0a5a4e;
  --vhc-slate:       #3A4F5C;
  --vhc-slate-soft:  #5a6b78;
  --vhc-cream:       #F5F2EC;
  --vhc-cream-deep:  #ebe6dc;
  --vhc-terra:       #E2725B;
  --vhc-terra-dark:  #c85e48;
  --vhc-ink:         #1a2530;
  --vhc-line:        rgba(13, 107, 94, 0.12);
  --vhc-line-soft:   rgba(13, 107, 94, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--vhc-ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--vhc-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--vhc-teal-dark);
}

/* ─── ARTICLE HERO ─────────────────────────────────────────────────────── */

.vhc-article-hero {
  background: var(--vhc-cream);
  border-bottom: 1px solid var(--vhc-line);
  padding: 56px 24px 48px;
}

.vhc-article-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.vhc-article-breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--vhc-slate-soft);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.vhc-article-breadcrumb a {
  color: var(--vhc-slate);
  text-decoration: none;
}

.vhc-article-breadcrumb a:hover {
  color: var(--vhc-teal);
  text-decoration: underline;
}

.vhc-article-breadcrumb span {
  color: var(--vhc-slate-soft);
}

.vhc-article-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vhc-teal);
  margin-bottom: 16px;
}

.vhc-article-h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  color: var(--vhc-ink);
  margin: 0 0 24px 0;
  letter-spacing: -0.01em;
}

.vhc-article-h1 em {
  font-style: italic;
  color: var(--vhc-teal);
  font-weight: 700;
}

.vhc-article-meta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--vhc-slate-soft);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.vhc-article-meta-divider {
  color: var(--vhc-line);
}

.vhc-article-byline {
  color: var(--vhc-slate);
  font-weight: 500;
}

.vhc-article-hero-bar {
  width: 64px;
  height: 3px;
  background: var(--vhc-teal);
  margin-top: 8px;
}

@media (max-width: 700px) {
  .vhc-article-hero { padding: 40px 20px 32px; }
  .vhc-article-h1 { font-size: 30px; }
  .vhc-article-meta { font-size: 13px; }
}

/* ─── ANSWER BLOCK (LLM citation hook) ─────────────────────────────────── */

.vhc-article-answer {
  background: #ffffff;
  border-bottom: 1px solid var(--vhc-line);
  padding: 32px 24px;
}

.vhc-article-answer-inner {
  max-width: 920px;
  margin: 0 auto;
  border-left: 3px solid var(--vhc-teal);
  padding: 4px 0 4px 24px;
}

.vhc-article-answer-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vhc-teal);
  margin-bottom: 10px;
}

.vhc-article-answer-body {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--vhc-ink);
  margin: 0;
  letter-spacing: -0.005em;
}

@media (max-width: 700px) {
  .vhc-article-answer { padding: 24px 20px; }
  .vhc-article-answer-inner { padding-left: 18px; }
  .vhc-article-answer-body { font-size: 17px; }
}

/* ─── BODY + SIDEBAR LAYOUT ────────────────────────────────────────────── */

.vhc-article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}

.vhc-article-body {
  min-width: 0;
  max-width: 720px;
}

@media (max-width: 1024px) {
  .vhc-article-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 40px 20px 64px;
  }
  .vhc-article-body { max-width: 720px; margin: 0 auto; }
}

/* ─── ARTICLE SECTIONS & PROSE ─────────────────────────────────────────── */

.vhc-article-section {
  margin-bottom: 48px;
}

.vhc-article-section:last-child {
  margin-bottom: 0;
}

.vhc-article-h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: var(--vhc-ink);
  margin: 0 0 20px 0;
  letter-spacing: -0.005em;
  position: relative;
  padding-left: 16px;
}

.vhc-article-h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--vhc-teal);
}

.vhc-article-prose {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--vhc-ink);
}

.vhc-article-prose p {
  margin: 0 0 20px 0;
}

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

.vhc-article-prose ul,
.vhc-article-prose ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.vhc-article-prose li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.vhc-article-prose strong {
  font-weight: 600;
  color: var(--vhc-ink);
}

.vhc-article-prose em {
  font-style: italic;
}

.vhc-article-prose a {
  color: var(--vhc-teal);
  font-weight: 500;
}

@media (max-width: 700px) {
  .vhc-article-h2 { font-size: 23px; }
  .vhc-article-prose { font-size: 16px; line-height: 1.65; }
  .vhc-article-section { margin-bottom: 36px; }
}

/* ─── INLINE CTA BLOCK ─────────────────────────────────────────────────── */

.vhc-article-cta-inline {
  background: var(--vhc-cream);
  border-radius: 8px;
  padding: 32px;
  margin: 48px 0;
  position: relative;
}

.vhc-article-cta-bar {
  width: 48px;
  height: 3px;
  background: var(--vhc-teal);
  margin-bottom: 16px;
}

.vhc-article-cta-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--vhc-ink);
  margin: 0 0 12px 0;
}

.vhc-article-cta-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--vhc-slate);
  margin: 0 0 20px 0;
}

.vhc-article-cta-button {
  display: inline-block;
  background: var(--vhc-terra);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
  min-height: 48px;
  line-height: 20px;
}

.vhc-article-cta-button:hover {
  background: var(--vhc-terra-dark);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 700px) {
  .vhc-article-cta-inline { padding: 24px 20px; margin: 36px 0; }
  .vhc-article-cta-headline { font-size: 19px; }
  .vhc-article-cta-button { width: 100%; text-align: center; padding: 14px 16px; }
}

/* ─── FAQ ──────────────────────────────────────────────────────────────── */

.vhc-article-faq {
  border-top: 1px solid var(--vhc-line);
}

.vhc-article-faq-item {
  border-bottom: 1px solid var(--vhc-line);
  padding: 0;
}

.vhc-article-faq-q {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  color: var(--vhc-ink);
  cursor: pointer;
  padding: 20px 36px 20px 0;
  position: relative;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.vhc-article-faq-q::-webkit-details-marker {
  display: none;
}

.vhc-article-faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 24px;
  font-weight: 400;
  color: var(--vhc-teal);
  transition: transform 0.2s ease;
}

.vhc-article-faq-item[open] .vhc-article-faq-q::after {
  content: '−';
}

.vhc-article-faq-a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--vhc-slate);
  padding: 0 0 20px 0;
}

/* ─── PILLAR LINK BLOCK ────────────────────────────────────────────────── */

.vhc-article-pillar-link {
  background: linear-gradient(135deg, var(--vhc-teal) 0%, var(--vhc-teal-dark) 100%);
  border-radius: 8px;
  padding: 36px;
  margin: 48px 0;
  color: #ffffff;
}

.vhc-article-pillar-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.vhc-article-pillar-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.vhc-article-pillar-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px 0;
}

.vhc-article-pillar-button {
  display: inline-block;
  background: #ffffff;
  color: var(--vhc-teal);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
  min-height: 48px;
  line-height: 20px;
}

.vhc-article-pillar-button:hover {
  background: var(--vhc-cream);
  color: var(--vhc-teal-dark);
  text-decoration: none;
}

@media (max-width: 700px) {
  .vhc-article-pillar-link { padding: 28px 20px; margin: 36px 0; }
  .vhc-article-pillar-headline { font-size: 20px; }
  .vhc-article-pillar-button { width: 100%; text-align: center; padding: 14px 16px; }
}

/* ─── RELATED ARTICLES ─────────────────────────────────────────────────── */

.vhc-article-related {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vhc-article-related-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--vhc-line);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.vhc-article-related-item:last-child {
  border-bottom: none;
}

.vhc-article-related-item a {
  color: var(--vhc-teal);
  text-decoration: none;
  font-weight: 500;
}

.vhc-article-related-item a:hover {
  text-decoration: underline;
}

.vhc-article-related-soon {
  color: var(--vhc-slate-soft);
  font-weight: 500;
}

.vhc-article-related-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vhc-slate-soft);
  background: var(--vhc-cream-deep);
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ─── SOURCES ──────────────────────────────────────────────────────────── */

.vhc-article-sources {
  background: var(--vhc-cream);
  border-radius: 8px;
  padding: 28px 32px;
}

.vhc-article-sources .vhc-article-h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-left: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.vhc-article-sources .vhc-article-h2::before {
  width: 2px;
  top: 4px;
  bottom: 4px;
}

.vhc-article-sources-list {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--vhc-slate);
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.vhc-article-sources-list li {
  margin-bottom: 8px;
}

.vhc-article-sources-list a {
  color: var(--vhc-teal);
  text-decoration: none;
}

.vhc-article-sources-list a:hover {
  text-decoration: underline;
}

.vhc-article-sources-note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-style: italic;
  color: var(--vhc-slate-soft);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--vhc-line-soft);
}

@media (max-width: 700px) {
  .vhc-article-sources { padding: 24px 20px; }
}

/* ─── STICKY SIDEBAR ───────────────────────────────────────────────────── */

.vhc-article-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

@media (max-width: 1024px) {
  .vhc-article-sidebar {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }
}

.vhc-article-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--vhc-line);
  border-radius: 8px;
  padding: 28px 24px;
  margin-bottom: 16px;
}

.vhc-article-sidebar-bar {
  width: 36px;
  height: 3px;
  background: var(--vhc-teal);
  margin-bottom: 14px;
}

.vhc-article-sidebar-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vhc-teal);
  margin-bottom: 8px;
}

.vhc-article-sidebar-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--vhc-ink);
  margin: 0 0 10px 0;
}

.vhc-article-sidebar-body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--vhc-slate);
  margin: 0 0 18px 0;
}

.vhc-article-sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vhc-article-sidebar-input {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--vhc-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--vhc-ink);
  transition: border-color 0.15s ease;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

.vhc-article-sidebar-input:focus {
  outline: none;
  border-color: var(--vhc-teal);
  box-shadow: 0 0 0 3px rgba(13, 107, 94, 0.12);
}

.vhc-article-sidebar-input::placeholder {
  color: var(--vhc-slate-soft);
}

.vhc-article-sidebar-button {
  background: var(--vhc-terra);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 14px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  min-height: 48px;
  margin-top: 2px;
}

.vhc-article-sidebar-button:hover {
  background: var(--vhc-terra-dark);
}

.vhc-article-sidebar-fineprint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--vhc-slate-soft);
  text-align: center;
  margin: 8px 0 0 0;
}

.vhc-article-sidebar-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}

.vhc-article-sidebar-meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vhc-slate-soft);
}

.vhc-article-sidebar-meta-tag {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--vhc-teal);
  background: var(--vhc-cream);
  padding: 4px 10px;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.vhc-article-sidebar-meta-tag:hover {
  background: var(--vhc-cream-deep);
  text-decoration: none;
}

/* ─── PRINT (light, optional) ──────────────────────────────────────────── */

@media print {
  .vhc-nav,
  .vhc-footer,
  .vhc-sticky-bar,
  .vhc-article-sidebar,
  .vhc-article-cta-inline,
  .vhc-article-pillar-link { display: none; }
  body { padding: 0; }
  .vhc-article-layout { grid-template-columns: 1fr; padding: 0; }
}
