/* ===== BLOG STYLES ===== */

.blog-hero {
  padding: 140px 0 80px;
  background: var(--cream);
  text-align: center;
}

.blog-hero .section-title {
  margin-bottom: 24px;
}

.blog-hero .section-subtitle {
  margin: 0 auto;
}

/* ===== ARTICLE GRID ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
  padding: 60px 5vw;
  background: var(--mint-50);
}

.article-grid .container {
  display: contents;
}

.article-card {
  background: var(--card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease-out;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-organic);
  aspect-ratio: auto;
  min-height: 480px;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

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

.article-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-800);
  background: var(--teal-50);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  align-self: center;
}

.article-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.article-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 16px;
}

.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--amber-600);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

/* ===== ARTICLE PAGE ===== */
.article-layout {
  padding-top: 120px;
  background: var(--cream);
}

.article-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--teal-800);
  text-decoration: none;
}

.article-h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 16px 0 24px;
}

.author-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.article-hero-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin: 0 auto 60px;
  display: block;
  box-shadow: var(--shadow-organic);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-body h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 48px 0 24px;
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: 24px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 12px;
}

/* ===== BADGES ===== */
.evidence-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  vertical-align: middle;
}

.evidence-strong {
  background: var(--mint-50);
  color: var(--teal-800);
}

.evidence-moderate {
  background: #EFF6FF;
  color: #1D4ED8;
}

.evidence-emerging {
  background: #FEF3C7;
  color: var(--amber-600);
}

.evidence-traditional {
  background: var(--mint-50);
  color: var(--teal-700);
}

/* ===== CALLOUT BOXES ===== */
.callout {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--shadow-organic);
  border-left: 6px solid var(--teal-500);
}

.callout-warning {
  border-left-color: var(--coral);
  background: #FEF2F2;
}

.callout-info {
  border-left-color: #3B82F6;
  background: #EFF6FF;
}

/* ===== TABLES ===== */
.article-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-organic);
}

.article-table th, .article-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: left;
}

.article-table th {
  background: var(--teal-50);
  color: var(--teal-800);
  font-weight: 600;
}

.myth-fact-table th:nth-child(1), .myth-fact-table td:nth-child(1) {
  border-right: 1px solid rgba(0,0,0,0.05);
}

.myth-fact-table td:nth-child(1) {
  color: var(--coral);
  font-weight: 500;
}

.myth-fact-table td:nth-child(2) {
  color: var(--teal-700);
  font-weight: 500;
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: var(--card-glass);
  border: 1px solid var(--card-glass-border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.faq-question:hover {
  background: rgba(255,255,255,0.5);
}

.faq-question.active {
  color: var(--teal-800);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.open {
  padding: 0 24px 20px;
  max-height: 500px;
}

/* ===== PROGRESS BAR ===== */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1001;
}

.progress-bar {
  height: 100%;
  background: var(--teal-800);
  width: 0%;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--teal-800);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
  box-shadow: var(--shadow-organic);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  
  .article-body h2 {
    font-size: 1.75rem;
  }
  
  .article-body {
    font-size: 1.05rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .nav, .footer, .back-to-top, .progress-container {
    display: none !important;
  }
  
  .article-layout {
    padding-top: 0;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}
