/* Hub pages (area, category, role): dark summary hero, area chips, filter sidebar, job cards. */

/* ---------- Hero ---------- */
.hub-hero{ background:linear-gradient(135deg,#0b1226 0%,#14205a 55%,#2a1a63 100%); color:#fff; padding:26px 0 40px; }
.hub-hero .crumb{ color:#c3cbe0; font-size:14px; } .hub-hero .crumb a{ color:#dfe5f5; } .hub-hero .crumb a:hover{ color:#fff; }
.hub-hero .crumb span{ color:#fff; }
.hub-grid{ display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:40px; align-items:start; margin-top:14px; }
@media(max-width:960px){ .hub-grid{ grid-template-columns:1fr; gap:26px; } }
.hub-hero h1{ font-weight:800; font-size:clamp(30px,4.6vw,50px); line-height:1.06; letter-spacing:-.02em; }
.hub-hero .intro{ color:#d6dcec; font-size:17px; line-height:1.7; margin-top:16px; max-width:62ch; }
.hub-hero .intro b{ color:#fff; }
.hub-trust{ display:flex; gap:8px 16px; flex-wrap:wrap; margin-top:20px; font-size:14px; font-weight:600; color:#c7f0d6; }
.hub-trust span{ display:inline-flex; align-items:center; gap:7px; }

.sumtab-h{ font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:700; color:#c3cbe0; margin:6px 0 10px; }
.sumtab{ width:100%; border-collapse:separate; border-spacing:0; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); border-radius:14px; overflow:hidden; font-size:15px; }
.sumtab th{ text-align:left; font-size:13px; font-weight:600; color:#c3cbe0; padding:12px 16px; background:rgba(255,255,255,.05); }
.sumtab td{ padding:11px 16px; border-top:1px solid rgba(255,255,255,.09); }
.sumtab td:first-child a{ color:#fff; font-weight:600; } .sumtab td:first-child a:hover{ text-decoration:underline; }
.sumtab .n{ text-align:right; font-weight:700; font-variant-numeric:tabular-nums; }
.sumtab .pay{ color:#e3e8f6; font-variant-numeric:tabular-nums; white-space:nowrap; }
.sumtab tfoot td{ font-weight:800; background:rgba(255,255,255,.06); }
.sumtab-note{ font-size:13.5px; color:#c3cbe0; margin-top:10px; }
@media(max-width:560px){ .sumtab{ font-size:13.5px; table-layout:fixed; } .sumtab th, .sumtab td{ padding:9px 9px; } .sumtab th:nth-child(2), .sumtab td.n{ width:62px; } .sumtab th:nth-child(3), .sumtab .pay{ width:40%; white-space:normal; } }

/* ---------- Area chips ---------- */
.hub-bar{ display:flex; justify-content:flex-end; align-items:center; gap:8px; padding:22px 0 10px; font-size:14px; color:var(--slate); }
.hub-bar select{ border:none; background:none; font:inherit; font-weight:700; color:var(--ink); cursor:pointer; }
.areachips{ display:flex; gap:10px; overflow-x:auto; padding:2px 2px 12px; scrollbar-width:thin; }
.areachips a, .areachips button{ flex-shrink:0; border:1px solid var(--line); background:#fff; border-radius:999px; padding:11px 18px; font-size:15px; color:var(--ink); font-weight:500; white-space:nowrap; }
.areachips b{ color:var(--blue); font-weight:800; margin-right:3px; }
.areachips .on{ background:var(--ink); border-color:var(--ink); color:#fff; } .areachips .on b{ color:#fff; }
.areachips a:hover{ border-color:var(--blue); }

/* ---------- Layout ---------- */
.hub-body{ display:grid; grid-template-columns:300px minmax(0,1fr); gap:30px; align-items:start; padding:14px 0 50px; }
@media(max-width:960px){ .hub-body{ grid-template-columns:1fr; } }

/* ---------- Sidebar ---------- */
.hub-side{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px; position:sticky; top:84px; }
@media(max-width:960px){ .hub-side{ position:static; } }
.seg{ display:grid; grid-template-columns:1fr 1fr; background:var(--soft); border-radius:12px; padding:4px; }
.seg button{ border-radius:9px; padding:11px 6px; font-weight:700; font-size:14.5px; color:var(--slate); background:none; }
.seg button[aria-pressed="true"]{ background:var(--ink); color:#fff; }
.side-h{ font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:700; color:var(--slate); margin:22px 0 10px; }
.chk{ display:flex; align-items:center; gap:11px; padding:7px 2px; font-size:15px; cursor:pointer; }
.chk input{ width:19px; height:19px; accent-color:var(--blue); flex-shrink:0; }
.chk small{ color:var(--mute); font-size:14px; margin-left:auto; }
.golist a{ display:flex; justify-content:space-between; gap:10px; padding:10px 8px; border-radius:9px; font-size:15px; }
.golist a:hover{ background:var(--soft); color:var(--blue); }
.saved{ margin-top:22px; background:#fdf0f3; border:1px solid #f6d3dc; border-radius:12px; padding:14px; font-size:14px; color:#7a2e43; }
.saved b{ display:flex; align-items:center; gap:7px; font-size:15.5px; color:#9f1e43; }
.saved p{ margin-top:6px; line-height:1.5; }
.side-clear{ margin-top:14px; font-size:14px; font-weight:600; color:var(--blue); background:none; }

/* ---------- Job cards ---------- */
.grp-h{ display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin:4px 0 14px; }
.grp-h h2{ font-weight:800; font-size:21px; } .grp-h span{ color:var(--mute); font-size:14px; }
.jgrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:30px; }
@media(max-width:1180px){ .jgrid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px){ .jgrid{ grid-template-columns:1fr; } }
.jc{ position:relative; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .16s, border-color .16s; }
.jc:hover{ border-color:#c9d3ea; box-shadow:var(--sh-2); }
.jc-img{ aspect-ratio:16/10; background:#dfe5f1 center/cover no-repeat; position:relative; }
.jc-img::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(7,11,24,0) 45%,rgba(7,11,24,.55)); }
.jc-tag{ position:absolute; left:12px; bottom:12px; z-index:1; display:inline-flex; align-items:center; gap:6px; background:rgba(7,11,24,.72); color:#fff; font-size:12.5px; font-weight:700; padding:5px 10px; border-radius:999px; }
.jc-ph{ aspect-ratio:16/10; background:repeating-linear-gradient(135deg,#f3f6fc 0 12px,#eef2fa 12px 24px); border-bottom:1px dashed #d3dbea; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:12px; }
.jc-ph b{ font-size:26px; font-weight:800; color:#1e2a55; letter-spacing:-.01em; }
.jc-ph span{ font-size:13.5px; color:var(--slate); margin-top:4px; } .jc-ph small{ font-size:12.5px; color:var(--mute); margin-top:6px; }
.jc-save{ position:absolute; top:12px; right:12px; z-index:2; width:42px; height:42px; border-radius:50%; background:#fff; box-shadow:0 2px 8px rgba(7,11,24,.16); display:flex; align-items:center; justify-content:center; color:#9f1e43; }
.jc-save svg{ width:20px; height:20px; } .jc-save[aria-pressed="true"] svg{ fill:currentColor; }
.jc-b{ padding:15px 16px 17px; display:flex; flex-direction:column; gap:6px; flex:1; }
.jc-b h3{ font-weight:700; font-size:16.5px; line-height:1.3; } .jc-b h3 a:hover{ color:var(--blue); }
.jc-co{ font-size:14px; color:var(--slate); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.jc-co .v{ color:var(--green); font-weight:700; font-size:13px; }
.jc-m{ font-size:13.5px; color:var(--mute); }
.jc-pay{ margin-top:auto; padding-top:6px; font-weight:800; font-size:19px; } .jc-pay small{ font-weight:500; font-size:13.5px; color:var(--slate); }
.jempty{ border:1px dashed var(--line); border-radius:16px; padding:30px; text-align:center; color:var(--slate); }
.jempty button{ margin-top:10px; color:var(--blue); font-weight:700; background:none; }

/* ---------- Image cards (industries) ---------- */
.icards{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
@media(max-width:960px){ .icards{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.icard{ position:relative; border-radius:16px; overflow:hidden; aspect-ratio:4/3; display:block; background:#1e2a55; }
.icard picture, .icard img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.icard:hover img{ transform:scale(1.04); }
.icard::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(7,11,24,0) 35%,rgba(7,11,24,.82)); }
.icard span{ position:absolute; left:14px; right:14px; bottom:12px; z-index:1; color:#fff; }
.icard b{ display:block; font-weight:800; font-size:17px; } .icard small{ font-size:13.5px; color:#dfe5f5; }
@media(prefers-reduced-motion:reduce){ .icard img{ transition:none; } .icard:hover img{ transform:none; } }

/* On phones the filters fold away so the jobs come first */
.filt-tog{ display:none; }
@media(max-width:960px){
  .filt-tog{ display:flex; justify-content:space-between; align-items:center; width:100%; margin-top:12px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; font-weight:700; font-size:14.5px; color:var(--ink); }
  .filt-tog::after{ content:"+"; font-size:20px; line-height:1; color:var(--blue); }
  .filt-tog[aria-expanded="true"]::after{ content:"−"; }
  .hub-side:not(.open) .side-more{ display:none; }
  .hub-side{ padding:14px; }
}
