/* Match the source responsive-heading rules; no copy, font-size or color changes. */
[data-replica-responsive-heading] {
  display: contents;
}

#shc-root .shc-qa-missing {
  box-sizing: border-box; min-height: 0; max-width: 960px;
  padding: 144px 32px 96px; margin: 0 auto; text-align: center;
}
#shc-root .shc-qa-missing h1 {
  font: 500 72px/1 Montserrat, sans-serif; letter-spacing: -.02em;
  color: #111827; margin: 0 0 24px;
}
#shc-root .shc-qa-missing h1 span { white-space: nowrap; }
#shc-root .shc-qa-missing p {
  font-size: 16px; line-height: 24px; max-width: none;
}
#shc-root .shc-qa-missing .replica-404-eyebrow {
  margin: 0 0 16px; color: #2572b7; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
#shc-root .shc-qa-missing .replica-404-description {
  max-width: 600px; margin: 0 auto 32px; color: #4b5563;
}
#shc-root .shc-qa-missing nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin: 0 auto 32px; width: 100%; max-width: none;
}
#shc-root .shc-qa-missing nav a {
  box-sizing: border-box; display: inline-flex; align-items: center;
  justify-content: center; height: 48px; padding: 0 32px;
  border-radius: 9999px; font-size: 14px; line-height: 20px;
  font-weight: 500; letter-spacing: .05em; white-space: nowrap;
  text-transform: uppercase; text-decoration: none;
  transition: color 150ms, background-color 150ms;
}
#shc-root .shc-qa-missing .replica-404-primary {
  background: #2572b7; color: white; border: 1px solid #2572b7;
}
#shc-root .shc-qa-missing .replica-404-primary:hover {
  background: white; color: #2572b7;
}
#shc-root .shc-qa-missing .replica-404-secondary {
  background: transparent; color: #171717; border: 1px solid currentColor;
}
#shc-root .shc-qa-missing .replica-404-secondary:hover {
  background: #2572b7; border-color: #2572b7; color: white;
}
#shc-root .shc-qa-missing a:focus-visible { outline: 2px solid #2572b7; outline-offset: 4px; }
#shc-root .shc-qa-missing .replica-404-help { margin: 0; color: #374151; }
#shc-root .replica-404-help span { white-space: nowrap; }
#shc-root .replica-404-help a { color: #2572b7; text-decoration: underline; text-underline-offset: 4px; }
#shc-root .replica-404-help a:hover { color: #111827; }
@media (width < 1024px) {
  #shc-root .shc-qa-missing { padding: 96px 20px 48px; }
  #shc-root .shc-qa-missing h1 { font-size: 42px; margin-bottom: 16px; }
  #shc-root .shc-qa-missing .replica-404-description,
  #shc-root .shc-qa-missing nav { margin-bottom: 24px; }
}
@media (width < 640px) {
  #shc-root .shc-qa-missing nav { flex-direction: column; max-width: 320px; }
  #shc-root .shc-qa-missing nav a { width: 100%; padding-inline: 16px; }
  #shc-root .replica-404-help span:last-child { display: block; }
}

/* Converted square SVG icons must follow their rendered width, not retain
   the SVG's 24px intrinsic height after being reduced to 12/14/16px wide. */
#shc-root img[data-shc-icon][width="24"][height="24"] {
  height: auto;
}

/* The original awards use 48px square icon containers at every breakpoint. */
#shc-root [data-gsap="award-heading"] + div > div > div:first-child {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* SVG attributes were 24px, but the original star utility renders at 12px. */
#shc-root [role="img"][aria-label="5 out of 5 stars"] > img[data-shc-icon] {
  width: 12px;
  height: 12px;
}

/* Reviewer names use intrinsic widths in the reference, not frozen capture widths. */
#shc-root [aria-label="5 out of 5 stars"] ~ blockquote + div > div,
#shc-root [aria-label="5 out of 5 stars"] ~ blockquote + div > div > span {
  width: auto;
}

@media (width < 1024px) {
  #shc-root :is(h1, h2, h3, h4, h5, h6):has(> [data-replica-responsive-heading]) {
    text-wrap: wrap !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    min-width: 0;
    max-width: 100% !important;
    width: 100% !important;
  }

  #shc-root :has(> :is(h1, h2, h3, h4, h5, h6) > [data-replica-responsive-heading]) {
    max-width: none !important;
    min-width: 0;
    width: 100%;
  }

  #shc-root [data-replica-responsive-heading] br {
    display: none !important;
  }

  #shc-root [data-replica-heading-space] {
    display: inline !important;
  }

  #shc-root [data-replica-responsive-heading] :is(span, strong, em, b, i, a, div, p) {
    white-space: normal !important;
    max-width: none !important;
    width: auto !important;
    text-wrap: wrap !important;
  }
}
