/* FILE: public/content.css */
/* Shared stylesheet for Eat With Purpose content and SEO pages. */
/* Mirrors the homepage brand: Inter font, dark sticky nav, light readable body, green accents. */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
}

/* NAV (matches homepage) */
nav.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #1f1f1f;
  background: #0a0a0a;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav.site .logo { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.5px; color: #fff; text-decoration: none; }
nav.site .logo span { color: #22c55e; }
nav.site .nav-cta {
  background: #22c55e;
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
}
nav.site .nav-cta:hover { background: #16a34a; }

/* LAYOUT */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* BREADCRUMB */
.breadcrumb { font-size: 0.85rem; color: #6b7280; margin: 1.5rem 0 0.5rem; }
.breadcrumb a { color: #2d6a4f; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* HERO */
.page-hero { padding: 0.5rem 0 1.8rem; border-bottom: 1px solid #eceae5; margin-bottom: 1.5rem; }
.eyebrow {
  display: inline-block;
  background: #f0f7f4;
  color: #2d6a4f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: #444; line-height: 1.7; }

/* CONTENT TYPOGRAPHY */
main h2 { font-size: 1.5rem; font-weight: 800; margin: 2.2rem 0 0.8rem; letter-spacing: -0.3px; }
main h3 { font-size: 1.1rem; font-weight: 700; margin: 1.6rem 0 0.4rem; }
main p { margin-bottom: 1rem; color: #333; }
main ul, main ol { margin: 0 0 1.2rem 1.3rem; }
main li { margin-bottom: 0.5rem; color: #333; }
main strong { color: #1a1a1a; }
main a { color: #2d6a4f; }

/* CALLOUT (Canadian considerations and transparency boxes) */
.callout {
  background: #f0f7f4;
  border: 1px solid #c8e6d8;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* CTA */
.cta {
  display: inline-block;
  margin: 1.2rem 0;
  padding: 0.95rem 1.6rem;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}
.cta:hover { background: #15803d; }

/* FAQ (matches homepage details and summary pattern) */
.faq-item { border-bottom: 1px solid #e8e8e5; padding: 1rem 0; }
.faq-item summary {
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: #1a1a1a;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+ "; color: #2d6a4f; font-weight: 800; }
.faq-item[open] summary::before { content: "\2013 "; }
.faq-item p { margin-top: 0.6rem; color: #555; }

/* RELATED */
.related ul { list-style: none; margin-left: 0; }
.related li { margin-bottom: 0.5rem; }
.related a { color: #2d6a4f; font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }

/* FOOTER (light, matches homepage footer colors) */
footer.site {
  background: #ffffff;
  border-top: 1px solid #e8e8e5;
  color: #6b7280;
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
}
footer.site p { margin-bottom: 0.5rem; }
footer.site .legal { font-size: 0.72rem; color: #6b7280; max-width: 480px; margin: 0.75rem auto; line-height: 1.6; }
footer.site .links a { color: #555; text-decoration: none; margin: 0 0.5rem; }
footer.site .links a:hover { text-decoration: underline; }

/* QUICK ANSWER (GEO-friendly summary box, citation friendly) */
.answer {
  background: #f0f7f4;
  border-left: 4px solid #2d6a4f;
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  margin: 0 0 1.8rem;
}
.answer p { margin: 0; font-size: 1.05rem; line-height: 1.65; color: #1a1a1a; }

/* COMPARISON TABLE */
.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 680px;
}
table.compare th, table.compare td {
  border: 1px solid #e3e3df;
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
table.compare thead th { background: #0a0a0a; color: #fff; font-weight: 700; }
table.compare tbody tr:nth-child(even) { background: #faf8f4; }
table.compare tbody tr.highlight { background: #f0f7f4; }
table.compare tbody tr.highlight td { border-color: #c8e6d8; font-weight: 600; }

/* DISCLAIMER NOTE (allergy, medical, dietary caution) */
.disclaimer {
  font-size: 0.9rem;
  color: #555;
  background: #fbfbf9;
  border: 1px solid #ececea;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 1.8rem 0;
}

/* SOURCES */
.sources { margin-top: 2.5rem; }
.sources h2 { font-size: 1.15rem; }
.sources ul { list-style: none; margin-left: 0; }
.sources li { margin-bottom: 0.4rem; font-size: 0.9rem; color: #555; }
.sources a { color: #2d6a4f; }
