/* Static clone: show content that the live site reveals with JavaScript,
   and keep the footer links visible on small screens. */

.opacity-0,
[class*="opacity-0"],
[class*="opacity-0"] * {
  opacity: 1 !important;
}

#heroCollageSection > section {
  height: auto !important;
  width: 100% !important;
  margin-left: 0 !important;
}

#heroCollageSection > section > div {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
}

body {
  overflow-x: clip;
}

.clone-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: flex;
  min-width: 220px;
  flex-direction: column;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  box-shadow: 0 12px 40px rgb(0 0 0 / 16%);
}

.clone-menu[hidden] {
  display: none !important;
}

.clone-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.clone-menu a:hover,
.clone-menu a:focus-visible {
  background: #f2f2f2;
}

.clone-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: auto;
  padding: 20px 20px 32px;
  background: var(--brand-500, #c5db24);
  color: #111;
}

.clone-drawer[hidden] {
  display: none !important;
}

.clone-drawer a {
  padding: 12px 0;
  border-bottom: 1px solid rgb(0 0 0 / 12%);
  color: inherit;
  font-size: 1.2rem;
  text-decoration: none;
}

.clone-drawer-close {
  align-self: flex-end;
  margin-bottom: 8px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  footer .hidden.md\:grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  footer .md\:hidden {
    display: none !important;
  }
}
