/* 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^="/"] {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: #2563eb !important;
  font-weight: 800;
  text-decoration-line: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 0.18em;
  transition: background-color 150ms ease, color 150ms ease;
}

main .prose a[href^="/"]:hover {
  background-color: #000 !important;
  color: #fff !important;
}

.comparison-author-card {
  background: #ffde00;
  border: 4px solid #000;
  box-shadow: 10px 10px 0 0 #000;
  margin: 2.5rem 0;
  padding: 1.5rem;
}

.comparison-author-layout {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 170px 1fr;
}

.comparison-author-media {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comparison-author-photo {
  background: #fff;
  border: 4px solid #000;
  box-shadow: 5px 5px 0 0 #000;
  padding: 0.25rem;
  transform: rotate(-2deg);
  width: 150px;
}

.comparison-author-photo img {
  aspect-ratio: 1 / 1;
  background: #e5e7eb;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.comparison-author-media p {
  background: #000;
  border: 2px solid #000;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin: 0.75rem 0 0;
  padding: 0.45rem 0.75rem;
  text-align: center;
  text-transform: uppercase;
  width: 150px;
}

.comparison-author-copy > span {
  background: #000;
  border: 2px solid #000;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  text-transform: uppercase;
}

.comparison-author-copy h2 {
  color: #000;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.comparison-author-copy p {
  color: #000;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 0.75rem;
}

.comparison-story-link,
.winner-price-cta {
  align-items: center;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 0 #000;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.04em;
  line-height: 1;
  min-height: 3.25rem;
  padding: 0.9rem 1.25rem;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease;
}

.comparison-story-link {
  background: #fff;
  color: #000 !important;
  margin-top: 0.35rem;
}

main .prose a.comparison-story-link,
main .prose a.comparison-story-link:hover {
  background: #fff !important;
  color: #000 !important;
  text-decoration-line: none !important;
}

.comparison-story-link:hover,
.winner-price-cta:hover {
  box-shadow: 10px 10px 0 0 #000;
  transform: translate(-3px, -3px);
}

main .prose h2.comparison-section-heading {
  border: 4px solid #000;
  box-shadow: 8px 8px 0 0 #000;
  color: #000;
  display: block;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 900;
  line-height: 0.95;
  margin: 3.25rem 0 1.5rem !important;
  padding: 1rem 1.1rem;
  text-transform: uppercase;
}

.comparison-section-heading--yellow {
  background: #ffde00;
}

.comparison-section-heading--green {
  background: #00ff6a;
}

.comparison-section-heading--pink {
  background: #ff2f7d;
}

.comparison-section-heading--blue {
  background: #8bdcff;
}

main .prose h2.comparison-section-heading .comparison-heading-after-colon {
  color: #fff;
  text-shadow: 2px 2px 0 #000;
}

.winner-price-cta-wrap {
  margin-top: 2rem;
  text-align: center;
}

.winner-price-cta {
  background: #00ff6a;
  color: #000 !important;
  font-size: 1.05rem;
  min-width: min(100%, 320px);
}

.comparison-vs-card-title {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 5rem;
}

.comparison-vs-card-title h2 {
  line-height: 1.05;
}

.comparison-vs-card-image-frame {
  align-items: center;
  display: flex;
  justify-content: center;
}

.comparison-vs-card-image {
  object-fit: contain;
}

.comparison-vs-card-image--vanquish {
  transform: scale(1.08);
}

.comparison-spec-product-cell {
  min-width: 280px;
  vertical-align: top;
}

.comparison-spec-product-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 310px;
  justify-content: space-between;
}

.comparison-spec-product-image-frame {
  align-items: center;
  background: #fff;
  display: flex;
  height: 220px;
  justify-content: center;
  width: 100%;
}

.comparison-spec-product-image {
  display: block;
  height: 210px;
  max-width: 260px;
  object-fit: contain;
  width: 100%;
}

.comparison-spec-price-button {
  border: 4px solid #000;
  box-shadow: 4px 4px 0 0 #000;
  display: block;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  max-width: 260px;
  padding: 0.95rem 1rem;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  width: 100%;
}

.comparison-spec-price-button--pink {
  background: #ff2f7d;
  color: #fff !important;
}

.comparison-spec-price-button--green {
  background: #00cc83;
  color: #000 !important;
}

@media (max-width: 767px) {
  .comparison-author-layout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .comparison-author-media {
    align-items: flex-start;
  }

  .comparison-author-photo,
  .comparison-author-media p {
    width: 132px;
  }

  main .prose h2.comparison-section-heading {
    font-size: 1.65rem;
    padding: 0.85rem;
  }

  .comparison-vs-card-title {
    min-height: auto;
  }

  .comparison-spec-product-cell {
    min-width: 240px;
  }

  .comparison-spec-product-card {
    min-height: 280px;
  }

  .comparison-spec-product-image-frame {
    height: 190px;
  }

  .comparison-spec-product-image {
    height: 180px;
    max-width: 220px;
  }
}
