/* Pure Jobs destination-only responsive overrides. */

@media (max-width: 991px) {
  .site-header .main-bar {
    min-height: 64px;
    padding: 8px 0;
  }

  .site-header .main-bar > .container {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header .logo-header {
    width: auto;
    max-width: 210px;
    height: 52px;
    display: flex;
    align-items: center;
  }

  .site-header .logo-header img {
    display: block;
    width: auto;
    max-width: 190px;
    height: auto;
  }

  .site-header .navbar-toggler {
    display: block;
    margin-left: auto;
  }

  .site-header .header-nav.collapse:not(.show) {
    display: none !important;
    visibility: hidden !important;
  }

  .site-header .header-nav.collapse.show {
    display: block !important;
    visibility: visible !important;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 20;
    padding: 8px 16px 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
  }

  .site-header .nav.navbar-nav {
    display: block;
    width: 100%;
  }

  .site-header .nav.navbar-nav > li > a {
    display: block;
    margin: 0 !important;
    padding: 12px 8px;
    color: #1f2937;
    border-bottom: 1px solid #eef2f7;
  }

  .hero-section {
    min-height: auto;
    padding: 72px 16px 48px;
  }

  .hero-content {
    width: 100%;
    max-width: 720px;
    padding: 0;
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .job-search-box {
    width: 100%;
    max-width: none;
    margin-top: 20px;
    padding: 16px !important;
  }

  .job-search-box form .row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 !important;
  }

  .job-search-box form .row > input,
  .job-search-box form .row > .input-group-prepend {
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    padding: 0;
  }

  .job-search-box .form-control,
  .job-search-box .site-button {
    width: 100%;
    height: 52px;
    border-radius: 8px !important;
  }

  .hero-content > p {
    margin-top: 28px !important;
    font-size: 1rem;
    line-height: 1.55;
  }

  .site-footer .container,
  .site-footer .row {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .site-header .logo-header img {
    max-width: 160px;
  }

  .hero-section {
    padding-top: 56px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }
}
