/* ===== BLOG ARTICLE STYLES ===== */
/* blog.css — shared styles for all EmojiCircle blog posts */

/* ── Article wrapper ── */
.blog-article {
  max-width: 800px;
  margin: 40px auto 60px;
  padding: 0 24px;
  color: #e4e4e7;
  line-height: 1.8;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.05rem;
}

/* Hero / banner used by individual posts */
.blog-hero {
  width: 100%;
  max-width: 1000px;
  height: 300px;
  margin: 18px auto;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}
.blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 70%);
  display: flex;
  align-items: flex-end;
}
.blog-hero__overlay h1 {
  margin: 0;
  color: #fff;
  padding: 22px 28px;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  line-height: 1.1;
  max-width: 65%;
  text-align: left;
  font-weight: 900;
}

@media (max-width: 768px) {
  .blog-hero { height: 220px; }
  .blog-hero__overlay h1 { max-width: 100%; padding: 16px; }
}

/* ── Blog number badge ── */
.blog-number {
  display: inline-block;
  background: rgba(255, 98, 0, 0.12);
  color: #ff6200;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* ── Blog title ── */
.blog-article h1 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

/* ── Blog meta row ── */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.88rem;
  color: #9ca3af;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── SEO box — hidden from readers ── */
.seo-box {
  display: none !important;
}

/* ── Headings ── */
.blog-article h2 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  color: #ffffff;
  margin: 48px 0 16px;
  padding-top: 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.blog-article h3 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 12px;
}

/* ── Paragraphs ── */
.blog-article p {
  margin: 0 0 20px;
  color: #d1d5db;
}

/* ── Lists ── */
.blog-article ul,
.blog-article ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: #d1d5db;
}
.blog-article li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.blog-article li strong {
  color: #f3f4f6;
}

/* ── Links ── */
.blog-article a {
  color: #ff6200;
  text-decoration: underline;
  text-decoration-color: rgba(255, 98, 0, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.blog-article a:hover {
  color: #ff8533;
  text-decoration-color: #ff8533;
}

/* ── Callout / info box ── */
.callout {
  background: rgba(255, 98, 0, 0.06);
  border-left: 4px solid #ff6200;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #d1d5db;
}
.callout strong {
  color: #ff6200;
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

/* ── Timeline items ── */
.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.timeline-item:last-of-type {
  border-bottom: none;
}
.timeline-year {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 32px;
  background: #ff6200;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.timeline-item div {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Stat row / cards ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 36px 0;
}
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 98, 0, 0.3);
}
.stat-card .number {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #ff6200;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-card .label {
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.45;
}

/* ── Conclusion box ── */
.conclusion-box {
  background: linear-gradient(135deg, rgba(255, 98, 0, 0.08), rgba(255, 98, 0, 0.03));
  border: 1px solid rgba(255, 98, 0, 0.15);
  border-radius: 16px;
  padding: 28px 28px 24px;
  margin: 48px 0 36px;
}
.conclusion-box h3 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ff6200;
  margin: 0 0 12px;
}
.conclusion-box p {
  color: #d1d5db;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ── Tag row ── */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 16px;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}
.tag:hover {
  background: rgba(255, 98, 0, 0.12);
  color: #ff6200;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
  .blog-article {
    padding: 0 16px;
    margin: 24px auto 40px;
    font-size: 1rem;
  }
  .blog-article h1 {
    font-size: 1.5rem;
  }
  .blog-article h2 {
    font-size: 1.2rem;
    margin-top: 36px;
  }
  .blog-meta {
    gap: 8px 14px;
    font-size: 0.82rem;
  }
  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 18px 14px;
  }
  .stat-card .number {
    font-size: 1.6rem;
  }
  .callout {
    padding: 16px 18px;
  }
  .conclusion-box {
    padding: 22px 20px 20px;
  }
  .timeline-item {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .blog-article {
    padding: 0 12px;
  }
  .stat-row {
    grid-template-columns: 1fr;
  }
  .blog-meta {
    flex-direction: column;
    gap: 6px;
  }
}
