/*
Theme Name: Seafarers Recruitment
Theme URI: https://seafarersrecruitment.com
Author: Seafarers Recruitment
Description: A custom recruitment theme for global maritime talent and employers.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: seafarers-recruitment
*/

:root {
  --navy-950: #071b2d;
  --navy-900: #102a43;
  --navy-800: #153a5b;
  --teal-600: #168c8c;
  --teal-500: #18a5a1;
  --teal-100: #def5f2;
  --coral-500: #f26b5b;
  --gold-400: #e0b865;
  --ink: #142536;
  --muted: #607080;
  --line: #dce5eb;
  --surface: #f4f8fa;
  --white: #fff;
  --shadow: 0 18px 50px rgba(7, 27, 45, .10);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--soft { background: var(--surface); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--teal-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--coral-500); }
h1, h2, h3, h4 { margin: 0 0 18px; color: var(--navy-900); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 5.8vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.45rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 20px; }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.26rem); }
.section-heading { max-width: 740px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .lead { margin-inline: auto; }

.sr-topbar { padding: 8px 0; color: #d8eaef; background: var(--navy-950); font-size: .78rem; letter-spacing: .04em; }
.sr-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.sr-topbar a { color: var(--white); font-weight: 700; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(16,42,67,.08); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 28px; }
.site-logo { display: block; flex: 0 0 auto; width: 265px; }
.site-logo img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; color: var(--navy-900); font-size: .92rem; font-weight: 700; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; content: ""; background: var(--teal-600); transform: scaleX(0); transition: .2s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: var(--surface); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 2px solid transparent; border-radius: 10px; font-weight: 800; line-height: 1; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(7,27,45,.16); }
.button--primary { color: var(--white); background: var(--teal-600); }
.button--coral { color: var(--white); background: var(--coral-500); }
.button--light { color: var(--navy-900); background: var(--white); }
.button--outline { color: var(--navy-900); border-color: var(--line); background: transparent; }
.button--small { min-height: 42px; padding: 0 18px; font-size: .86rem; }
.text-link { color: var(--teal-600); font-weight: 800; }

.hero { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7,27,45,.98) 0%, rgba(7,27,45,.90) 35%, rgba(7,27,45,.25) 72%, rgba(7,27,45,.08) 100%), url("assets/images/hero-crew.jpg") center/cover no-repeat; }
.hero::after { position: absolute; right: -80px; bottom: -150px; width: 420px; height: 420px; border: 80px solid rgba(22,140,140,.15); border-radius: 50%; content: ""; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; padding: 104px 0 120px; }
.hero h1 { max-width: 720px; color: var(--white); }
.hero h1 em { color: #5ed4cf; font-style: normal; }
.hero .lead { color: #d6e3e9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; color: #bdd1da; font-size: .9rem; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { width: 8px; height: 8px; border-radius: 50%; content: ""; background: var(--coral-500); box-shadow: 0 0 0 5px rgba(242,107,91,.16); }

.search-panel { position: relative; z-index: 5; margin-top: -56px; }
.job-search { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.job-search input, .job-search select { min-width: 0; height: 58px; padding: 0 18px; border: 0; border-right: 1px solid var(--line); outline: 0; color: var(--navy-900); background: var(--white); }
.job-search input:focus, .job-search select:focus { box-shadow: inset 0 -2px var(--teal-600); }
.job-search .button { min-height: 58px; margin-left: 12px; }

.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 70px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.metric { padding: 34px; background: var(--white); }
.metric strong { display: block; margin-bottom: 6px; color: var(--navy-900); font-size: 1.35rem; }
.metric span { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-card { position: relative; min-height: 230px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: .25s ease; }
.category-card:hover { border-color: rgba(22,140,140,.5); transform: translateY(-5px); box-shadow: var(--shadow); }
.category-card::after { position: absolute; right: -25px; bottom: -35px; width: 120px; height: 120px; border-radius: 28px; content: ""; background: var(--teal-100); transform: rotate(24deg); }
.category-icon { display: grid; width: 52px; height: 52px; margin-bottom: 46px; place-items: center; border-radius: 14px; color: var(--white); background: var(--navy-900); font-size: 1.1rem; font-weight: 900; }
.category-card h3 { margin-bottom: 8px; }
.category-card p { color: var(--muted); font-size: .94rem; }

.jobs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.job-card { display: flex; min-height: 320px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px rgba(7,27,45,.05); transition: .25s ease; }
.job-card:hover { border-color: var(--teal-600); transform: translateY(-4px); box-shadow: var(--shadow); }
.job-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.job-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--teal-600); background: var(--teal-100); font-size: .72rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.job-card h3 { margin: 22px 0 10px; font-size: 1.45rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 24px; padding: 0; color: var(--muted); font-size: .88rem; list-style: none; }
.job-meta li { display: inline-flex; align-items: center; gap: 7px; }
.job-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.job-card__footer span { color: var(--muted); font-size: .82rem; }

.process { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; counter-reset: steps; }
.process-step { position: relative; padding-left: 74px; counter-increment: steps; }
.process-step::before { position: absolute; top: 0; left: 0; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; content: "0" counter(steps); color: var(--white); background: var(--teal-600); font-weight: 900; }
.process-step:not(:last-child)::after { position: absolute; top: 26px; left: 58px; width: 22px; height: 1px; content: ""; background: var(--line); }
.process-step p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.split-media { position: relative; }
.split-media img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.split-media::before { position: absolute; z-index: -1; top: -20px; left: -20px; width: 160px; height: 160px; border-radius: 28px; content: ""; background: var(--teal-100); transform: rotate(-8deg); }
.check-list { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; font-weight: 650; }
.check-list li::before { position: absolute; top: 2px; left: 0; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; content: "✓"; color: var(--white); background: var(--teal-600); font-size: .72rem; }

.cta-band { overflow: hidden; border-radius: 28px; color: var(--white); background: var(--navy-900); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 60px; }
.cta-band__inner::after { position: absolute; right: -70px; width: 240px; height: 240px; border: 50px solid rgba(22,140,140,.25); border-radius: 50%; content: ""; }
.cta-band h2 { max-width: 680px; color: var(--white); font-size: clamp(2rem, 4vw, 3.3rem); }
.cta-band p { color: #cbdde4; }
.cta-band .button { position: relative; z-index: 2; flex: 0 0 auto; }

.page-hero { padding: 90px 0 78px; color: var(--white); background: radial-gradient(circle at 80% 15%, rgba(22,140,140,.4), transparent 30%), var(--navy-950); }
.page-hero h1 { max-width: 860px; color: var(--white); font-size: clamp(2.7rem, 5vw, 4.6rem); }
.page-hero .lead { color: #cbdde4; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 50px; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 48px; }
.prose p, .prose li { color: #45596a; }
.info-card, .form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(7,27,45,.06); }
.info-card { position: sticky; top: 110px; }

.sr-form { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.sr-form .full { grid-column: 1/-1; }
.sr-form label { display: block; margin-bottom: 7px; color: var(--navy-900); font-size: .84rem; font-weight: 800; }
.sr-form input, .sr-form select, .sr-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cdd9e0; border-radius: 9px; outline: 0; background: var(--white); }
.sr-form select[multiple] { min-height: 190px; }
.sr-form textarea { min-height: 135px; resize: vertical; }
.sr-form input:focus, .sr-form select:focus, .sr-form textarea:focus { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(22,140,140,.12); }
.sr-consent { display: flex !important; align-items: flex-start; gap: 10px; color: var(--muted) !important; font-weight: 500 !important; }
.sr-consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.notice { margin-bottom: 28px; padding: 16px 18px; border-radius: 10px; font-weight: 700; }
.notice--success { color: #116149; background: #dff6ed; }
.notice--error { color: #8c2b26; background: #ffe6e3; }

.jobs-toolbar { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 12px; margin-bottom: 34px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.jobs-toolbar input, .jobs-toolbar select { min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.jobs-list { display: grid; gap: 18px; }
.job-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.job-row:hover { border-color: var(--teal-600); box-shadow: 0 12px 32px rgba(7,27,45,.08); }
.job-row h2 { margin: 10px 0 10px; font-size: 1.55rem; }
.job-row__action { align-self: center; }
.pagination { margin-top: 35px; }
.pagination .page-numbers { display: inline-grid; min-width: 40px; height: 40px; margin-right: 6px; place-items: center; border: 1px solid var(--line); border-radius: 8px; }
.pagination .current { color: var(--white); border-color: var(--teal-600); background: var(--teal-600); }

.job-detail { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 46px; }
.job-detail__main, .job-detail__aside { min-width: 0; }
.job-detail__aside .form-card { position: sticky; top: 110px; }
.detail-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin: 30px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-list div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-list span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.detail-list strong { color: var(--navy-900); }

.site-footer { color: #bcd0d9; background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 55px; padding: 72px 0 50px; }
.footer-logo { width: 245px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 9px; padding: 0; list-style: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.11); font-size: .82rem; }

/* CookieAdmin brand alignment */
#cookieadmin_accept_button,
#cookieadmin_accept_modal_button,
.cookieadmin_accept_btn,
.cookieadmin_save_btn { border-color: var(--teal-600) !important; background: var(--teal-600) !important; }
#cookieadmin_customize_button,
.cookieadmin_customize_btn { color: var(--navy-900) !important; border-color: var(--navy-900) !important; }
.cookieadmin_notice_con { border-radius: 14px !important; box-shadow: 0 18px 50px rgba(7,27,45,.22) !important; }
.cookieadmin_header { color: var(--navy-900) !important; }

/* Maritime accounts, crew directory and online CV */
.page-hero--compact { padding: 64px 0 58px; }
.portal-shell { display: grid; gap: 28px; }
.auth-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: start; }
.account-type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 24px; padding: 5px; border-radius: 11px; background: var(--surface); }
.account-type-switch a { padding: 11px 14px; border-radius: 8px; color: var(--muted); text-align: center; font-size: .86rem; font-weight: 800; }
.account-type-switch a.active { color: var(--white); background: var(--navy-900); }
.hp-field { position: absolute !important; left: -99999px !important; opacity: 0; pointer-events: none; }
.account-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px; border-radius: var(--radius); color: var(--white); background: radial-gradient(circle at 88% 20%, rgba(24,165,161,.34), transparent 28%), var(--navy-950); }
.dashboard-head h2 { color: var(--white); }
.dashboard-head p { margin-bottom: 0; color: #cbdde4; }
.completion-ring { display: grid; flex: 0 0 130px; aspect-ratio: 1; place-content: center; border-radius: 50%; text-align: center; background: radial-gradient(circle closest-side,var(--navy-950) 76%,transparent 78% 99%),conic-gradient(var(--teal-500) calc(var(--complete) * 1%),rgba(255,255,255,.14) 0); }
.completion-ring strong { color: var(--white); font-size: 1.65rem; }
.completion-ring span { color: #bcd0d9; font-size: .72rem; font-weight: 700; }
.verification-badge { display: inline-flex; padding: 9px 14px; border-radius: 999px; font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.verification-badge.verified { color: #b9fff4; background: rgba(24,165,161,.25); }
.verification-badge.pending { color: #ffe4a3; background: rgba(224,184,101,.22); }
.dashboard-card, .cv-subsection { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(7,27,45,.05); }
.dashboard-card > h2, .cv-subsection h3 { margin-bottom: 24px; font-size: 1.55rem; }
.subsection-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.subsection-head h2, .subsection-head h3, .subsection-head p { margin-bottom: 0; }
.cv-editor { display: grid; gap: 28px; }
.cv-subsection { overflow: hidden; }
.form-help { color: var(--muted); font-size: .88rem; }
.repeater-rows { display: grid; gap: 14px; }
.repeater-row { position: relative; display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 12px; padding: 16px 48px 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.repeater-row label { display: block; margin-bottom: 5px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.repeater-row input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #cdd9e0; border-radius: 7px; background: var(--white); }
.remove-row { position: absolute; top: 12px; right: 12px; display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #8c2b26; background: #ffe6e3; font-size: 1.2rem; cursor: pointer; }
.notification-list, .application-list, .employer-applications { display: grid; gap: 12px; }
.notification-list article, .application-list article, .employer-applications article { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.notification-list p, .application-list p, .employer-applications p { margin: 5px 0; color: var(--muted); }
.application-list article, .employer-applications article { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.employer-applications article { align-items: flex-end; }
.employer-applications form { display: flex; align-items: center; gap: 8px; }
.employer-applications select { height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.status-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--navy-900); background: var(--teal-100); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.status-declined { color: #8c2b26; background: #ffe6e3; }
.status-hired { color: #116149; background: #dff6ed; }
.empty-state { grid-column: 1/-1; padding: 50px 30px; border: 1px dashed #b9cbd5; border-radius: var(--radius); text-align: center; background: var(--white); }
.empty-state.small { padding: 24px; }
.empty-state p { color: var(--muted); }

.crew-preview-section { background: var(--navy-950); }
.crew-preview-section h2 { color: var(--white); }
.crew-preview-section .lead { color: #bcd0d9; }
.crew-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.crew-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(7,27,45,.06); }
.crew-avatar { display: grid; width: 74px; height: 74px; margin: 28px 28px 0; place-items: center; border-radius: 20px; color: var(--white); background: linear-gradient(135deg,var(--navy-900),var(--teal-500)); font-size: 1.35rem; font-weight: 900; letter-spacing: -.05em; }
.crew-avatar--large { width: 104px; height: 104px; margin: 0; border-radius: 28px; font-size: 2rem; }
.crew-card__body { display: flex; height: 100%; flex-direction: column; padding: 24px 28px 28px; }
.crew-card h3 { margin: 12px 0 4px; }
.crew-rank { color: var(--teal-600); }
.availability-badge { align-self: flex-start; padding: 5px 9px; border-radius: 999px; color: #116149; background: #dff6ed; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.crew-card dl { display: grid; gap: 9px; margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.crew-card dl div { display: flex; justify-content: space-between; gap: 16px; }
.crew-card dt { color: var(--muted); font-size: .82rem; }
.crew-card dd { margin: 0; color: var(--navy-900); font-size: .82rem; font-weight: 750; text-align: right; }
.crew-card .text-link { margin-top: auto; }
.crew-card--invitation { grid-column: 1/-1; max-width: 480px; }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.crew-preview-section .section-actions .button--outline { color: var(--white); border-color: rgba(255,255,255,.3); }
.crew-toolbar { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.crew-toolbar input { min-width: 0; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; }
.directory-summary { display: flex; align-items: baseline; gap: 10px; color: var(--muted); }
.directory-summary strong { color: var(--navy-900); font-size: 1.7rem; }

.online-cv { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.cv-header { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 26px; padding: 42px; color: var(--white); background: radial-gradient(circle at 90% 10%,rgba(24,165,161,.45),transparent 32%),var(--navy-950); }
.cv-header h1 { margin-bottom: 5px; color: var(--white); font-size: clamp(2.3rem,4vw,4rem); }
.cv-title { margin-bottom: 12px; color: #62d7d2; font-size: 1.2rem; font-weight: 800; }
.profile-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; color: #cbdde4; list-style: none; }
.profile-facts li::before { margin-right: 8px; content: "•"; color: var(--coral-500); }
.cv-header .button { color: var(--white); border-color: rgba(255,255,255,.3); }
.cv-view-section { padding: 36px 42px; border-bottom: 1px solid var(--line); }
.cv-view-section:last-child { border-bottom: 0; }
.cv-view-section > h2 { margin-bottom: 22px; font-size: 1.55rem; }
.cv-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.cv-summary-grid div { padding: 16px; background: var(--white); }
.cv-summary-grid span, .document-card span { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cv-summary-grid strong { color: var(--navy-900); }
.cv-table-wrap { overflow-x: auto; }
.cv-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.cv-table th, .cv-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; white-space: nowrap; }
.cv-table th { color: var(--navy-900); background: var(--surface); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.sensitive-section { position: relative; background: #f7fbfc; }
.access-label { display: inline-flex; margin-bottom: 16px; padding: 5px 9px; border-radius: 999px; color: var(--teal-600); background: var(--teal-100); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.document-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 14px; }
.document-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.document-card h3 { font-size: 1rem; }
.document-card p { margin-bottom: 10px; }
.file-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-panel { background: var(--surface); }
.locked-profile { margin: 28px 42px 42px; padding: 32px; border: 1px solid rgba(22,140,140,.25); border-radius: 16px; background: var(--teal-100); }
.profile-readiness { display: flex; justify-content: space-between; gap: 20px; margin: 18px 0; padding: 12px 14px; border-radius: 9px; background: var(--surface); }
.button--block { width: 100%; }
.job-security-note { position: static; margin-top: 18px; box-shadow: none; }

@media print {
  .sr-topbar, .site-header, .site-footer, .print-cv, .contact-panel, .cookieadmin_law_container, #wpadminbar { display: none !important; }
  .section { padding: 0; }
  .online-cv { border: 0; box-shadow: none; }
  .cv-header { padding: 28px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cv-view-section { padding: 24px 28px; page-break-inside: avoid; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 84px 0 auto; display: none; padding: 28px 24px 34px; flex-direction: column; align-items: stretch; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav .button { width: 100%; }
  .job-search, .jobs-toolbar { grid-template-columns: 1fr 1fr; gap: 12px; }
  .job-search input, .job-search select { border: 1px solid var(--line); border-radius: 8px; }
  .job-search .button { margin-left: 0; }
	  .cards, .jobs-grid, .crew-grid { grid-template-columns: repeat(2,1fr); }
	  .split, .job-detail, .content-grid { grid-template-columns: 1fr; }
	  .auth-grid { grid-template-columns: 1fr; }
	  .crew-toolbar { grid-template-columns: 1fr 1fr; }
	  .cv-summary-grid { grid-template-columns: repeat(2,1fr); }
	  .job-detail__aside .form-card, .info-card { position: static; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 1/-1; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .sr-topbar .container { justify-content: center; }
  .sr-topbar span:last-child { display: none; }
  .site-logo { width: 210px; }
  .hero { min-height: 690px; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(7,27,45,.18) 0%, rgba(7,27,45,.88) 48%, rgba(7,27,45,.99) 100%), url("assets/images/hero-crew.jpg") 67% center/cover no-repeat; }
  .hero-content { padding: 235px 0 108px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .search-panel { margin-top: -42px; }
	  .job-search, .jobs-toolbar, .sr-form, .crew-toolbar { grid-template-columns: 1fr; }
	  .job-search .button, .jobs-toolbar .button { width: 100%; }
	  .metrics, .cards, .jobs-grid, .crew-grid, .process, .footer-main, .cv-summary-grid { grid-template-columns: 1fr; }
	  .dashboard-head, .subsection-head, .application-list article, .employer-applications article { align-items: flex-start; flex-direction: column; }
	  .completion-ring { width: 116px; }
	  .dashboard-card, .cv-subsection { padding: 24px 18px; }
	  .repeater-row { grid-template-columns: 1fr; }
	  .cv-header { grid-template-columns: 1fr; padding: 30px 22px; }
	  .cv-view-section { padding: 28px 22px; }
	  .locked-profile { margin: 20px; padding: 24px; }
	  .employer-applications form { width: 100%; align-items: stretch; flex-direction: column; }
  .metric { padding: 26px; }
  .category-card { min-height: 200px; }
  .process-step:not(:last-child)::after { display: none; }
  .split { gap: 38px; }
  .cta-band__inner { align-items: flex-start; padding: 40px 28px; flex-direction: column; }
  .page-hero { padding: 70px 0 60px; }
  .job-row { grid-template-columns: 1fr; }
  .job-row__action .button { width: 100%; }
  .detail-list { grid-template-columns: 1fr; }
  .footer-main { gap: 34px; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
