/* Inline documents share their support slot. While the replacement is nested
   there, display its native groups as the complete footer, including without JS. */
footer.site-footer nav.site-footer-utilities:not([data-browse-footer]),
footer.site-footer nav.site-footer-utilities:not([data-browse-footer]) > section.site-footer-group[aria-label="About & legal"] {
  display: contents !important;
}
footer.site-footer nav.site-footer-utilities:not([data-browse-footer]) > section.site-footer-group:not([aria-label="About & legal"]),
footer.site-footer nav.site-footer-utilities:not([data-browse-footer]) > section.site-footer-group[aria-label="About & legal"] > :is(h2, ul) {
  display: none !important;
}
/* The shared phone navigation layer sets display:grid !important on legal
   lists. Important declarations in that layer precede ordinary footer CSS. */
@layer premium-navigation {
  footer.site-footer nav.site-footer-utilities:not([data-browse-footer]),
  footer.site-footer nav.site-footer-utilities:not([data-browse-footer]) > section.site-footer-group[aria-label="About & legal"] {
    display: contents !important;
  }
  footer.site-footer nav.site-footer-utilities:not([data-browse-footer]) > section.site-footer-group:not([aria-label="About & legal"]),
  footer.site-footer nav.site-footer-utilities:not([data-browse-footer]) > section.site-footer-group[aria-label="About & legal"] > :is(h2, ul) {
    display: none !important;
  }
  footer.site-footer nav[data-browse-footer] details.footer-previous,
  footer.site-footer nav[data-browse-footer] details.footer-previous > summary {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--site-directory-ink, inherit) !important;
  }
  footer.site-footer nav[data-browse-footer] details.footer-previous > summary:focus-visible {
    outline: 2px solid var(--site-directory-focus, currentColor) !important;
    outline-offset: 3px;
  }
}
footer.site-footer [data-browse-footer] .footer-previous {
  margin: .35rem 0 0;
}
footer.site-footer [data-browse-footer] .footer-previous summary {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  align-content: center;
  color: inherit;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1.4;
}
footer.site-footer [data-browse-footer] .footer-previous summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
footer.site-footer [data-browse-footer] ul[aria-label="More from STUDplay"] {
  border-top: 1px solid currentColor !important;
  margin-top: .35rem !important;
  padding-top: .35rem !important;
}
