/* ====================================================
   ARTICLE CSS — Shared across all sub-pages in _v2/
   Used by: _v2/health/*.html, _v2/emergency/*.html, _v2/nutrition/*.html
   ==================================================== */

/* Article hero */
.article-hero {
  background: linear-gradient(135deg, var(--hero-bg-start, #FFF8F0) 0%, var(--hero-bg-end, #FFE8D4) 100%);
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--hero-border, rgba(255, 107, 74, 0.15));
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: var(--hero-emoji, "🐾");
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-size: 280px;
  line-height: 0.85;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-12deg);
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}
.article-hero .container { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .article-hero::before {
    font-size: 200px;
    right: -25px;
    bottom: -30px;
    opacity: 0.07;
  }
}

/* Section-level theming via body class */
body.section-nutrition {
  --hero-bg-start: #FAF0DC;
  --hero-bg-end: #F0DCB0;
  --hero-border: rgba(198, 107, 61, 0.2);
}
body.section-emergency {
  --hero-bg-start: #FFE8E5;
  --hero-bg-end: #FFC9C0;
  --hero-border: rgba(229, 57, 53, 0.25);
}
.article-hero .breadcrumb {
  font-size: 13px;
  color: #6B5D54;
  margin-bottom: 20px;
}
.article-hero .breadcrumb a {
  color: #C66B3D;
  text-decoration: none;
}
.article-hero .breadcrumb a:hover { text-decoration: underline; }
.article-hero .breadcrumb-sep { margin: 0 8px; color: #C9B8A8; }

.article-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid;
}
.article-eyebrow-critical {
  background: rgba(229, 57, 53, 0.12);
  color: #C53030;
  border-color: rgba(229, 57, 53, 0.25);
}
.article-eyebrow-emergency {
  background: rgba(229, 57, 53, 0.15);
  color: #C53030;
  border-color: rgba(229, 57, 53, 0.3);
}
.article-eyebrow-skin {
  background: rgba(198, 107, 61, 0.15);
  color: #8C4A1F;
  border-color: rgba(198, 107, 61, 0.25);
}
.article-eyebrow-eyes {
  background: rgba(91, 143, 199, 0.15);
  color: #2C5282;
  border-color: rgba(91, 143, 199, 0.25);
}
.article-eyebrow-ears {
  background: rgba(139, 90, 156, 0.15);
  color: #5C3D6C;
  border-color: rgba(139, 90, 156, 0.25);
}
.article-eyebrow-dental {
  background: rgba(74, 139, 126, 0.15);
  color: #2A5C52;
  border-color: rgba(74, 139, 126, 0.25);
}
.article-eyebrow-joints {
  background: rgba(107, 142, 90, 0.15);
  color: #3F5C32;
  border-color: rgba(107, 142, 90, 0.25);
}
.article-eyebrow-gi {
  background: rgba(194, 156, 46, 0.15);
  color: #8C6D1F;
  border-color: rgba(194, 156, 46, 0.25);
}
.article-eyebrow-nutrition {
  background: rgba(198, 107, 61, 0.15);
  color: #8C4A1F;
  border-color: rgba(198, 107, 61, 0.25);
}

.article-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #1A0E1C;
  margin: 0 0 16px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.article-hero h1 em { font-style: italic; color: #C66B3D; }
.article-subtitle {
  font-size: 18px;
  color: #6B5D54;
  max-width: 720px;
  line-height: 1.6;
  margin: 0;
}

/* Top disclaimer */
.disclaimer-top {
  background: #FFF7E6;
  border: 2px solid #F0B429;
  border-radius: 12px;
  padding: 18px 24px;
  margin: 32px 0;
  max-width: 820px;
}
.disclaimer-top strong {
  color: #8C6D1F;
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.disclaimer-top p {
  margin: 0;
  color: #6B5D2E;
  font-size: 14px;
  line-height: 1.5;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 40px;
  max-width: 820px;
}
@media (max-width: 700px) {
  .stats-strip { grid-template-columns: 1fr; }
}
.stat-card {
  background: white;
  border: 1px solid rgba(26, 14, 28, 0.08);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(26, 14, 28, 0.04);
}
.stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
  color: #C66B3D;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .label {
  font-size: 13px;
  color: #6B5D54;
  line-height: 1.4;
}

/* Article body */
.article-body-section {
  padding: 32px 0 48px;
  background: #FAF7F0;
}
.article-body-inner {
  background: white;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 48px 0;
  box-shadow: 0 2px 24px rgba(26, 14, 28, 0.04);
}
@media (max-width: 700px) {
  .article-body-section { padding: 16px 0 32px; }
  .article-body-inner { border-radius: 0; padding: 32px 0; }
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #2D2016;
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 34px);
  color: #1A0E1C;
  margin: 56px 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.article-body h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  color: #2D2016;
  margin: 36px 0 12px;
  font-weight: 800;
}
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #1A0E1C; }

