/* Compact homepage job cards, matching the candidates directory rows. */
body.page-home .rh-jobs-section .rh-data-grid { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; grid-auto-rows:auto!important; align-items:stretch!important; gap:12px!important; }
body.page-home .rh-jobs-section .rh-job-card { display:flex!important; flex-direction:row!important; align-items:center!important; gap:9px!important; width:100%!important; height:auto!important; min-height:76px!important; max-height:none!important; padding:9px!important; overflow:hidden!important; border:1px solid #dce6f2!important; border-radius:14px!important; background:#fff!important; box-shadow:0 6px 18px rgba(20,55,95,.05)!important; }
body.page-home .rh-jobs-section .rh-job-icon { display:grid!important; flex:0 0 54px!important; width:54px!important; height:54px!important; place-items:center!important; border-radius:11px!important; background:#edf4ff!important; color:#155bc2!important; }
body.page-home .rh-jobs-section .rh-job-icon .ui-icon { width:23px!important; height:23px!important; }
body.page-home .rh-jobs-section .rh-job-icon img { display:block!important; width:100%!important; height:100%!important; border-radius:inherit!important; object-fit:cover!important; }
body.page-home .rh-jobs-section .rh-job-copy { display:grid!important; flex:1 1 auto!important; grid-template-columns:minmax(0,1fr)!important; gap:2px!important; align-content:center!important; min-width:0!important; }
body.page-home .rh-jobs-section .rh-job-copy>small { overflow:hidden!important; color:#64758b!important; font-size:9px!important; line-height:1.35!important; text-overflow:ellipsis!important; white-space:nowrap!important; }
body.page-home .rh-jobs-section .rh-job-copy h3 { overflow:hidden!important; min-height:0!important; margin:1px 0!important; font-size:13px!important; line-height:1.35!important; text-overflow:ellipsis!important; white-space:nowrap!important; }
body.page-home .rh-jobs-section .rh-job-copy h3 a { color:#17365f!important; }
body.page-home .rh-jobs-section .rh-job-copy p { overflow:hidden!important; margin:0!important; color:#64758b!important; font-size:10px!important; text-overflow:ellipsis!important; white-space:nowrap!important; }
body.page-home .rh-jobs-section .rh-job-copy>div { display:flex!important; flex-flow:row wrap!important; align-items:center!important; justify-content:flex-start!important; gap:4px!important; margin:3px 0 0!important; padding:0!important; }
body.page-home .rh-jobs-section .rh-job-copy>div span { padding:3px 6px!important; border-radius:99px!important; background:#f1f5f9!important; color:#52657e!important; font-size:8px!important; }
body.page-home .rh-jobs-section .rh-job-copy>div b { color:#155bc2!important; font-size:9px!important; white-space:nowrap!important; }
body.page-home .rh-jobs-section .rh-job-open { display:inline-flex!important; flex:0 0 auto!important; align-items:center!important; justify-content:center!important; gap:3px!important; padding:6px 7px!important; border:1px solid #dbe5f1!important; border-radius:9px!important; background:#f5f8fc!important; color:#155bc2!important; font-size:9px!important; font-weight:800!important; text-decoration:none!important; white-space:nowrap!important; }
body.page-home .rh-jobs-section .rh-job-open .ui-icon { width:13px!important; height:13px!important; }
@media (min-width:701px) and (max-width:1023px) { body.page-home .rh-jobs-section .rh-data-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; } }
@media (max-width:700px) {
 body.page-home .rh-jobs-section .rh-data-grid { grid-template-columns:minmax(0,1fr)!important; grid-auto-rows:auto!important; gap:8px!important; }
 body.page-home .rh-jobs-section .rh-job-card { min-height:66px!important; padding:7px!important; gap:7px!important; border-radius:12px!important; }
 body.page-home .rh-jobs-section .rh-job-icon { flex-basis:48px!important; width:48px!important; height:48px!important; border-radius:10px!important; }
 body.page-home .rh-jobs-section .rh-job-copy h3 { font-size:12px!important; }
 body.page-home .rh-jobs-section .rh-job-copy>small { font-size:8px!important; }
 body.page-home .rh-jobs-section .rh-job-copy p { font-size:9px!important; }
 body.page-home .rh-jobs-section .rh-job-open { width:30px!important; height:30px!important; padding:0!important; }
 body.page-home .rh-jobs-section .rh-job-open span { display:none!important; }
}

/* Candidate and appointment directories use the same compact row card language. */
body.page-home .rh-home-directory-section .rh-home-directory-grid { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; grid-auto-rows:auto!important; align-items:stretch!important; gap:12px!important; }
body.page-home .rh-home-directory-section .rh-home-directory-card { display:grid!important; grid-template-columns:54px minmax(0,1fr) 30px!important; align-items:center!important; gap:9px!important; width:100%!important; min-width:0!important; min-height:76px!important; height:auto!important; max-height:none!important; padding:9px!important; overflow:hidden!important; border:1px solid #dce6f2!important; border-radius:14px!important; background:#fff!important; box-shadow:0 6px 18px rgba(20,55,95,.05)!important; color:#17365f!important; text-decoration:none!important; }
body.page-home .rh-home-directory-section .rh-home-directory-media { display:grid!important; width:54px!important; height:54px!important; place-items:center!important; overflow:hidden!important; border-radius:11px!important; background:#edf4ff!important; color:#155bc2!important; }
body.page-home .rh-home-directory-section .rh-home-directory-media img { display:block!important; width:100%!important; height:100%!important; object-fit:cover!important; }
body.page-home .rh-home-directory-section .rh-home-directory-media .ui-icon { width:23px!important; height:23px!important; }
body.page-home .rh-home-directory-section .rh-home-directory-copy { display:grid!important; grid-template-columns:minmax(0,1fr)!important; align-content:center!important; gap:3px!important; min-width:0!important; }
body.page-home .rh-home-directory-section .rh-home-directory-copy small,
body.page-home .rh-home-directory-section .rh-home-directory-copy b,
body.page-home .rh-home-directory-section .rh-home-directory-copy em { display:block!important; min-width:0!important; margin:0!important; overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important; }
body.page-home .rh-home-directory-section .rh-home-directory-copy small { color:#64758b!important; font-size:9px!important; line-height:1.35!important; }
body.page-home .rh-home-directory-section .rh-home-directory-copy b { color:#17365f!important; font-size:13px!important; line-height:1.35!important; }
body.page-home .rh-home-directory-section .rh-home-directory-copy em { color:#64758b!important; font-size:10px!important; font-style:normal!important; }
body.page-home .rh-home-directory-section .rh-home-directory-open { display:grid!important; width:30px!important; height:30px!important; place-items:center!important; border:1px solid #dbe5f1!important; border-radius:9px!important; background:#f5f8fc!important; color:#155bc2!important; }
body.page-home .rh-home-directory-section .rh-home-directory-open .ui-icon { width:14px!important; height:14px!important; }
body.page-home .rh-home-directory-section .rh-home-directory-empty { display:flex!important; align-items:center!important; gap:12px!important; min-height:76px!important; padding:12px!important; border:1px dashed #ccdae9!important; border-radius:14px!important; background:#f8fbff!important; color:#17365f!important; }
body.page-home .rh-home-directory-section .rh-home-directory-empty>span { display:grid!important; flex:0 0 42px!important; width:42px!important; height:42px!important; place-items:center!important; border-radius:12px!important; background:#eaf2ff!important; color:#155bc2!important; }
body.page-home .rh-home-directory-section .rh-home-directory-empty>div { display:grid!important; flex:1 1 auto!important; gap:3px!important; min-width:0!important; }
body.page-home .rh-home-directory-section .rh-home-directory-empty>div b { font-size:13px!important; }
body.page-home .rh-home-directory-section .rh-home-directory-empty>div small { color:#64758b!important; font-size:11px!important; }
body.page-home .rh-home-directory-section .rh-home-directory-empty>a { display:inline-flex!important; flex:0 0 auto!important; align-items:center!important; justify-content:center!important; gap:5px!important; padding:8px 10px!important; border-radius:10px!important; background:#155bc2!important; color:#fff!important; font-size:11px!important; font-weight:700!important; text-decoration:none!important; }
body.page-home .rh-home-directory-section .rh-home-directory-empty>a .ui-icon { width:13px!important; height:13px!important; }
@media (min-width:701px) and (max-width:1023px) { body.page-home .rh-home-directory-section .rh-home-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; } }
@media (max-width:700px) {
 body.page-home .rh-home-directory-section .rh-home-directory-grid { grid-template-columns:minmax(0,1fr)!important; gap:8px!important; }
 body.page-home .rh-home-directory-section .rh-home-directory-card { grid-template-columns:48px minmax(0,1fr) 30px!important; min-height:66px!important; gap:7px!important; padding:7px!important; border-radius:12px!important; }
 body.page-home .rh-home-directory-section .rh-home-directory-media { width:48px!important; height:48px!important; border-radius:10px!important; }
 body.page-home .rh-home-directory-section .rh-home-directory-copy small { font-size:8px!important; }
 body.page-home .rh-home-directory-section .rh-home-directory-copy b { font-size:12px!important; }
 body.page-home .rh-home-directory-section .rh-home-directory-copy em { font-size:9px!important; }
 body.page-home .rh-home-directory-section .rh-home-directory-empty { flex-wrap:wrap!important; min-height:0!important; gap:8px!important; padding:10px!important; }
 body.page-home .rh-home-directory-section .rh-home-directory-empty>div { flex-basis:calc(100% - 54px)!important; }
 body.page-home .rh-home-directory-section .rh-home-directory-empty>a { margin-inline-start:50px!important; }
}

/* On phones, the three homepage service directories become swipeable carousels. */
@media (max-width:700px) {
 body.page-home .rh-jobs-section .rh-data-grid,
 body.page-home .rh-home-candidates .rh-home-directory-grid,
 body.page-home .rh-home-appointments .rh-home-directory-grid {
  display:flex!important; flex-flow:row nowrap!important; align-items:stretch!important; gap:10px!important;
  width:100%!important; overflow-x:auto!important; overflow-y:hidden!important; padding:2px 2px 8px!important;
  scroll-snap-type:x mandatory!important; scroll-padding-inline:2px!important; overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch; scrollbar-width:none!important;
 }
 body.page-home .rh-jobs-section .rh-data-grid::-webkit-scrollbar,
 body.page-home .rh-home-candidates .rh-home-directory-grid::-webkit-scrollbar,
 body.page-home .rh-home-appointments .rh-home-directory-grid::-webkit-scrollbar { display:none!important; }
 body.page-home .rh-jobs-section .rh-job-card,
 body.page-home .rh-home-candidates .rh-home-directory-card,
 body.page-home .rh-home-appointments .rh-home-directory-card {
  flex:0 0 86%!important; width:86%!important; max-width:360px!important; scroll-snap-align:start!important; scroll-snap-stop:always!important;
 }
}
