/* ============================================================
   PJ PERSONNEL — MAIN STYLESHEET v2.0.1
   Design: Sharp Modern (Mockup 2D) + PDF Holding Page tokens
   Author: SportsMediaIreland Digital Agency
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --ink:      #0b1623;
  --ink2:     #112030;
  --ink3:     #1a2d40;
  --red:      #dc0000;   /* Updated to match PJP brand PDF exact red */
  --red2:     #b80000;
  --redlt:    #fff0f0;
  --white:    #ffffff;
  --off:      #f2f2f2;   /* Updated to match PDF section backgrounds */
  --off2:     #eaeaea;
  --text:     #111827;
  --muted:    #6b7280;
  --border:   #dde3ec;
  --shadow:   0 1px 12px rgba(11,22,35,.07);
  --shadowmd: 0 6px 32px rgba(11,22,35,.10);
  --shadowlg: 0 16px 56px rgba(11,22,35,.14);
  --radius:   4px;
  --radius-md:8px;
  --dark:     #2d2d2d;   /* PDF dark section bg */
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--text);
  font-family: 'Epilogue', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input, select, textarea { font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 4.5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
p { font-family: 'Lato', sans-serif; line-height: 1.78; color: var(--muted); }

/* ── LAYOUT UTILS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
.section { padding: 80px 5vw; }
.bg-off { background: var(--off); }
.bg-ink { background: var(--ink); }
.bg-red { background: var(--red); }

/* Section labels */
.section-kicker {
  font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.section-kicker::before { content: ''; width: 20px; height: 2px; background: var(--red); }
.section-h2 { color: var(--ink); margin-bottom: 10px; }
.section-h2 .accent { color: var(--red); }
.section-sub { font-size: .9rem; max-width: 460px; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px; margin-bottom: 48px;
}
.view-link {
  font-weight: 700; font-size: .78rem; color: var(--ink);
  border-bottom: 2px solid var(--border); padding-bottom: 1px;
  display: flex; align-items: center; gap: 4px; transition: all .2s;
}
.view-link:hover { color: var(--red); border-color: var(--red); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 13px 28px; border-radius: var(--radius); transition: all .25s; cursor: pointer; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red2); border-color: var(--red2); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(220,38,38,.35); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--ink2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(11,22,35,.2); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-white { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── NAV ── */
#site-nav {
  background: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 70px;
  position: sticky; top: 0; z-index: 200;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  padding: 4px 0;
}
.nav-logo img {
  height: 48px; width: auto;
  display: block; object-fit: contain;
  /* Invert if logo is dark on white and nav is dark */
  filter: brightness(1);
}

.nav-menu { display: flex; align-items: center; gap: 0; }
.nav-menu a {
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.55);
  padding: 0 16px; height: 70px; display: flex; align-items: center;
  border-bottom: 2px solid transparent; transition: all .15s; letter-spacing: .01em;
}
.nav-menu a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.3); }
.nav-menu a.current-menu-item,
.nav-menu a.current_page_item,
.nav-menu a.active { color: #fff; border-bottom-color: var(--red); }

.nav-end { display: flex; gap: 8px; align-items: center; }
.nav-btn-ghost {
  font-weight: 600; font-size: .78rem; color: rgba(255,255,255,.7);
  padding: 8px 16px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15);
  transition: all .2s;
}
.nav-btn-ghost:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.nav-btn-red {
  background: var(--red); color: #fff; font-weight: 700; font-size: .78rem;
  padding: 9px 18px; border-radius: var(--radius); letter-spacing: .02em; transition: background .2s;
}
.nav-btn-red:hover { background: var(--red2); }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.7); border-radius: 1px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO (HOME) ── */
.hero-home {
  background: var(--ink); min-height: calc(100vh - 70px);
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
/* Diagonal split done via hero-right background — simpler than a clipped pseudo-element */
.hero-home::before { display: none; }
.hero-left {
  padding: 80px 5vw 80px; display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1; background: var(--ink);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 28px;
}
.hero-tag::before { content: ''; width: 28px; height: 1px; background: var(--red); }
.hero-h1 { font-size: clamp(2.8rem, 4.5vw, 5rem); font-weight: 900; line-height: .95; letter-spacing: -.04em; color: #fff; margin-bottom: 24px; }
.hero-h1 .red { color: var(--red); }
.hero-h1 .outline { -webkit-text-stroke: 2px rgba(255,255,255,.55); color: transparent; text-shadow: 0 0 40px rgba(255,255,255,.08); }
.hero-desc { font-family: 'Lato', sans-serif; font-size: 1rem; line-height: 1.78; color: rgba(255,255,255,.55); max-width: 440px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-data-row { display: flex; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; width: fit-content; }
.hd-item { padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.08); }
.hd-item:last-child { border-right: none; }
.hd-num { font-weight: 900; font-size: 1.8rem; color: #fff; line-height: 1; letter-spacing: -.04em; }
.hd-num .red { color: var(--red); }
.hd-label { font-size: .65rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }

/* Hero right vacancies panel */
.hero-right {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 5vw 80px 6vw; position: relative; z-index: 1; gap: 10px;
  background: var(--ink2);
}
.hero-right-eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.vacancy-row {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 15px 18px;
  display: flex; align-items: center; gap: 12px;
  transition: all .2s; cursor: pointer;
}
.vacancy-row:hover { background: rgba(255,255,255,.09); border-color: rgba(220,38,38,.4); }
.vr-num { font-size: 1.5rem; font-weight: 900; color: rgba(255,255,255,.1); line-height: 1; min-width: 26px; }
.vr-icon { width: 34px; height: 34px; border-radius: var(--radius); background: rgba(220,38,38,.15); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.vr-title { font-weight: 700; font-size: .85rem; color: #fff; margin-bottom: 2px; }
.vr-meta { font-size: .68rem; color: rgba(255,255,255,.4); }
.vr-right { margin-left: auto; text-align: right; flex-shrink: 0; }
.vr-salary { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.7); }
.vr-badge { font-size: .58rem; font-weight: 700; padding: 2px 6px; border-radius: 2px; background: rgba(220,38,38,.25); color: var(--red); text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; display: inline-block; }
.view-all-hero {
  background: var(--red); color: #fff; font-weight: 700; font-size: .8rem;
  padding: 14px; border-radius: var(--radius); display: flex; justify-content: space-between;
  align-items: center; letter-spacing: .04em; text-transform: uppercase; transition: background .2s;
}
.view-all-hero:hover { background: var(--red2); }
.vah-count { background: rgba(255,255,255,.2); border-radius: 2px; padding: 3px 10px; font-size: .72rem; font-weight: 900; }

/* ── SEARCH BAR ── */
.search-section { background: var(--off); border-bottom: 1px solid var(--border); padding: 32px 5vw; }
.search-box {
  display: flex; max-width: 900px; margin: 0 auto;
  border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
}
.search-box input, .search-box select {
  flex: 1; border: none; outline: none; background: #fff;
  font-family: 'Epilogue', sans-serif; font-size: .875rem; font-weight: 500;
  color: var(--text); padding: 14px 16px; border-right: 1px solid var(--border);
}
.search-box input::placeholder { color: var(--muted); font-weight: 400; }
.search-box button {
  background: var(--ink); color: #fff; border: none; cursor: pointer;
  font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: .875rem;
  padding: 14px 26px; white-space: nowrap; transition: background .2s; letter-spacing: .02em;
}
.search-box button:hover { background: var(--red); }
.search-popular { max-width: 900px; margin: 12px auto 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sp-label { font-size: .72rem; color: var(--muted); }
.sp-tag {
  font-size: .72rem; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 2px;
  padding: 3px 10px; background: #fff; transition: all .2s;
}
.sp-tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── STATS BAR ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.st-item { padding: 36px 24px; text-align: center; border-right: 1px solid var(--border); position: relative; overflow: hidden; transition: background .2s; }
.st-item:last-child { border-right: none; }
.st-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.st-item:hover { background: var(--off); }
.st-item:hover::before { transform: scaleX(1); }
.st-num { font-weight: 900; font-size: 2.6rem; color: var(--ink); letter-spacing: -.05em; line-height: 1; margin-bottom: 5px; }
.st-num .red { color: var(--red); }
.st-label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── SERVICES GRID ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.svc {
  background: #fff; padding: 40px 32px; position: relative; overflow: hidden;
  transition: background .25s;
}
.svc:hover { background: var(--off); }
.svc-num { position: absolute; top: 16px; right: 20px; font-weight: 900; font-size: 4rem; color: rgba(0,0,0,.04); line-height: 1; }
.svc-icon { font-size: 2rem; margin-bottom: 16px; }
.svc-title { font-weight: 800; font-size: 1.1rem; color: var(--ink); margin-bottom: 10px; letter-spacing: -.02em; }
.svc-desc { font-family: 'Lato', sans-serif; font-size: .875rem; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.svc-link { font-size: .75rem; font-weight: 700; color: var(--red); display: flex; align-items: center; gap: 4px; letter-spacing: .02em; text-transform: uppercase; transition: gap .2s; }
.svc-link:hover { gap: 8px; }

/* ── JOB LISTINGS ── */
.jobs-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.jt-header {
  background: var(--ink); color: rgba(255,255,255,.45);
  display: grid; grid-template-columns: 3fr 1.2fr 1fr 1.2fr 100px;
  padding: 11px 20px; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.jt-row {
  display: grid; grid-template-columns: 3fr 1.2fr 1fr 1.2fr 100px;
  padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--border);
  align-items: center; transition: background .2s; text-decoration: none; color: inherit;
}
.jt-row:last-child { border-bottom: none; }
.jt-row:hover { background: var(--redlt); }
.jt-title { font-weight: 700; font-size: .875rem; color: var(--ink); margin-bottom: 2px; }
.jt-ref { font-size: .68rem; color: var(--muted); }
.jt-location { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--muted); }
.jt-sector { font-size: .65rem; font-weight: 700; padding: 3px 8px; border-radius: 2px; background: var(--off2); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; width: fit-content; }
.jt-salary { font-size: .82rem; font-weight: 700; color: var(--ink); }
.apply-btn {
  background: var(--red); color: #fff; font-weight: 700; font-size: .7rem;
  padding: 7px 12px; border-radius: var(--radius); text-align: center;
  letter-spacing: .04em; text-transform: uppercase; transition: background .2s; display: inline-block;
}
.apply-btn:hover { background: var(--red2); color: #fff; }

/* ── JOB CARDS (Grid view) ── */
.jobs-grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
  transition: all .25s; text-decoration: none; color: inherit;
}
.job-card:hover { border-color: var(--red); box-shadow: var(--shadowmd); }
.jc-icon { width: 42px; height: 42px; border-radius: var(--radius); background: var(--off2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.jc-content { flex: 1; }
.jc-title { font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.jc-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.jc-chip { font-size: .67rem; font-weight: 600; padding: 2px 8px; border-radius: 2px; background: var(--off2); color: var(--muted); }
.jc-footer { display: flex; justify-content: space-between; align-items: center; }
.jc-salary { font-size: .78rem; font-weight: 700; color: var(--ink); }
.jc-apply { font-size: .72rem; font-weight: 700; color: var(--red); background: var(--redlt); padding: 4px 10px; border-radius: 2px; }

/* ── PROCESS STEPS ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proc {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; position: relative;
}
.proc::after { content: '→'; position: absolute; top: 50%; right: -12px; transform: translateY(-50%); font-size: 1rem; color: var(--border); z-index: 1; }
.proc:last-child::after { display: none; }
.proc-n { font-weight: 900; font-size: 2.2rem; color: rgba(0,0,0,.06); letter-spacing: -.04em; margin-bottom: 10px; line-height: 1; }
.proc-icon { font-size: 1.3rem; margin-bottom: 8px; }
.proc-title { font-weight: 700; font-size: .875rem; color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }
.proc-desc { font-family: 'Lato', sans-serif; font-size: .8rem; color: var(--muted); line-height: 1.65; }

/* ── TESTIMONIALS ── */
.testi-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all .3s; position: relative; overflow: hidden;
}
.tcard::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.tcard:hover { box-shadow: var(--shadowmd); }
.tcard:hover::after { transform: scaleY(1); }
.tcard.featured { background: var(--ink); border-color: var(--ink); }
.tc-stars { font-size: .8rem; margin-bottom: 12px; color: var(--red); }
.tcard.featured .tc-stars { color: #fbbf24; }
.tc-text { font-family: 'Lato', sans-serif; font-style: italic; font-size: .9rem; line-height: 1.8; margin-bottom: 20px; color: var(--text); }
.tcard.featured .tc-text { color: rgba(255,255,255,.75); }
.tc-author { display: flex; align-items: center; gap: 10px; }
.tc-av { width: 36px; height: 36px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .72rem; color: #fff; flex-shrink: 0; }
.tcard.featured .tc-av { background: rgba(255,255,255,.15); }
.tc-name { font-weight: 700; font-size: .82rem; color: var(--ink); }
.tcard.featured .tc-name { color: #fff; }
.tc-role { font-size: .7rem; color: var(--muted); }
.tcard.featured .tc-role { color: rgba(255,255,255,.4); }

/* ── NEWS CARDS ── */
.news-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nc {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: all .3s; display: flex; flex-direction: column;
}
.nc:hover { box-shadow: var(--shadowmd); border-color: transparent; }
.nc-img { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: var(--off2); }
.nc-img-lg { height: 220px; }
.nc-img-sm { height: 160px; }
.nc-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.nc-cat { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.nc-title { font-weight: 700; font-size: .95rem; color: var(--ink); line-height: 1.35; margin-bottom: 8px; letter-spacing: -.01em; }
.nc-excerpt { font-family: 'Lato', sans-serif; font-size: .8rem; color: var(--muted); line-height: 1.7; margin-bottom: 12px; flex: 1; }
.nc-footer { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; border-top: 1px solid var(--border); padding-top: 10px; margin-top: auto; }
.nc-date { color: var(--muted); }
.nc-read { color: var(--red); font-weight: 700; }

/* ── CTA BAND ── */
.cta-band { background: var(--red); padding: 72px 5vw; }
.cta-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-h2 { font-weight: 900; font-size: clamp(1.8rem, 3vw, 3.2rem); color: #fff; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 10px; }
.cta-sub { font-family: 'Lato', sans-serif; font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.75; }
.cta-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-tile {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 22px 18px; text-align: center;
  text-decoration: none; transition: all .3s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cta-tile:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.cta-tile-icon { font-size: 1.8rem; }
.cta-tile-title { font-weight: 700; font-size: .85rem; color: #fff; }
.cta-tile-sub { font-size: .7rem; color: rgba(255,255,255,.6); }

/* ── ACCREDITATION STRIP ── */
.accred-strip {
  background: var(--off2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 5vw; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
}
.accred-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.accred-badge {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 10px 20px; font-size: .78rem; font-weight: 700; color: var(--muted);
  letter-spacing: .02em; transition: all .2s; display: flex; align-items: center; gap: 8px;
}
.accred-badge:hover { border-color: var(--ink); color: var(--ink); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--ink); padding: 80px 5vw 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: var(--red);
}
.page-hero-eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.page-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--red); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 16px; }
.page-hero h1 .red { color: var(--red); }
.page-hero .hero-sub { font-family: 'Lato', sans-serif; font-size: 1rem; color: rgba(255,255,255,.55); max-width: 560px; line-height: 1.78; }

/* ── JOB DETAIL PAGE ── */
.job-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 60px 5vw; }
.job-detail-main {}
.job-detail-sidebar {}
.job-meta-bar {
  display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 0; margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.jmb-item { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.jmb-item strong { color: var(--ink); }
.job-body h2 { font-size: 1.2rem; font-weight: 800; margin: 28px 0 12px; color: var(--ink); }
.job-body p { font-family: 'Lato', sans-serif; font-size: .9rem; line-height: 1.78; color: var(--muted); margin-bottom: 14px; }
.job-body ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.job-body ul li { font-family: 'Lato', sans-serif; font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 6px; }
.apply-sidebar {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: sticky; top: 90px;
}
.apply-sidebar h3 { font-size: 1rem; margin-bottom: 16px; }
.apply-sidebar .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.sidebar-meta { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 16px; }
.sm-row { display: flex; justify-content: space-between; font-size: .8rem; }
.sm-row span { color: var(--muted); }
.sm-row strong { color: var(--ink); font-weight: 700; }

/* ── ABOUT PAGE ── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-text h2 { margin-bottom: 16px; }
.about-intro-text p { margin-bottom: 14px; }
.about-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.about-stat { background: var(--off); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.about-stat-num { font-weight: 900; font-size: 2.2rem; color: var(--ink); letter-spacing: -.04em; margin-bottom: 4px; }
.about-stat-num .red { color: var(--red); }
.about-stat-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.team-card:hover { box-shadow: var(--shadowmd); }
.team-photo { height: 180px; background: var(--off2); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.team-body { padding: 18px; }
.team-name { font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 2px; }
.team-role { font-size: .75rem; color: var(--muted); }

/* ── CONTACT PAGE ── */
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; }
.contact-form-wrap {}
.contact-info {}
.contact-info-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.ci-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--off2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ci-value { font-weight: 700; font-size: .9rem; color: var(--ink); }
.ci-value a { color: var(--ink); }
.ci-value a:hover { color: var(--red); }

/* Form fields */
.form-field { margin-bottom: 20px; }
.form-label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; letter-spacing: .01em; }
.form-label .req { color: var(--red); }
.form-input, .form-select, .form-textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; font-family: 'Epilogue', sans-serif; font-size: .875rem;
  color: var(--text); background: #fff; transition: border-color .2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--ink); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── TRACK APPLICATION ── */
.track-hero-inner { max-width: 560px; }
.track-form-wrap { max-width: 560px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 40px; box-shadow: var(--shadowmd); }
.track-form-wrap h3 { font-size: 1.1rem; margin-bottom: 6px; }
.track-form-wrap .sub { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.track-status-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.status-timeline { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.status-step { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.status-step:last-child { padding-bottom: 0; }
.status-step::before { content: ''; position: absolute; left: 15px; top: 30px; bottom: 0; width: 1px; background: var(--border); }
.status-step:last-child::before { display: none; }
.ss-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0; position: relative; z-index: 1; }
.ss-dot.done { background: var(--ink); border-color: var(--ink); color: #fff; }
.ss-dot.active { background: var(--red); border-color: var(--red); color: #fff; }
.ss-label { font-weight: 700; font-size: .875rem; color: var(--ink); margin-bottom: 2px; padding-top: 4px; }
.ss-date { font-size: .72rem; color: var(--muted); }

/* ── REFER A FRIEND ── */
.refer-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.refer-explainer {}
.refer-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.refer-step { display: flex; gap: 16px; align-items: flex-start; }
.rs-num { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rs-title { font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 4px; }
.rs-desc { font-family: 'Lato', sans-serif; font-size: .82rem; color: var(--muted); line-height: 1.65; }
.prize-card { background: var(--ink); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.prize-card h3 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.prize-card p { font-family: 'Lato', sans-serif; font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ── EMPLOYERS PAGE ── */
.employer-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.emp-svc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all .3s; }
.emp-svc:hover { box-shadow: var(--shadowmd); border-color: var(--ink); }
.emp-svc-icon { font-size: 2rem; margin-bottom: 14px; }
.emp-svc-title { font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: 10px; letter-spacing: -.02em; }
.emp-svc-desc { font-family: 'Lato', sans-serif; font-size: .875rem; color: var(--muted); line-height: 1.75; }
.process-horiz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ph-step { padding: 28px 20px; text-align: center; border-right: 1px solid var(--border); position: relative; }
.ph-step:last-child { border-right: none; }
.ph-n { font-weight: 900; font-size: 2rem; color: rgba(0,0,0,.06); margin-bottom: 8px; }
.ph-icon { font-size: 1.3rem; margin-bottom: 8px; }
.ph-title { font-weight: 700; font-size: .85rem; color: var(--ink); margin-bottom: 4px; }
.ph-desc { font-family: 'Lato', sans-serif; font-size: .78rem; color: var(--muted); line-height: 1.6; }

/* ── FOOTER ── */
#site-footer { background: var(--ink); padding: 60px 5vw 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-weight: 900; font-size: 1.2rem; color: #fff; letter-spacing: -.03em; margin-bottom: 4px; }
.footer-brand-name .red { color: var(--red); }
.footer-brand-sub { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.footer-about { font-family: 'Lato', sans-serif; font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.75; margin-bottom: 16px; }
.footer-contact-row { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.footer-contact-row a { color: rgba(255,255,255,.6); }
.footer-contact-row a:hover { color: var(--red); }
.footer-col-title { font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .8rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .72rem; color: rgba(255,255,255,.25); }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 2px; padding: 3px 9px; font-size: .6rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.25); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp .5s ease both; }
.hero-left > * { animation: fadeUp .5s ease both; }
.hero-left > *:nth-child(1) { animation-delay: .05s; }
.hero-left > *:nth-child(2) { animation-delay: .12s; }
.hero-left > *:nth-child(3) { animation-delay: .19s; }
.hero-left > *:nth-child(4) { animation-delay: .26s; }
.hero-left > *:nth-child(5) { animation-delay: .33s; }

/* ── OURJOBS PRO INTEGRATION OVERRIDES ── */
/* Match OurJobs Pro job board output to our design system */
.ourjobs-board-wrap .oj-job-listing { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; padding: 18px 22px; background: #fff; transition: all .25s; display: grid; grid-template-columns: 3fr 1.2fr 1fr 1.2fr 100px; align-items: center; }
.ourjobs-board-wrap .oj-job-listing:hover { background: var(--redlt); border-color: var(--red); }
.ourjobs-board-wrap .oj-job-title { font-weight: 700; font-size: .9rem; color: var(--ink); }
.ourjobs-board-wrap .oj-job-location { font-size: .8rem; color: var(--muted); }
.ourjobs-board-wrap .oj-apply-btn { background: var(--red); color: #fff; font-weight: 700; font-size: .7rem; padding: 7px 14px; border-radius: var(--radius); letter-spacing: .04em; text-transform: uppercase; }
.ourjobs-board-wrap .oj-apply-btn:hover { background: var(--red2); }
/* Apply wizard wrapper */
.oj-apply-wizard-wrap { max-width: 680px; margin: 0 auto; }
.oj-apply-wizard-wrap .oj-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
/* Track application */
.oj-track-wrap { max-width: 560px; margin: 0 auto; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-home { grid-template-columns: 1fr; min-height: auto; }
  .hero-home::before { display: none; }
  .hero-right { padding: 0 5vw 60px; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .refer-layout { grid-template-columns: 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .job-detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--ink2); flex-direction: column; padding: 16px 0; gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-menu.open { display: flex; }
  .nav-menu a { height: auto; padding: 13px 5vw; border-bottom: 1px solid rgba(255,255,255,.06); border-left: none; }
  .nav-toggle { display: flex; }
  .nav-end .nav-btn-ghost { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid-3 { grid-template-columns: 1fr; }
  .news-grid-3 { grid-template-columns: 1fr; }
  .jobs-grid-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .employer-services { grid-template-columns: 1fr; }
  .jt-header { display: none; }
  .jt-row { grid-template-columns: 1fr; gap: 6px; }
  .jt-row .apply-btn { width: fit-content; }
  .cta-tiles { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-horiz { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.4rem; }
}
@media (max-width: 480px) {
  .hero-left { padding: 70px 5vw 40px; }
  .hero-data-row { flex-wrap: wrap; }
  .search-box { flex-wrap: wrap; }
  .search-box input, .search-box select { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .search-box button { width: 100%; }
  .stats-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .proc::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

/* ================================================================
   OURJOBS PRO — THEME INTEGRATION OVERRIDES
   Remaps plugin public CSS to PJP design tokens.
   Overrides plugin's indigo/purple palette with PJP navy/red.
   ================================================================ */

/* ── Reset plugin root vars to PJP tokens ── */
.ourjobs-public,
.ourjobs-apply-wizard,
.ourjobs-apply-confirmed {
  --oj-primary:      var(--red);
  --oj-primary-dark: var(--red2);
  --oj-primary-light:#fef2f2;
  --oj-text:         var(--text);
  --oj-muted:        var(--muted);
  --oj-border:       var(--border);
  --oj-bg:           var(--white);
  --oj-radius:       var(--radius);
  font-family: 'Epilogue', sans-serif;
}

/* ── Jobs board wrapper ── */
.ourjobs-public { max-width: 100%; padding: 0; }

/* ── Category filter pills ── */
.ourjobs-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ourjobs-filter-btn {
  font-family: 'Epilogue', sans-serif;
  font-size: .72rem; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 2px;
  padding: 5px 14px; background: #fff; text-decoration: none; transition: all .2s;
}
.ourjobs-filter-btn:hover  { background: var(--ink); color: #fff; border-color: var(--ink); }
.ourjobs-filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Job cards grid ── */
.ourjobs-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

/* ── Individual job card ── */
.ourjobs-job-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 24px !important;
  text-decoration: none !important;
  color: var(--text) !important;
  display: flex; flex-direction: column; gap: 8px;
  transition: all .25s !important;
  position: relative; overflow: hidden;
}
.ourjobs-job-card::before {
  content: '' !important;
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red);
  transform: scaleY(0); transform-origin: top; transition: transform .3s !important;
}
.ourjobs-job-card:hover {
  border-color: var(--red) !important;
  box-shadow: var(--shadowmd) !important;
  transform: translateY(-2px) !important;
}
.ourjobs-job-card:hover::before { transform: scaleY(1) !important; }

.ourjobs-cat-badge {
  display: inline-block;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 4px;
}
.ourjobs-job-card h3 {
  font-family: 'Epilogue', sans-serif !important;
  font-weight: 800 !important; font-size: 1rem !important;
  color: var(--ink) !important; margin: 0 0 6px !important;
  letter-spacing: -.02em !important;
}
.ourjobs-location, .ourjobs-salary, .ourjobs-closes {
  font-family: 'Lato', sans-serif;
  font-size: .82rem; color: var(--muted); margin: 0;
}
.ourjobs-excerpt {
  font-family: 'Lato', sans-serif;
  font-size: .82rem; color: var(--muted); line-height: 1.65; margin: 0;
}
.ourjobs-apply-link {
  display: inline-block; margin-top: auto;
  font-size: .75rem; font-weight: 700; color: var(--red);
  letter-spacing: .04em; text-transform: uppercase;
}

/* ── Share bar ── */
.ourjobs-share-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--muted); margin-top: 24px;
}
.ourjobs-share-btn {
  font-family: 'Epilogue', sans-serif;
  font-size: .75rem; font-weight: 600; padding: 6px 14px; border-radius: 2px;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer;
  text-decoration: none; color: var(--ink); transition: all .2s;
}
.ourjobs-share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ourjobs-share-wa  { border-color: #25d366; color: #25d366; }
.ourjobs-share-wa:hover { background: #25d366; color: #fff; }

/* ── Apply wizard ── */
.ourjobs-apply-wizard { max-width: 680px; margin: 0 auto; }

/* Progress bar */
.wizard-progress {
  display: flex; align-items: flex-start; margin-bottom: 36px;
  justify-content: center; flex-wrap: nowrap; overflow-x: auto;
  padding-bottom: 4px; gap: 0;
}
.wizard-prog-item {
  display: flex; align-items: center; flex-shrink: 0;
}
.wizard-prog-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--off2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--muted);
  transition: all .3s; flex-shrink: 0;
}
.wizard-prog-dot.active  { background: var(--ink); border-color: var(--ink); color: #fff; }
.wizard-prog-dot.done    { background: var(--red); border-color: var(--red); color: #fff; }
.wizard-prog-label {
  font-size: .65rem; font-weight: 600; color: var(--muted); margin-top: 6px;
  text-align: center; display: block; width: 56px;
}
.wizard-prog-line {
  flex: 1; min-width: 24px; height: 2px;
  background: var(--border); margin: 0 2px; margin-bottom: 22px;
  transition: background .3s;
}
.wizard-prog-line.done { background: var(--red); }

/* Wizard step */
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-step-title {
  font-family: 'Epilogue', sans-serif;
  font-size: 1.3rem; font-weight: 900; letter-spacing: -.03em;
  color: var(--ink); margin-bottom: 8px;
}
.wizard-step-desc {
  font-family: 'Lato', sans-serif; font-size: .9rem; color: var(--muted);
  margin-bottom: 24px; line-height: 1.7;
}
.wizard-fields { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.wizard-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wizard-field { display: flex; flex-direction: column; gap: 6px; }
.wizard-field label {
  font-size: .78rem; font-weight: 700; color: var(--ink); letter-spacing: .01em;
}
.wizard-optional { font-weight: 400; color: var(--muted); font-size: .72rem; }

/* Wizard inputs — use PJP styling */
.wizard-input, .wizard-textarea, .ourjobs-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px;
  font-family: 'Epilogue', sans-serif; font-size: .875rem; font-weight: 500;
  color: var(--text); background: #fff; transition: border-color .2s; outline: none;
}
.wizard-input:focus, .wizard-textarea:focus, .ourjobs-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11,22,35,.06);
}
.wizard-textarea { resize: vertical; min-height: 100px; }

/* Wizard file input */
.wizard-file-input {
  border: 2px dashed var(--border); padding: 12px; border-radius: var(--radius);
  background: var(--off); cursor: pointer; transition: border-color .2s; width: 100%;
}
.wizard-file-input:hover { border-color: var(--red); }

/* Camera section */
.camera-stamp-notice {
  background: var(--redlt); border: 1px solid rgba(220,38,38,.2);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 10px 14px; font-size: .82rem; color: var(--red2);
  margin-bottom: 16px; font-weight: 500;
}
.camera-section { margin-bottom: 16px; }
.camera-feed {
  width: 100%; max-width: 420px; border-radius: var(--radius-md);
  border: 2px solid var(--border); background: #000; display: block; margin-bottom: 12px;
}
.camera-preview {
  width: 100%; max-width: 420px; border-radius: var(--radius-md);
  border: 2px solid var(--red); display: block; margin-bottom: 12px;
}
.camera-timer {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--red2); font-weight: 600; margin-bottom: 12px;
}
.timer-bar-track { flex: 1; max-width: 200px; height: 4px; background: var(--border); border-radius: 2px; }
.timer-bar-fill  { height: 4px; background: var(--red); border-radius: 2px; transition: width .5s linear; }

/* Wizard nav buttons */
.wizard-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--border); margin-top: 8px;
}
.wizard-btn-next, .wizard-btn-primary-lg {
  background: var(--ink); color: #fff;
  font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: .9rem;
  padding: 12px 28px; border-radius: var(--radius); border: 2px solid var(--ink);
  cursor: pointer; transition: all .25s;
}
.wizard-btn-next:hover:not(:disabled), .wizard-btn-primary-lg:hover:not(:disabled) {
  background: var(--red); border-color: var(--red); transform: translateY(-1px);
}
.wizard-btn-next:disabled, .wizard-btn-primary-lg:disabled {
  opacity: .45; cursor: not-allowed;
}
.wizard-btn-primary-lg {
  background: var(--red); border-color: var(--red);
  padding: 14px 36px; font-size: 1rem;
}
.wizard-btn-prev {
  background: transparent; color: var(--muted);
  font-family: 'Epilogue', sans-serif; font-weight: 600; font-size: .875rem;
  padding: 12px 20px; border-radius: var(--radius);
  border: 1.5px solid var(--border); cursor: pointer; transition: all .2s;
}
.wizard-btn-prev:hover { border-color: var(--ink); color: var(--ink); }
.wizard-btn-secondary { /* retake */
  font-family: 'Epilogue', sans-serif; font-weight: 600; font-size: .825rem;
  padding: 8px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: #fff; cursor: pointer; transition: all .2s;
  color: var(--muted);
}
.wizard-btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.wizard-camera-btn {
  background: var(--ink); color: #fff;
  font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: .875rem;
  padding: 12px 24px; border-radius: var(--radius); border: none; cursor: pointer;
  transition: background .2s; margin-bottom: 10px;
}
.wizard-camera-btn:hover { background: var(--red); }

/* Review summary */
.wizard-review {
  background: var(--off); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 20px; font-size: .875rem; line-height: 1.75;
  font-family: 'Lato', sans-serif; color: var(--text);
}
.wizard-review strong { color: var(--ink); }

/* Consent */
.wizard-consent { margin-bottom: 20px; }
.wizard-consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: 'Lato', sans-serif; font-size: .82rem; color: var(--muted);
  line-height: 1.6; cursor: pointer;
}
.wizard-consent-label input { flex-shrink: 0; margin-top: 2px; accent-color: var(--ink); }

/* Confirmation screen */
.ourjobs-apply-confirmed {
  text-align: center; padding: 48px 24px; max-width: 520px; margin: 0 auto;
}
.ourjobs-confirmed-icon { font-size: 3.5rem; margin-bottom: 16px; }
.ourjobs-apply-confirmed h2 {
  font-family: 'Epilogue', sans-serif; font-weight: 900; font-size: 1.6rem;
  color: var(--ink); letter-spacing: -.03em; margin-bottom: 10px;
}
.ourjobs-apply-confirmed p {
  font-family: 'Lato', sans-serif; color: var(--muted); margin-bottom: 12px;
}
.ourjobs-ref-box {
  background: var(--off); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 14px 20px;
  font-family: 'Epilogue', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--ink); margin: 16px auto; max-width: 320px;
}
.ourjobs-ref-box strong { color: var(--red); }
.ourjobs-btn.ourjobs-btn-primary {
  background: var(--ink); color: #fff;
  font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: .9rem;
  padding: 13px 28px; border-radius: var(--radius); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  border: 2px solid var(--ink); transition: all .25s;
}
.ourjobs-btn.ourjobs-btn-primary:hover { background: var(--red); border-color: var(--red); }

/* Error / notice */
.ourjobs-notice {
  background: var(--off); border-left: 3px solid var(--border);
  padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Lato', sans-serif; font-size: .875rem; margin-bottom: 16px;
}
.ourjobs-notice.ourjobs-error { background: var(--redlt); border-color: var(--red); color: var(--red2); }

/* ── Track portal ── */
.oj-track-wrap,
.ourjobs-public.track-portal { max-width: 540px; }

/* ── Responsive wizard ── */
@media (max-width: 600px) {
  .wizard-field-row { grid-template-columns: 1fr; }
  .wizard-nav { flex-wrap: wrap; gap: 10px; }
  .wizard-btn-primary-lg { width: 100%; justify-content: center; }
}

/* Track page responsive */
@media (max-width:768px) {
  .pjp-track-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* ================================================================
   OURJOBS PRO — JOB DETAIL PAGE COLOUR OVERRIDES
   Replaces plugin's hardcoded indigo #4f46e5 with PJP red/navy.
   Applied via .ourjobs-public scope so they don't bleed elsewhere.
   ================================================================ */

/* ← All Jobs link */
.ourjobs-public > a[href*="jobs"],
.ourjobs-public > a[href*="/job"] {
  color: var(--ink) !important;
  font-weight: 600 !important;
}
.ourjobs-public > a[href*="jobs"]:hover,
.ourjobs-public > a[href*="/job"]:hover {
  color: var(--red) !important;
}

/* Job detail meta colours */
.ourjobs-public h1 {
  font-family: 'Epilogue', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
  color: var(--ink) !important;
}
.ourjobs-public [style*="color:#374151"],
.ourjobs-public [style*="color: #374151"] {
  color: var(--text) !important;
}
.ourjobs-public [style*="color:#64748b"],
.ourjobs-public [style*="color: #64748b"] {
  color: var(--muted) !important;
}

/* Requirements box — replace indigo border with red */
.ourjobs-public [style*="border-left:4px solid #4f46e5"],
.ourjobs-public [style*="border-left: 4px solid #4f46e5"] {
  border-left-color: var(--red) !important;
  background: var(--off) !important;
}

/* Apply for this role button — replace indigo with ink */
.ourjobs-public a[style*="background:#4f46e5"],
.ourjobs-public a[style*="background: #4f46e5"] {
  background: var(--ink) !important;
  border-radius: var(--radius) !important;
  font-family: 'Epilogue', sans-serif !important;
  font-weight: 700 !important;
  transition: background .25s, transform .25s !important;
}
.ourjobs-public a[style*="background:#4f46e5"]:hover,
.ourjobs-public a[style*="background: #4f46e5"]:hover {
  background: var(--red) !important;
  transform: translateY(-2px) !important;
}

/* salary_range colour on related jobs */
.ourjobs-public [style*="color:#4f46e5"],
.ourjobs-public [style*="color: #4f46e5"] {
  color: var(--red) !important;
}

/* Related job cards */
.ourjobs-public [style*="background:#f8fafc"][style*="border:1px solid #e4e4ec"] {
  border-color: var(--border) !important;
  transition: border-color .2s, box-shadow .2s !important;
}
.ourjobs-public [style*="background:#f8fafc"][style*="border:1px solid #e4e4ec"]:hover {
  border-color: var(--red) !important;
  box-shadow: var(--shadow) !important;
}

/* ── Wizard step visibility: JS-fallback ───────────────────────────────────────
   Without public.js, all .wizard-step divs are display:none and the form
   appears completely blank. This rule makes step-1 visible by default so the
   form always shows. JS overwrites this the moment it runs via goToStep(). */
.ourjobs-apply-wizard #step-1 { display: block; }
/* JS adds .active class via goToStep() — once JS runs, .active controls display */
.ourjobs-apply-wizard .wizard-step.active { display: block !important; }
/* All non-active, non-first steps remain hidden */
.ourjobs-apply-wizard .wizard-step:not(#step-1):not(.active) { display: none !important; }

/* ── SEO BLOCK: visible to crawlers, invisible to users ──
   Uses font-size:0 + height:0 + overflow:hidden.
   Do NOT use display:none or visibility:hidden — crawlers ignore those.
   Position:absolute removes it from document flow. ── */
.pjp-seo-block {
  font-size: 0 !important;
  line-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  user-select: none !important;
  color: transparent !important;
}
.pjp-seo-block * {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}
