/* Regal Career parent-theme homepage layout v1.7.2 */
:root{
  --rcl-safe:#159447;--rcl-safe-bg:#eefbf3;
  --rcl-soon:#b97900;--rcl-soon-bg:#fff8df;
  --rcl-urgent:#e85d0f;--rcl-urgent-bg:#fff2e9;
  --rcl-today:#d92d20;--rcl-today-bg:#fff0ef;
  --rcl-closed:#748197;--rcl-closed-bg:#f1f4f8;
}

/* Fixed medium hero: larger than a banner, smaller than a full-screen hero. */
.rcl-hero-carousel-wrap{padding:18px 0 0}
.rcl-carousel{width:100%;height:auto!important;aspect-ratio:16/5;border-radius:24px}
.rcl-slide-image{object-fit:cover;object-position:center}
.rcl-slide-content{padding:clamp(24px,4vw,56px)}
.rcl-slide-glass{max-width:min(560px,58%);padding:clamp(20px,2.6vw,31px);border-radius:21px}
.rcl-slide-glass h2{font-size:clamp(30px,3.7vw,52px);line-height:1.06}
.rcl-slide-glass p{font-size:clamp(15px,1.25vw,19px)}
.rcl-carousel-control{width:42px;height:42px;font-size:28px}

.rcl-home-deadline-wrap{margin-top:14px}
.rcl-home-deadline{display:grid;grid-template-columns:auto auto minmax(180px,1fr) auto auto;align-items:center;gap:11px;padding:11px 15px;border:1px solid currentColor;border-left-width:4px;border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(12,31,65,.06);font-size:13px}
.rcl-home-deadline a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--rc-text);font-weight:800}
.rcl-home-deadline time{color:var(--rc-muted);font-weight:700;white-space:nowrap}
.rcl-home-countdown{font-weight:900;white-space:nowrap}
.rcl-home-deadline-icon{position:relative;width:18px;height:18px;border:2px solid currentColor;border-radius:50%}
.rcl-home-deadline-icon:before{content:"";position:absolute;left:7px;top:3px;width:2px;height:5px;border-radius:2px;background:currentColor}
.rcl-home-deadline-icon:after{content:"";position:absolute;left:7px;top:8px;width:5px;height:2px;border-radius:2px;background:currentColor}
.rcl-parent-homepage .is-safe{--rcl-state:var(--rcl-safe);--rcl-state-bg:var(--rcl-safe-bg)}
.rcl-parent-homepage .is-soon{--rcl-state:var(--rcl-soon);--rcl-state-bg:var(--rcl-soon-bg)}
.rcl-parent-homepage .is-urgent{--rcl-state:var(--rcl-urgent);--rcl-state-bg:var(--rcl-urgent-bg)}
.rcl-parent-homepage .is-today{--rcl-state:var(--rcl-today);--rcl-state-bg:var(--rcl-today-bg)}
.rcl-parent-homepage .is-closed,.rcl-parent-homepage .is-unknown{--rcl-state:var(--rcl-closed);--rcl-state-bg:var(--rcl-closed-bg)}
.rcl-home-deadline[class*="is-"]{color:var(--rcl-state);background:linear-gradient(90deg,var(--rcl-state-bg),#fff 48%)}

.rcl-home-dashboard-section{padding:18px 0 44px}
.rcl-home-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.rcl-home-dashboard-side{display:grid;gap:18px}
.rcl-home-dashboard-panel{min-width:0;background:#fff;border:1px solid var(--rc-border);border-radius:18px;box-shadow:0 10px 32px rgba(13,37,78,.07);overflow:hidden}
.rcl-home-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 19px;border-bottom:1px solid var(--rc-border)}
.rcl-home-dashboard-head h2{margin:0;color:var(--rc-blue);font-size:clamp(20px,1.5vw,26px);line-height:1.25}
.rcl-home-dashboard-head p{margin:4px 0 0;color:var(--rc-muted);font-size:12px}
.rcl-home-dashboard-head a{font-size:12px;font-weight:850;white-space:nowrap}
.rcl-home-dashboard-jobs .rcl-home-dashboard-head{background:linear-gradient(90deg,#f5f8ff,#fff)}
.rcl-home-dashboard-admit .rcl-home-dashboard-head{background:linear-gradient(90deg,#effbf4,#fff)}
.rcl-home-dashboard-results .rcl-home-dashboard-head{background:linear-gradient(90deg,#f7f1ff,#fff)}
.rcl-home-dashboard-body{min-width:0;padding:14px}

/* Keep existing Jobs Manager cards/functions; only fit them inside the new columns. */
.rcl-home-dashboard-body .rcjm-list-section,
.rcl-home-dashboard-body .rcjm-list,
.rcl-home-dashboard-body .rcjm-card,
.rcl-home-dashboard-body .rcjm-v190-card,
.rcl-home-dashboard-body .rcjm-related-jobs{width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
.rcl-home-dashboard-body .rcjm-list{gap:16px!important}
.rcl-home-dashboard-side .rcjm-list{grid-template-columns:1fr!important}
.rcl-home-dashboard-side .rcjm-card,
.rcl-home-dashboard-side .rcjm-v190-card{max-width:100%!important}

/* Add urgency accents to existing cards whenever their markup exposes a deadline. */
.rcl-home-dashboard-jobs .rcjm-card[class*="rcl-deadline-"],
.rcl-home-dashboard-jobs .rcjm-v190-card[class*="rcl-deadline-"]{border-left:4px solid var(--rcl-state)!important}
.rcl-home-dashboard-jobs .rcl-deadline-safe{--rcl-state:var(--rcl-safe);--rcl-state-bg:var(--rcl-safe-bg)}
.rcl-home-dashboard-jobs .rcl-deadline-soon{--rcl-state:var(--rcl-soon);--rcl-state-bg:var(--rcl-soon-bg)}
.rcl-home-dashboard-jobs .rcl-deadline-urgent{--rcl-state:var(--rcl-urgent);--rcl-state-bg:var(--rcl-urgent-bg)}
.rcl-home-dashboard-jobs .rcl-deadline-today{--rcl-state:var(--rcl-today);--rcl-state-bg:var(--rcl-today-bg)}
.rcl-home-dashboard-jobs .rcl-deadline-closed{--rcl-state:var(--rcl-closed);--rcl-state-bg:var(--rcl-closed-bg)}
.rcl-home-dashboard-jobs .rcl-deadline-box{color:var(--rcl-state)!important;background:var(--rcl-state-bg)!important;border-color:var(--rcl-state)!important}

.rcl-home-deadline-legend{display:flex;flex-wrap:wrap;gap:8px 19px;margin-top:14px;padding:11px 15px;border:1px solid var(--rc-border);border-radius:13px;background:#fff;color:var(--rc-muted);font-size:10px}
.rcl-home-deadline-legend span{display:inline-flex;align-items:center;gap:6px}
.rcl-home-deadline-legend i{width:9px;height:9px;border-radius:50%}
.rcl-home-deadline-legend i.is-safe{background:var(--rcl-safe)}
.rcl-home-deadline-legend i.is-soon{background:var(--rcl-soon)}
.rcl-home-deadline-legend i.is-urgent{background:var(--rcl-urgent)}
.rcl-home-deadline-legend i.is-today{background:var(--rcl-today)}
.rcl-home-deadline-legend i.is-closed{background:var(--rcl-closed)}

/* Theme fallback cards (used only when Jobs Manager is not active). */
.rcl-fallback-jobs{display:grid;gap:12px}
.rcl-fallback-job{display:grid;grid-template-columns:52px minmax(190px,1fr) minmax(145px,175px) auto;gap:13px;align-items:center;padding:13px;border:1px solid var(--rc-border);border-left:4px solid var(--rcl-state);border-radius:14px;background:#fff}
.rcl-fallback-logo{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--rc-border);border-radius:50%;overflow:hidden;background:#fff;color:var(--rc-blue);font-weight:900}
.rcl-fallback-logo img{display:block;width:42px;height:42px;object-fit:contain}
.rcl-fallback-main h3{margin:0;font-size:14px;line-height:1.35}.rcl-fallback-main p{margin:4px 0 7px;color:var(--rc-muted);font-size:11px}
.rcl-fallback-meta{display:flex;flex-wrap:wrap;gap:6px 11px;color:#52617a;font-size:10px}.rcl-fallback-meta span{padding:2px 7px;border-radius:999px;background:#f1f5fb}
.rcl-fallback-deadline{padding:8px 10px;border:1px solid var(--rcl-state);border-radius:10px;background:var(--rcl-state-bg);color:var(--rcl-state)}
.rcl-fallback-deadline small,.rcl-fallback-deadline strong,.rcl-fallback-deadline span{display:block}.rcl-fallback-deadline small{font-size:9px}.rcl-fallback-deadline strong{font-size:11px}.rcl-fallback-deadline span{margin-top:4px;font-size:12px}
.rcl-fallback-apply{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 11px;border-radius:8px;background:#1769ff;color:#fff!important;font-size:11px;font-weight:850;white-space:nowrap}
.rcl-fallback-updates{display:grid}.rcl-fallback-update{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 2px;border-bottom:1px solid var(--rc-border)}.rcl-fallback-update:last-child{border-bottom:0}
.rcl-fallback-update-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#edf4ff;color:#1769ff}
.rcl-fallback-update h3{margin:0;font-size:12px;line-height:1.35}.rcl-fallback-update small{display:block;margin-top:2px;color:var(--rc-muted);font-size:9px}.rcl-fallback-update>a{padding:6px 8px;border-radius:7px;background:#edf4ff;color:#1769ff;font-size:9px;font-weight:800;white-space:nowrap}
.rcl-home-empty{margin:0;padding:20px;color:var(--rc-muted);text-align:center}
.rcl-home-content-after-dashboard{padding:0 0 36px}

@media(max-width:1100px){
  .rcl-home-dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .rcl-fallback-job{grid-template-columns:48px minmax(170px,1fr) 145px}.rcl-fallback-apply{grid-column:2/-1;justify-self:end}
}
@media(max-width:900px){
  .rcl-slide-glass{max-width:72%}
  .rcl-home-dashboard-grid{grid-template-columns:1fr}
  .rcl-home-dashboard-side{grid-template-columns:1fr 1fr}
  .rcl-home-deadline{grid-template-columns:auto auto minmax(0,1fr) auto}.rcl-home-deadline time{display:none}
}
/* v1.7.2: preserve the v1.6.0 mobile viewport fix inside the new homepage wrapper. */
@media(max-width:900px){
  .rcl-parent-homepage,
  .rcl-home-dashboard-section,
  .rcl-home-dashboard-grid,
  .rcl-home-dashboard-side,
  .rcl-home-dashboard-panel,
  .rcl-home-dashboard-body{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
  .rcl-home-dashboard-grid{grid-template-columns:minmax(0,1fr)}
  .rcl-home-dashboard-body .rcjm-list-section,
  .rcl-home-dashboard-body .rcjm-list,
  .rcl-home-dashboard-body .rcjm-card,
  .rcl-home-dashboard-body .rcjm-v190-card,
  .rcl-home-dashboard-body .rcjm-related-jobs{min-width:0!important;max-width:100%!important}
  .rcl-home-dashboard-body .rcjm-card *,
  .rcl-home-dashboard-body .rcjm-v190-card *{min-width:0;box-sizing:border-box}
  .rcl-home-dashboard-body .rcjm-card a:not(.button):not([class*="btn"]):not([class*="button"]),
  .rcl-home-dashboard-body .rcjm-v190-card a:not(.button):not([class*="btn"]):not([class*="button"]){max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
  .rcl-home-dashboard-body img{max-width:100%;height:auto}
}
@media(max-width:680px){
  .rcl-hero-carousel-wrap{padding-top:12px}
  .rcl-carousel{height:auto!important;aspect-ratio:16/9;border-radius:18px}
  .rcl-slide-content{align-items:center!important;justify-content:flex-start!important;text-align:left!important;padding:12px 48px 12px 16px!important}
  .rcl-slide-glass{max-width:70%;width:auto;padding:14px 15px;border-radius:16px;background:linear-gradient(135deg,rgba(4,22,54,.88),rgba(12,42,91,.64))}
  .rcl-slide-glass h2{font-size:clamp(22px,6.5vw,29px);line-height:1.05;margin-bottom:10px}
  .rcl-slide-glass p{display:none}
  .rcl-slide-glass .rc-btn{padding:10px 13px;font-size:13px}
  .rcl-carousel-control{width:36px;height:36px;font-size:24px;top:40%}
  .rcl-carousel-dots{bottom:7px}
  .rcl-home-deadline{grid-template-columns:auto minmax(0,1fr) auto;padding:10px 12px}.rcl-home-deadline>strong{display:none}.rcl-home-deadline a{grid-column:2/3}.rcl-home-deadline .rcl-home-countdown{grid-column:3/4;grid-row:1/2}.rcl-home-deadline time{display:none}
  .rcl-home-dashboard-side{grid-template-columns:1fr}
  .rcl-home-dashboard-head{padding:14px}.rcl-home-dashboard-head p{display:none}
  .rcl-home-dashboard-body{padding:10px}
  .rcl-fallback-job{grid-template-columns:44px minmax(0,1fr);gap:10px;padding:11px}.rcl-fallback-logo{width:42px;height:42px}.rcl-fallback-deadline{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.rcl-fallback-deadline span{margin:0}.rcl-fallback-apply{grid-column:1/-1;justify-self:stretch}
}
@media(prefers-reduced-motion:reduce){.rcl-slide,.rcl-slide-image,.rcl-slide-glass{transition:none!important;animation:none!important}}


/* v1.8.2.37: dedicated homepage-only Premium Widget Panel. */
.rcl-home-panel-main{min-width:0;padding:0}
