/* =========================================================
   JobsToGrab — white background, black text, red accent
   ========================================================= */
:root {
    --white: #ffffff;
    --black: #111827;            /* main text: near-black ink */
    --red: #dc141c;
    --red-dark: #b00f18;
    --red-tint: #fff1f0;
    --red-text: #dc141c;         /* red used as text */
    --red-text-strong: #b00f18;
    --on-red: #ffffff;           /* text on red backgrounds: white in both modes */
    --input-line: #8a8a8a;       /* form field borders (3:1 contrast) */
    --input-bg: #ffffff;
    --mark-bg: #ffd6d3;          /* highlighted text in job descriptions */
    --logo-tile: #ffffff;        /* company logos always sit on white */
    --ink-2: #374151;
    --grey: #6b7280;
    --line: #e5e7eb;
    --soft: #f3f4f6;
    --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 4px 14px rgba(17, 24, 39, 0.06);
    --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --wrap: 1180px;
}

/* ---------- Dark mode (switched on with the moon button; saved per device) ---------- */
:root[data-theme="dark"] {
    color-scheme: dark;
    --white: #0e0e10;            /* page background */
    --black: #f2f2f2;            /* main text */
    --ink-2: #cfcfd4;
    --grey: #9d9da5;
    --line: #2b2b31;
    --soft: #18181c;
    --red-dark: #c3121a;
    --red-tint: #2a1214;
    --red-text: #f0333b;         /* brighter red so small red text stays readable */
    --red-text-strong: #ff5a60;
    --input-line: #6e6e78;
    --input-bg: #18181c;
    --mark-bg: rgba(240, 51, 59, 0.35);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.35);
}
:root[data-theme="dark"] .disc:hover .disc-n { color: var(--red-text); }
:root[data-theme="dark"] .logo-img:not(.logo-letter) { border-color: transparent; }

/* Logo files for light / dark */
img.on-dark { display: none !important; }
:root[data-theme="dark"] img.on-light { display: none !important; }
:root[data-theme="dark"] img.on-dark { display: block !important; }

/* The sun/moon button */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--black); cursor: pointer; flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--black); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-reduced-motion: no-preference) {
    body, .topbar, .btn, .jc, .side-card, input, select, textarea { transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
}


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--font); font-size: 16px; line-height: 1.55; }
a { color: var(--black); }
a:hover { color: var(--red-text); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
.muted { color: var(--grey); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 0.5rem 1rem; z-index: 50; }
.skip-link:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Brand ---------- */
.logo { font-weight: 900; font-size: 1.4rem; letter-spacing: -0.03em; text-decoration: none; color: var(--black); font-stretch: 105%; }
.logo span { color: var(--red-text); }
.logo-img { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; object-fit: contain; background: var(--logo-tile); border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.logo-letter { background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); font-weight: 800; letter-spacing: -0.02em; padding: 0; }
.logo-empty { color: var(--grey); font-size: 0.8rem; border-style: dashed; }

/* ---------- Brand logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; line-height: 0; }
.brand img { display: block; width: auto; }
.brand .brand-mark { height: 40px; }
.brand .brand-word { height: 17px; }
.app-bar .brand-mark { height: 34px; }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { height: 96px; width: auto; }
.auth-logo { display: inline-block; line-height: 0; }
.auth-logo img { height: 88px; width: auto; }

/* ---------- Buttons, tags, notices ---------- */
.btn { display: inline-block; padding: 0.62rem 1.15rem; border: 2px solid var(--black); background: var(--white); color: var(--black); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border-radius: 6px; line-height: 1.2; text-align: center; }
.btn:hover { background: var(--black); color: var(--white); }
.btn-primary { background: var(--red); border-color: var(--red); color: var(--on-red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--on-red); }
.btn-ghost { border-color: var(--line); }
.btn-invert { background: transparent; border-color: var(--white); color: var(--white); }
.btn-invert:hover { background: var(--white); color: var(--black); }
.btn-small { padding: 0.35rem 0.7rem; font-size: 0.85rem; }
.btn-large { padding: 0.85rem 1.5rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--grey); cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--red-text); }

.tag { display: inline-block; padding: 0.2rem 0.6rem; background: var(--red); color: var(--on-red); font-size: 0.8rem; font-weight: 700; border-radius: 4px; white-space: nowrap; }
.tag-outline { background: var(--white); color: var(--black); border: 1.5px solid var(--black); }
.tag-soft { background: var(--soft); color: var(--ink-2); font-weight: 600; }

.notice { padding: 0.75rem 1rem; margin: 0 0 1rem; border-left: 4px solid; background: var(--soft); }
.notice-success { border-color: var(--black); }
.notice-error { border-color: var(--red); color: var(--red-text-strong); }

.badge { display: inline-block; padding: 0.15rem 0.55rem; font-size: 0.8rem; font-weight: 700; border-radius: 4px; white-space: nowrap; }
.badge-pending { background: var(--soft); border: 1.5px solid var(--black); }
.badge-approved { background: var(--black); color: var(--white); }
.badge-rejected { background: var(--white); color: var(--red-text); border: 1.5px solid var(--red); }

/* ---------- Forms ---------- */
label, .label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; }
.label { margin-bottom: 0.35rem; }
input, select, textarea { display: block; width: 100%; margin-top: 0.35rem; padding: 0.65rem 0.75rem; border: 1.5px solid var(--input-line); border-radius: 6px; font: inherit; font-weight: 400; background: var(--input-bg); color: var(--black); }
input:hover, select:hover, textarea:hover { border-color: var(--black); }
::placeholder { color: var(--grey); opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px rgba(220, 20, 28, 0.18); }
input[type="file"] { padding: 0.5rem; }
input[type="checkbox"] { display: inline; width: auto; margin: 0 0.4rem 0 0; }
textarea { resize: vertical; }
.hint { margin: -0.6rem 0 1rem; font-size: 0.85rem; color: var(--grey); }
.check { font-weight: 400; }

/* =========================================================
   PUBLIC SITE
   ========================================================= */
.topbar { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 0.9rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar nav { display: flex; align-items: center; gap: 1.4rem; }
.topbar nav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.topbar nav a[aria-current="page"] { color: var(--red-text); }
.nav-cta { white-space: nowrap; border: 2px solid var(--black); padding: 0.35rem 0.8rem; border-radius: 6px; }
.nav-cta:hover { background: var(--black); color: var(--white) !important; }

/* Main menu with drop-downs (Vacancies, CV Builder) */
.main-nav { gap: 0.6rem !important; }
.nav-link { display: inline-flex; align-items: center; gap: 0.25rem; white-space: nowrap; font-weight: 700; font-size: 0.95rem; padding: 0.4rem 0.7rem; border-radius: 8px; text-decoration: none; cursor: pointer; color: var(--black); }
.nav-link:hover, .nav-menu[open] > .nav-link { background: var(--soft); }
.nav-link.is-current { color: var(--red-text); }
.nav-link.nav-cta { border: 2px solid var(--black); padding: 0.32rem 0.75rem; border-radius: 6px; }
.nav-menu[open] > .nav-link.nav-cta, .nav-link.nav-cta:hover { background: var(--black); color: var(--white); }
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary .ico { transition: transform 0.15s; }
.nav-menu[open] > summary .ico { transform: rotate(180deg); }
.nav-panel { position: absolute; top: calc(100% + 0.6rem); left: 0; z-index: 40; min-width: 270px; padding: 0.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(17, 24, 39, 0.16); display: flex; flex-direction: column; }
.nav-panel-end { left: auto; right: 0; width: 330px; }
.nav-panel-wide { flex-direction: row; gap: 0.5rem; width: 520px; left: auto; right: -4rem; }
.nav-panel-wide > div { flex: 1; display: flex; flex-direction: column; }
.topbar .nav-panel a { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.6rem; border-radius: 8px; font-weight: 600; font-size: 0.92rem; color: var(--black); }
.topbar .nav-panel a:hover { background: var(--soft); color: var(--red-text); }
.nav-panel a .ico { color: var(--grey); }
.nav-h { margin: 0.5rem 0.6rem 0.2rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.topbar .nav-panel a.nav-feature { align-items: flex-start; gap: 0.75rem; padding: 0.7rem 0.6rem; }
.nav-feature strong { display: block; font-size: 0.95rem; }
.nav-feature small { display: block; color: var(--grey); font-weight: 500; font-size: 0.82rem; line-height: 1.35; margin-top: 0.1rem; }
.nav-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--red-tint); color: var(--red-text); }
.nav-panel a.nav-feature .nav-ico .ico { color: var(--red-text); }

