/* ==========================================================================
   Gratus Kids - Blog Post Styling (gratus-blog.css)
   Enhancements: E-E-A-T Medical Author Profiles, Dual-Column Sticky Layout,
   Scrollspy Table of Contents, Clinical Case Study Cards, FAQ Accordion.
   ========================================================================== */

/* Reading Progress Bar (Fixed at top) */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(46, 204, 142, 0.15);
  z-index: 1001;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2ecc8e 0%, #1baac7 100%);
  transition: width 0.1s ease-out;
}

/* Header & Nav Fixes */
.site-header .logo-img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .d-none-mobile {
    display: none !important;
  }
}

/* Blog Hero & Breadcrumbs (Spacious 2-Column Editorial Layout) */
.blog-header-section {
  background: linear-gradient(180deg, #f0fdf7 0%, #ffffff 100%);
  padding: 130px 0 56px; /* Space for 80px fixed header */
  border-bottom: 1px solid #eef4f1;
  position: relative;
  overflow: hidden;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .blog-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

.blog-hero-content {
  display: flex;
  flex-direction: column;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 20px;
}

.breadcrumb-nav a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--brand-green-start, #2ecc8e);
}

.breadcrumb-nav .separator {
  color: #cbd5e1;
}

.breadcrumb-nav .current {
  color: #334155;
  font-weight: 500;
}

/* Category Badge & Metadata Header */
.blog-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-pill.badge-primary {
  background: rgba(46, 204, 142, 0.12);
  color: #15803d;
  border: 1px solid rgba(46, 204, 142, 0.25);
}

.badge-pill.badge-secondary {
  background: rgba(27, 170, 199, 0.12);
  color: #0e788e;
  border: 1px solid rgba(27, 170, 199, 0.25);
}

.badge-pill.badge-verified {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.hero-read-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}

.blog-post-title {
  font-size: 2.65rem;
  line-height: 1.22;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

@media (max-width: 768px) {
  .blog-post-title {
    font-size: 1.95rem;
    line-height: 1.28;
  }
}

.blog-post-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 30px;
}

/* Sleek Unboxed Author Strip (Eliminates congestion) */
.hero-author-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 16px 0;
  border-top: 1px solid #eef4f1;
  border-bottom: 1px solid #eef4f1;
  margin-bottom: 22px;
}

.author-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2ecc8e;
  box-shadow: 0 2px 8px rgba(46, 204, 142, 0.15);
}

.mini-info {
  display: flex;
  flex-direction: column;
}

.mini-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
}

.mini-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-name a {
  color: inherit;
  text-decoration: none;
}
.mini-name a:hover {
  color: #1baac7;
}

.author-strip-divider {
  width: 1px;
  height: 34px;
  background: #e2e8f0;
}

@media (max-width: 640px) {
  .author-strip-divider {
    display: none;
  }
}

/* Featured Hero Visual Image Card (Right Column) */
.blog-hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

@media (max-width: 1023px) {
  .hero-image-card img {
    height: 300px;
  }
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

.hero-visual-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hero-visual-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2ecc8e 0%, #1baac7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-visual-badge-text strong {
  display: block;
  font-size: 0.85rem;
  color: #0f172a;
  font-weight: 700;
}

.hero-visual-badge-text span {
  font-size: 0.75rem;
  color: #64748b;
}

/* Share & Utility Toolbar */
.article-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a5568;
  margin-right: 4px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-share:hover {
  background: #f7fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-share.share-whatsapp {
  color: #128c7e;
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.btn-share.share-whatsapp:hover {
  background: #dcfce7;
}

.btn-share.share-linkedin {
  color: #0a66c2;
  background: #f0f9ff;
  border-color: #bae6fd;
}
.btn-share.share-linkedin:hover {
  background: #e0f2fe;
}

/* Font Size Controls */
.font-size-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.font-size-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4a5568;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}

