/* Shared mobile contract for navigation-accessible Jordensky pages. */
@media (max-width: 860px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body.mobile-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
  }

  body.mobile-menu-open .jsk-lead-ui {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .header .brand {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .header .hamburger {
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-content: center;
    padding: 6px;
  }

  .mobilenav {
    top: var(--mobile-nav-top, 80px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobilenav summary,
  .mobilenav a {
    min-height: 44px;
  }

  .mobilenav a {
    display: flex;
    align-items: center;
  }

  .client-marquee {
    contain: layout inline-size paint;
  }

  .stories .stories-title h2 span,
  .india-resource-title-lines span,
  .outcome-title-lines span {
    white-space: normal !important;
  }

  .jb-filter {
    min-height: 44px;
  }

  .contact-card,
  .contact-card > span:last-child {
    min-width: 0;
  }

  .contact-card .c-v {
    display: block;
    overflow-wrap: anywhere;
  }

  .contact-card .c-t {
    display: block;
  }

  .footer .f-grid a,
  .footer .f-bottom a,
  .footer .f-brand .brand {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .footer .socials a {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
  }

  .footer .socials {
    max-width: 100%;
    flex-wrap: wrap;
  }

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

  .modal-card,
  .jsk-lead-dialog {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
}

@media (max-width: 360px) {
  .contact-card {
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }
}
