/**
 * Jobs page + each job's page in the 2026 design (templates/jobs-v2.php, templates/single-job_listings-v2.php).
 * Design system: /home/asltip/docs/design-system/. Self-contained, prefix jb-. Buttons are plain <a> styled here
 * (Elementor's kit styles <button>).
 */
.jb-page{color:#384048;font-size:17px;background:#fff}
.jb-wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.jb-page .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.jb-page .jb-h2{font:700 30px/1.2 'Heebo',sans-serif;color:#00070e;margin:0 0 12px;text-align:center}
.jb-page .jb-h3{font:700 20px/1.3 'Heebo',sans-serif;color:#00070e;margin:0 0 18px}
.jb-page .jb-sub{font-size:17px;line-height:1.6;color:#5b6876;margin:0 auto 30px;max-width:640px;text-align:center}
.jb-eyebrow{display:block;font:700 12.5px 'Heebo',sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#9ecbf0;margin:0 0 10px}

/* Buttons */
.jb-page .jb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0d7d3f;color:#fff;font:500 12px 'Heebo',sans-serif;letter-spacing:.125em;text-transform:uppercase;text-decoration:none;padding:14px 26px;border-radius:4px;border:2px solid transparent;transition:background .2s ease,color .2s ease}
.jb-page .jb-btn:hover{background:#109e50;color:#fff}
.jb-page .jb-btn svg{width:14px;height:14px}
.jb-page .jb-btn--line{background:transparent;color:#1578cc;border-color:#1578cc}
.jb-page .jb-btn--line:hover{background:#e3eff9;color:#1578cc}
.jb-page .jb-btn--white{background:#fff;color:#1578cc}
.jb-page .jb-btn--white:hover{background:#e3eff9;color:#1578cc}
.jb-page .jb-btn--block{display:flex;width:100%}
.jb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.jb-actions--center{justify-content:center}
.jb-page .jb-hero__alt{color:#cfe4f7;font-size:15px;text-decoration:underline;text-underline-offset:3px}
.jb-page .jb-hero__alt:hover{color:#fff}

/* Hero (split) */
.jb-hero{background:linear-gradient(135deg,#0b2f52 0%,#124a80 62%,#1578cc 130%);color:#fff;padding:56px 0 54px;overflow:hidden} /* split heroes kept about 410-430px (Dylan, 14 Oct) */
.jb-hero__grid{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}
.jb-page .jb-hero__h1{font:700 40px/1.12 'Heebo',sans-serif;color:#fff;margin:0 0 22px;text-wrap:balance}
.jb-page .jb-hero__intro p{font-size:17px;line-height:1.62;color:#dbe9f6;margin:0 0 28px;font-weight:300}
/* Hero image style "stacked deck": two photo cards, the back one tilted and softened, an amber tab */
.jb-deck{position:relative;height:300px;max-width:430px;width:100%;margin-left:auto}
.jb-deck__img{position:absolute;width:80%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:22px;border:4px solid #fff;box-shadow:0 20px 46px rgba(2,12,22,.45)}
.jb-deck__img--back{left:0;top:8px;transform:rotate(-7deg);filter:saturate(.6) brightness(.85)}
.jb-deck__img--front{right:0;bottom:4px;transform:rotate(3deg)}
.jb-deck__tab{position:absolute;z-index:3;top:-4px;right:36px;background:#e8a33d;color:#2b1a00;font:700 12px 'Heebo',sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:9px 14px;border-radius:10px 10px 10px 2px;transform:rotate(3deg);box-shadow:0 8px 18px rgba(4,26,46,.3)}
/* Hero (plain, with breadcrumb) - a job's own page */
.jb-hero--plain{padding:56px 0 54px}
.jb-page .jb-crumb{margin:0 0 14px;font-size:14px;color:#cfe4f7}
.jb-page .jb-crumb a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.jb-hero--plain .jb-hero__h1{max-width:900px;margin-bottom:16px}
.jb-hero__chips{margin:0 0 24px}
.jb-hero .jb-chip{background:rgba(255,255,255,.12);color:#eaf4fd;border:1px solid rgba(255,255,255,.25)}
.jb-hero .jb-chip--soon{background:#e8a33d;color:#2b1a00;border-color:#e8a33d}

/* Chips */
.jb-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:#e3eff9;color:#12507f;font:600 13px 'Heebo',sans-serif}
.jb-chip svg{width:14px;height:14px}
.jb-chip--soon{background:#fdf0dc;color:#7a4b00}
.jb-chip--closed{background:#eef2f6;color:#5b6876}

/* Vacancy list */
.jb-list{padding:70px 0;background:#f4f9fd}
.jb-jobs{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:24px}
.jb-job{display:flex;flex-direction:column;background:#fff;border:1px solid #e3ebf2;border-radius:16px;overflow:hidden;box-shadow:0 4px 14px rgba(4,26,46,.06);transition:transform .2s ease,box-shadow .2s ease}
.jb-job:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(4,26,46,.14)}
.jb-job[hidden]{display:none}
.jb-job__logo{position:relative;display:flex;align-items:center;justify-content:center;height:150px;padding:20px 28px;background:#fff;border-bottom:1px solid #eef2f6}
.jb-job__logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.jb-job__nologo{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:16px;background:#e3eff9;color:#1578cc}
.jb-job__nologo svg{width:30px;height:30px}
.jb-badge{position:absolute;top:14px;left:14px;padding:5px 11px;border-radius:999px;background:#5b6876;color:#fff;font:700 11px 'Heebo',sans-serif;letter-spacing:.08em;text-transform:uppercase}
.jb-job__body{display:flex;flex:1;flex-direction:column;gap:10px;padding:20px 22px 24px}
.jb-job__meta{display:flex;flex-wrap:wrap;gap:6px}
.jb-page .jb-job__title{font:700 18px/1.35 'Heebo',sans-serif;color:#00070e;margin:0}
.jb-page .jb-job__title a{color:inherit;text-decoration:none}
.jb-page .jb-job__title a:hover{color:#1578cc}
.jb-page .jb-job__text{font-size:15px;line-height:1.55;color:#46586a;margin:0}
.jb-job__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:6px}
.jb-job__actions .jb-btn{flex:1 1 auto}
/* one or two open vacancies: the same small vertical cards, centred (never the sideways layout - Dylan, 14 Oct) */
.jb-jobs--few{grid-template-columns:repeat(auto-fit,minmax(300px,380px));justify-content:center}
/* recently closed */
.jb-closed{margin-top:54px}
.jb-jobs--closed .jb-job{box-shadow:none;background:#fbfcfd}
.jb-jobs--closed .jb-job__logo{background:#fbfcfd}
.jb-jobs--closed .jb-job__logo img{filter:grayscale(1);opacity:.75}
.jb-jobs--closed .jb-job:hover{transform:none;box-shadow:0 6px 16px rgba(4,26,46,.08)}
/* search (from 6 open vacancies) */
.jb-search{position:relative;max-width:520px;margin:-6px auto 28px}
.jb-search svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#5b6876}
.jb-page .jb-search input{width:100%;height:auto;min-height:0;margin:0;padding:14px 18px 14px 46px;border:1.5px solid #cbdeef;border-radius:999px;background:#fff;font:400 16px 'Heebo',sans-serif;color:#00070e;box-shadow:none}
.jb-page .jb-search input:focus{outline:2px solid #1578cc;outline-offset:2px;border-color:#1578cc}
/* nothing open */
.jb-empty{max-width:640px;margin:0 auto;text-align:center;background:#fff;border:1px solid #e3ebf2;border-radius:16px;padding:38px 28px;box-shadow:0 4px 14px rgba(4,26,46,.06)}
.jb-empty__icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:#e3eff9;color:#1578cc;margin-bottom:14px}
.jb-empty__icon svg{width:24px;height:24px}
.jb-page .jb-empty h2{font:700 22px 'Heebo',sans-serif;color:#00070e;margin:0 0 8px}
.jb-page .jb-empty p{font-size:16px;line-height:1.55;color:#5b6876;margin:0 0 22px}

/* For employers band */
.jb-employers{padding:70px 0;background:linear-gradient(135deg,#0b2f52 0%,#124a80 60%,#1578cc 130%)}
.jb-employers__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 40px}
.jb-page .jb-employers__h{font:700 30px/1.2 'Heebo',sans-serif;color:#fff;margin:0 0 10px}
.jb-page .jb-employers__sub{font-size:16.5px;line-height:1.6;color:#c4dcf1;margin:0;max-width:620px}

/* A job's page */
.jb-detail{padding:56px 0 70px;background:#f4f9fd}
.jb-detail__grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:72px;align-items:start} /* 72px, as event pages */
.jb-detail__body{background:#fff;border:1px solid #e3ebf2;border-radius:16px;padding:32px 36px;box-shadow:0 4px 14px rgba(4,26,46,.06);min-width:0}
/* the description sits straight on the page - only the facts card is a box (Dylan, 14 Oct 2026, same as event pages) */
.jb-detail .jb-detail__body{background:none;border:0;border-radius:0;box-shadow:none;padding:0}
.jb-page .jb-detail__h{font:700 22px 'Heebo',sans-serif;color:#00070e;margin:0 0 14px}
.jb-page .jb-prose{font-size:16.5px;line-height:1.7;color:#384048;overflow-wrap:anywhere}
.jb-page .jb-prose p{margin:0 0 14px;font-size:16.5px;line-height:1.7;color:#384048}
.jb-page .jb-prose ul,.jb-page .jb-prose ol{margin:0 0 14px;padding-left:22px}
.jb-page .jb-prose ul{list-style:disc}
.jb-page .jb-prose ol{list-style:decimal}
.jb-page .jb-prose li{margin:0 0 6px;padding:0;font-size:16.5px;line-height:1.6;color:#384048}
.jb-page .jb-prose li::before{display:none}
.jb-page .jb-prose a{color:#1578cc}
.jb-notice{display:flex;gap:12px;align-items:flex-start;margin:0 0 24px;padding:14px 16px;border-radius:12px;background:#fdf0dc;border:1px solid #f3d29a;color:#5c3a00}
.jb-notice svg{flex:0 0 auto;width:20px;height:20px;margin-top:2px}
.jb-page .jb-notice p{margin:0;font-size:15px;line-height:1.5;color:#5c3a00}
.jb-page .jb-notice a{color:#5c3a00;font-weight:700}
.jb-side{position:sticky;top:24px}
.jb-side__card{background:#fff;border:1px solid #e3ebf2;border-radius:16px;padding:22px;box-shadow:0 4px 14px rgba(4,26,46,.06);display:flex;flex-direction:column;gap:14px}
.jb-side__logo{display:flex;align-items:center;justify-content:center;height:120px;padding:10px;border-radius:12px;background:#fff;border:1px solid #eef2f6}
.jb-side__logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.jb-side__facts{margin:0;display:grid;gap:10px}
.jb-side__facts div{display:flex;justify-content:space-between;gap:12px;font-size:15px;border-bottom:1px solid #eef2f6;padding-bottom:10px}
.jb-side__facts dt{color:#5b6876}
.jb-side__facts dd{margin:0;font-weight:600;color:#00070e;text-align:right}
.jb-page .jb-side__note{margin:-4px 0 0;font-size:13.5px;color:#5b6876;text-align:center}

/* Photo band */
.jb-final{padding:88px 0 96px;text-align:center;background:linear-gradient(180deg,rgba(6,32,56,.80) 0%,rgba(6,32,56,.64) 100%),url('https://asltip.com/wp-content/uploads/01-0-16-1536x1024.jpg') center / cover no-repeat}
.jb-page .jb-final__h2{font:700 30px 'Heebo',sans-serif;color:#fff;margin:0 0 10px}
.jb-page .jb-final__sub{font-size:17px;line-height:1.55;color:#dbe9f6;margin:0 auto;max-width:600px}
.jb-final .jb-actions{justify-content:center;margin-top:26px}

@media (max-width:980px){
  .jb-detail__grid{grid-template-columns:1fr;gap:40px}
  .jb-side{position:static}
}
@media (max-width:820px){
  .jb-hero{padding:56px 0 64px}
  .jb-hero__grid{grid-template-columns:1fr;gap:40px}
  .jb-page .jb-hero__h1{font-size:32px}
  .jb-deck{margin:0 auto;height:270px}
  .jb-page .jb-h2,.jb-page .jb-employers__h,.jb-page .jb-final__h2{font-size:25px}
  .jb-detail__body{padding:24px 20px}
}
@media (max-width:640px){
  .jb-wrap{padding:0 16px}
  .jb-jobs,.jb-jobs--few{grid-template-columns:1fr}
  .jb-deck{height:220px;max-width:320px} /* the tilted back card must stay on screen */
  .jb-page .jb-btn{width:100%}
  .jb-hero .jb-actions .jb-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.jb-job{transition:none}}

/* Phones: tighter spacing and a shorter hero so the first screen shows more than the hero (Dylan, 14 Oct 2026).
   Desktop is unchanged. Sections 70 -> 48px, hero padding 40/44, hero image smaller. */
@media (max-width:640px){
  .jb-hero{padding:40px 0 44px}
  .jb-hero__grid{gap:28px}
  .jb-list,.jb-employers{padding:48px 0}
  .jb-detail{padding:36px 0 48px}
  .jb-final{padding:60px 0 64px}
  .jb-deck{height:180px;max-width:270px}
}
