#cookieBanner {
  position: static;
  inset: auto;
  z-index: auto;
  pointer-events: auto;
}

#cookieBanner[hidden] {
  display: none;
}

#cookieSettingsLink:not([data-consent-ready]) {
  display: none;
}

#cookieBanner .cookie-banner-card {
  margin: 12px auto;
  width: calc(100% - 40px);
  max-width: 1120px;
  max-height: none;
  overflow: visible;
  box-shadow: none;
}

main :is(p, li, td, dd) a:not(.btn, [role="button"], nav a),
:is(.breadcrumb, .breadcrumbs) a {
  text-decoration: underline;
  text-underline-offset: .16em;
}

.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  /* The open native menu must scroll away with the header until its controller can close it. */
  html:not(.menu-enhanced) {
    scroll-padding-top: 0;
  }

  html:not(.menu-enhanced) .header {
    position: relative;
  }

  .header .mobile-menu {
    display: block;
    border: 0;
  }

  .mobile-menu > .menu-toggle {
    display: grid;
    min-height: 44px;
    padding: 0;
  }

  .header .mobile-menu > .menu-toggle::after {
    content: none;
  }

  .mobile-menu[open] .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 24px 22px;
    border-top: 1px solid var(--line);
    background: #fff;
    /* Leave room for the 79px header and the 36px contact strip. */
    --menu-offset: 115px;
    max-height: calc(100vh - var(--menu-offset));
    max-height: calc(100dvh - var(--menu-offset) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
}

@media (max-width: 650px) {
  .mobile-menu[open] .mobile-nav {
    /* Reserve the header and the taller homepage contact bar. */
    --menu-offset: 175px;
  }

  .service-bottom p {
    font-size: 14px;
  }
}
