/* SPO Home métier combobox V1: local, scoped and progressive. */
body.home .spo-homeV2 .spo-homeSearch .spo-homeMetier__native[hidden],
body.home .spo-homeV2 .spo-homeSearch .spo-homeMetier__list[hidden],
body.home .spo-homeV2 .spo-homeSearch .spo-homeMetier__clear[hidden] { display:none!important; }
body.home .spo-homeV2 .spo-homeSearch__form:has(.spo-homeMetier) {
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:12px!important;
}
body.home .spo-homeV2 .spo-homeSearch__form .spo-homeSearch__select,
body.home .spo-homeV2 .spo-homeSearch__form .spo-form__field,
body.home .spo-homeV2 .spo-homeLocation { min-width:0!important; }
body.home .spo-homeV2 .spo-homeSearch__form .spo-form__field,
body.home .spo-homeV2 .spo-homeLocation {display:flex;flex-direction:column;gap:8px;}
body.home .spo-homeV2 .spo-homeMetier__label,
body.home .spo-homeV2 .spo-homeLocation__label {
  position:static!important;width:auto!important;height:auto!important;
  clip:auto!important;clip-path:none!important;overflow:visible!important;
  margin:0!important;padding:0!important;color:#143452!important;
  font-size:12px!important;font-weight:750!important;line-height:1.3!important;
}
body.home .spo-homeV2 .spo-homeMetier {position:relative;min-width:0;}
body.home .spo-homeV2 .spo-homeMetier__input {
  box-sizing:border-box!important;width:100%!important;min-height:52px!important;padding:0 48px 0 16px!important;
  border:1px solid #9bb5c9!important;border-radius:10px!important;
  background:#fff!important;color:#102c48!important;font-size:14px!important;
  box-shadow:0 2px 8px rgba(12,39,61,.045)!important;
}
body.home .spo-homeV2 .spo-homeMetier__input::placeholder {color:#52677a;opacity:1;}
body.home .spo-homeV2 .spo-homeSearch__form .spo-homeMetier__clear {
  position:absolute;right:7px;top:7px;display:grid;place-items:center;
  width:38px;min-width:38px;height:38px;min-height:38px!important;padding:0!important;
  border:0!important;border-radius:8px!important;background:#edf3f8!important;
  color:#123d60!important;font-size:22px!important;line-height:1!important;
  box-shadow:none!important;z-index:2;
}
body.home .spo-homeV2 .spo-homeMetier__hint {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
body.home .spo-homeV2 .spo-homeMetier__status {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
body.home .spo-homeV2 .spo-homeMetier__list {
  position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:100;
  max-height:min(320px,45vh);overflow-y:auto;overscroll-behavior:contain;
  padding:6px;margin:0;border:1px solid #bed0df;border-radius:12px;
  background:#fff;box-shadow:0 18px 40px rgba(12,36,58,.18);
}
body.home .spo-homeV2 .spo-homeMetier__option {
  padding:11px 12px;border-radius:7px;color:#143452;
  font-size:13px;line-height:1.45;overflow-wrap:anywhere;cursor:pointer;
}
body.home .spo-homeV2 .spo-homeMetier__option:hover,
body.home .spo-homeV2 .spo-homeMetier__option.is-active {
  background:#e8f1f8;color:#0f3e65;
}
body.home .spo-homeV2 .spo-homeMetier__empty {
  margin:0;padding:12px;color:#53677b;font-size:13px;
}
body.home .spo-homeV2 .spo-homeLocation input[name="location"] {
  box-sizing:border-box!important;width:100%!important;min-height:52px!important;
  border-radius:10px!important;background:#fff!important;font-size:14px!important;
}
body.home .spo-homeV2 .spo-homeSearch__form:has(.spo-homeMetier) > button[type="submit"] {
  min-height:52px!important;padding:0 17px!important;border-radius:10px!important;
  font-size:13px!important;white-space:nowrap;
}
body.home .spo-homeV2 .spo-homeMetier__input:focus-visible,
body.home .spo-homeV2 .spo-homeMetier__clear:focus-visible,
body.home .spo-homeV2 .spo-homeMetier__option:focus-visible {
  outline:3px solid #1a6baf!important;outline-offset:2px!important;
}
@media(max-width:767px) {
  body.home .spo-homeV2 .spo-homeSearch__form:has(.spo-homeMetier) {
    grid-template-columns:minmax(0,1fr)!important;gap:13px!important;
  }
  body.home .spo-homeV2 .spo-homeMetier__list {
    position:relative;top:0;left:auto;right:auto;max-height:min(290px,35vh);
    margin-top:6px;box-shadow:0 8px 24px rgba(12,36,58,.11);
  }
  body.home .spo-homeV2 .spo-homeSearch__form:has(.spo-homeMetier) > button[type="submit"] {width:100%!important;}
}
@media(prefers-reduced-motion:reduce) {
  body.home .spo-homeV2 .spo-homeMetier * {scroll-behavior:auto!important;transition:none!important;}
}