.page-title { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1.02; }
.lede { font-size: 1.1rem; color: var(--ink-2); margin: 0.6rem 0 0; }
.page-narrow { max-width: 820px; margin: 0 auto; padding: 3rem 1.25rem; }
.page-narrow .job-list { margin: 2rem 0; }

/* ---- Landing: hero ---- */
.hero3 { max-width: var(--wrap); margin: 0 auto; padding: 3.5rem 1.25rem 3rem; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 3.5rem; align-items: end; }
.hero3 h1 { margin: 0; font-size: clamp(2.8rem, 7.5vw, 6rem); font-weight: 900; font-stretch: 115%; line-height: 0.92; letter-spacing: -0.045em; }
.hero3-sub { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; margin: 1.25rem 0 1.75rem; }
.bigsearch { display: grid; grid-template-columns: 1fr 230px auto; border: 3px solid var(--black); border-radius: 10px; overflow: hidden; background: var(--white); }
.bigsearch label { margin: 0; }
.bigsearch input, .bigsearch select { margin: 0; border: 0; border-radius: 0; height: 100%; padding: 1rem 1.1rem; font-size: 1.05rem; }
.bigsearch input:focus, .bigsearch select:focus { box-shadow: inset 0 0 0 3px rgba(220, 20, 28, 0.25); }
.bs-loc { border-left: 2px solid var(--line); }
.bigsearch .btn { border-radius: 0; border: 0; padding: 0 1.6rem; font-size: 1.05rem; }

.quick { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.quick a { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 0.4rem 0.85rem; border: 1.5px solid var(--black); border-radius: 999px; }
.quick a:hover { background: var(--black); color: var(--white); }
.quick span { color: var(--red-text); font-weight: 800; }
.quick a:hover span { color: #ffb3ad; }

.trust { border-left: 6px solid var(--red); padding: 0.25rem 0 0.25rem 1.5rem; }
.trust ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.trust li { color: var(--ink-2); line-height: 1.45; }
.trust li strong { display: block; color: var(--black); }
.live { margin: 0; display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; font-size: 0.95rem; }
.live strong { color: var(--red-text); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: pulse 1.8s ease-out 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 20, 28, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(220, 20, 28, 0); } }

/* ---- Landing: bands ---- */
.band { max-width: var(--wrap); margin: 0 auto; padding: 3rem 1.25rem; border-top: 1px solid var(--line); }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.band-head h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 900; letter-spacing: -0.025em; font-stretch: 108%; }
.band-head p { margin: 0; color: var(--grey); width: 100%; }
.band-link { font-weight: 700; }

.closing .band-head h2 { color: var(--red-text); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 280px); justify-content: start; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.rail-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem; border: 2px solid var(--black); border-radius: 10px; text-decoration: none; position: relative; min-height: 190px; }
.rail-card:hover { border-color: var(--red); color: var(--black); }
.rail-card strong { font-size: 1.05rem; line-height: 1.25; margin-top: 0.5rem; }
.rail-card span { font-size: 0.9rem; }
.rail-dl { position: absolute; top: 1.1rem; right: 1.1rem; background: var(--red); color: var(--on-red); font-weight: 700; font-size: 0.78rem !important; padding: 0.15rem 0.5rem; border-radius: 4px; }

.loc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.loc-list a { display: inline-flex; gap: 0.5rem; align-items: center; text-decoration: none; font-weight: 700; padding: 0.55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; }
.loc-list a:hover { border-color: var(--black); color: var(--black); }
.loc-list span { background: var(--black); color: var(--white); border-radius: 999px; font-size: 0.8rem; padding: 0 0.5rem; }

