/* Interactive behavior and static fallbacks for the Lions Legacy site. */
html { scroll-padding-top: calc(var(--header-height, 6rem) + 1rem); }
#header { top: 0; }
#header .header-nav-item--folder:focus-within .header-nav-folder-content,
#header .header-nav-item--folder:hover .header-nav-folder-content,
#header .header-nav-folder-title[aria-expanded="true"] + .header-nav-folder-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#header .header-menu { display: none; }
#header .header-burger-btn { color: inherit; }
:focus-visible { outline: 2px solid #ab5268; outline-offset: 4px; }

.replica-menu {
  box-sizing: border-box;
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(100vw, 27rem);
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 1.65rem 1.75rem 2rem;
  overflow-y: auto;
  border: 0;
  background: #fff;
  color: #171417;
}
.replica-menu::backdrop { background: rgb(22 13 17 / .55); }
.replica-menu nav { display: grid; gap: .65rem; }
.replica-menu summary, .replica-menu a, .replica-menu-close {
  box-sizing: border-box;
  min-height: 44px;
  padding: .55rem;
  color: inherit;
  font: 1.1rem/1.4 Arial, sans-serif;
}
.replica-menu a { display: block; }
.replica-menu summary { cursor: pointer; }
.replica-menu details a { padding-left: 1.5rem; }
.replica-menu-close {
  display: block;
  margin: 0 0 .75rem auto;
  background: transparent;
  border: 1px solid #714151;
  cursor: pointer;
}
.replica-form {
  box-sizing: border-box;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: #fff;
  color: #271f22;
  border: 1px solid #d7c7ce;
}
.replica-form h2 {
  margin: 0 0 .5rem;
  font: 600 clamp(1.4rem, 3vw, 2rem)/1.15 Arial, sans-serif;
  color: #570d27;
  letter-spacing: normal;
  text-transform: none;
}
.replica-form p { font-size: 1rem; margin: 0 0 1rem; }
.replica-action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem 1rem;
  background: #650c2a;
  color: white;
  text-decoration: none;
}
.replica-action:hover { background: #491023; color: white; }
.replica-video { display: block; width: 100%; max-height: 70vh; background: #181318; }
.section-background img { object-fit: cover; }
.sqs-gallery-design-grid .slide img { width: 100%; height: auto; }
@media (max-width: 767px) {
  .replica-form { padding: 1rem; }
}
/* Fill the overlap below the clipped section with the next theme color. */
.page-section:has(+ .page-section.black),
.page-section:has(+ footer .page-section.black) {
  background-color: #000;
}
.page-section:has(+ .page-section.white) {
  background-color: #fff;
}
