/*
 * Responsive and form-typography corrections for the restored static site.
 *
 * The archived stylesheet remains byte-identical. Overrides provide smooth
 * anchor navigation, mobile containment and the requested form typography.
 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 760px) {
  .wrap,
  .header-inner,
  .nav,
  .grid2,
  .audiences,
  .team,
  .structure,
  .fields,
  .choices,
  .form-layout,
  .form-island,
  .form-island form,
  .form-section,
  .career-intro,
  .career-section-heading {
    min-width: 0;
    max-width: 100%;
  }

  .grid2 > *,
  .audiences > *,
  .team > *,
  .structure > *,
  .fields > *,
  .choices > *,
  .form-layout > *,
  .career-intro > *,
  .career-section-heading > * {
    min-width: 0;
  }

  .audiences *,
  .structure *,
  .choice,
  .choice *,
  h1,
  h2,
  h3,
  p,
  li,
  address,
  .eyebrow,
  .helper,
  .legal-copy a,
  .form-aside a,
  .footer a {
    overflow-wrap: anywhere;
  }

  input,
  select,
  textarea,
  button {
    min-width: 0;
    max-width: 100%;
  }

  input[type="file"] {
    width: 100%;
  }

  [data-original-captcha],
  [data-captcha-widget] {
    min-width: 0;
    max-width: 100%;
  }

  [data-captcha-widget] {
    overflow-x: auto;
  }

  .nav {
    width: 100%;
  }

  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}

/* Keep the anti-spam field accessible to form submission without placing it
   ten thousand pixels outside the layout canvas. */
.honey {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  left: auto;
  white-space: nowrap;
}

/* Keep the linked consent sentence in one text flow, rather than separate
   anonymous flex items competing with the checkbox and link. */
.choice.lh-privacy-consent {
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
}

.lh-privacy-consent input[type="checkbox"] {
  margin: 3px 0 0;
}

.lh-privacy-consent > span {
  min-width: 0;
  flex: 1;
}

.lh-privacy-consent a,
[data-original-captcha] p a {
  display: inline;
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-original-captcha] {
  margin: 28px 0;
  gap: 12px;
}

[data-original-captcha] > strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

[data-original-captcha] > p {
  margin: 0;
  max-width: 65ch;
  color: var(--muted, #575263);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

[data-original-captcha] > button {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  white-space: normal;
  font-size: 14px;
  line-height: 1.5;
}