/* Food Hygiene Briefing components.
   Served as /assets/briefing.css because the live CSP (style-src 'self') blocks inline
   <style> blocks and style attributes, so none of this can live in the page.
   Palette follows the site: deep green headings, red accent, warm off-white paper. */

/* Article 2 key advice: the light green highlight box Alison asked for. */
.key-advice {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: #eaf5ec;
  border-left: 4px solid #4e9a5f;
  border-radius: 0 10px 10px 0;
}
.key-advice p {
  margin: 0;
  font-weight: 700;
  color: #17401f;
}

/* Articles 3 and 5 printable-style checklists: real tick boxes, not bullet dots. */
.hbg-article ul.checklist {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}
.hbg-article ul.checklist li {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 2.6rem;
  margin: 0 0 0.4rem;
  background: #f7f6f3;
  border: 1px solid #e2ded6;
  border-radius: 8px;
  line-height: 1.5;
}
.hbg-article ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 0.95rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid #4e9a5f;
  border-radius: 4px;
  background: #fff;
}

/* Sources list inside the collapsible block. */
.prose details ol {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}
.prose details ol li {
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

/* Related guides list. */
.blog-related ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

@media (max-width: 760px) {
  .key-advice {
    padding: 0.85rem 1rem;
    margin: 1.25rem 0;
  }
  .hbg-article ul.checklist li {
    padding: 0.5rem 0.6rem 0.5rem 2.2rem;
    font-size: 0.97rem;
  }
  .hbg-article ul.checklist li::before {
    left: 0.6rem;
    top: 0.85rem;
  }
}

@media print {
  .key-advice {
    background: #fff;
    border: 1px solid #4e9a5f;
  }
  .hbg-article ul.checklist li {
    background: #fff;
    border: 1px solid #999;
  }
  .prose details {
    display: none;
  }
}