.font-size-btn:hover {
  background: #e2e8f0;
  color: #1a202c;
}

/* Main Layout Grid */
.blog-layout-container {
  padding: 48px 0 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Article Prose & Typography */
.blog-prose {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #334155;
}

.blog-prose.font-size-large {
  font-size: 1.1875rem;
  line-height: 1.85;
}

.blog-prose.font-size-small {
  font-size: 0.98rem;
  line-height: 1.75;
}

.blog-prose p {
  margin-bottom: 1.5rem;
}

.blog-prose h2 {
  font-size: 1.875rem;
  color: #0f172a;
  font-weight: 800;
  margin-top: 3.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}

.blog-prose h3 {
  font-size: 1.45rem;
  color: #1e293b;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

.blog-prose h4 {
  font-size: 1.18rem;
  color: #334155;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 100px;
}

.blog-prose ul, .blog-prose ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.blog-prose li {
  margin-bottom: 0.65rem;
}

.blog-prose a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s;
}

.blog-prose a:hover {
  color: #0369a1;
}

.blog-prose strong {
  color: #0f172a;
  font-weight: 600;
}

/* Lead / Key Takeaway Callout */
.callout-takeaway {
  background: linear-gradient(135deg, #f0fdf9 0%, #f0f9ff 100%);
  border-left: 4px solid #2ecc8e;
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0 36px;
  box-shadow: 0 4px 20px rgba(46, 204, 142, 0.08);
}

.callout-takeaway-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #0d744a;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.callout-takeaway p:last-child {
  margin-bottom: 0;
}

/* Stat & Clinical Evidence Callout */
.stat-evidence-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #1baac7;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}

.stat-evidence-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(27, 170, 199, 0.12);
  color: #0e788e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-evidence-content {
  flex: 1;
}

.stat-evidence-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0e788e;
  margin-bottom: 4px;
}

.stat-evidence-text {
  font-size: 0.975rem;
  color: #334155;
  margin-bottom: 6px !important;
}

.stat-evidence-citation {
  font-size: 0.8125rem;
  color: #64748b;
}

/* Numbered Point Card / Core Section Header */
.point-badge-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  scroll-margin-top: 100px;
}

.point-number-pill {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2ecc8e 0%, #1baac7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(46, 204, 142, 0.3);
}

.point-badge-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* Image Figures */
.blog-figure {
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.blog-figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.blog-figure:hover img {
  transform: scale(1.01);
}

.blog-figcaption {
  padding: 12px 18px;
  font-size: 0.85rem;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Step-by-Step Routine Box (Morning Routine) */
.routine-step-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.routine-steps-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.routine-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f1f5f9;
  color: #1e293b;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.routine-step-arrow {
  color: #94a3b8;
  font-weight: bold;
}

/* Clinical Case Study Cards */
.case-study-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  margin: 40px 0;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.case-study-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.case-study-card.case-sound {
  border-left: 6px solid #2ecc8e;
}

.case-study-card.case-visual {
  border-left: 6px solid #ff7a30;
}

.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.case-study-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-sound .case-study-badge {
  background: rgba(46, 204, 142, 0.15);
  color: #15803d;
}

.case-visual .case-study-badge {
  background: rgba(255, 122, 48, 0.15);
  color: #c2410c;
}

.case-patient-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-study-title {
  font-size: 1.45rem;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 16px;
}

.case-insight-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 20px;
  border-left: 4px solid #3b82f6;
}

.case-insight-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.case-insight-box p:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: #334155;
}

/* Mid-Article Clinical CTA Banner */
.blog-mid-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 36px 40px;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}

