/* Public opportunity directories: server rendered, usable without JavaScript. */
:is(.section-jobs,.section-events){--op-ink:#152d40;--op-muted:#586b78;--op-gold:#a8751e;--op-line:#d8e3e7;--op-paper:#f5f8fa;--op-accent:#116b64;--op-accent-deep:#0d554f;--op-soft:#eaf5f2;--op-tint:#cde8e2;--op-pop:#f0c76a;--op-join:#163c4e;background:var(--op-paper)}
.section-events{--op-muted:#715f6c;--op-line:#e9dfe5;--op-paper:#fcf8f6;--op-accent:#75415c;--op-accent-deep:#5e3048;--op-soft:#f9ece8;--op-tint:#f1d6cf;--op-pop:#f2b598;--op-join:#563449}
:is(.section-jobs,.section-events) .page-hero{background:#eeeee4;border-bottom:1px solid var(--op-line)}
:is(.section-jobs,.section-events) .hero-inner{padding-block:64px 52px;align-items:center}
:is(.section-jobs,.section-events) .hero-copy h1{max-width:700px;font-size:clamp(38px,4.5vw,64px);line-height:1.08;letter-spacing:-1.6px;color:var(--op-ink)}
:is(.section-jobs,.section-events) .hero-copy>p{max-width:640px;font-size:16px;line-height:1.85;color:#536461}
:is(.section-jobs,.section-events) .hero-copy .eyebrow{color:#886b3b;font-size:11px;letter-spacing:1.8px}
:is(.section-jobs,.section-events).page-directory .hero-actions,:is(.section-jobs,.section-events) .hero-proof,:is(.section-jobs,.section-events) .discover-strip{display:none}
:is(.section-jobs,.section-events) .context-panel{background:#f8f8f1;box-shadow:none;border:1px solid #d7dcd0;border-top:3px solid #b79862;border-radius:4px}
:is(.section-jobs,.section-events) .page-main{max-width:1320px;margin:0 auto;padding-top:32px;padding-bottom:56px}
.opportunity-search{position:relative;background:#fff;border:1px solid var(--op-line);padding:30px;box-shadow:0 14px 40px #152d4009;margin-bottom:40px;border-radius:20px}
.opportunity-search:before{content:"";position:absolute;inset:0 26px auto;height:4px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,var(--op-accent) 0 68%,var(--op-pop) 68%)}
.opportunity-search-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:23px}
.opportunity-search-heading h2{font:500 29px/1.2 var(--serif,Georgia,serif);color:var(--op-ink);margin:0;letter-spacing:-.5px}
.opportunity-search-heading>span{color:var(--op-accent-deep);background:var(--op-soft);border-radius:30px;padding:7px 12px;font:12px/1.5 var(--sans,Arial,sans-serif)}
.opportunity-search-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;gap:16px;align-items:end}
.opportunity-filter-form label{display:flex;flex-direction:column;min-width:0;gap:8px}
.opportunity-filter-form label>span{font:600 12px/1.3 var(--sans,Arial,sans-serif);letter-spacing:.2px;color:var(--op-muted)}
.opportunity-filter-form input,.opportunity-filter-form select{box-sizing:border-box;min-width:0;width:100%;height:50px;border:1px solid #cbd9df;border-radius:10px;padding:0 14px;background:#fbfcfd;color:var(--op-ink);font:400 16px/1.4 var(--sans,Arial,sans-serif);transition:border-color .18s,background-color .18s,box-shadow .18s}
.opportunity-filter-form input::placeholder{color:#697b88}
.opportunity-filter-form input:focus,.opportunity-filter-form select:focus{outline:2px solid var(--op-accent);outline-offset:2px;background:#fff;box-shadow:0 0 0 5px var(--op-soft)}
.opportunity-filter-form .opportunity-submit{display:flex;justify-content:space-between;align-items:center;gap:34px;height:50px;padding:0 23px;border:1px solid var(--op-accent);border-radius:10px;background:var(--op-accent);color:#fff;font:600 14px var(--sans,Arial,sans-serif);cursor:pointer;transition:background-color .18s,box-shadow .18s}
.opportunity-submit:disabled{opacity:.72;cursor:wait}
.opportunity-filters{margin-top:20px;border-top:1px solid var(--op-line)}
.opportunity-filters>summary{display:flex;align-items:center;gap:12px;min-height:52px;list-style:none;cursor:pointer;color:var(--op-accent-deep);font:600 13px/1.4 var(--sans,Arial,sans-serif)}
.opportunity-filters>summary::-webkit-details-marker{display:none}
.opportunity-filters>summary:focus-visible{outline:2px solid var(--op-accent);outline-offset:3px;border-radius:6px}
.opportunity-filter-status{margin-left:auto;font-size:12px;font-weight:400;color:var(--op-muted);text-align:right}
.opportunity-filter-chevron{flex:0 0 18px;font-size:21px;line-height:1;text-align:center;transition:transform .2s}
.opportunity-filters[open] .opportunity-filter-chevron{transform:rotate(180deg)}
.opportunity-filter-row{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin-top:18px}
.opportunity-filters .opportunity-filter-row{margin-top:0;padding-bottom:2px}
.opportunity-filter-row label{flex:1 1 170px}
.opportunity-filter-row select{height:48px;background:var(--op-soft);border-color:var(--op-tint);font-size:16px}
.opportunity-filter-row .opportunity-clear{display:flex;align-items:center;min-height:46px;padding:0 10px;color:var(--op-ink);font-size:13px;text-underline-offset:4px}
.opportunity-filter-form .opportunity-apply{display:none}
.opportunity-loading{font-size:13px;color:var(--op-ink);margin:16px 0 0}
.opportunity-loading[hidden]{display:none}
.opportunity-results-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 0 25px}
.opportunity-kicker{display:block;font:700 11px/1.5 var(--sans,Arial,sans-serif);letter-spacing:1.4px;color:var(--op-accent)}
.opportunity-results-heading h2{font:500 31px/1.2 var(--serif,Georgia,serif);color:var(--op-ink);margin:8px 0 0}
.opportunity-results-heading p{font:12px/1.6 var(--sans,Arial,sans-serif);color:var(--op-muted);margin:10px 0 0;overflow-wrap:anywhere}
.opportunity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.opportunity-card{display:flex;flex-direction:column;min-width:0;padding:25px 25px 20px;background:#fff;border:1px solid var(--op-line);border-radius:18px;text-decoration:none;color:var(--op-ink);box-shadow:0 4px 18px #152d4004;transition:border-color .18s,box-shadow .18s,transform .18s}
.opportunity-card:focus-visible{outline:3px solid var(--op-accent);outline-offset:3px}
.opportunity-card-top{display:flex;align-items:start;justify-content:space-between;gap:14px;margin:-25px -25px 22px;padding:22px 25px;background:var(--op-soft);border-radius:17px 17px 0 0}
.opportunity-brand{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;background:var(--op-accent);border:1px solid #ffffff99;border-radius:14px;box-shadow:0 5px 12px #152d4010;font:500 21px Georgia,serif;color:#fff}
.opportunity-job:nth-child(3n+2) .opportunity-brand{background:#2f6082}
.opportunity-job:nth-child(3n+3) .opportunity-brand{background:#67516e}
.opportunity-tag{max-width:70%;padding:6px 10px;background:#ffffffdc;border:1px solid var(--op-tint);border-radius:30px;color:var(--op-accent-deep);font:600 11px/1.5 var(--sans,Arial,sans-serif);text-align:right;overflow-wrap:anywhere}
.opportunity-card .opportunity-organisation{font:600 12px/1.6 var(--sans,Arial,sans-serif);color:var(--op-muted);letter-spacing:.2px;margin:0 0 8px;overflow-wrap:anywhere}
.opportunity-card h3{font:500 26px/1.25 var(--serif,Georgia,serif);letter-spacing:-.4px;margin:0 0 14px;overflow-wrap:anywhere}
.opportunity-card-location{font:500 12px/1.7 var(--sans,Arial,sans-serif);color:var(--op-accent-deep);margin:0 0 14px;overflow-wrap:anywhere}
.opportunity-card-excerpt{font:400 14px/1.75 var(--sans,Arial,sans-serif);color:var(--op-muted);margin:0 0 24px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.opportunity-card-bottom{display:flex;align-items:end;justify-content:space-between;gap:15px;border-top:1px solid var(--op-line);padding-top:17px;margin-top:auto}
.opportunity-card-bottom>span{font:400 12px/1.6 var(--sans,Arial,sans-serif);color:var(--op-muted);max-width:55%;overflow-wrap:anywhere}
.opportunity-card-bottom strong{flex-shrink:0;font:600 13px/1.5 var(--sans,Arial,sans-serif);color:var(--op-accent-deep)}
.opportunity-card-bottom strong span{display:inline-grid;place-items:center;margin-left:6px;width:27px;height:27px;border-radius:50%;background:var(--op-soft);color:var(--op-accent);font-size:16px;transition:background-color .18s,transform .18s}
.opportunity-date{display:flex;flex-direction:column;align-items:center;min-width:52px;border:1px solid var(--op-tint);border-top:5px solid var(--op-accent);border-radius:10px;background:#fff;padding:6px 8px;color:var(--op-accent-deep);box-shadow:0 5px 12px #56344909}
.opportunity-date>span{font:700 10px/1.2 var(--sans,Arial,sans-serif);text-transform:uppercase;letter-spacing:1.2px}
.opportunity-date>strong{font:500 26px/1.1 var(--serif,Georgia,serif);margin-top:3px}
.opportunity-empty{border:1px solid var(--op-line);border-radius:18px;background:#fff;padding:50px 24px;text-align:center}
.opportunity-empty-mark{font-size:38px;color:var(--op-gold)}
.opportunity-empty h3{font:500 29px/1.3 var(--serif,Georgia,serif);color:var(--op-ink);margin:12px 0}
.opportunity-empty p{font-size:14px;line-height:1.8;color:var(--op-muted);max-width:470px;margin:0 auto 24px}
.opportunity-empty a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;font-size:13px;color:var(--op-ink);text-underline-offset:5px}
.opportunity-empty .opportunity-empty-secondary{color:#788273}
.opportunity-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:30px 0;font-size:13px;gap:20px;color:var(--op-muted)}
.opportunity-pagination a{color:var(--op-ink);padding:12px 0;text-decoration:none}
.opportunity-pagination a:last-child{text-align:right}
.opportunity-join{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:50px;background:var(--op-join);padding:40px;margin-top:48px;border-radius:20px}
.opportunity-join:before{content:"";position:absolute;z-index:-1;pointer-events:none;width:330px;height:330px;right:-100px;bottom:-215px;border:45px solid #ffffff09;border-radius:50%}
.opportunity-join .opportunity-kicker{color:var(--op-pop)}
.opportunity-join h2{font:500 32px/1.2 var(--serif,Georgia,serif);max-width:620px;margin:12px 0;color:#fff}
.opportunity-join p{font-size:14px;line-height:1.8;color:#e1e9ed;max-width:610px;margin:0}
.opportunity-join>a{flex-shrink:0;border:1px solid var(--op-pop);background:var(--op-pop);color:var(--op-ink);font-size:14px;font-weight:600;text-decoration:none;padding:16px 23px;border-radius:10px;box-shadow:0 6px 20px #0000000c}
.opportunity-join>a span{margin-left:18px}
.public-opportunity-dock{display:none}
:is(.section-jobs,.section-events) .detail-content{border:1px solid var(--op-line);border-radius:18px;box-shadow:0 8px 30px #152d4005;background:#fff}
:is(.section-jobs,.section-events) .facts span{border-color:var(--op-tint);background:var(--op-soft);color:var(--op-accent-deep)}
:is(.section-jobs,.section-events) .gate{border-color:var(--op-tint);border-top-color:var(--op-accent);border-radius:18px;background:var(--op-soft);box-shadow:none}
:is(.section-jobs,.section-events) .gate-actions a{background:var(--op-accent);border-color:var(--op-accent)}
:is(.section-jobs,.section-events) .gate-actions .gate-join{background:#fff;color:var(--op-accent-deep)}
@media(max-width:1100px){.opportunity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-search-heading{align-items:start;flex-direction:column;gap:8px}:is(.section-jobs,.section-events) .hero-inner{padding-block:42px}}
@media(max-width:720px){
 :is(.section-jobs,.section-events){padding-bottom:calc(70px + env(safe-area-inset-bottom))}
 :is(.section-jobs,.section-events) .hero-inner{width:calc(100% - 36px);padding:27px 0 30px}
 :is(.section-jobs,.section-events) .hero-copy h1{font-size:clamp(32px,8.8vw,42px);letter-spacing:-.9px;line-height:1.1;margin:12px 0}
 :is(.section-jobs,.section-events) .hero-copy>p{font-size:14px;line-height:1.65;margin-bottom:0}
 :is(.section-jobs,.section-events) .hero-copy .eyebrow{font-size:10px;letter-spacing:1px;line-height:1.6}
 :is(.section-jobs,.section-events) .context-panel{display:none}
 :is(.section-jobs,.section-events) .page-main{width:calc(100% - 32px);padding-top:20px}
 .opportunity-search{padding:22px 18px 8px;margin-bottom:28px;border-radius:16px;box-shadow:0 10px 28px #152d4009}
 .opportunity-search:before{inset-inline:18px}
 .opportunity-search-heading{margin-bottom:18px;gap:6px}
 .opportunity-search-heading h2{font-size:24px;line-height:1.2}
 .opportunity-search-heading>span{font-size:12px;line-height:1.6;border-radius:8px;padding:6px 9px}
 .opportunity-search-row{grid-template-columns:minmax(0,1fr);gap:12px}
 .opportunity-filter-form label{gap:6px}
 .opportunity-filter-form label>span{font-size:12px}
 .opportunity-filter-form input,.opportunity-filter-form select{font-size:16px;height:48px;border-radius:9px}
 .opportunity-filter-form .opportunity-submit{width:100%;margin-top:2px;font-size:14px;border-radius:9px}
 .opportunity-filters{margin-top:16px}
 .opportunity-filters>summary{min-height:50px;font-size:14px}
 .opportunity-filter-status{font-size:12px}
 .opportunity-filter-row{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
 .opportunity-filters .opportunity-filter-row{padding:3px 0 12px}
 .opportunity-filter-row select{font-size:16px;height:48px}
 .opportunity-filter-row .opportunity-clear{padding:0;min-height:44px;justify-content:center}
 .opportunity-filter-form .opportunity-apply{display:flex}
 .opportunity-results-heading{align-items:start;flex-direction:column;gap:5px;margin-bottom:20px}
 .opportunity-results-heading h2{font-size:29px}
 .opportunity-results-heading>p{font-size:12px;margin:0}
 .opportunity-results-heading>p span{display:none}
 .opportunity-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 .opportunity-card{padding:22px 21px 20px;border-radius:18px}
 .opportunity-card-top{margin:-22px -21px 20px;padding:20px 21px}
 .opportunity-tag{font-size:12px;padding:6px 10px}
 .opportunity-card .opportunity-organisation{font-size:12px;color:var(--op-muted)}
 .opportunity-card h3{font-size:26px;line-height:1.25}
 .opportunity-card-location{font-size:13px;line-height:1.65}
 .opportunity-card-excerpt{font-size:14px;color:var(--op-muted);-webkit-line-clamp:3;margin-bottom:20px;line-height:1.65}
 .opportunity-card-bottom{gap:12px}
 .opportunity-card-bottom>span{font-size:12px;color:var(--op-muted);max-width:55%}
 .opportunity-card-bottom strong{font-size:13px}
 .opportunity-date>span{font-size:10px}
 .opportunity-join{flex-direction:column;align-items:stretch;gap:22px;padding:29px 22px;margin-top:32px;border-radius:18px}
 .opportunity-join h2{font-size:27px}
 .opportunity-join p{font-size:14px;color:#e1e9ed}
 .opportunity-join>a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 16px;font-size:14px;box-sizing:border-box;border-radius:9px}
 .opportunity-pagination{gap:12px;font-size:12px}
 .opportunity-pagination a{display:flex;align-items:center;min-height:48px;padding:4px 0;box-sizing:border-box}
 .opportunity-pagination a:last-child{justify-content:flex-end}
 .public-opportunity-dock{position:fixed;inset:auto 0 0;z-index:60;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--op-line);background:#fff;box-shadow:0 -5px 20px #152d4007}
 .public-opportunity-dock a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:55px;border-radius:10px;text-decoration:none;color:var(--op-muted);font:600 11px/1.3 var(--sans,Arial,sans-serif)}
 .public-opportunity-dock a[aria-current=page]{background:var(--op-soft);color:var(--op-accent-deep)}
 .public-opportunity-dock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 /* Keep the dock hidden through focus changes within the search form, so it
    cannot cover a filter tap's pointer release in mobile Safari. */
 :is(.section-jobs,.section-events):has(:is(input,textarea,select):focus,.opportunity-filter-form:focus-within) .public-opportunity-dock{visibility:hidden;pointer-events:none}
 :is(.section-jobs,.section-events) :is(input,select,summary,button,a){-webkit-tap-highlight-color:#39726722}
 :is(.section-jobs,.section-events) .back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;margin-bottom:12px}
 :is(.section-jobs,.section-events).page-detail .hero-copy h1{font-size:31px}
 :is(.section-jobs,.section-events).page-detail .hero-copy>p{display:none}
 :is(.section-jobs,.section-events) .detail-content{padding:23px 20px;border-radius:18px}
 :is(.section-jobs,.section-events) .facts{gap:8px;margin-bottom:24px}
 :is(.section-jobs,.section-events) .facts span{font-size:12px;line-height:1.5;max-width:100%;overflow-wrap:anywhere;box-sizing:border-box}
 :is(.section-jobs,.section-events) .detail-section{margin-top:26px}
 :is(.section-jobs,.section-events) .detail-section h2{font-size:26px;line-height:1.25}
 :is(.section-jobs,.section-events) .detail-content p{font-size:17px;line-height:1.75}
 :is(.section-jobs,.section-events) .gate{padding:24px 20px;border-radius:18px}
 :is(.section-jobs,.section-events) .gate-copy h2{font-size:26px;line-height:1.2;margin-block:8px}
 :is(.section-jobs,.section-events) .gate-copy p{font-size:14px;line-height:1.65}
 :is(.section-jobs,.section-events) .gate-actions a{min-height:48px;font-size:14px;border-radius:9px;white-space:normal;text-align:center}
}
@media(hover:hover) and (pointer:fine){.opportunity-filter-form .opportunity-submit:hover{background:var(--op-accent-deep);box-shadow:0 5px 15px #152d4014}.opportunity-card:hover{border-color:var(--op-accent);box-shadow:0 14px 30px #152d4010;transform:translateY(-4px)}.opportunity-card:hover .opportunity-card-bottom strong span{background:var(--op-tint);transform:translate(2px,-2px)}}
@media(prefers-reduced-motion:reduce){.opportunity-card,.opportunity-card-bottom strong span,.opportunity-filter-chevron,.opportunity-filter-form input,.opportunity-filter-form select,.opportunity-filter-form .opportunity-submit{transition:none}.opportunity-card:hover,.opportunity-card:hover .opportunity-card-bottom strong span{transform:none}}
.job-near-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;grid-column:1/-1}
.job-near-controls button{min-height:44px;padding:10px 16px;border:1px solid #cbdaca;border-radius:10px;background:#f5f8f1;color:#264d3b;cursor:pointer}
.job-near-controls button:disabled{opacity:.5}.job-near-controls [role=status]{font-size:13px}
.opportunity-filter-row>.job-distance-note{grid-column:1/-1;font-size:12px;line-height:1.6;color:#637365;margin:0}
.opportunity-card .job-distance{font-size:12px;line-height:1.5;color:#24563d;background:#e8f1e5;padding:6px 10px;border-radius:8px}
