/* 0.7.43.22.207: compact related jobs on individual public job listings only.
 * A native scroll-snap rail works without JavaScript; controls enhance it.
 */
.sh-job-detail-v2 .sh-related-jobs{min-width:0}
.sh-job-detail-v2 .sh-related-jobs__heading{
  display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;
  gap:10px 18px;margin-bottom:10px;
}
.sh-job-detail-v2 .sh-related-jobs__heading .sh-eyebrow{margin-bottom:5px}
.sh-job-detail-v2 .sh-related-jobs__heading h2{margin:0;font-size:clamp(20px,2vw,25px);line-height:1.18}
.sh-job-detail-v2 .sh-related-jobs__heading>a{
  display:inline-flex;align-items:center;gap:6px;min-height:34px;
  color:var(--sh-green,#006837);font-size:12px;font-weight:800;text-decoration:none;
}
.sh-job-detail-v2 .sh-related-jobs__heading>a:hover{text-decoration:underline;text-underline-offset:3px}
.sh-job-detail-v2 .sh-related-jobs__heading>a i{margin:0;font-size:11px}
.sh-job-detail-v2 .sh-related-carousel{max-width:100%;min-width:0}
.sh-job-detail-v2 .sh-related-carousel__toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  min-height:34px;margin:0 1px 6px;
}
.sh-job-detail-v2 .sh-related-carousel__status{color:#61756a;font-size:11px;font-weight:750}
.sh-job-detail-v2 .sh-related-carousel__controls{display:none;align-items:center;gap:7px}
.sh-job-detail-v2 .sh-related-carousel.is-ready .sh-related-carousel__controls{display:flex}
.sh-job-detail-v2 .sh-related-carousel__arrow{
  display:inline-grid;place-items:center;width:38px;height:34px;padding:0;
  border:1px solid #d8e3dc;border-radius:9px;background:#fff;
  color:var(--sh-green-dark,#004e2a);font:inherit;font-size:12px;
  cursor:pointer;transition:background .16s,border-color .16s,color .16s;
}
.sh-job-detail-v2 .sh-related-carousel__arrow:not(:disabled):hover{background:#edf7f1;border-color:#98c5a8}
.sh-job-detail-v2 .sh-related-carousel__arrow:disabled{opacity:.34;cursor:default}
.sh-job-detail-v2 .sh-related-carousel__arrow:focus-visible{outline:2px solid var(--sh-green,#006837);outline-offset:2px}
.sh-job-detail-v2 .sh-related-carousel__track{
  display:flex;gap:12px;min-width:0;max-width:100%;
  padding:3px 2px 9px;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;scroll-padding-inline:2px;
  overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;scrollbar-color:#c8d9ce transparent;
}
.sh-job-detail-v2 .sh-related-carousel__track::-webkit-scrollbar{height:5px}
.sh-job-detail-v2 .sh-related-carousel__track::-webkit-scrollbar-thumb{background:#c8d9ce;border-radius:20px}
.sh-job-detail-v2 .sh-related-carousel__track:focus-visible{outline:2px solid var(--sh-green,#006837);outline-offset:-2px;border-radius:12px}
.sh-job-detail-v2 .sh-related-tile{
  flex:0 0 calc((100% - 12px)/2);min-width:0;
  display:flex;align-self:stretch;
  border:1px solid #dfe8e2;border-radius:14px;background:#fff;
  scroll-snap-align:start;scroll-snap-stop:normal;
  transition:border-color .16s,box-shadow .16s,transform .16s;
}
.sh-job-detail-v2 .sh-related-tile:hover,.sh-job-detail-v2 .sh-related-tile:focus-within{
  border-color:#94bf9f;box-shadow:0 7px 18px rgba(0,58,29,.07);transform:translateY(-1px);
}
.sh-job-detail-v2 .sh-related-tile.is-featured{border-color:#dbca81}
.sh-job-detail-v2 .sh-related-tile__link{
  display:flex;flex:1;flex-direction:column;gap:0;
  min-width:0;min-height:166px;padding:13px 14px;
  color:inherit!important;text-decoration:none!important;
}
.sh-job-detail-v2 .sh-related-tile__link:focus-visible{outline:2px solid var(--sh-green,#006837);outline-offset:-2px;border-radius:13px}
.sh-job-detail-v2 .sh-related-tile__identity{
  display:flex;align-items:center;gap:9px;min-height:37px;min-width:0;margin-bottom:8px;
}
.sh-job-detail-v2 .sh-related-tile__logo{display:flex;flex:0 0 38px;width:38px;height:38px}
.sh-job-detail-v2 .sh-related-tile__logo>.spma-company-logo{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  max-width:38px!important;max-height:38px!important;padding:4px!important;border-radius:10px!important;
}
.sh-job-detail-v2 .sh-related-tile__logo>.spma-company-logo .spma-company-logo__initials{font-size:12px!important}
.sh-job-detail-v2 .sh-related-tile__company{
  display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#496054;font-size:12px;font-weight:750;
}
.sh-job-detail-v2 .sh-related-tile__arrow{margin-left:auto;color:#557d65;font-size:11px;flex:0 0 auto}
.sh-job-detail-v2 .sh-related-tile__title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  min-height:38px;max-height:42px;margin:0 0 9px;overflow:hidden;
  color:#163424;font-size:15px;font-weight:850;line-height:1.29;letter-spacing:-.014em;
}
.sh-job-detail-v2 .sh-related-tile__link:hover .sh-related-tile__title{color:var(--sh-green,#006837)}
.sh-job-detail-v2 .sh-related-tile__facts{
  display:flex;align-items:center;gap:7px;min-width:0;margin-bottom:10px;
  color:#5b6e63;font-size:11px;line-height:1.4;
}
.sh-job-detail-v2 .sh-related-tile__facts>span{display:inline-flex;align-items:center;gap:5px;min-width:0}
.sh-job-detail-v2 .sh-related-tile__facts i{flex:0 0 auto;color:#20814c;font-size:10px}
.sh-job-detail-v2 .sh-related-tile__location{flex:1;min-width:0}
.sh-job-detail-v2 .sh-related-tile__location>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-job-detail-v2 .sh-related-tile__work{flex:0 0 auto;white-space:nowrap}
.sh-job-detail-v2 .sh-related-tile__foot{
  display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;
  margin-top:auto;padding-top:8px;border-top:1px solid #eef2ef;
  color:#677a6e;font-size:10px;line-height:1.5;
}
.sh-job-detail-v2 .sh-related-tile__tags{display:flex;align-items:center;gap:6px;flex:1;min-width:0;overflow:hidden;white-space:nowrap}
.sh-job-detail-v2 .sh-related-tile__tags>span{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-job-detail-v2 .sh-related-tile__tags .sh-related-tile__featured{flex:0 0 auto;color:#90700a;font-weight:850}
.sh-job-detail-v2 .sh-related-tile__featured i{font-size:9px}
.sh-job-detail-v2 .sh-related-tile__salary{color:#14643a;font-weight:800}
.sh-job-detail-v2 .sh-related-tile__posted{flex:0 0 auto;white-space:nowrap}
/* A single result or two results should be a tidy group, not an empty carousel. */
.sh-job-detail-v2 .sh-related-carousel--short .sh-related-carousel__track{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;scroll-snap-type:none;
}
.sh-job-detail-v2 .sh-related-carousel--short .sh-related-tile{width:100%;min-width:0}
@media(max-width:680px){
  .sh-job-detail-v2 .sh-related-jobs__heading h2{font-size:21px}
  .sh-job-detail-v2 .sh-related-carousel__track{gap:10px}
  .sh-job-detail-v2 .sh-related-tile{flex-basis:min(88%,340px)}
  .sh-job-detail-v2 .sh-related-tile__link{min-height:160px;padding:12px}
  .sh-job-detail-v2 .sh-related-carousel--short .sh-related-carousel__track{grid-template-columns:minmax(0,1fr)}
  .sh-job-detail-v2 .sh-related-tile__salary{display:none}
}
@media(prefers-reduced-motion:reduce){
  .sh-job-detail-v2 .sh-related-tile,.sh-job-detail-v2 .sh-related-carousel__arrow{transition:none}
  .sh-job-detail-v2 .sh-related-tile:hover{transform:none}
}
