/* ============================================================
   PULMOCARE — BLOG DETAIL STYLES
   File: public/assets/css/blogdetail.css

   KEY FIX: All selectors use ".blog-content .sa-*" 
   This matches your PHP template's <div class="blog-content">
   and beats Bootstrap/main.css specificity automatically.
   No !important needed.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ══════════════════════════════════════
   WRAPPER
══════════════════════════════════════ */
.blog-content .sa-article {
  font-family: 'DM Sans', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.blog-content .sa-hero {
  background: linear-gradient(135deg, #0a0e1a 0%, #1e2d45 50%, #0f2027 100%);
  border-radius: 20px 20px 0 0;
  padding: 72px 56px 64px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.blog-content .sa-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.blog-content .sa-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,0.10) 0%, transparent 70%);
  border-radius: 50%;
}
.blog-content .sa-stars {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.blog-content .sa-star {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.4;
}
.blog-content .sa-tag {
  display: inline-block;
  border: 1px solid rgba(56,189,248,0.5);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  background: transparent;
}
.blog-content .sa-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  border: none;
  padding: 0;
}
.blog-content .sa-hero h1 em {
  color: #38bdf8;
  font-style: italic;
}
.blog-content .sa-hero-deck {
  font-size: 17px;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 0 32px;
  position: relative;
  z-index: 1;
}
.blog-content .sa-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}
.blog-content .sa-meta-item {
  font-size: 13px;
  color: #64748b;
}
.blog-content .sa-meta-item strong {
  color: #cbd5e1;
  display: block;
  font-weight: 500;
}
.blog-content .sa-meta-dot {
  width: 4px; height: 4px;
  background: #334155;
  border-radius: 50%;
  display: inline-block;
}

/* ══════════════════════════════════════
   BODY
══════════════════════════════════════ */
.blog-content .sa-body {
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  padding: 56px 56px 64px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}
.blog-content .sa-body p {
  font-size: 16.5px;
  color: #374151;
  margin-bottom: 22px;
  line-height: 1.85;
  font-family: 'DM Sans', sans-serif;
}
.blog-content .sa-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #0a0e1a;
  margin: 52px 0 16px;
  line-height: 1.2;
  padding-bottom: 12px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}
.blog-content .sa-body h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 48px; height: 2px;
  background: #38bdf8;
}
.blog-content .sa-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 32px 0 10px;
  border: none;
  padding: 0;
}
.blog-content .sa-body ul {
  padding-left: 22px;
  margin-bottom: 22px;
}
.blog-content .sa-body ul li {
  font-size: 16px;
  color: #374151;
  margin-bottom: 10px;
  line-height: 1.75;
  font-family: 'DM Sans', sans-serif;
}
.blog-content .sa-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0, transparent);
  margin: 48px 0;
}

/* ══════════════════════════════════════
   STATS STRIP
══════════════════════════════════════ */
.blog-content .sa-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 40px 0;
  border-radius: 14px;
  overflow: hidden;
  background: #e2e8f0;
}
.blog-content .sa-stat {
  background: #0a0e1a;
  padding: 28px 20px;
  text-align: center;
}
.blog-content .sa-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 700;
  color: #38bdf8;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.blog-content .sa-stat-label {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
  display: block;
}

/* ══════════════════════════════════════
   SYMPTOM CARDS
══════════════════════════════════════ */
.blog-content .sa-symptoms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 36px;
}
.blog-content .sa-symptom-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.blog-content .sa-symptom-card .sc-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.blog-content .sa-symptom-card .sc-title {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  display: block;
  margin-bottom: 4px;
}
.blog-content .sa-symptom-card .sc-desc {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.55;
  margin: 0;
}

/* ══════════════════════════════════════
   BLOCKQUOTE
══════════════════════════════════════ */
.blog-content .sa-body blockquote {
  background: linear-gradient(135deg, #0a0e1a, #1e2d45);
  border-radius: 14px;
  padding: 32px 36px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
  border-left: none;
}
.blog-content .sa-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  color: rgba(56,189,248,0.15);
  line-height: 1;
  pointer-events: none;
}
.blog-content .sa-body blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: #e2e8f0;
  line-height: 1.65;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.blog-content .sa-body blockquote cite {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display: block;
}

