/* Small shared footer recommendations; scoped to avoid changing page layouts. */
nav.ritual-related {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 5px;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: #888;
}
/* Build articles use full-width main with individually centered story sections.
   Match their .wrap column without changing the tools' already-inset main. */
main > .story-section.wrap ~ nav.ritual-related {
  width: min(1112px, calc(100% - 96px));
  margin-inline: auto;
}
@media (min-width: 1500px) {
  main > .story-section.wrap ~ nav.ritual-related { width: 1180px; }
}
@media (max-width: 900px) {
  main > .story-section.wrap ~ nav.ritual-related { width: calc(100% - 56px); }
}
@media (max-width: 620px) {
  main > .story-section.wrap ~ nav.ritual-related { width: calc(100% - 40px); }
}
nav.ritual-related[hidden] { display: none; }
nav.ritual-related a {
  color: #b0b0b0;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
nav.ritual-related a:hover { color: #eee; text-decoration: underline; text-underline-offset: 3px; }
nav.ritual-related a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 1px; }
html[data-theme='light'] nav.ritual-related { color: #686868; }
html[data-theme='light'] nav.ritual-related a { color: #515151; }
html[data-theme='light'] nav.ritual-related a:hover { color: #111; }
@media print { nav.ritual-related { display: none; } }


/* Two visible picks on recipe pages; wrap cleanly on narrow screens. */
nav.ritual-related .ritual-related-links { display: inline-flex; flex-wrap: wrap; gap: 2px 20px; min-width: 0; }
