/* School Lunch Association web palette, navigation, section headings and footer. */
:root {
  --sheet-display: "Arial Black", "Source Sans 3", Arial, sans-serif;
  --sheet-paper: #fff;
  --sheet-mint: #eaf1dd;
  --sheet-orange: #dd771b;
  --sheet-orange-ink: #b34b04;
  --sheet-leaf: #577c16;
  --sheet-teal: #315f6b;
  --sheet-ink: #202620;
  --sheet-muted: #4b564d;
  --sheet-rule: #c4cec1;
  --sheet-width: 1184px;
  --sheet-edge: max(24px, calc((100vw - var(--sheet-width)) / 2));
}

.sheet-page {
  --font-body: var(--family-font);
  --fg: var(--sheet-ink);
  --family-cream: var(--sheet-paper);
  --family-green: var(--sheet-ink);
  --family-ink: var(--sheet-ink);
  --family-muted: var(--sheet-muted);
  --family-sage: var(--sheet-mint);
  --family-line: var(--sheet-rule);
  color: var(--sheet-ink);
  background: var(--sheet-paper);
}
.sheet-page .family-wrap,
.sheet-page .slahd-inner {
  width: min(var(--sheet-width), calc(100% - 48px));
}
.sheet-page main a,
.sheet-page .slahd-notice a,
.sheet-page .slahd-notice summary { color: var(--sheet-teal); }
.sheet-page main a:hover { color: #173f48; }
.sheet-page :focus-visible { outline-color: var(--sheet-teal); }

/* The same family navigation and disclosure sit above the pale green field. */
.sheet-page .slahd-headrow { min-height: 80px; }
.sheet-page .slahd-modern .slahd-wordmark { color: var(--sheet-ink); line-height: 1.02; font-weight: 800; }
.sheet-page .slahd-wordmark img { width: 92px; }
.sheet-page .slahd-wordmark span { max-width: 11ch; }
.sheet-page .slahd-modern .slahd-links > a,
.sheet-page .slahd-modern .slahd-links summary { color: var(--sheet-ink); font-size: 16px; }
.sheet-page .slahd-notice { background: white; border-top: 1px solid #e2e7dd; }
.sheet-page .slahd-notice summary { gap: 8px; }
.sheet-page .slahd-notice-icon { width: 17px; height: 17px; }

.sheet-page main h2 { font-weight: 790; letter-spacing: -.035em; }
.sheet-page main .sheet-ribbon {
  background: var(--sheet-leaf);
  color: #fff;
  border-radius: 0 18px 18px 0;
  font-size: clamp(23px, 2.25vw, 33px);
  font-weight: 750;
  line-height: 1.14;
  padding: 10px 18px;
  text-wrap: initial;
}
.sheet-footer {
  background: var(--sheet-mint);
  color: var(--sheet-ink);
  border-top: 1px solid var(--sheet-rule);
  font: 600 16px/1.35 var(--family-font);
}
.sheet-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding-block: 18px;
}
.sheet-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--sheet-teal);
  text-decoration: underline;
  text-underline-offset: .18em;
  scroll-margin-block-end: 72px;
}
.sheet-footer a:hover { color: #173f48; text-decoration-thickness: 2px; }
.sheet-footer a:focus-visible { outline: 3px solid var(--sheet-teal); outline-offset: 2px; border-radius: 3px; }
.sheet-footer-identity, .sheet-footer-tools { display: flex; align-items: center; gap: 14px; }
.sheet-footer-logo img { display: block; width: 78px; height: auto; }
.sheet-footer-identity small { font-size: 14px; line-height: 1.38; font-weight: 450; }
.sheet-footer-identity small > span { display: block; }
.sheet-charity-number { white-space: nowrap; }
.sheet-footer ul { display: flex; align-items: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.sheet-footer-links { gap: 0 clamp(12px, 1.6vw, 24px); }
.sheet-footer-social svg { width: 18px; height: 18px; }
.sheet-footer-social a:hover { border-radius: 50%; background: #d9e5ce; }
.sheet-footer-top { gap: 5px; }
.sheet-footer-top svg { width: 16px; height: 16px; }

@media (min-width: 741px) and (max-width: 1000px) {
  .sheet-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; padding-block: 12px; }
  .sheet-footer-identity { grid-row: span 2; }
  .sheet-footer-tools { justify-content: space-between; }
}
@media print { .sheet-footer { display: none; } }

@media (max-width: 900px) {
  .sheet-page .slahd-headrow { min-height: 64px; }
  .sheet-page .slahd-wordmark img { width: 71px; }
  .sheet-page .slahd-wordmark span { max-width: none; }
  .sheet-page .slahd-modern-tabs.slahd-mob { background: white !important; }
}
@media screen and (max-width: 900px) {
  /* The runtime host can be only one viewport tall. Reserve the tab bar's
     space after the actual footer, inside the element that lays out the page. */
  .sheet-page { padding-block-end: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body:has(.sheet-page .sheet-footer)::after { content: none; }
}
@media (max-width: 740px) {
  .sheet-page { --sheet-edge: 20px; }
  .sheet-page .family-wrap, .sheet-page .slahd-inner { width: calc(100% - 40px); }
  .sheet-page main .sheet-ribbon { padding-block: 9px; border-radius: 0 14px 14px 0; }
  .sheet-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 12px 7px; }
  .sheet-footer-identity { gap: 12px; margin-bottom: 5px; }
  .sheet-footer-links { justify-content: space-between; column-gap: 8px; }
  .sheet-footer-tools { justify-content: space-between; border-top: 1px solid var(--sheet-rule); }
}
