/* ==========================================================================
   PROFESSION PAGES — "On this page" strip and the standard Next steps row
   (22 Oct 2026, from the site review: one structure for every profession page —
   working life, registration, pay, roles, next steps).
   The strip is static markup on each page, so nothing moves when it loads; the
   chips scroll sideways on a phone. Same chip look as .setchips (family-eco.css).
   Behaviour (opening a panel before scrolling to it) is jobs/profession-nav.js.
   ========================================================================== */
.pnav{background:#FCFBF8;border-top:1px solid #C9DED3;border-bottom:1px solid #C9DED3;padding:14px 0}
.pnav .wrap{display:flex;align-items:center;gap:10px 18px}
.pnav-k{flex:none;font-family:'Work Sans',ui-sans-serif,sans-serif;font-weight:700;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:#2F5E49;white-space:nowrap}
.pnav-l{display:flex;flex-wrap:nowrap;gap:9px;list-style:none;margin:0;padding:4px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;min-width:0}
.pnav-l::-webkit-scrollbar{display:none}
.pnav-l li{flex:none;margin:0;padding:0}
.pnav-l li::before{content:none}
.pnav-l a{display:inline-flex;align-items:center;min-height:44px;padding:8px 17px;border-radius:999px;border:1px solid #C9DED3;background:#fff;color:#02615D;font-family:'Work Sans',ui-sans-serif,sans-serif;font-weight:600;font-size:14.5px;line-height:1.2;text-decoration:none;white-space:nowrap;transition:background .15s ease,border-color .15s ease}
.pnav-l a:hover{border-color:#02615D;background:#E6F1ED;color:#02615D}
.pnav-l a:focus-visible{outline:3px solid #A6C84A;outline-offset:2px}
@media (max-width:640px){
  .pnav{padding:12px 0 10px}
  .pnav .wrap{flex-direction:column;align-items:stretch;gap:6px}
  .pnav-l{margin:0 -4px}
}
/* a section that leaned on the one above it (padding-top:0) gets its own space back below the strip */
nav.pnav+section[style*="padding-top:0"]{padding-top:clamp(40px,5vw,64px)!important}
/* a target lands below the sticky header, not under it */
body:has(nav.pnav) main [id]{scroll-margin-top:96px}
@media (max-width:760px){body:has(nav.pnav) main [id]{scroll-margin-top:84px}}

/* the standard Next steps row: four actions stacked in the closing panel */
.pnav-acts{margin-top:clamp(20px,2.4vw,28px)}
.ed-close .acts .btn{white-space:normal}

/* medicine: the reference sections that sit behind "More about working in medicine here" */
.pnav-more .acc-i>.acc-b.pnav-wide{padding:6px 0 clamp(26px,3vw,38px)}
.pnav-more .acc-b.pnav-wide>.section+.section{margin-top:clamp(48px,5vw,72px)}
.pnav-more .acc-b.pnav-wide .section h2{font-size:clamp(24px,2.4vw,30px)}

@media print{.pnav{display:none}}