/* Info boxes */
.info-box {
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  border-left: 4px solid;
}
.info-box-title {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.info-box-emergency { background: #FFF1F0; border-color: #E53935; }
.info-box-emergency .info-box-title { color: #C53030; }
.info-box-tip { background: #F0F9F0; border-color: #6B8E5A; }
.info-box-tip .info-box-title { color: #4A6B3E; }
.info-box-warning { background: #FFF7E6; border-color: #F0B429; }
.info-box-warning .info-box-title { color: #8C6D1F; }
.info-box-summary { background: #F0F4F9; border-color: #5B8FC7; }
.info-box-summary .info-box-title { color: #2C5282; }

/* Spike callout */
.spike-callout {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D4 100%);
  border: 1px solid rgba(198, 107, 61, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 600px) {
  .spike-callout { grid-template-columns: 1fr; text-align: center; }
}
.spike-callout-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(26, 14, 28, 0.15);
  margin: 0 auto;
}
.spike-callout-photo img { width: 100%; height: 100%; object-fit: cover; }
.spike-callout-label {
  font-size: 11px;
  color: #C66B3D;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.spike-callout p {
  margin: 0;
  font-style: italic;
  color: #3A2A1F;
  font-size: 16px;
  line-height: 1.6;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(26, 14, 28, 0.04);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 15px;
}
.data-table th {
  background: #1A0E1C;
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(26, 14, 28, 0.06);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #FAF7F0; }

/* Owner quote */
.owner-quote {
  border-left: 3px solid #C66B3D;
  padding: 8px 0 8px 20px;
  margin: 20px 0;
  font-style: italic;
  color: #3A2A1F;
  font-size: 16px;
}

/* Sources */
.sources-section {
  background: #FAF7F0;
  border-radius: 16px;
  padding: 32px 28px;
  margin: 56px 0 0;
}
.sources-section h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  color: #1A0E1C;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.sources-section ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: #6B5D54;
  line-height: 1.6;
}
.sources-section li { margin-bottom: 8px; }
.sources-section a {
  color: #C66B3D;
  text-decoration: none;
}
.sources-section a:hover { text-decoration: underline; }

/* Bottom disclaimer */
.disclaimer-bottom {
  background: #FFF7E6;
  border: 2px solid #F0B429;
  border-radius: 16px;
  padding: 28px 32px;
  margin: 48px 0 0;
}
.disclaimer-bottom h3 {
  color: #8C6D1F;
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.disclaimer-bottom strong {
  display: block;
  color: #8C6D1F;
  font-size: 16px;
  margin: 16px 0 8px;
}
.disclaimer-bottom p, .disclaimer-bottom ul {
  color: #6B5D2E;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.disclaimer-bottom ul { padding-left: 20px; }

/* Drug warning box */
.drug-warning {
  background: #FFF1F0;
  border: 2px solid #E53935;
  border-radius: 12px;
  padding: 18px 24px;
  margin: 24px 0;
}
.drug-warning strong {
  display: block;
  color: #C53030;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.drug-warning p {
  margin: 0;
  color: #6B2020;
  font-size: 14px;
  line-height: 1.5;
}

/* Related articles */
.related-articles {
  max-width: 820px;
  margin: 56px auto 0;
  padding: 0 20px;
}
.related-articles h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #1A0E1C;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
}
.related-card {
  background: white;
  border: 1px solid rgba(26, 14, 28, 0.08);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: block;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 14, 28, 0.1);
  border-color: #C66B3D;
}
.related-card .related-icon { font-size: 28px; margin-bottom: 8px; }
.related-card h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: #1A0E1C;
  margin: 0 0 4px;
  font-weight: 800;
}
.related-card p {
  margin: 0;
  font-size: 13px;
  color: #6B5D54;
  line-height: 1.4;
}

/* Big page bottom margin */
.related-articles {
  margin-bottom: 80px;
}
