/*
 * Full-width "Find Jobs Abroad" (index.php) / "Find Local Jobs"
 * (foreign_jobs.php) banner shown under the filter bar at 900px and down,
 * where the bar is too narrow for the in-bar link (each page hides that
 * link at the same width). Layout as on the Saudi site, Kuwait colours.
 */
.job-switch-banner {
  display: none;
}

@media (max-width: 900px) {
  .job-switch-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 10px 0;
    min-height: 60px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(110deg, #0866C6 0%, #08749B 35%, #007C83 65%, #006B70 100%);
    box-shadow: 0 6px 16px rgba(4, 30, 52, 0.22);
    color: #ffffff;
    text-decoration: none;
  }
  .job-switch-banner:hover,
  .job-switch-banner:focus-visible {
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(4, 30, 52, 0.3);
  }

  .job-switch-banner__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #007C83;
    font-size: 18px;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  }
  .job-switch-banner__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .job-switch-banner__text {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
  }
  .job-switch-banner__text strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
  }
  .job-switch-banner__text small {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.88);
  }

  .job-switch-banner__arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #F5B800;
    color: #083B66;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .job-switch-banner { gap: 10px; }
  .job-switch-banner__icon { width: 36px; height: 36px; font-size: 16px; }
  .job-switch-banner__arrow { width: 28px; height: 28px; }
  .job-switch-banner__text strong { font-size: 15px; }
  .job-switch-banner__text small { font-size: 11px; }
}
