/* WorkPath — public styles. Brand colours come from Settings (see theme_css_vars). */

:root{
  --paper:#fff;
  --mist:#f5f7fb;
  --line:#e3e8f1;
  --muted:#5c6a80;
  --radius:14px;
  --shell:680px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--mist);color:var(--ink);
  font-family:var(--font);font-size:17px;line-height:1.62;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto}
a{color:var(--brand);text-underline-offset:2px}
h1,h2,h3{line-height:1.22;letter-spacing:-.015em;margin:0 0 .5rem}
p{margin:0 0 1rem}
.wrap{width:100%;max-width:var(--shell);margin:0 auto;padding:0 18px}
.sr-only,.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip:focus{position:static;width:auto;height:auto;clip:auto;display:block;padding:10px;background:var(--brand);color:#fff}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}

/* ---------------------------------------------------------------- head */
.site-head{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.head-row{display:flex;align-items:center;justify-content:space-between;height:56px}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-weight:700;letter-spacing:-.02em}
.brand-mark{width:22px;height:22px;border-radius:6px;background:var(--brand);position:relative;flex:none}
.brand-mark::after{content:"";position:absolute;right:-3px;bottom:-3px;width:11px;height:11px;border-radius:4px;background:var(--accent)}
.brand-name{font-size:17px;white-space:nowrap}
.head-nav{display:flex;gap:18px;font-size:15px;font-weight:600}
.head-nav a{color:var(--muted);text-decoration:none;margin-left:18px}
.head-nav a:first-child{margin-left:0}
.head-nav a:hover{color:var(--brand)}

main{padding:18px 0 40px}

/* ----------------------------------------------------------------- ads */
/* These must stay plain block boxes. An empty <ins class="adsbygoogle"> inside a
   flex container collapses to zero width, and AdSense then throws
   "No slot size for availableWidth=0" before the ad ever loads. */
.ad-wrap{display:block;width:100%;max-width:336px;margin:20px auto;text-align:center}
.ad-label{display:block;font-size:10px;letter-spacing:.09em;color:#93a0b4;text-transform:uppercase;margin-bottom:4px}
.ad-inner{display:block;width:100%}
.ad-inner ins.adsbygoogle{display:block;width:100%;max-width:100%}
.ad-inner iframe{max-width:100%}
.ad-ph span{display:block;font-size:11px;opacity:.75;margin-top:3px}
.ad-ph,.ad-demo{
  box-sizing:border-box;width:100%;min-height:90px;min-height:inherit;border:1px dashed #c9d3e2;border-radius:10px;background:#fff;
  color:#93a0b4;font-size:13px;display:flex;align-items:center;justify-content:center;padding:28px 12px;text-align:center
}
@media(min-width:720px){.ad-wrap{max-width:100%}}

/* -------------------------------------------------------------- quiz */
.is-landing main{padding-top:8px}
.quiz{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px 20px 20px;margin:6px 0 4px}
.quiz-step{margin:0 0 4px;font-size:13px;font-weight:700;color:var(--accent);text-align:center}
.quiz .ad-wrap{margin:10px auto 18px}
.quiz-q{font-size:20px;font-size:clamp(18px,4.6vw,21px);font-weight:800;margin-bottom:.35rem;text-align:center}
.quiz-intro{color:var(--muted);margin-bottom:1.1rem;text-align:center;font-size:15px}
.quiz-foot{margin:14px 0 0;font-size:13.5px;color:var(--muted);text-align:center}
.choices{display:grid;gap:12px}
.choices-grid{grid-template-columns:1fr}
@media(min-width:640px){.choices-grid{grid-template-columns:1fr 1fr}}
.choice{
  display:block;text-align:center;text-decoration:none;color:#fff;font-weight:700;font-size:17px;
  padding:16px 16px;border:0;border-radius:10px;line-height:1.3;
  box-shadow:0 1px 2px rgba(17,24,39,.14)
}
.choice-a{background:var(--brand)}
.choice-b{background:var(--accent)}
.choice:hover,.choice:focus-visible{filter:brightness(1.06)}
.choice-title{display:block;font-weight:700}
.choice-sub{display:block;font-size:13.5px;opacity:.92;font-weight:500;margin-top:2px}

/* ---------------------------------------------------------- progress */
.crumbs{display:flex;gap:8px;font-size:13px;color:var(--muted);margin:0 0 12px;flex-wrap:wrap}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--brand);text-decoration:underline}
.progress{margin:0 0 14px}
.progress-bar{height:6px;border-radius:99px;background:#dde4ef;overflow:hidden}
.progress-bar span{display:block;height:100%;background:var(--accent);border-radius:99px;transition:width .3s ease}
.progress-text{margin:7px 0 0;font-size:12.5px;color:var(--muted);font-weight:600}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ------------------------------------------------------------- article */
.post{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px}
.post .ad-wrap{margin:18px auto 16px}
.post-rule{border:0;border-top:1px solid var(--line);margin:12px 0 14px}
.post-rule-sub{margin:10px 0 14px}
.page-count{margin:14px 0 0;text-align:center;font-size:13.5px;color:var(--muted);font-weight:600}
.page-head{padding:4px 0 8px}
.post-title{font-size:21px;font-size:clamp(19px,4.4vw,22px);font-weight:800;margin:0;letter-spacing:-.01em}
.post-title-sm{font-size:25px;font-size:clamp(22px,5vw,28px)}
.post-standfirst{color:var(--muted);font-size:16.5px;margin-bottom:1.1rem}
.post-h{font-size:22px;font-size:clamp(20px,5vw,24px);font-weight:800;margin:0}
.prose{max-width:66ch}
.prose p{margin:0 0 1.05rem}
.prose h3{font-size:19px;margin:1.5rem 0 .5rem}
.prose ul,.prose ol{margin:0 0 1.05rem;padding-left:1.15rem}
.prose li{margin-bottom:.4rem}
.prose strong{font-weight:700}
.prose-tail{margin-top:18px}
.prose-tail p:last-child{margin-bottom:0}

/* ------------------------------------------------------------- figures */
.figure{margin:1.6rem 0 1.5rem;max-width:100%}
.figure-frame{
  width:100%;background:#fbfcfe;border:1px solid var(--line);border-radius:12px;
  padding:14px 12px;overflow:hidden;box-sizing:border-box
}
.figure-frame svg{display:block;width:100%;height:100%;overflow:visible}
@media(max-width:640px){
  .figure{margin:1.2rem 0}
  .figure-frame{max-height:170px;padding:10px}
}
.figure-frame svg text{font-family:var(--font)}
.figure figcaption{margin-top:8px;font-size:13.5px;color:var(--muted);line-height:1.5}

/* ------------------------- compliance gap: never place a control next to an ad */
.gap-guard{margin-top:var(--gap-guard)}
.post .gap-guard{margin-top:var(--gap-guard);margin-bottom:4px}
/* Pointer devices don't mis-tap, so the guard only needs to be full size on phones. */
@media(min-width:721px){
  .gap-guard,.post .gap-guard{margin-top:var(--gap-guard-wide)}
}
/* Once a unit has painted, its reserved height is dead space — see assets/js/app.js. */
.ad-wrap.is-loaded,.ad-wrap.is-loaded .ad-inner{min-height:0!important}
.next-hint{font-size:13px;color:var(--muted);margin:0 0 8px;font-weight:600}
.btn{
  display:block;width:100%;text-align:center;text-decoration:none;font-weight:700;font-size:17px;
  padding:15px 18px;border:0;border-radius:12px;background:var(--brand);color:#fff;cursor:pointer;
  box-shadow:0 1px 2px rgba(16,27,43,.16)
}
.btn:hover{filter:brightness(1.07)}
.btn-next{background:var(--accent);color:#fff;font-size:18px;font-weight:800;padding:17px 18px}
.btn-apply{background:var(--accent);color:#17110a}
.btn-sm{width:auto;font-size:15px;padding:11px 16px}
.apply-alt,.apply-note{font-size:13.5px;color:var(--muted);margin:10px 0 0}
.pager{display:flex;gap:6px;justify-content:center;margin:20px 0 4px;flex-wrap:wrap}
.pager-dot{
  min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--muted);
  font-size:14px;font-weight:700;text-decoration:none
}
.pager-dot.is-on{background:var(--brand);border-color:var(--brand);color:#fff}

/* ------------------------------------------------------- lists & cards */
.strip-h{font-size:18px;font-weight:700;margin:26px 0 12px;padding-left:11px;border-left:4px solid var(--accent)}
.block-h{font-size:18px;font-weight:700;margin:26px 0 12px;padding-left:11px;border-left:4px solid var(--accent)}
.block-h a{text-decoration:none;color:inherit}
.block-more{font-size:14.5px;margin-top:12px}
.card-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.card a{display:block;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px 15px;text-decoration:none;color:inherit}
.card a:hover{border-color:var(--brand)}
.card-cat{display:block;font-size:12px;font-weight:700;color:var(--accent);margin-bottom:3px}
.card-title{display:block;font-weight:700;font-size:16.5px;line-height:1.35;margin-bottom:3px}
.card-sub{display:block;font-size:14px;color:var(--muted)}

.jobs-block{margin-top:8px}
.job-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.job-item a{display:block;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px 15px;text-decoration:none;color:inherit}
.job-item a:hover{border-color:var(--brand);box-shadow:0 2px 10px rgba(18,69,126,.07)}
.job-title{display:block;font-weight:700;font-size:16.5px;line-height:1.35;color:var(--brand)}
.job-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-top:3px}
.job-head-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:15px;color:var(--muted);margin-bottom:.6rem}
.job-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.tag{display:inline-block;font-size:12.5px;font-weight:600;color:var(--muted);background:var(--mist);border:1px solid var(--line);border-radius:99px;padding:2px 9px}
.tag-pay{background:var(--accent-soft);border-color:transparent;color:#8a4408}
.muted{color:var(--muted)}
.empty{background:var(--paper);border:1px dashed var(--line);border-radius:12px;padding:18px;color:var(--muted)}

/* ---------------------------------------------------------- loop block */
.loop{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px}
.loop .block-h{margin-top:0}
.loop-sub{font-size:14.5px;color:var(--muted);margin-bottom:14px}
.loop-grid{display:grid;gap:10px}
@media(min-width:640px){.loop-grid{grid-template-columns:1fr 1fr}}
.loop-btn{
  display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:66px;
  background:var(--brand);border:0;border-radius:10px;padding:15px 16px;
  text-decoration:none;color:#fff;box-shadow:0 1px 2px rgba(17,24,39,.14)
}
.loop-btn:hover,.loop-btn:focus-visible{filter:brightness(1.07)}
.loop-label{font-weight:700;font-size:16px;line-height:1.3}
.loop-cat{font-size:12.5px;color:rgba(255,255,255,.86)}
.loop-subh{font-size:15px;font-weight:700;margin:20px 0 10px}
.cat-btn{
  display:flex;align-items:center;justify-content:center;text-align:center;min-height:60px;
  border-radius:10px;padding:15px 16px;text-decoration:none;color:#fff;font-weight:700;font-size:16px;
  box-shadow:0 1px 2px rgba(17,24,39,.14)
}
.cat-btn-a{background:var(--brand)}
.cat-btn-b{background:var(--accent)}
.cat-btn:hover,.cat-btn:focus-visible{filter:brightness(1.07)}
.loop-disclaimer{margin:12px 0 0;font-size:13px;color:var(--muted)}
.loop-cats{margin:10px 0 0;font-size:14px;color:var(--muted)}

.job-search{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.job-search input{
  flex:1 1 160px;min-width:0;padding:12px 13px;border:1px solid var(--line);border-radius:11px;
  background:var(--paper);font:inherit;font-size:15px;color:var(--ink)
}

/* ---------------------------------------------------------------- foot */
.site-foot{background:var(--paper);border-top:1px solid var(--line);padding:24px 0 34px;margin-top:20px}
.foot-nav{display:flex;flex-wrap:wrap;gap:14px;font-size:14.5px;font-weight:600;margin-bottom:12px}
.foot-nav a{color:var(--brand);text-decoration:none;margin-right:14px}
.foot-note{font-size:12.5px;color:var(--muted);line-height:1.55;max-width:70ch}
.foot-copy{font-size:12.5px;color:#9aa6b8;margin:0}
