/* ── GUIDE PAGES SHARED STYLES ─────────────────────────────────── */
body { padding-top: 68px; }

/* HERO */
.g-hero {
  background: linear-gradient(135deg, #3D0E22 0%, #8B3060 55%, #B04880 100%);
  padding: 72px 5% 48px; color: white;
}
.g-hero-inner { max-width: 840px; margin: 0 auto; }
.g-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600;
  text-decoration: none; margin-bottom: 20px; transition: color .15s;
}
.g-back:hover { color: white; }
.g-hero-badge {
  display: inline-block; border-radius: 100px;
  padding: 4px 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
}
.g-hero-badge.sev    { background: rgba(220,38,38,.25);  color: #fca5a5; border: 1px solid rgba(220,38,38,.4); }
.g-hero-badge.chr    { background: rgba(217,119,6,.25);  color: #fcd34d; border: 1px solid rgba(217,119,6,.4); }
.g-hero-badge.bac    { background: rgba(139,92,246,.25); color: #c4b5fd; border: 1px solid rgba(139,92,246,.4); }
.g-hero-badge.water  { background: rgba(37,99,235,.25);  color: #93c5fd; border: 1px solid rgba(37,99,235,.4); }
.g-hero-badge.mgmt   { background: rgba(22,163,74,.25);  color: #86efac; border: 1px solid rgba(22,163,74,.4); }
.g-hero h1 { font-size: clamp(22px,3.5vw,34px); font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.g-hero-sub { font-size: 15px; opacity: .85; line-height: 1.75; max-width: 640px; }
.g-hero-meta { display: flex; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.g-hero-meta span { font-size: 12px; opacity: .65; }

/* ARTICLE */
.g-article { max-width: 840px; margin: 0 auto; padding: 48px 5% 80px; }

/* TL;DR */
.g-tldr {
  background: #FDF5F9; border-left: 4px solid #8B3060;
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin-bottom: 40px;
}
.g-tldr h3 { font-size: 12px; font-weight: 700; color: #8B3060; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.g-tldr ul { margin: 0; padding-left: 18px; }
.g-tldr li { font-size: 14px; color: #3c2030; line-height: 1.85; margin-bottom: 4px; }

/* SECTIONS */
.g-section { margin-bottom: 44px; }
.g-section h2 {
  font-size: 19px; font-weight: 700; color: #1a1a1a;
  padding-bottom: 10px; margin-bottom: 16px;
  border-bottom: 2px solid #F0E8ED;
}
.g-section p { font-size: 15px; color: #444; line-height: 1.85; margin-bottom: 12px; }
.g-section ul, .g-section ol { padding-left: 22px; margin-bottom: 12px; }
.g-section li { font-size: 15px; color: #444; line-height: 1.85; margin-bottom: 6px; }

/* Info table */
.g-info { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.g-info tr:nth-child(odd) td { background: #FAF6F9; }
.g-info td { padding: 10px 14px; border: 1px solid #EDE5EA; vertical-align: top; }
.g-info td:first-child { font-weight: 600; color: #5c2040; width: 34%; }

/* Severity chip */
.sev-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.sev-chip.hi  { background: #fee2e2; color: #991b1b; }
.sev-chip.mid { background: #fef3c7; color: #92400e; }
.sev-chip.lo  { background: #dbeafe; color: #1e3a8a; }

/* Warning box */
.g-warn { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 16px 20px; margin: 20px 0; font-size: 14px; color: #7c2d12; line-height: 1.75; }

/* Tip box */
.g-tip { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 16px 20px; margin: 20px 0; font-size: 14px; color: #14532d; line-height: 1.75; }

/* Steps */
.g-steps { counter-reset: step; list-style: none; padding: 0; margin-bottom: 12px; }
.g-steps li { counter-increment: step; display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.g-steps li::before {
  content: counter(step); min-width: 28px; height: 28px;
  background: #8B3060; color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.g-steps li div { font-size: 15px; color: #333; line-height: 1.75; }
.g-steps li strong { color: #1a1a1a; }

/* Water quality table */
.wq-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.wq-table th { background: #8B3060; color: white; padding: 10px 14px; text-align: left; font-size: 13px; }
.wq-table td { padding: 10px 14px; border: 1px solid #EDE5EA; }
.wq-table tr:nth-child(even) td { background: #FAF6F9; }
.ok  { color: #166534; font-weight: 600; }
.warn{ color: #92400e; font-weight: 600; }
.bad { color: #991b1b; font-weight: 600; }

/* Related guides */
.g-related { background: #FAF6F9; border-radius: 14px; padding: 24px; margin-top: 48px; }
.g-related h3 { font-size: 12px; font-weight: 700; color: #8B3060; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.g-related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.g-rel-link {
  background: white; border: 1px solid #E8E0E5; border-radius: 8px;
  padding: 8px 14px; font-size: 13px; color: #5c2040; font-weight: 600;
  text-decoration: none; transition: all .15s;
}
.g-rel-link:hover { background: #8B3060; color: white; border-color: #8B3060; }

/* Disclaimer */
.g-disclaimer { font-size: 12px; color: #999; text-align: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid #EDE5EA; line-height: 1.7; }

@media (max-width: 600px) {
  .g-hero { padding: 64px 5% 36px; }
  .g-hero h1 { font-size: 22px; }
  .g-article { padding: 32px 5% 60px; }
  .g-info td:first-child { width: 40%; }
}