/* ══════════════════════════════════════
   RISK BOX
══════════════════════════════════════ */
.blog-content .sa-risk-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 28px 32px;
  margin: 28px 0;
}
.blog-content .sa-risk-box h3 {
  color: #92400e;
  margin-top: 0;
}
.blog-content .sa-risk-box ul {
  margin: 0;
  padding-left: 20px;
}
.blog-content .sa-risk-box ul li {
  color: #374151;
  font-size: 15.5px;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ══════════════════════════════════════
   TREATMENT TIMELINE
══════════════════════════════════════ */
.blog-content .sa-timeline {
  margin: 28px 0 36px;
  position: relative;
  padding-left: 32px;
}
.blog-content .sa-timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, #38bdf8, #0ea5e9, #0284c7);
  border-radius: 2px;
}
.blog-content .sa-tl-item {
  position: relative;
  margin-bottom: 28px;
}
.blog-content .sa-tl-item::before {
  content: '';
  position: absolute;
  left: -26px; top: 6px;
  width: 10px; height: 10px;
  background: #38bdf8;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #38bdf8;
}
.blog-content .sa-tl-title {
  font-weight: 600;
  font-size: 15px;
  color: #111827;
  margin-bottom: 4px;
  display: block;
}
.blog-content .sa-tl-desc {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.blog-content .sa-faq-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 22px 0;
}
.blog-content .sa-faq-item:first-child {
  border-top: 1px solid #f1f5f9;
}
.blog-content .sa-faq-q {
  font-weight: 600;
  font-size: 16px;
  color: #111827;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}
.blog-content .sa-faq-q::before {
  content: 'Q';
  position: absolute;
  left: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 16px;
  color: #38bdf8;
}
.blog-content .sa-faq-a {
  font-size: 15.5px;
  color: #4b5563;
  line-height: 1.75;
  padding-left: 24px;
  margin: 0;
}

/* ══════════════════════════════════════
   CTA BOX
══════════════════════════════════════ */
.blog-content .sa-cta {
  background: linear-gradient(135deg, #0a0e1a 0%, #1e2d45 100%);
  border-radius: 16px;
  padding: 48px 44px;
  text-align: center;
  margin: 56px 0 0;
  position: relative;
  overflow: hidden;
}
.blog-content .sa-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.blog-content .sa-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: #ffffff;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}
.blog-content .sa-cta h2::after {
  display: none;
}
.blog-content .sa-cta p {
  color: #94a3b8;
  font-size: 15.5px;
  margin: 0 auto 28px;
  max-width: 480px;
}
.blog-content .sa-cta-btn {
  display: inline-block;
  background: #38bdf8;
  color: #0a0e1a;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.blog-content .sa-cta-btn:hover {
  background: #0ea5e9;
  color: #0a0e1a;
  text-decoration: none;
}

/* ══════════════════════════════════════
   DISCLAIMER
══════════════════════════════════════ */
.blog-content .sa-disclaimer {
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 36px;
  font-family: 'DM Sans', sans-serif;
}
.blog-content .sa-disclaimer a {
  color: #38bdf8;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .blog-content .sa-hero {
    padding: 40px 22px 36px;
    border-radius: 14px 14px 0 0;
  }
  .blog-content .sa-body {
    padding: 28px 18px 40px;
    border-radius: 0 0 14px 14px;
  }
  .blog-content .sa-symptoms {
    grid-template-columns: 1fr;
  }
  .blog-content .sa-stats {
    grid-template-columns: 1fr;
  }
  .blog-content .sa-cta {
    padding: 30px 18px;
  }
  .blog-content .sa-meta {
    gap: 10px;
  }
  .blog-content .sa-risk-box {
    padding: 18px;
  }
  .blog-content .sa-body blockquote {
    padding: 24px 20px;
  }
}