/* BebeRecipe 공통 스타일 (index.html 외 모든 페이지에서 link) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Pretendard", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  background: #fafbfc;
  color: #1f2937;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #0369a1; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* Header */
header.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: #0369a1;
  text-decoration: none;
}
.logo-icon { font-size: 24px; }
.lang-toggle {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.lang-toggle button {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}
.lang-toggle button.active {
  background: white;
  color: #0369a1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.lang-toggle a {
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}

/* Article (정적 페이지 컨텐츠) */
.article h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.3;
}
.article .meta {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
}
.article h2 {
  font-size: 19px;
  font-weight: 600;
  color: #0369a1;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
}
.article h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 20px 0 8px;
}
.article p { margin: 0 0 14px; color: #374151; }
.article ul, .article ol { margin: 0 0 14px; padding-left: 22px; }
.article li { margin-bottom: 6px; color: #374151; }
.article blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  background: #f0f9ff;
  border-left: 3px solid #0369a1;
  border-radius: 6px;
  color: #1e3a8a;
  font-size: 14px;
}
.article .disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: #78350f;
  margin: 24px 0;
}
.article .source-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: #6b7280;
  margin: 24px 0;
}
.article .toc {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0 32px;
  font-size: 14px;
}
.article .toc strong {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article .toc ul { list-style: none; padding-left: 0; margin: 0; }
.article .toc li { margin-bottom: 4px; }
.article .related {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 32px;
  font-size: 14px;
}
.article .related strong {
  display: block;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article .related ul { list-style: none; padding: 0; margin: 0; }
.article .related li { margin-bottom: 4px; }

/* Footer */
footer.app-footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.8;
}
footer .footer-links { margin-top: 8px; }
footer .footer-links a {
  color: #6b7280;
  text-decoration: none;
  margin: 0 6px;
}
footer .footer-links a:hover { color: #0369a1; }

@media (max-width: 600px) {
  .container { padding: 16px 14px 60px; }
  .article h1 { font-size: 22px; }
  .article h2 { font-size: 17px; }
  header.app-header { padding: 12px 0 16px; margin-bottom: 20px; }
}
