/*
 * foodsupplier.au — article content styles.
 * Used by BOTH the CMS editor (admin) and the public blog/pages (public/cms),
 * so what the team sees while writing is what readers get.
 * Everything is scoped to .fs-content.
 */

@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('/blog-assets/fonts/Manrope-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('/blog-assets/fonts/Manrope-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('/blog-assets/fonts/Manrope-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 400; font-display: swap; src: url('/blog-assets/fonts/SourceSerif4-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 600; font-display: swap; src: url('/blog-assets/fonts/SourceSerif4-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url('/blog-assets/fonts/SourceSerif4-Italic.ttf') format('truetype'); }

.fs-content {
  --fs-olive: #34491A; --fs-lime: #A8C83A; --fs-moss: #62821C; --fs-mist: #F5F6EC;
  --fs-text: #1E2613; --fs-muted: #5A6249; --fs-border: #DFE3CF;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--fs-text);
  overflow-wrap: break-word;
}
.fs-content > *:first-child { margin-top: 0; }
.fs-content::after { content: ''; display: block; clear: both; }

.fs-content h1, .fs-content h2, .fs-content h3, .fs-content h4 {
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 800;
  color: var(--fs-olive);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1.8em 0 0.6em;
}
.fs-content h1 { font-size: 2.1em; }
.fs-content h2 { font-size: 1.6em; }
.fs-content h3 { font-size: 1.3em; }
.fs-content h4 { font-size: 1.1em; font-weight: 700; }
.fs-content p { margin: 0 0 1.1em; }
.fs-content a { color: var(--fs-moss); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fs-content a:hover { color: var(--fs-olive); text-decoration-thickness: 2px; }
.fs-content strong { font-weight: 600; }
.fs-content mark { background: #E4EFB8; color: inherit; padding: 0 0.15em; border-radius: 3px; }

.fs-content ul, .fs-content ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.fs-content li { margin: 0.3em 0; }
.fs-content li > p { margin: 0; }
.fs-content ul li::marker { color: var(--fs-moss); }
.fs-content ul[data-type="taskList"] { list-style: none; padding-left: 0.2em; }
.fs-content ul[data-type="taskList"] li { display: flex; gap: 0.6em; align-items: flex-start; }
.fs-content ul[data-type="taskList"] li > label { margin-top: 0.15em; }
.fs-content ul[data-type="taskList"] li > div { flex: 1; }
.fs-content ul[data-type="taskList"] input[type="checkbox"] { accent-color: var(--fs-olive); width: 1em; height: 1em; }

.fs-content blockquote {
  margin: 1.6em 0;
  padding: 0.4em 0 0.4em 1.2em;
  border-left: 4px solid var(--fs-lime);
  color: var(--fs-olive);
  font-style: italic;
  font-size: 1.08em;
}
.fs-content hr { border: 0; height: 2px; background: var(--fs-border); margin: 2.2em 0; }
.fs-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em; background: var(--fs-mist); padding: 0.12em 0.35em; border-radius: 5px;
}
.fs-content pre {
  background: #1A240B; color: #EEF2DD; padding: 1em 1.2em; border-radius: 12px; overflow-x: auto;
  font-size: 0.85em; line-height: 1.55; margin: 1.4em 0;
}
.fs-content pre code { background: none; padding: 0; color: inherit; }

/* Images: data-align = left | right float beside text, center | full = block */
.fs-content img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 1.4em auto; }
.fs-content img[data-align="left"]  { float: left;  margin: 0.4em 1.4em 1em 0; max-width: 50%; }
.fs-content img[data-align="right"] { float: right; margin: 0.4em 0 1em 1.4em; max-width: 50%; }
.fs-content img[data-align="full"]  { width: 100% !important; }
@media (max-width: 640px) {
  .fs-content img[data-align="left"], .fs-content img[data-align="right"] { float: none; max-width: 100%; margin: 1.2em auto; }
}

.fs-content .tableWrapper, .fs-content .fs-table { overflow-x: auto; margin: 1.6em 0; }
.fs-content table { border-collapse: collapse; width: 100%; font-size: 0.9em; line-height: 1.5; }
.fs-content th, .fs-content td { border: 1px solid var(--fs-border); padding: 0.6em 0.8em; text-align: left; vertical-align: top; }
.fs-content th { background: var(--fs-mist); font-family: 'Manrope', Arial, sans-serif; font-weight: 700; color: var(--fs-olive); }
.fs-content td p, .fs-content th p { margin: 0; }

.fs-content div[data-youtube-video] { margin: 1.6em 0; }
.fs-content div[data-youtube-video] iframe,
.fs-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; display: block; }

@media (max-width: 640px) {
  .fs-content { font-size: 17px; }
}
