/* Static mirror layout fixes that sit after the mirrored Tailwind bundle. */
html,
body,
main {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html,
  body,
  main {
    overflow-x: hidden;
  }
}

header.sticky.top-0 {
  width: 100%;
}

header.sticky.top-0 > .container {
  box-sizing: border-box;
  max-width: min(100%, 96rem);
  width: 100%;
}

header.sticky.top-0 > .container > a[href="/"] {
  flex-shrink: 1;
  min-width: 0;
}

header.sticky.top-0 > .container > a[href="/"] > span {
  white-space: nowrap;
}

header.sticky.top-0 > .container > nav,
header.sticky.top-0 > .container > .flex.gap-4 {
  min-width: 0;
}

header.sticky.top-0 > .container > .flex.gap-4 {
  flex-shrink: 0;
}

@media (max-width: 1199px) {
  header.sticky.top-0 > .container {
    max-width: 100%;
  }

  header.sticky.top-0 > .container > nav {
    display: none !important;
  }

  header.sticky.top-0 button[class*="md:hidden"] {
    align-items: center;
    display: inline-flex !important;
    flex-shrink: 0;
    justify-content: center;
  }

  header.sticky.top-0 #static-mobile-nav:not(.hidden) {
    display: block !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  header.sticky.top-0 > .container > .flex.gap-4 > a[href="/best-metal-detector-for-beginners"] {
    display: inline-flex !important;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  header.sticky.top-0 > .container > a[href="/"] > span {
    font-size: 1.6rem !important;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  header.sticky.top-0 > .container {
    max-width: 100%;
  }

  header.sticky.top-0 > .container > a[href="/"] > span {
    font-size: 2rem !important;
  }

  header.sticky.top-0 > .container > nav {
    font-size: 0.875rem;
    gap: 0.75rem !important;
  }

  header.sticky.top-0 > .container > nav > a {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  header.sticky.top-0 > .container > .flex.gap-4 > a[href="/best-metal-detector-for-beginners"] {
    font-size: 0.875rem;
    gap: 0.25rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    white-space: nowrap;
  }
}

main .prose a[href^="/"]:not([class]) {
  background-color: #ffdf00 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-bottom: 2px solid #000 !important;
  color: #000 !important;
  font-weight: 800;
  padding: 0 0.08em;
  text-decoration: none !important;
}

main .prose a[href^="/"]:not([class]):hover {
  background-color: #ff3b70 !important;
}