.employers { background: var(--black); color: var(--white); margin-top: 2rem; }
.employers-inner { max-width: var(--wrap); margin: 0 auto; padding: 4rem 1.25rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.employers h2 { margin: 0 0 0.75rem; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -0.035em; font-stretch: 110%; }
.employers p { margin: 0; color: #d6d6d6; font-size: 1.08rem; max-width: 55ch; }
.employers-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-end; }

.band-first { border-top: 0; padding-top: 1rem; }
.more-jobs { margin: 1.5rem 0 0; text-align: center; }

.browse { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.browse h2 { margin: 0 0 1rem; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.02em; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list a { display: inline-flex; gap: 0.5rem; align-items: center; text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 0.5rem 0.95rem; border: 1.5px solid var(--line); border-radius: 999px; }
.pill-list a:hover { border-color: var(--black); color: var(--black); }
.pill-list span { background: var(--black); color: var(--white); border-radius: 999px; font-size: 0.78rem; padding: 0 0.5rem; min-width: 1.5em; text-align: center; }

.follow { border-top: 1px solid var(--line); }
.follow-inner { max-width: var(--wrap); margin: 0 auto; padding: 2.25rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.follow h2 { margin: 0; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.follow p { margin: 0.3rem 0 0; color: var(--ink-2); }
.btn-wa { background: #128c4b; border-color: #128c4b; color: var(--white); }
.btn-wa:hover { background: #0d6e3a; border-color: #0d6e3a; color: var(--white); }

/* ---- Job cards ---- */
.job-list { border-top: 1px solid var(--line); }
.jc { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 0; border-bottom: 1px solid var(--line); position: relative; }
.jc-body { flex: 1; min-width: 0; }
.jc-title { margin: 0; font-size: 1.12rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.jc-title a { text-decoration: none; }
.jc-title a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.jc:hover .jc-title a { color: var(--red-text); }
.jc-company { margin: 0.15rem 0 0; color: var(--ink-2); font-weight: 600; }
.jc-meta { margin: 0.35rem 0 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; font-size: 0.88rem; color: var(--grey); }
.jc-salary { color: var(--black); font-weight: 700; }
.jc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; flex-shrink: 0; text-align: right; }
.jc-when { font-size: 0.85rem; color: var(--grey); white-space: nowrap; }
.jc-when.urgent { color: var(--red-text); font-weight: 700; }
.jc-mini { padding: 0.8rem 0; gap: 0.75rem; }
.jc-mini .jc-title { font-size: 0.98rem; }
.jc-mini .jc-company { font-size: 0.88rem; font-weight: 500; }
.jc-mini .jc-meta { margin-top: 0.1rem; font-size: 0.82rem; }
.jc-mini .jc-side { display: none; }
.jc-mini .jc-side:has(.urgent) { display: flex; }

/* ---- Listing page ---- */
.list-layout { max-width: var(--wrap); margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }
.list-head { margin-bottom: 1.5rem; }
.filters { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 0.5rem; align-items: center; padding: 0.75rem; border: 2px solid var(--black); border-radius: 10px; margin-bottom: 1.5rem; position: sticky; top: 64px; background: var(--white); z-index: 5; }
.filters label { margin: 0; }
.filters input, .filters select { margin: 0; padding: 0.6rem; font-size: 0.92rem; }
.f-clear { grid-column: 1 / -1; font-size: 0.88rem; font-weight: 700; justify-self: start; }
.empty-state { padding: 3rem 1.5rem; text-align: center; background: var(--soft); border-radius: 10px; }
.empty-state h2 { margin-top: 0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin: 2rem 0 0; font-weight: 700; }

/* ---- Job page ---- */
.preview-bar { background: var(--black); color: var(--white); text-align: center; padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.job-layout { max-width: var(--wrap); margin: 0 auto; padding: 1.5rem 1.25rem 3rem; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 3rem; }
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.88rem; color: var(--grey); margin-bottom: 1.5rem; }
.crumbs a { color: var(--grey); }
.job-head { display: flex; gap: 1.5rem; align-items: flex-start; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.job-head > div { min-width: 0; }
.job-title-long { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.1; }
.job-title { overflow-wrap: anywhere; hyphens: auto; }
.job-title { margin: 0; font-size: clamp(2rem, 4.8vw, 3.3rem); font-weight: 900; font-stretch: 108%; line-height: 1.02; letter-spacing: -0.035em; }
.job-company { margin: 0.6rem 0 0; font-size: 1.15rem; color: var(--ink-2); font-weight: 600; }
.sep { color: var(--red-text); font-weight: 700; }
.chips-static { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips-static li { border: 1.5px solid var(--black); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.85rem; font-weight: 700; }
.chips-static .chip-red { background: var(--red); border-color: var(--red); color: var(--on-red); }
.job-posted { margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--grey); }
.urgent-text { color: var(--red-text); }
.closed-bar { margin: 1.5rem 0 0; padding: 1rem 1.25rem; background: var(--red-tint); border-left: 4px solid var(--red); font-weight: 600; }

.job-summary { margin: 2rem 0; padding: 1.5rem; background: var(--soft); border-radius: 12px; }
.job-summary h2 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.job-summary > p { margin: 0 0 1.25rem; font-size: 1.08rem; line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.facts dt { font-size: 0.78rem; color: var(--grey); font-weight: 600; }
.facts dd { margin: 0.1rem 0 0; font-weight: 700; }
.facts-inline { background: var(--soft); padding: 1rem; border-radius: 8px; margin: 1rem 0; }

.section-label { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.apply-inline { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 2.5rem 0; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Rich text: job descriptions, editor */
.prose { font-size: 1.05rem; line-height: 1.72; max-width: 72ch; overflow-wrap: anywhere; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.015em; margin: 2rem 0 0.6rem; line-height: 1.25; }
.prose h3 { font-size: 1.12rem; font-weight: 800; margin: 1.6rem 0 0.5rem; }
.prose h4 { font-size: 1rem; font-weight: 800; margin: 1.3rem 0 0.4rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; padding-left: 0.2rem; }
.prose ul li::marker { color: var(--red-text); }
.prose ol li::marker { font-weight: 800; }
.prose mark { background: var(--mark-bg); color: inherit; padding: 0 0.15em; border-radius: 2px; }
.prose blockquote { margin: 1.25rem 0; padding: 0.5rem 0 0.5rem 1.1rem; border-left: 4px solid var(--red); color: var(--ink-2); font-style: italic; }
.prose a { color: var(--red-text-strong); }
.prose .align-center { text-align: center; }
.prose .align-right { text-align: right; }
.prose .align-justify { text-align: justify; }

.share { margin: 2.5rem 0 1.5rem; }
.share h2 { margin: 0 0 0.8rem; font-size: 1.1rem; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share-btn { display: inline-flex; align-items: center; padding: 0.55rem 1rem; border: 2px solid var(--black); border-radius: 999px; background: var(--white); font: inherit; font-weight: 700; font-size: 0.92rem; text-decoration: none; cursor: pointer; color: var(--black); }
.share-btn:hover { background: var(--black); color: var(--white); }
.s-wa:hover { background: #128c4b; border-color: #128c4b; ; color: #fff}
.s-li:hover { background: #0a66c2; border-color: #0a66c2; ; color: #fff}
.s-fb:hover { background: #1877f2; border-color: #1877f2; ; color: #fff}
.safety { font-size: 0.9rem; color: var(--ink-2); background: var(--soft); padding: 1rem 1.2rem; border-radius: 8px; }

.job-aside { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; } /* not sticky: leaves room for Google ads */
.job-aside .apply-card { position: static; }
.side-card { border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
.side-card h2 { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 800; }
.side-list .jc:last-child { border-bottom: 0; }
.side-more { display: inline-block; margin-top: 0.4rem; font-weight: 700; font-size: 0.9rem; }
.side-empty { font-size: 0.92rem; margin: 0.5rem 0; }
.apply-card { border: 1px solid var(--line); border-top: 4px solid var(--red); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.6rem; }
.apply-company { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.apply-salary { margin: 0.3rem 0 0; font-size: 1.2rem; font-weight: 900; letter-spacing: -0.01em; }
.apply-dl { margin: 0 0 0.3rem; color: var(--red-text); font-weight: 700; }
.apply-dl.closed { color: var(--grey); }
.mobile-apply { display: none; }

/* ---- Footer ---- */
.footer { border-top: 6px solid var(--black); margin-top: 3rem; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 2.5rem 1.25rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-links nav { text-align: left; }
.footer-brand p { color: var(--grey); max-width: 30ch; }
.footer nav { display: flex; flex-direction: column; gap: 0.35rem; }
.footer nav h2 { font-size: 0.95rem; margin: 0 0 0.4rem; }
.footer nav a { text-decoration: none; font-size: 0.92rem; color: var(--ink-2); }
.footer nav a:hover { color: var(--red-text); }
.footer-base { max-width: var(--wrap); margin: 0 auto; padding: 1rem 1.25rem 2rem; font-size: 0.85rem; color: var(--grey); border-top: 1px solid var(--line); text-align: center; }
.home .footer { margin-top: 0; }

/* =========================================================
   LOGIN
   ========================================================= */
body.auth { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 1.25rem; background: var(--soft); }
.auth-card { width: 100%; max-width: 400px; background: var(--white); padding: 2rem; border-top: 6px solid var(--red); }
.auth-card h1 { font-size: 1.5rem; margin: 1rem 0 1.25rem; }

/* =========================================================
   DASHBOARDS
   ========================================================= */
.app-bar { display: flex; align-items: center; gap: 1.5rem; padding: 0.9rem 1.5rem; border-bottom: 3px solid var(--black); flex-wrap: wrap; }
.app-bar nav { display: flex; gap: 1.25rem; flex: 1; flex-wrap: wrap; }
.app-bar nav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.who { display: flex; gap: 1rem; align-items: center; font-size: 0.9rem; }
.who form { margin: 0; }
.app-main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 1.9rem; letter-spacing: -0.02em; }
.count { display: inline-block; min-width: 1.8em; padding: 0 0.4em; background: var(--red); color: var(--on-red); border-radius: 999px; font-size: 1rem; text-align: center; vertical-align: middle; }
.section-title { margin: 2.5rem 0 1rem; }
.stats { display: flex; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.stats strong { font-size: 1.6rem; margin-right: 0.3rem; }
.empty { padding: 2.5rem; background: var(--soft); text-align: center; }
.empty p { margin-top: 0; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th { text-align: left; font-size: 0.85rem; color: var(--grey); padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--black); }
table.data td { padding: 0.9rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr.inactive td { color: var(--grey); }
.cell-job { display: flex; gap: 0.75rem; align-items: flex-start; }
.actions { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: flex-start; }
.actions form { margin: 0; }
.reason { font-size: 0.85rem; color: var(--red-text-strong); margin-top: 0.35rem; max-width: 30ch; }
.inline-reset { display: flex; gap: 0.4rem; }
.inline-reset input { margin: 0; width: 150px; padding: 0.35rem 0.5rem; font-size: 0.85rem; }
.filter-tabs { display: flex; gap: 0.25rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.filter-tabs a { padding: 0.5rem 0.9rem; text-decoration: none; font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.filter-tabs a.active { border-color: var(--red); }

.review-card { border: 2px solid var(--black); border-radius: 10px; padding: 1.5rem; margin-bottom: 1.25rem; }
.review-meta { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; font-size: 0.85rem; }
.review-head { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.review-head h2 { margin: 0; font-size: 1.4rem; }
.review-head p { margin: 0.2rem 0 0; }
.review-summary { font-size: 1.02rem; max-width: 75ch; }
.review-desc { margin: 1rem 0; }
.review-desc summary { cursor: pointer; font-weight: 700; color: var(--red-text-strong); }
.review-desc .prose { padding: 1rem 1.25rem; background: var(--soft); border-radius: 8px; margin-top: 0.75rem; font-size: 0.98rem; }
.apply-check { font-size: 0.9rem; word-break: break-all; }
.review-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.review-actions form { margin: 0; }
.reject-form { display: flex; gap: 0.5rem; flex: 1; min-width: 280px; }
.reject-form input { margin: 0; }

.job-form { max-width: 860px; }
.job-form fieldset { border: 0; border-top: 2px solid var(--black); padding: 1.25rem 0 0.5rem; margin: 0 0 1.25rem; }
.job-form legend { font-size: 1.15rem; font-weight: 900; padding: 0 0.6rem 0 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 1rem; }
.salary-row { grid-template-columns: 110px 1fr 1fr 150px; }
.logo-field { display: flex; gap: 1.25rem; align-items: flex-start; }
.logo-field > div:last-child { flex: 1; }
.level-hint { display: block; font-weight: 400; font-size: 0.82rem; color: var(--grey); margin-top: 0.3rem; }
.counter { font-weight: 400; color: var(--grey); font-size: 0.82rem; margin-left: 0.4rem; }
.counter-warn { color: var(--red-text); }

/* Editor */
.editor { border: 1.5px solid var(--input-line); border-radius: 8px; margin-bottom: 1rem; background: var(--input-bg); }
.editor:focus-within { border-color: var(--black); box-shadow: 0 0 0 3px rgba(220, 20, 28, 0.18); }
.editor-bar { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.4rem; border-bottom: 1px solid var(--line); background: var(--soft); border-radius: 8px 8px 0 0; position: sticky; top: 0; z-index: 2; }
.editor-group { display: flex; gap: 2px; padding-right: 0.3rem; margin-right: 0.1rem; border-right: 1px solid var(--line); }
.editor-group:last-child { border-right: 0; }
.editor-bar button { min-width: 34px; height: 34px; padding: 0 0.45rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; background: transparent; font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; color: var(--black); }
.editor-bar button:hover { background: var(--white); border-color: var(--line); }
.editor-bar button.on { background: var(--black); color: var(--white); }
.hl-icon { background: var(--mark-bg); padding: 0 0.3rem; border-radius: 2px; }
.editor-area { min-height: 320px; max-height: 70vh; overflow-y: auto; padding: 1rem 1.2rem; outline: none; font-size: 1rem; max-width: none; }
.editor-foot { padding: 0.35rem 0.8rem; font-size: 0.8rem; color: var(--grey); border-top: 1px solid var(--line); text-align: right; }

/* ---------- Contact page ---------- */
.contact-layout { max-width: var(--wrap); margin: 0 auto; padding: 3rem 1.25rem 3.5rem; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; }
.contact-ways { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.contact-ways li { display: flex; align-items: center; gap: 0.75rem; }
.contact-ways li > span:last-child { display: flex; flex-direction: column; }
.contact-ways strong { font-size: 0.85rem; color: var(--grey); }
.contact-ways a { font-weight: 700; font-size: 1.05rem; }
.footer-email { margin-top: 0.5rem; }
.attention { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin: 0 0 1.25rem; padding: 0.8rem 1rem; border-radius: 10px; background: var(--red-tint); border-left: 5px solid var(--red); }
.attention a { font-weight: 700; }
.setup-steps li { margin-bottom: 0.6rem; }
.setup-steps pre { background: var(--soft); padding: 0.8rem 1rem; border-radius: 8px; overflow-x: auto; font-size: 0.85rem; }
.footer-email a { font-weight: 700; }
.contact-note { margin-top: 2rem; padding: 1.25rem 1.4rem; border-left: 6px solid var(--red); background: var(--red-tint); }
.contact-note p { margin: 0.4rem 0 0; color: var(--ink-2); }
.contact-form-wrap { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 14px; padding: 1.75rem; box-shadow: var(--shadow); background: var(--white); }
.contact-job { background: var(--soft); padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1.25rem; }
.optional { font-weight: 400; color: var(--grey); }
.contact-privacy { margin: 0.9rem 0 0; }
.contact-sent h2 { margin-top: 0; font-size: 1.6rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Legal pages ---------- */
.legal .lede { color: var(--grey); font-size: 0.95rem; }
.legal .prose { margin-top: 2rem; }

/* ---------- 404 page ---------- */
.notfound-search { grid-template-columns: 1fr auto; margin: 2rem 0; }
.notfound-h { margin: 2.5rem 0 0.5rem; }

/* ---------- Admin: messages ---------- */
.msg { border: 1.5px solid var(--line); border-radius: 10px; padding: 1.1rem 1.25rem; margin-bottom: 0.9rem; }
.msg-unread { border: 2px solid var(--black); border-left: 6px solid var(--red); }
.msg-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.msg-head > div { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.msg-job { margin: 0.6rem 0 0; font-size: 0.92rem; }
.msg-body { margin: 0.75rem 0 1rem; max-width: 80ch; white-space: normal; }
.msg-note { font-size: 0.82rem; align-self: center; }
.app-bar .count { font-size: 0.75rem; min-width: 1.5em; }

@media (max-width: 1000px) {
    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
    .topbar .brand-word, :root[data-theme="dark"] .topbar img.brand-word { display: none !important; }
    .theme-toggle { width: 34px; height: 34px; }
    .brand .brand-mark { height: 34px; }
    .contact-form-wrap { padding: 1.25rem; box-shadow: 5px 5px 0 var(--red); }
    .notfound-search { grid-template-columns: 1fr; }
}

/* ---------- Verified badge ---------- */
.v-icon { flex-shrink: 0; }
.verified-pill { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; padding: 0.2rem 0.65rem 0.2rem 0.5rem; border-radius: 999px; background: var(--soft); color: var(--black); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.verified-pill .v-icon { color: #13894a; }
a.verified-pill:hover { background: var(--black); color: var(--white); }
a.verified-pill:hover .v-icon { color: currentColor; }
.job-company a { color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--line); }
.job-company a:hover { color: var(--red-text); border-color: currentColor; }
.apply-company a { color: inherit; text-decoration: none; }
.apply-company a:hover { color: var(--red-text); }

/* ---------- Documents checklist ---------- */
.docs { margin: 2.25rem 0; }
.docs-warn { background: var(--red-tint); border-left: 4px solid var(--red); padding: 0.7rem 1rem; margin: 0 0 1rem; font-weight: 600; }
.doc-list { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--line); border-radius: 10px; }
.doc-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.doc-list li:last-child { border-bottom: 0; }
.doc-list li > span:nth-child(2) { font-weight: 700; flex: 1; min-width: 12rem; }
.doc-list a { font-size: 0.9rem; font-weight: 600; color: var(--red-text-strong); }
.doc-tick { width: 18px; height: 18px; border: 2px solid var(--black); border-radius: 4px; flex-shrink: 0; }
.doc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.1rem 1rem; }
.doc-checks .check { margin-bottom: 0.5rem; }
.hint-top { margin: -0.25rem 0 1rem; }
.calendar-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 1.5rem 0; font-weight: 600; font-size: 0.95rem; }
.source-link { font-size: 0.92rem; color: var(--grey); margin: 1rem 0; }

/* ---------- Guides, articles, trust pages ---------- */
.guide-list, .article-list { display: grid; gap: 0.9rem; margin: 2rem 0; }
.article-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0; }
.guide-card, .article-card, .tool-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 1.25rem; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--black); }
.guide-card:hover, .article-card:hover, .tool-card:hover { border-color: var(--black); color: var(--black); }
.guide-card strong, .article-card strong, .tool-card strong { font-size: 1.08rem; }
.guide-card span, .article-card span, .tool-card span { color: var(--ink-2); font-size: 0.95rem; }
.guide-card em, .article-card em:not(.alert-pill) { color: var(--grey); font-style: normal; font-size: 0.85rem; }
.guide-meta { color: var(--grey); font-size: 0.92rem; margin: 0.75rem 0 2rem; }
.guide-note { background: var(--soft); border-radius: 8px; padding: 0.9rem 1.1rem; font-size: 0.92rem; margin: 2rem 0; }
.article-page .page-title { margin-top: 0.5rem; }
.alert-pill { display: inline-block; align-self: flex-start; background: var(--red); color: var(--on-red); font-size: 0.75rem; font-weight: 800; font-style: normal; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.15rem 0.55rem; border-radius: 4px; margin: 0; }
.news-pill { background: var(--black); color: var(--white); }
.section-switch { margin-top: 2rem; color: var(--grey); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.9rem; }
.tool-card { border-width: 2px; border-color: var(--black); }
.tool-card:hover { border-color: var(--red); }

/* ---------- Company pages ---------- */
.company-head { display: flex; gap: 1.25rem; align-items: center; margin: 1rem 0 2rem; }
.company-head .page-title { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.company-count { margin: 0.3rem 0 0; font-size: 0.9rem; }
.az { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 1.5rem 0; }
.az a { min-width: 2rem; text-align: center; padding: 0.3rem 0.5rem; border: 1.5px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 700; }
.az a:hover { border-color: var(--black); }
.az-group h2 { font-size: 1.3rem; border-bottom: 2px solid var(--black); padding-bottom: 0.3rem; margin: 2rem 0 0.5rem; }
.company-list { list-style: none; padding: 0; margin: 0; }
.company-list a { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--black); }
.company-list a span { flex: 1; font-weight: 700; }
.company-list a em { font-style: normal; color: var(--grey); font-size: 0.9rem; }
.company-list a:hover span { color: var(--red-text); }

/* ---------- Scam checker ---------- */
.scam-form { margin: 2rem 0; }
.scam-q { border: 1.5px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; margin: 0 0 0.75rem; }
.scam-q legend { font-weight: 700; padding: 0; float: left; width: 100%; margin-bottom: 0.7rem; }
.yn { display: flex; gap: 0.5rem; flex-wrap: wrap; clear: both; }
.yn label { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; padding: 0.4rem 0.9rem; border: 1.5px solid var(--input-line); border-radius: 999px; font-weight: 600; cursor: pointer; }
.yn input { margin: 0; }
.yn label:has(input:checked) { background: var(--black); color: var(--white); border-color: var(--black); }
.scam-result { border: 3px solid var(--black); border-radius: 12px; padding: 1.5rem; margin: 2rem 0; scroll-margin-top: 90px; }
.scam-result h2 { margin-top: 0; font-size: 1.5rem; }
.scam-result ul { color: var(--ink-2); }
.scam-high { border-color: var(--red); background: var(--red-tint); }
.scam-high h2 { color: var(--red-text-strong); }
.scam-medium { border-color: #c77700; }
.scam-ok { border-color: #13894a; }
.scam-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.scam-tips { margin-top: 2.5rem; }

/* ---------- Dashboard: stats, reports, share kit ---------- */
.import-list { columns: 2; font-size: 0.9rem; margin: 0 0 1.5rem; }
.checklist li { margin-bottom: 0.5rem; }
.stat-line { display: inline-block; margin-top: 0.3rem; font-size: 0.8rem; color: var(--grey); white-space: nowrap; }
.stat-line strong { color: var(--black); }
.report-filters { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1.5rem; }
.report-filters label { margin: 0; min-width: 200px; }
.report { border: 1.5px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.report-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.report-head h2 { margin: 0; font-size: 1.35rem; }
.report-head p { margin: 0.2rem 0 0; }
.report-logo { height: 60px; width: auto; }
:root[data-theme="dark"] .report-logo { content: url('/assets/brand/logo-dark.png'); }
.report-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.report-kpis div { background: var(--soft); border-radius: 10px; padding: 1rem; }
.report-kpis strong { display: block; font-size: 1.8rem; line-height: 1.1; }
.report-kpis span { color: var(--grey); font-size: 0.85rem; }
.report-chart { display: flex; align-items: flex-end; gap: 2px; height: 120px; padding: 0.5rem 0; border-bottom: 1.5px solid var(--line); }
.report-chart .bar { flex: 1; height: 100%; display: flex; align-items: flex-end; position: relative; }
.bar-v, .bar-c { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 2px 2px 0 0; }
.bar-v { background: var(--line); }
.bar-c { background: var(--red); left: 20%; right: 20%; }
.chart-key { font-size: 0.82rem; color: var(--grey); display: flex; gap: 0.4rem 1rem; align-items: center; margin: 0.5rem 0 1.25rem; }
.chart-key span { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: -0.6rem; }
.k-v { background: var(--line); } .k-c { background: var(--red); }
td.num, th.num { text-align: right; white-space: nowrap; }
.report-foot { font-size: 0.8rem; margin: 1rem 0 0; }
.share-kit { border: 2px solid var(--black); border-radius: 12px; padding: 1.25rem; margin-bottom: 2rem; }
.share-kit-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.share-kit-head h2 { margin: 0; font-size: 1.2rem; }
.digest { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.88rem; line-height: 1.5; background: var(--soft); }
.caption-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.9rem; }
.caption-card { border: 1.5px solid var(--line); border-radius: 10px; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.caption-card pre { white-space: pre-wrap; font-family: inherit; font-size: 0.88rem; margin: 0; background: var(--soft); padding: 0.75rem; border-radius: 6px; flex: 1; overflow-wrap: anywhere; }
.caption-card .btn { align-self: flex-start; }
.f-salary { display: flex; align-items: center; margin: 0; font-weight: 600; white-space: nowrap; }

@media print {
    .app-bar, .no-print, .notice, .theme-toggle { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .app-main { padding: 0; max-width: none; }
    .report { border: 0; padding: 0; }
    .report-kpis div { border: 1px solid #ccc; }
    .report-chart .bar-c, .k-c { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- WhatsApp channel ---------- */
.btn-wa { display: inline-flex; align-items: center; gap: 0.45rem; }
.wa-icon { flex-shrink: 0; }
.footer-wa { margin-top: 0.5rem; }
.wa-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding: 1rem 1.2rem; border: 2px solid #128c4b; border-radius: 10px; }
.wa-strip strong { display: block; }
.wa-strip span { color: var(--ink-2); font-size: 0.92rem; }


/* ---------- Job cards: pills, title, short summary, key facts ---------- */
.job-list:has(.jc-row) { border-top: 0; display: grid; gap: 0.85rem; }
.jc-row { padding: 1.15rem 1.25rem; gap: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.jc-row:hover { border-color: var(--input-line); box-shadow: var(--shadow); }
.jc-row .logo-img { border-radius: 14px; }
.jc .ico { flex-shrink: 0; }
.jc-pills { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0 0 0.4rem; }
.pill { display: inline-block; padding: 0.12rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1.45; }
.p-green  { background: #e3f6ea; color: #10703c; }
.p-purple { background: #ece8fd; color: #4b33c4; }
.p-amber  { background: #fdf0d9; color: #8a5300; }
.p-blue   { background: #e3effd; color: #1d55a8; }
.p-teal   { background: #def5f3; color: #0c6b63; }
.p-red    { background: var(--red-tint); color: var(--red-text-strong); }
.p-grey   { background: var(--soft); color: var(--ink-2); }
.p-dark   { background: var(--black); color: var(--white); }
:root[data-theme="dark"] .p-green  { background: rgba(46, 190, 110, 0.16); color: #7fe0a8; }
:root[data-theme="dark"] .p-purple { background: rgba(140, 115, 255, 0.18); color: #c3b6ff; }
:root[data-theme="dark"] .p-amber  { background: rgba(240, 170, 50, 0.16); color: #f5c876; }
:root[data-theme="dark"] .p-blue   { background: rgba(80, 150, 255, 0.16); color: #9cc4ff; }
:root[data-theme="dark"] .p-teal   { background: rgba(40, 200, 180, 0.15); color: #7fded2; }
.jc-row .jc-title { font-size: 1.15rem; }
.jc-at { font-weight: 700; color: var(--ink-2); }
.jc-row:hover .jc-at { color: inherit; }
.jc-excerpt { margin: 0.55rem 0 0; padding: 0.6rem 0.8rem; background: var(--soft); border-radius: 10px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.5; }
.jc-excerpt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jc-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.jc-meta .ico { color: var(--grey); opacity: 0.85; }
.jc-row .jc-meta { margin-top: 0.6rem; gap: 0.35rem 1rem; }
.jc-closes { font-weight: 600; color: var(--ink-2); }
.jc-closes.urgent { color: var(--red-text); font-weight: 700; }
.jc-company { display: flex; align-items: center; gap: 0.3rem; }
.jc-pay { margin: 0.55rem 0 0; }
.jc-salary { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--red-tint); color: var(--red-text-strong); font-weight: 700; font-size: 0.85rem; }
.jc-row .jc-side { align-self: stretch; justify-content: space-between; gap: 0.5rem; }
.jc-new { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #1d55a8; border: 1px solid currentColor; border-radius: 4px; padding: 0.05rem 0.4rem; }
:root[data-theme="dark"] .jc-new { color: #9cc4ff; }
.jc-verified { display: inline-flex; align-items: center; gap: 0.25rem; color: #13894a; font-size: 0.78rem; font-weight: 700; margin-top: auto; }
.jc-verified .v-icon { width: 15px; height: 15px; }

/* ---------- Homepage hero (soft panel, icon search, popular searches, icon trust list) ---------- */
.home .hero3 { background: var(--soft); box-shadow: 0 0 0 100vmax var(--soft); clip-path: inset(0 -100vmax); padding-bottom: 3.25rem; }
.eyebrow { margin: 0 0 0.9rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-text); }
.home .bigsearch { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 0.4rem; gap: 0.4rem; }
.home .bigsearch label { position: relative; display: flex; align-items: center; }
.home .bigsearch label .ico { position: absolute; left: 0.9rem; color: var(--grey); pointer-events: none; }
.home .bigsearch input, .home .bigsearch select { padding-left: 2.75rem; background: transparent; width: 100%; }
.home .bs-loc { border-left: 1px solid var(--line); }
.home .bigsearch .btn { border-radius: 10px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.5rem; margin-top: 1rem; font-size: 0.88rem; }
.popular > span { color: var(--grey); font-weight: 600; margin-right: 0.15rem; }
.popular a { text-decoration: none; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.popular a:hover { border-color: var(--red); color: var(--red-text); }
.home .trust { border-left: 0; padding: 1.4rem; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); }
.trust-grid { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem !important; }
.trust-grid li { font-size: 0.88rem; color: var(--grey); line-height: 1.4; }
.trust-grid li strong { display: block; color: var(--black); font-size: 0.95rem; margin-bottom: 0.15rem; }
.trust-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); color: var(--red-text); margin-bottom: 0.5rem; }



/* ---------- Jobs list: search bar, filter sidebar, results bar ---------- */
.list-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.5rem 2rem; align-items: start; }
.list-search { grid-column: 1 / -1; display: flex; gap: 0.4rem; padding: 0.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.list-search label { flex: 1; position: relative; display: flex; align-items: center; margin: 0; }
.list-search .ico { position: absolute; left: 0.9rem; color: var(--grey); pointer-events: none; }
.list-search input { margin: 0; border: 0; padding: 0.85rem 0.9rem 0.85rem 2.75rem; font-size: 1.02rem; background: transparent; }
.list-search .btn { border-radius: 10px; padding: 0 1.6rem; }
.filter-side { position: sticky; top: 80px; }
.filter-box { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.filter-box summary { display: flex; align-items: center; gap: 0.5rem; padding: 0.95rem 1.1rem; font-weight: 800; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); }
.filter-box summary::-webkit-details-marker { display: none; }
.filter-box:not([open]) summary { border-bottom: 0; }
.f-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; padding: 0 0.35rem; border-radius: 999px; background: var(--red); color: var(--on-red); font-size: 0.78rem; }
.filter-fields { display: grid; gap: 0.95rem; padding: 1.1rem; }
.filter-fields label { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--ink-2); }
.filter-fields select { margin-top: 0.35rem; padding: 0.6rem; font-size: 0.92rem; }
.filter-fields .check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.filter-fields .f-clear { font-size: 0.88rem; font-weight: 700; text-align: center; }
.js .f-apply { display: none; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.results-bar p { margin: 0; color: var(--grey); }
.results-bar p strong { color: var(--black); font-size: 1.05rem; }
.results-bar label { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.88rem; color: var(--grey); font-weight: 600; }
.results-bar select { margin: 0; width: auto; padding: 0.45rem 0.6rem; font-size: 0.9rem; }


/* ---------- Wider content pages (companies, career advice) ---------- */
.page-wide { max-width: var(--wrap); margin: 0 auto; padding: 3rem 1.25rem; }
.section-sub { font-size: 1.3rem; margin: 2.25rem 0 1rem; }

/* Job page: icons beside each key fact */
.facts dt { display: flex; align-items: center; gap: 0.35rem; }
.facts dt .ico { color: var(--red-text); }

/* ---------- Companies page: search, type filter, logo cards ---------- */
.co-tools { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between; margin: 1.5rem 0 1.25rem; }
.co-tools[hidden] { display: none; }
.co-search { position: relative; display: flex; align-items: center; margin: 0; flex: 1 1 260px; max-width: 380px; }
.co-search .ico { position: absolute; left: 0.8rem; color: var(--grey); pointer-events: none; }
.co-search input { margin: 0; padding: 0.65rem 0.8rem 0.65rem 2.4rem; border-radius: 10px; }
.co-types { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.co-types button { font: inherit; font-size: 0.88rem; font-weight: 700; padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; }
.co-types button span { color: var(--grey); font-weight: 600; margin-left: 0.15rem; }
.co-types button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--on-red); }
.co-types button[aria-pressed="true"] span { color: var(--on-red); opacity: 0.85; }
.co-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.9rem; }
.co-grid li[hidden] { display: none; }
.co-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; height: 100%; padding: 1.4rem 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-decoration: none; color: var(--black); }
.co-card:hover { border-color: var(--input-line); box-shadow: var(--shadow); color: var(--black); }
.co-card .logo-img { margin-bottom: 0.35rem; }
.co-card strong { font-size: 0.98rem; line-height: 1.25; }
.co-verified { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.76rem; font-weight: 700; color: #13894a; background: rgba(19, 137, 74, 0.1); padding: 0.12rem 0.5rem; border-radius: 999px; }
.co-verified .v-icon { width: 13px; height: 13px; }
.co-n { margin-top: auto; padding-top: 0.25rem; font-size: 0.85rem; font-weight: 700; color: var(--red-text); }

/* ---------- Career advice hub: topic tiles and article cards ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.75rem; }
.topic { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.55rem; padding: 1.1rem 0.75rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--black); background: var(--white); }
.topic:hover { border-color: var(--input-line); box-shadow: var(--shadow); color: var(--black); }
.topic-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--red-tint); color: var(--red-text); }
.topic.is-current { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--black); background: var(--white); }
.post-card:hover { border-color: var(--input-line); box-shadow: var(--shadow); color: var(--black); }
.post-band { display: flex; align-items: center; justify-content: center; height: 96px; background: var(--soft); color: var(--grey); }
.post-scams .post-band { background: var(--red-tint); color: var(--red-text); }
.post-body { display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.post-pill { align-self: flex-start; font-style: normal; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red-text); }
.post-body strong { font-size: 1.05rem; line-height: 1.3; }
.post-body > span { color: var(--ink-2); font-size: 0.92rem; }
.post-body small { margin-top: auto; padding-top: 0.4rem; color: var(--grey); font-size: 0.82rem; }

/* ---------- Ads: always labelled, kept apart from buttons and links ---------- */
.ad-slot { display: block; margin: 1.75rem 0; padding: 0.5rem 0 0.75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 120px; clear: both; }
.ad-label { display: block; margin-bottom: 0.4rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); text-align: center; }
.job-list .ad-infeed { margin: 0.25rem 0; border: 1px dashed var(--line); border-radius: 14px; padding: 0.6rem 0.8rem; }
.job-aside .ad-display { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 0.6rem; min-height: 250px; }
.band-ad { padding-top: 1.5rem; padding-bottom: 1.5rem; }
/* If Google has no ad to show, hide the empty box and its label */
.ad-slot:has(ins[data-ad-status="unfilled"]), .band-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.band-ad .ad-slot { margin: 0; }

/* Job page: CV help box */
.cv-promo { display: flex; align-items: center; gap: 0.9rem; margin: 1.5rem 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.cv-promo p { margin: 0; flex: 1; font-size: 0.93rem; color: var(--ink-2); }
.cv-promo strong { color: var(--black); display: block; }


/* ---------- CV writing service page ---------- */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: 2.5rem; border-radius: 18px; background: var(--soft); }
.svc-hero .page-title { margin-top: 0; }
.svc-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.svc-alt { margin: 1rem 0 0; color: var(--grey); font-size: 0.92rem; }
.svc-points { list-style: none; margin: 0; padding: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); }
.svc-points li { font-size: 0.88rem; color: var(--grey); line-height: 1.4; }
.svc-points strong { display: block; color: var(--black); font-size: 0.95rem; margin: 0.45rem 0 0.15rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.svc-card h3 { margin: 0; font-size: 1.1rem; }
.svc-card p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.svc-card .svc-price { margin-top: auto; padding-top: 0.5rem; font-weight: 800; color: var(--black); }
.svc-card .btn { align-self: flex-start; }
.svc-pop { border: 2px solid var(--red); }
.svc-badge { position: absolute; top: -0.7rem; left: 1.2rem; background: var(--red); color: var(--on-red); font-size: 0.72rem; font-weight: 800; padding: 0.15rem 0.6rem; border-radius: 999px; }
.svc-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.svc-steps li { counter-increment: s; padding: 1.2rem; border-radius: 14px; background: var(--soft); color: var(--grey); font-size: 0.9rem; }
.svc-steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--on-red); font-weight: 800; margin-bottom: 0.6rem; }
.svc-steps strong { display: block; color: var(--black); font-size: 1rem; margin-bottom: 0.2rem; }
.svc-request { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 3rem; align-items: start; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc-request-intro h2 { margin-top: 0; font-size: 1.8rem; }
.svc-request-intro p { color: var(--ink-2); }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); }
.consent input { margin-top: 0.2rem; }
.faq { display: grid; gap: 0.6rem; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1.1rem; background: var(--white); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 0.6rem 0 0; color: var(--ink-2); }

/* ---------- Homepage: job-type tiles ---------- */
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; }
.type-tile { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.85rem; padding: 1rem 1.1rem; border: 2px solid var(--black); border-radius: 10px; text-decoration: none; color: var(--black); background: var(--white); }
.type-tile:hover { border-color: var(--red); color: var(--black); }
.type-tile:hover .type-icon { background: var(--red); color: var(--on-red); }
.type-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--red-tint); color: var(--red-text); flex-shrink: 0; }
.type-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.type-text strong { font-size: 1rem; }
.type-text span { color: var(--grey); font-size: 0.85rem; margin-top: 0.15rem; }
.type-n { font-weight: 900; font-size: 1.35rem; font-stretch: 108%; letter-spacing: -0.02em; color: var(--red-text); }

/* ---------- Homepage: Kenya / worldwide tabs ---------- */
.tabs { display: flex; gap: 0.5rem; margin: -0.25rem 0 0.5rem; border-bottom: 2px solid var(--line); }
.tabs[hidden] { display: none; }
.tabs button { font: inherit; font-weight: 700; font-size: 1rem; padding: 0.7rem 1rem; margin-bottom: -2px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--grey); cursor: pointer; }
.tabs button span { display: inline-block; margin-left: 0.3rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--soft); color: var(--ink-2); font-size: 0.8rem; font-weight: 800; }
.tabs button:hover { color: var(--black); }
.tabs button[aria-selected="true"] { color: var(--black); border-bottom-color: var(--red); }
.tabs button[aria-selected="true"] span { background: var(--red); color: var(--on-red); }
.tabs button:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.tab-panel:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.tab-panel + .tab-panel { margin-top: 2.5rem; }
.panel-title { font-size: 1.25rem; margin: 0 0 0.25rem; }
.js-tabs .panel-title { display: none; }
.js-tabs .tab-panel + .tab-panel { margin-top: 0; }
.js-tabs .tab-panel .job-list { border-top: 0; }
.tabs { margin-bottom: 0; }
.tab-panel[hidden] { display: none; }

/* ---------- Homepage: organisations hiring now ---------- */
.org-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.9rem; }
.org { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.45rem; height: 100%; padding: 1.1rem 0.75rem; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--black); }
.org:hover { border-color: var(--black); color: var(--black); }
.org strong { font-size: 0.92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.org span:last-child { font-size: 0.82rem; color: var(--red-text); font-weight: 700; margin-top: auto; }

/* Softer cards everywhere on the homepage */
.type-tile, .rail-card, .tool-card { border: 1px solid var(--line); border-radius: 12px; }
.type-tile:hover, .rail-card:hover, .tool-card:hover { border-color: var(--input-line); box-shadow: var(--shadow); }
.js-tabs .tab-panel .job-list { margin-top: 1rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
    .hero3 { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; align-items: start; }
    .browse { grid-template-columns: 1fr; gap: 2rem; }
    .filters { grid-template-columns: 1fr 1fr; position: static; }
    .f-search { grid-column: 1 / -1; }
    .job-layout { grid-template-columns: 1fr; }
    .apply-card { position: static; }
    .employers-inner { grid-template-columns: 1fr; }
    .employers-actions { justify-content: flex-start; }
    .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .list-grid { grid-template-columns: 1fr; gap: 1rem; }
    .svc-hero, .svc-request { grid-template-columns: 1fr; gap: 2rem; }
    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filter-side { position: static; }
    .org-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .topbar nav { gap: 0.3rem !important; }
    .nav-link { font-size: 0.88rem; padding: 0.35rem 0.5rem; }
    .nav-link.nav-cta { padding: 0.3rem 0.55rem; }
    .nav-menu { position: static; }
    .nav-panel, .nav-panel-end, .nav-panel-wide { position: fixed; top: 62px; left: 0.75rem; right: 0.75rem; width: auto; min-width: 0; max-height: calc(100vh - 80px); overflow-y: auto; }
    .nav-panel-wide { flex-direction: column; gap: 0; }
    .topbar nav .nav-extra { display: none; }
    .topbar nav a { font-size: 0.9rem; }
    .hide-sm { display: none; }
    .hero3 { padding: 1.75rem 1.25rem 1.5rem; gap: 1.5rem; }
    .hero3-sub { margin: 0.75rem 0 1.25rem; font-size: 1.02rem; }
    .trust { padding-left: 1rem; }
    .trust ul { display: none; }
    .home .trust { padding: 1rem 1.1rem; }
    .home .trust .trust-grid { gap: 0.75rem !important; margin-top: 0.8rem; }
    .trust-d { display: none; }
    .trust-grid li { display: flex; align-items: center; gap: 0.5rem; }
    .trust-grid li strong { margin: 0; font-size: 0.85rem; }
    .trust-ico { width: 32px; height: 32px; margin: 0; flex-shrink: 0; }
    .home .bs-loc { border-left: 0; border-top: 1px solid var(--line); }
    .popular a:nth-of-type(n+4) { display: none; }
    .band { padding: 2rem 1.25rem; }
    .bigsearch { grid-template-columns: 1fr; }
    .bs-loc { border-left: 0; border-top: 2px solid var(--line); }
    .bigsearch .btn { padding: 0.9rem; }
    .jc { flex-wrap: wrap; }
    .jc-side { width: 100%; flex-direction: row; align-items: center; padding-left: calc(52px + 1rem); margin-top: -0.4rem; }
    .jc-side .tag { display: none; }
    .jc-row { padding: 0.95rem 1rem; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0; align-items: start; position: relative; }
    .jc-row .jc-body { display: contents; }
    .jc-row > .logo-img { grid-row: 1 / span 2; }
    .jc-row .jc-pills, .jc-row .jc-title { grid-column: 2; }
    .jc-row .jc-pills { margin-bottom: 0.3rem; }
    .jc-row .jc-excerpt, .jc-row .jc-meta, .jc-row .jc-pay { grid-column: 1 / -1; }
    .jc-row .logo-img { width: 46px !important; height: 46px !important; font-size: 17px !important; border-radius: 10px; }
    .jc-row .jc-side { position: absolute; top: 0.9rem; right: 0.9rem; width: auto; padding: 0; margin: 0; }
    .jc-row .jc-verified { display: none; }
    .jc-row .jc-title { font-size: 1.04rem; }
    .jc-row:has(.jc-new) .jc-pills, .jc-row:has(.jc-new) .jc-title { padding-right: 2.8rem; }
    .jc-row .jc-meta { gap: 0.3rem 0.8rem; font-size: 0.82rem; }
    .jc-excerpt { font-size: 0.86rem; }
    .list-search .btn { padding: 0 1rem; }
    .page-wide { padding: 2rem 1.25rem; }
    .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-grid { grid-template-columns: 1fr; }
    .co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
    .co-search { max-width: none; }
    .list-search input { padding-right: 0.4rem; }
    .jc-mini .jc-side { padding-left: calc(40px + 0.75rem); }
    .job-head { flex-direction: column; gap: 1rem; }
    .job-head .logo-img { width: 64px !important; height: 64px !important; }
    .salary-row { grid-template-columns: 1fr 1fr; }
    .logo-field { flex-direction: column; }
    .footer-inner { flex-direction: column; }
    .footer-links { gap: 2rem 2.5rem; }
    .job-view { padding-bottom: 76px; }
    .mobile-apply { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 0.75rem; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; background: var(--white); border-top: 2px solid var(--black); }
    .mobile-apply div { min-width: 0; display: flex; flex-direction: column; }
    .mobile-apply strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.95rem; }
    .mobile-apply span { font-size: 0.82rem; color: var(--red-text); font-weight: 700; }
    .app-bar { gap: 0.75rem; }
    .type-grid { grid-template-columns: 1fr; gap: 0.6rem; }
    .cv-promo { flex-wrap: wrap; }
    .svc-hero { padding: 1.4rem; }
    .svc-points { grid-template-columns: 1fr; padding: 1.1rem; }
    .svc-grid, .svc-steps { grid-template-columns: 1fr; }
    .type-tile { padding: 0.7rem 0.9rem; }
    .type-text span { display: none; }
    .type-icon { width: 38px; height: 38px; }
    .tabs button { padding: 0.65rem 0.6rem; font-size: 0.95rem; }
    .org-strip { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
    .org-strip li { scroll-snap-align: start; }
}

/* ---------- Sharing the review work ---------- */
.share-work { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; margin: 0 0 1.25rem; background: var(--soft); border-radius: 12px; }
.share-work > div { flex: 1 1 320px; }
.share-work h2 { font-size: 1.1rem; margin: 0 0 0.25rem; }
.share-work p { margin: 0; }
.share-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.share-people { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.share-people .check { margin: 0; font-weight: 600; }
.share-people a { font-weight: 400; text-decoration: none; }
.tab-count { display: inline-block; min-width: 1.6em; padding: 0 0.4rem; border-radius: 999px; background: var(--soft); font-size: 0.78rem; text-align: center; }
.filter-tabs { flex-wrap: wrap; }
.bulk-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center; padding: 0.6rem 0.9rem; margin: 0 0 1rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.bulk-bar .check { margin: 0; font-weight: 700; }
.bulk-bar select, .bulk-bar input[name="bulk_reason"] { width: auto; min-width: 12rem; margin: 0; }
.bulk-bar input[name="bulk_reason"] { flex: 1 1 14rem; }
.review-pick { margin: 0 0.25rem 0 0; }
.review-pick input { width: 1.15rem; height: 1.15rem; }
.review-card.review-ready { border-color: #10703c; }
.review-card:has([data-bulk-item]:checked) { outline: 3px solid var(--red); outline-offset: 2px; }
.soon { color: var(--red-text-strong); font-weight: 800; }
.form-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.form-note { flex: 1 1 100%; order: -1; margin: 0; }
@media (max-width: 640px) {
    .bulk-bar select, .bulk-bar input[name="bulk_reason"] { min-width: 0; flex: 1 1 100%; }
}

/* ---------- Job alerts ---------- */
.alert-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; text-decoration: none; color: var(--red-text); }
.alert-link:hover { text-decoration: underline; }
.alert-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin: 1rem 0 1.5rem; padding: 0.75rem 1rem; border: 1.5px dashed var(--line); border-radius: 10px; font-size: 0.95rem; }
.alert-strip a { font-weight: 700; }
.alerts-hero { margin-bottom: 0; }
.alerts-done { max-width: 640px; margin: 2rem auto; text-align: center; }
.alerts-done .trust-ico { margin: 0 auto 0.5rem; }
.alerts-done .btn { margin: 0.25rem; }
.alert-preview { padding: 0.75rem 1rem; background: var(--soft); border-radius: 10px; }
.alert-list { list-style: none; margin: 1.5rem 0; padding: 0; border-top: 1px solid var(--line); }
.alert-list li { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.alert-list li > div { flex: 1 1 280px; }
.alert-freq select { width: auto; margin: 0; }
