/* Recruitment Consultant UK — public stylesheet */
:root {
  --navy: #0a1f44;
  --navy-2: #12306a;
  --cobalt: #1642b8;
  --cobalt-d: #0f3390;
  --sky: #eaf0fb;
  --sky-2: #d9e5f8;
  --ink: #0c1833;
  --muted: #51607a;
  --line: #d3dcec;
  --ok: #17713f;
  --err: #b3261e;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-d); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #6d93f0; outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; z-index: 100; border-radius: var(--r); }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand .logo-mark { color: var(--cobalt); flex: none; }
.brand-name { font-weight: 750; font-size: 19px; letter-spacing: -0.02em; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; font-size: 12.5px; letter-spacing: 0; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 12px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--cobalt); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--cobalt); color: var(--cobalt); }
.main-nav .btn { margin-left: 12px; border-bottom: 0; color: #fff; padding: 10px 18px; }
.main-nav .btn:hover { color: #fff; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 16px; line-height: 1.2;
  padding: 13px 22px; border-radius: var(--r); border: 1.5px solid var(--cobalt);
  background: var(--cobalt); color: #fff; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--cobalt-d); border-color: var(--cobalt-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--cobalt); }
.btn-ghost:hover { background: var(--sky); color: var(--cobalt-d); border-color: var(--cobalt-d); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--sky); color: var(--navy); border-color: var(--sky); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 15px; }

label { display: block; font-weight: 650; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=search], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid #b9c6de; border-radius: var(--r); background: #fff;
  min-height: 46px;
}
input[type=text], input[type=email], input[type=search], input[type=tel], select { height: 48px; }
textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(22, 66, 184, .3); border-color: var(--cobalt); }
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--cobalt); }

