/* Small compatibility rules for React controls; original layouts live in the preserved CSS. */
html.page-header-expanded {
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: white;
}
.skip-link:focus {
  top: 1rem;
}
#main-content {
  display: block;
  height: 0;
}
.migration-slider {
  display: flex;
  transition-property: transform;
  transition-timing-function: ease;
}
.migration-slider > li {
  flex: 0 0 33.333333%;
}
.archive-sentinel {
  height: 0;
  position: relative;
}
.archive-empty {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.archive-load-more:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.recipe-type-option {
  display: contents;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile-container,
.contact-availability {
  grid-column: 1 / -1;
  margin: 1rem 0;
}
.turnstile-container {
  display: flex;
  justify-content: center;
}
.contact-availability {
  font-size: 0.9em;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.privacy-preferences {
  all: unset;
  cursor: pointer;
  text-decoration: underline;
}
.privacy-preferences:focus:not(:focus-visible),
.privacy-reminder-toggle:focus:not(:focus-visible) {
  outline: none;
}
footer .privacy-preferences:hover,
footer .privacy-preferences:focus {
  text-decoration: none;
}
#privacy-call-to-action .privacy-preferences {
  font-weight: 700;
  text-decoration: none;
}
#privacy-call-to-action .privacy-preferences:hover {
  text-decoration: underline;
}
.privacy-reminder-toggle {
  position: absolute;
  top: calc(-2.5em + 3px);
  right: 10%;
  width: 5em;
  height: 2.5em;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  z-index: 1;
}
main form .shrinking-label-input {
  position: relative;
}
main form .shrinking-label-input label {
  position: absolute;
  left: 0;
  pointer-events: none;
}
.shrinking-label-input.has-value label,
.shrinking-label-input:focus-within label {
  transform: scale(0.8) translateY(-100%);
}
main form .shrinking-label-input input:focus + label,
main form .shrinking-label-input input:not(:placeholder-shown) + label {
  transform: scale(0.8) translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: Respect reduced motion over the original animation rules. */
    animation-duration: 0.01ms !important;
    /* biome-ignore lint/complexity/noImportantStyles: Respect reduced motion over the original transition rules. */
    transition-duration: 0.01ms !important;
    /* biome-ignore lint/complexity/noImportantStyles: Respect reduced motion over the original scrolling rules. */
    scroll-behavior: auto !important;
  }
}

.switch-input-wrapper:has(input:checked) {
  border-color: white;
  background: #d60d47;
}
.switch-input-wrapper:has(input:checked)::before {
  background: white;
  transform: translate(calc(2em + 1px), 1px);
}
