/* BabyFuture Blog Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fdfaf7;
  color: #1a1a2e;
  line-height: 1.8;
}

/* ── Header ── */
.site-header {
  background: #fff;
  border-bottom: 1px solid #f0e8e0;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f97316;
  text-decoration: none;
}
.site-nav { display: flex; gap: 20px; }
.site-nav a {
  font-size: 0.88rem;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.site-nav a:hover { color: #f97316; }

/* ── Article ── */
.article-main {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.article-header { margin-bottom: 32px; }
.tag-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tag {
  display: inline-block;
  background: #fff3e8;
  color: #f97316;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.read-time { font-size: 0.8rem; color: #aaa; }
h1 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.meta { font-size: 0.85rem; color: #aaa; }
.lead {
  font-size: 1.05rem;
  color: #4a4060;
  background: #fff8f2;
  border-left: 4px solid #f97316;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 36px;
  line-height: 1.7;
}
h2 {
  font-size: 1.28rem;
  font-weight: 700;
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0e8e0;
  color: #1a1a2e;
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f97316;
  margin: 24px 0 10px;
}
h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
p { margin-bottom: 16px; color: #3a3552; font-size: 0.96rem; }
ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 8px; color: #3a3552; font-size: 0.95rem; }
strong { color: #1a1a2e; }

/* ── Stage boxes ── */
.stage-box {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid #f0e8e0;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.stage-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.stage-content h3 { margin-top: 0; }

/* ── Checklist ── */
.checklist { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.check-item {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #f0e8e0;
  border-radius: 10px;
  padding: 14px 16px;
  align-items: flex-start;
}
.check-item.good { border-left: 3px solid #22c55e; }
.check-item.bad { border-left: 3px solid #ef4444; }
.check-icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1.6; }
.check-item strong { display: block; margin-bottom: 4px; }
.check-item p { margin: 0; font-size: 0.88rem; }

/* ── Age tips ── */
.age-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 20px 0; }
.age-card {
  background: #fff;
  border: 1px solid #f0e8e0;
  border-radius: 10px;
  padding: 16px;
}
.age-card h4 { color: #f97316; font-size: 0.9rem; margin-bottom: 8px; }
.age-card p { font-size: 0.87rem; margin: 0; }

/* ── Tip grid ── */
.tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 20px 0; }
.tip-card {
  background: #fff;
  border: 1px solid #f0e8e0;
  border-radius: 12px;
  padding: 18px;
}
.tip-num { display: block; font-size: 1.5rem; font-weight: 900; color: #fde0c8; line-height: 1; margin-bottom: 8px; }
.tip-card h4 { margin-bottom: 6px; }
.tip-card p { font-size: 0.87rem; margin: 0; }

/* ── Warning list ── */
.warning-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.warning-item {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #fcd9b6;
  border-radius: 10px;
  padding: 14px 16px;
  align-items: flex-start;
}
.warning-icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.5; }
.warning-item strong { display: block; margin-bottom: 4px; }
.warning-item p { margin: 0; font-size: 0.88rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.faq-item {
  background: #fff;
  border: 1px solid #f0e8e0;
  border-radius: 10px;
  padding: 16px;
}
.faq-item strong { display: block; color: #1a1a2e; margin-bottom: 6px; }
.faq-item p { margin: 0; font-size: 0.9rem; }

/* ── CTA box ── */
.cta-box {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
  margin: 40px 0;
}
.cta-emoji { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.cta-box h3 { font-size: 1.1rem; color: #fff; margin: 0 0 8px; }
.cta-box p { color: rgba(255,255,255,0.88); font-size: 0.92rem; margin-bottom: 18px; }
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #f97316;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
}

/* ── Related posts ── */
.related-posts {
  border-top: 1px solid #f0e8e0;
  padding-top: 24px;
  margin-top: 40px;
}
.related-posts h3 { font-size: 0.95rem; color: #aaa; margin-bottom: 12px; }
.related-posts a {
  display: block;
  color: #f97316;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 8px;
  line-height: 1.5;
}
.related-posts a:hover { text-decoration: underline; }

/* ── Footer ── */
.site-footer {
  background: #fff;
  border-top: 1px solid #f0e8e0;
  padding: 28px 24px;
  text-align: center;
}
.site-footer .footer-inner { max-width: 740px; margin: 0 auto; }
.site-footer p { font-size: 0.82rem; color: #bbb; margin-bottom: 6px; }
.site-footer a { color: #f97316; text-decoration: none; margin: 0 4px; }
.footer-disclaimer { font-size: 0.78rem !important; color: #ccc !important; }

/* ── Responsive ── */
@media (max-width: 520px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
  .article-main { padding: 28px 16px 60px; }
  .cta-box { padding: 20px 18px; }
}
