/* Food Quality Vault — restrained text-box polish.
   Presentation-only: keeps all article text, links, page structure and theme intact.
   Targets only unboxed article sections inside the established article-content layout. */
.article-content > section:not([class]) {
  box-sizing: border-box;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid #e4e4e7;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.045);
  overflow-wrap: anywhere;
}
.article-content > section:not([class]) > :first-child {
  margin-top: 0;
}
.article-content > section:not([class]) > :last-child {
  margin-bottom: 0;
}
.article-content > section:not([class]) > h2 {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e4e4e7;
}
@media (max-width: 640px) {
  .article-content > section:not([class]) {
    padding: 1rem;
    border-radius: 0.875rem;
  }
}


/* Keyboard accessibility: visible focus and a skip link that appears only on focus.
   Presentation-only; uses the existing Food Quality Vault gold and neutral palette. */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border: 2px solid #111827;
  border-radius: 0 0 0.5rem 0;
  background: #eab308;
  color: #111827;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #111827;
  outline-offset: 2px;
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #eab308;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #111827;
}
html {
  scroll-padding-top: 5rem;
}
:where([id]) {
  scroll-margin-top: 5rem;
}
@media (prefers-reduced-motion: reduce) {
  html,
  html.scroll-smooth {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