.blog-mid-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(46, 204, 142, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.mid-cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.mid-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 204, 142, 0.2);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.mid-cta-title {
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.mid-cta-desc {
  color: #94a3b8;
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.mid-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2ecc8e 0%, #1baac7 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(46, 204, 142, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 142, 0.5);
  color: #ffffff;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: background 0.2s;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==========================================================================
   AUTHOR & MEDICAL REVIEWER SECTION (RICH PROFILES)
   ========================================================================== */
.author-profiles-section {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  margin: 56px 0;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.04);
}

.author-section-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.author-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.author-editorial-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.author-card-rich {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.author-card-rich:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.author-top {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}

.author-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #2ecc8e;
  box-shadow: 0 4px 12px rgba(46, 204, 142, 0.2);
}

.author-title-group {
  display: flex;
  flex-direction: column;
}

.author-role-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #0d744a;
  margin-bottom: 4px;
}

.author-name-lg {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.author-creds {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.author-bio-text {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 18px;
  flex-grow: 1;
}

.author-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.specialty-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.author-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
}

.author-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0a66c2;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.author-linkedin-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.author-consult-link {
  color: #0d744a;
  font-weight: 600;
  text-decoration: none;
}
.author-consult-link:hover {
  text-decoration: underline;
}

/* Editorial Policy Callout */
.editorial-policy-note {
  margin-top: 24px;
  padding: 14px 18px;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ==========================================================================
   FAQ ACCORDION COMPONENT
   ========================================================================== */
.blog-faq-section {
  margin: 56px 0;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-accordion-item.active {
  border-color: #2ecc8e;
  box-shadow: 0 4px 16px rgba(46, 204, 142, 0.08);
}

.faq-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  transition: background 0.15s;
}

.faq-accordion-header:hover {
  background: #f8fafc;
}

.faq-accordion-item.active .faq-accordion-header {
  color: #0d744a;
}

.faq-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-q-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(46, 204, 142, 0.15);
  color: #0d744a;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #94a3b8;
  transition: transform 0.3s ease, color 0.2s;
}

.faq-accordion-item.active .faq-accordion-icon {
  transform: rotate(180deg);
  color: #0d744a;
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-content {
  padding: 0 24px 22px 64px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
}

@media (max-width: 640px) {
  .faq-accordion-content {
    padding: 0 20px 20px 20px;
  }
}

/* ==========================================================================
   STICKY SIDEBAR COMPONENTS
   ========================================================================== */
.blog-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

/* Table of Contents */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.toc-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.toc-link.active {
  color: #0d744a;
  background: #f0fdf4;
  font-weight: 600;
  border-left: 3px solid #2ecc8e;
  padding-left: 10px;
}

.toc-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
  transition: background 0.2s;
}

.toc-link.active .toc-bullet {
  background: #2ecc8e;
}

/* Consultation Sidebar Card */
.sidebar-consult-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
  border: 1px solid #bbf7d0;
  text-align: center;
}

.consult-avatar-pair {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.consult-avatar-pair img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.consult-avatar-pair img:first-child {
  margin-right: -14px;
  z-index: 2;
}

.sidebar-consult-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.sidebar-consult-desc {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 18px;
}

.btn-sidebar-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: background 0.2s, transform 0.2s;
  margin-bottom: 8px;
}

.btn-sidebar-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-sidebar-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-sidebar-call:hover {
  background: #f8fafc;
}

/* Quick Facts / Stat Pillbox */
.sidebar-stat-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d744a;
  font-family: var(--font-heading);
}

.sidebar-stat-label {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.3;
}

/* Related Posts Section */
.related-posts-section {
  background: #f8fafc;
  padding: 64px 0;
  border-top: 1px solid #e2e8f0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.related-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0e788e;
  margin-bottom: 8px;
}

.related-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.4;
}

.related-title a {
  color: inherit;
  text-decoration: none;
}
.related-title a:hover {
  color: #1baac7;
}

.related-excerpt {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d744a;
  text-decoration: none;
}

.related-link:hover {
  gap: 8px;
}

/* Toast Notification (For Copy Link) */
.blog-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
/* Add this anywhere in the file */
html {
scroll-behavior: smooth;
}
