/* NutriLabel — article page styles (loaded after styles.css) */

.breadcrumb { font-size: 12.5px; color: var(--text-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--green-mid); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-light); margin: 0 6px; }

.article-head { padding: 3rem 0 1.5rem; }
.article-head h1 { font-size: clamp(25px, 4.2vw, 34px); font-weight: 700; line-height: 1.4; margin-bottom: 0.9rem; }
.article-meta { font-size: 12.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; }
.article-meta .dot { color: var(--text-light); }

.article-lead {
  font-size: 16px; color: var(--text); line-height: 1.85;
  background: var(--green-bg); border-radius: var(--radius);
  padding: 1.35rem 1.5rem; margin: 1.75rem 0 2.5rem;
}

.prose { font-size: 15.5px; line-height: 1.9; color: var(--text); padding-bottom: 1rem; }
.prose h2 { font-size: clamp(20px, 3vw, 24px); font-weight: 700; margin: 2.75rem 0 0.9rem; line-height: 1.45; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 2rem 0 0.6rem; }
.prose p { margin-bottom: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.35rem 1.4rem; }
.prose li { margin-bottom: 0.55rem; }
.prose a { color: var(--green-mid); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose hr { border: none; border-top: 0.5px solid var(--border); margin: 2.5rem 0; }

.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
.prose table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 14px; }
.prose th, .prose td { border: 0.5px solid var(--border-mid); padding: 0.8rem 0.9rem; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-secondary); font-weight: 700; }
.prose td strong { color: var(--green-mid); }

.callout {
  border-left: 3px solid var(--green); background: var(--bg-secondary);
  border-radius: var(--radius-sm); padding: 1.15rem 1.35rem; margin: 0 0 1.5rem;
  font-size: 14.5px; line-height: 1.8;
}
.callout strong { color: var(--green-mid); }

.article-cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  border-radius: var(--radius); padding: 2rem; margin: 2.5rem 0 1rem; text-align: center; color: #fff;
}
.article-cta p { font-size: 18px; font-weight: 700; margin-bottom: 0.4rem; }
.article-cta .sub { font-size: 13.5px; font-weight: 400; color: rgba(255,255,255,0.8); margin-bottom: 1.35rem; }
.article-cta-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.article-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s;
}
.article-cta a.primary { background: #fff; color: var(--green-dark); }
.article-cta a.line { background: var(--line-green); color: #fff; }
.article-cta a:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.article-cta svg { width: 16px; height: 16px; fill: currentColor; }

/* article index */
.post-list { display: grid; gap: 1.25rem; }
.post-card {
  display: block; background: var(--bg); border: 0.5px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; text-decoration: none; transition: box-shadow 0.2s, transform 0.15s;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card h2 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; line-height: 1.5; }
.post-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.75rem; }
.post-card .post-meta { font-size: 12px; color: var(--text-light); }
.post-soon { border-style: dashed; opacity: 0.75; }
.post-soon h2 { color: var(--text-muted); }
.post-soon .post-meta { color: var(--green-mid); font-weight: 600; }

@media (max-width: 900px) {
  .article-head { padding: 2rem 0 1rem; }
  .article-cta { padding: 1.5rem; }
}
