/* Scoped additions for BadFood legal/help pages. Reuses the existing site theme. */
.badfood-page { --readable-link: #345b70; --readable-accent: #37675f; }
.badfood-page a { color: var(--readable-link); text-underline-offset: .2em; }
.badfood-page a:hover { text-decoration-thickness: .14em; }
.badfood-page a:focus-visible { outline: 3px solid var(--readable-accent); outline-offset: 5px; border-radius: 2px; }
.badfood-page .skip-link { position: absolute; top: .5rem; left: 1rem; transform: translateY(-180%); z-index: 200; padding: .6rem 1rem; background: white; font-weight: 600; }
.badfood-page .skip-link:focus { transform: translateY(0); }
.badfood-page nav { gap: 1.5rem; }
.badfood-page .nav-left { color: var(--text-primary); }
.badfood-page .nav-right ul { gap: 1.5rem; flex-wrap: wrap; }
.badfood-page .nav-right a { color: var(--readable-link); padding: .5rem 0; display: inline-block; }
.badfood-page .nav-right a[aria-current="page"] { color: var(--text-primary); text-decoration: underline; text-decoration-thickness: .12em; }
.badfood-page main { max-width: 52rem; padding: 3.5rem 2rem 5rem; justify-content: flex-start; }
.badfood-page .eyebrow { font-size: .875rem; color: var(--readable-accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; }
.badfood-page h1 { font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 1.5rem; }
.badfood-page h2 { color: var(--readable-accent); font-size: 1.8rem; line-height: 1.25; margin: 3rem 0 1rem; scroll-margin-top: 7rem; }
.badfood-page h3 { font-size: 1.4rem; line-height: 1.35; margin: 2rem 0 .75rem; scroll-margin-top: 7rem; }
.badfood-page p { max-width: none; }
.badfood-page article ul, .badfood-page article ol { padding-left: 1.5rem; margin: 0 0 1.5rem; font-size: 1.125rem; }
.badfood-page article li { margin-bottom: .65rem; padding-left: .2rem; }
.badfood-page .contents { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 6px; padding: 1.25rem; margin-bottom: 2.5rem; }
.badfood-page .contents p { font-size: .95rem; font-weight: 600; margin-bottom: .5rem; }
.badfood-page .contents ul { padding-left: 1.25rem; }
.badfood-page .contents li { padding: .2rem 0; }
.badfood-page footer { color: var(--text-primary); }
.badfood-page footer p { max-width: none; font-size: .9rem; margin: 0 0 .6rem; }
.badfood-page footer ul { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem 1.5rem; list-style: none; }
@media (max-width: 640px) {
  .badfood-page nav { position: static; padding: 1rem 1.25rem; align-items: flex-start; flex-direction: column; gap: .4rem; }
  .badfood-page .nav-right ul { gap: 1.25rem; }
  .badfood-page main { padding: 2rem 1.25rem 3rem; }
  .badfood-page h2, .badfood-page h3 { scroll-margin-top: 1rem; }
  .badfood-page p, .badfood-page article ul, .badfood-page article ol { font-size: 1rem; }
  .badfood-page footer { padding: 1.5rem 1.25rem; }
}
@media print {
  .badfood-page nav, .badfood-page .contents, .badfood-page .skip-link { display: none; }
  .badfood-page main { max-width: none; padding: 0; }
  .badfood-page h2, .badfood-page h3 { break-after: avoid; }
  .badfood-page a { color: inherit; }
}
.badfood-page .effective-date { color: var(--text-primary); font-size: 1rem; margin: 0 0 2rem; }