.notice { padding: 14px 18px; border-radius: var(--r); border: 1px solid; margin-bottom: 24px; font-size: 16px; }
.notice-ok { background: #e9f6ee; border-color: #a9d6bb; color: #0f4d2b; }
.notice-err { background: #fdecea; border-color: #f1b5b0; color: #7d1a14; }
.notice-info { background: var(--sky); border-color: var(--sky-2); color: var(--navy); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; border-bottom: 4px solid var(--cobalt); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; padding-block: clamp(48px, 8vw, 92px); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 19.5px); color: #c9d6f2; max-width: 46ch; margin-bottom: 0; }
.finder { background: #fff; color: var(--ink); border-radius: 6px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 22px 44px rgba(3, 12, 36, .4); }
.finder h2 { font-size: 22px; margin-bottom: 18px; }
.finder .field { margin-bottom: 14px; }
.finder-note { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 80px); }
.section-tint { background: var(--sky); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.more-link { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--cobalt); padding-bottom: 2px; white-space: nowrap; }

/* ---------- Job list ---------- */
.jobs { border-top: 2px solid var(--navy); }
.jobs-head, .job { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr); gap: 8px 24px; align-items: start; }
.jobs-head { padding: 12px 12px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.job { position: relative; padding: 20px 12px; border-bottom: 1px solid var(--line); }
.job:hover, .job:focus-within { background: var(--sky); }
.job-title { font-size: 19.5px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.015em; }
.job-title a { color: var(--navy); text-decoration: none; }
.job-title a::after { content: ""; position: absolute; inset: 0; }
.job:hover .job-title a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 4px; }
.job-sub { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px; color: var(--muted); }
.job-cell { font-size: 15.5px; line-height: 1.4; }
.job-cell .lbl { display: none; }
.job-cell small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.tag { display: inline-block; background: var(--sky-2); color: var(--cobalt-d); font-size: 13px; font-weight: 650; padding: 2px 9px; border-radius: 3px; line-height: 1.5; }
.section-tint .tag, .jobs .job:hover .tag { background: #fff; }
.tag-closed { background: #f3e3e1; color: #7d1a14; }

.empty { border: 1.5px dashed #aebcd8; border-radius: 6px; padding: 40px 28px; text-align: center; background: #fff; }
.empty h3 { font-size: 22px; }
.empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

/* ---------- Candidates / employers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split > div { padding: 8px clamp(0px, 4vw, 56px) 8px 0; }
.split > div + div { padding: 8px 0 8px clamp(0px, 4vw, 56px); border-left: 1px solid #b9c9e6; }
.split h2 { font-size: clamp(24px, 3vw, 30px); }
.split p { color: #2a3a5c; max-width: 46ch; }

/* ---------- Insights ledger ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.ledger li.has-thumb { grid-template-columns: 150px minmax(0, 1fr) auto; }
.ledger li { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 32px; align-items: start; padding: 24px 12px; border-bottom: 1px solid var(--line); }
.ledger li:hover { background: var(--sky); }
.ledger time { font-size: 15px; color: var(--muted); padding-top: 4px; }
.ledger h3 { font-size: clamp(20px, 2.2vw, 25px); margin: 0 0 6px; letter-spacing: -0.02em; }
.ledger h3 a { color: var(--navy); text-decoration: none; }
.ledger h3 a::after { content: ""; position: absolute; inset: 0; }
.ledger li:hover h3 a { color: var(--cobalt); }
.ledger p { margin: 0; color: var(--muted); max-width: 64ch; font-size: 16px; }
.ledger .thumb { width: 168px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--sky-2); }

/* ---------- Subscribe band ---------- */
.subscribe { background: var(--cobalt); color: #fff; }
.subscribe .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.subscribe h2 { color: #fff; font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 10px; }
.subscribe p { color: #dbe6ff; margin: 0; max-width: 46ch; }
.subscribe-form .row { display: flex; gap: 10px; }
.subscribe-form input[type=email] { border-color: #fff; }
.subscribe-form .check { color: #dbe6ff; margin-top: 14px; }
.subscribe-form .check a { color: #fff; }
.subscribe-form .check input { accent-color: #fff; }

/* ---------- Inner page headers ---------- */
.page-head { background: var(--sky); border-bottom: 1px solid var(--sky-2); padding-block: clamp(32px, 5vw, 56px) clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 10px; }
.page-head .lead { color: #2a3a5c; max-width: 60ch; margin: 0; font-size: 18px; }
.crumbs { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 8px; }
.filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 28px; }
.filters .field { margin: 0; }
.filters label { font-size: 14px; }
.result-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.result-line a { font-weight: 600; }

/* ---------- Job detail ---------- */
.job-head h1 { font-size: clamp(30px, 4.6vw, 48px); max-width: 24ch; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { background: #fff; border: 1px solid var(--sky-2); border-radius: 3px; padding: 4px 12px; font-size: 15px; font-weight: 600; color: var(--navy); }
.chips li a { color: var(--navy); text-decoration: none; }
.chips li a:hover { color: var(--cobalt); }
.chips li:has(a[aria-current]) { background: var(--navy); border-color: var(--navy); }
.chips li a[aria-current] { color: #fff; }
.job-cover { width: 100%; margin-bottom: 28px; border-radius: 6px; }
.section-tight { padding-top: 36px; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 72px); padding-block: clamp(36px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 24px; display: grid; gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: 6px; padding: 24px; background: #fff; }
.panel h2, .panel h3 { font-size: 20px; margin-bottom: 14px; }
.panel-apply { border-top: 4px solid var(--cobalt); }
.panel-apply .btn + .btn { margin-top: 10px; }
.defs { margin: 0; }
.defs div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.defs div:last-child { border-bottom: 0; }
.defs dt { color: var(--muted); }
.defs dd { margin: 0; font-weight: 600; text-align: right; color: var(--navy); }
.share { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 15px; margin: 0; padding: 0; list-style: none; }
.closed-banner { background: #fdf3e3; border: 1px solid #efd5a6; color: #6a4a08; padding: 14px 18px; border-radius: var(--r); margin-bottom: 28px; font-weight: 600; }

/* ---------- Prose (post bodies) ---------- */
.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 27px; margin: 1.7em 0 .5em; }
.prose h3 { font-size: 22px; margin: 1.5em 0 .4em; }
.prose h4 { font-size: 18px; margin: 1.4em 0 .3em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--cobalt); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--cobalt); color: #26365a; font-size: 1.08em; }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sky); }

/* ---------- Article ---------- */
.article-head { padding-block: clamp(32px, 5vw, 60px) 28px; }
.article-head h1 { font-size: clamp(32px, 5vw, 52px); max-width: 22ch; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); font-size: 15.5px; }
.article-cover { margin: 0 auto 40px; max-width: var(--wrap); padding-inline: clamp(18px, 4vw, 32px); }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 6px; }
.article-body { padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); padding-block: clamp(36px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; color: var(--navy); font-size: 15px; }
.contact-list a, .contact-list span { font-size: 17px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pg { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 600; color: var(--navy); }
a.pg:hover { border-color: var(--cobalt); color: var(--cobalt); }
.pg.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c7e6; font-size: 15.5px; }
.site-footer .wrap { padding-block: clamp(40px, 6vw, 64px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { font-size: 16px; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer a { color: #d6e1fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand .logo-mark { color: #fff; }
.footer-brand .brand .logo-mark rect:first-child { fill: var(--cobalt); }
.footer-brand p { max-width: 36ch; margin: 0; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid #1f3a73; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .subscribe .wrap, .contact-grid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .jobs-head { display: none; }
  .job { grid-template-columns: 1fr 1fr; padding: 18px 12px; }
  .job-main { grid-column: 1 / -1; }
  .job-cell { font-size: 15px; }
  .job-cell .lbl { display: block; font-size: 13px; color: var(--muted); }
  .split { grid-template-columns: 1fr; }
  .split > div, .split > div + div { padding: 8px 0; border-left: 0; }
  .split > div + div { margin-top: 32px; padding-top: 32px; border-top: 1px solid #b9c9e6; }
  .ledger li { grid-template-columns: 1fr; }
  .ledger .thumb { width: 100%; max-width: 360px; order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-header .wrap { padding-block: 14px; min-height: 0; }
  .main-nav { width: 100%; margin-inline: -12px; overflow-x: auto; }
  .main-nav .btn { display: none; }
  .field-row, .filters { grid-template-columns: 1fr; }
  .subscribe-form .row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .subscribe, .aside .panel:not(.panel-details), .share, .filters { display: none !important; }
  .detail { grid-template-columns: 1fr; }
  body { font-size: 12pt; }
}
