/* ---- Home page layout refresh ---- */
/* Jobs open now */
.live-h{align-items:flex-end}
.live-h>.link{white-space:nowrap}
.hm .live-sub{margin:4px 0 0;font-size:13.5px}
.lj{font:inherit;text-align:left;cursor:pointer;width:100%;align-items:flex-start}
.lj-t b{white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;font-size:14.5px;margin-bottom:2px}
.lj .av{display:grid;place-items:center;color:#fff;font-weight:800;font-size:18px;overflow:hidden}
.lj .av.lg{border:1px solid var(--line)}
.lj .av img{width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box}
.lj-t em.np{color:var(--muted);font-weight:600}
.hm-trust .hm-live:not([hidden]){background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:18px 16px 12px}
.hm-trust .lj{background:var(--bg)}

/* Card stack: soft glow behind it so it reads as part of the hero */
.hm-stack{position:relative}
.hm-stack::before{content:"";position:absolute;inset:-10px -4px 4px;border-radius:32px;background:radial-gradient(70% 65% at 50% 45%,color-mix(in srgb,var(--accent) 13%,transparent),transparent 75%);pointer-events:none}
.hm-stack .stack{position:relative}

@media (min-width:900px){
 .hm-head{padding-top:20px}
 .hm-stack{align-self:center;padding:30px 0 40px}
 .hm-trust{margin-top:56px}
 .hm-trust .hm-live:not([hidden]){padding:24px 24px 16px}
 .live-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px}
 .hm-sec{margin-top:88px}
 .hm-band{margin-top:88px}
 .getapp{max-width:460px}
 .hm-ind .ind-grid{margin-top:22px}
}
@media (min-width:1180px){.live-row{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (min-width:900px) and (max-width:1179px){.live-row .lj:nth-child(n+7){display:none}}

@media (max-width:899px){
 .live-h>.link{display:none}
 /* Real jobs straight after the sign-up buttons */
 .hm-trust{order:3;margin-top:4px}
 .hm-cta .getapp{order:4}
 .hm-ind,.hm-how,.hm-aud,.hm-faq,.hm-band,.hm-foot{order:5}
 .live-row{grid-auto-columns:minmax(230px,78%)}
 /* Industries: compact two-column list instead of tall tiles */
 .ind-grid{gap:8px}
 .ind{flex-direction:row!important;align-items:center!important;gap:10px!important;padding:11px 12px!important;border-radius:14px}
 .ind-i{width:34px!important;height:34px!important;border-radius:10px}
 .ind-i svg{width:18px;height:18px}
 .ind b{font-size:14px;line-height:1.2}
 .ind small{display:none}
 .hm-sec{margin-top:40px}
 .hm .hm-sec h2{font-size:24px}
 .hm .aud{padding:20px}
 .hm .aud h3{font-size:19px;margin-bottom:12px}
 .hm-aud .ticks li{font-size:14.5px}
 .hm-faq .faq summary{padding:14px 32px 14px 0}
}

/* Hidden before the script removes it, so it never flashes */
.hm-eyebrow,.hm-pts{display:none!important}

/* Job tiles are links now */
a.lj{text-decoration:none;color:var(--text)}
.lj-t small.lj-c{color:var(--muted);font-size:12px;margin-top:1px}
.live-all{display:block;width:100%;margin:6px 0 4px;padding:11px 16px;font-size:14.5px}
@media (min-width:900px){.live-all{display:none}}
.hm .already.just{margin-top:2px}

/* Browse all jobs (no account needed) */
body.bw-on{overflow:hidden}
#browse{position:fixed;inset:0;z-index:60;background:var(--bg);display:flex;flex-direction:column}
.bw-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px;border-bottom:1px solid var(--line);background:var(--surface)}
.bw-top b{font-size:17px}.bw-top .link{padding:8px 4px;font-size:15px}.bw-top .btn2{padding:9px 16px;font-size:14px}
.bw-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px 16px calc(32px + env(safe-area-inset-bottom,0px));width:100%;max-width:1100px;margin:0 auto}
#bw-q{display:block;width:100%;padding:13px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;font-size:16px;box-sizing:border-box}
#bw-q:focus{outline:2px solid var(--accent);outline-offset:1px}
#bw-info{margin:12px 2px 10px;font-size:14px}
.bw-list{display:grid;gap:10px;grid-template-columns:minmax(0,1fr)}
@media (min-width:640px){.bw-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.bw-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
#bw-more{display:block;margin:16px auto 0;padding:12px 22px}
#bw-more[hidden]{display:none}
.bw-foot{text-align:center;margin:22px 0 0;font-size:13.5px}

/* Closing date on cards */
.jf.jf-close.soon b{color:#c0392b}
@media (prefers-color-scheme:dark){.jf.jf-close.soon b{color:#ff8a80}}
