
/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Brand Tokens ── */
:root {
  color-scheme: light;        /* backstop: keep form controls & UA surfaces light */
  --brand:        #0861A9;
  --brand-dark:   #064A85;
  --brand-deep:   #0A2F57;
  --brand-light:  #E6F0F8;
  --accent:       #ED9020;
  --accent-dark:  #C8770E;
  --text:         #141926;
  --muted:        #5b6577;
  --bg:           #f5f7fb;
  --white:        #ffffff;
  --border:       #e2e8f2;
  --success:      #16a34a;
  --radius:       10px;
  --shadow:       0 2px 14px rgba(10,47,87,.08);
  --shadow-lg:    0 14px 40px rgba(10,47,87,.16);
  --transition:   .18s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, .nav-logo, .display { font-family: 'Sora', 'Inter', sans-serif; letter-spacing: -.02em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section   { padding: 76px 0; }
.sr-only   { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.text-center   { text-align: center; }
.mb-4  { margin-bottom: 4px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }

.ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-light); padding: 5px 13px;
  border-radius: 20px; margin-bottom: 14px;
}
.section-label svg { width: 13px; height: 13px; }
.section-title {
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 12px;
}
.section-title span { color: var(--brand); }
.section-sub { color: var(--muted); font-size: .95rem; max-width: 560px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent;
  transition: var(--transition); text-decoration: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary  { background: var(--brand);  color: var(--white); border-color: var(--brand); }
.btn-primary:hover  { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; }
.btn-outline  { background: transparent; color: var(--brand); border-color: var(--border); }
.btn-outline:hover  { background: var(--brand); color: var(--white); border-color: var(--brand); text-decoration: none; }
.btn-accent   { background: var(--accent); color: var(--brand-deep); border-color: var(--accent); }
.btn-accent:hover   { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--brand-deep); text-decoration: none; }
.btn-white    { background: var(--white); color: var(--brand); border-color: var(--white); }
.btn-white:hover    { background: var(--brand-light); text-decoration: none; }
.btn-sm       { padding: 8px 14px; font-size: .78rem; }
.btn-lg       { padding: 14px 32px; font-size: .95rem; }

.btn-closed {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  flex: 1; padding: 10px; font-size: .82rem; min-height: 44px;
  border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--muted);
  background: var(--bg); cursor: not-allowed;
}
.btn-closed svg { width: 14px; height: 14px; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 600; }
.badge svg { width: 12px; height: 12px; }
.badge-blue  { background: var(--brand-light); color: var(--brand); }
.badge-featured {
  background: var(--accent); color: var(--brand-deep);
  font-size: .68rem; font-weight: 700; padding: 4px 11px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 5px; letter-spacing: .03em;
}
.badge-featured svg { width: 12px; height: 12px; }

/* Closed position card */
.job-card--fired { opacity: .85; }
.job-card--fired .job-title { color: var(--muted); }
.job-salary--fired { color: var(--muted); text-decoration: line-through; }
.badge-fired {
  background: #fdecec; color: #b91c1c;
  font-size: .68rem; font-weight: 600; padding: 3px 10px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 5px;
}
.badge-fired svg { width: 11px; height: 11px; }

.badge-verified {
  background: var(--brand); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--brand);
}
.badge-verified svg { width: 12px; height: 12px; }

.ai-badge--ai    { background: var(--brand-light); color: var(--brand); }

/* Skip link */
.skip-link {
  position: absolute; top: -50px; left: 16px;
  background: var(--brand); color: var(--white);
  padding: 8px 16px; border-radius: 0 0 6px 6px;
  font-weight: 600; z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ══ NAVBAR ══ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(10,47,87,.06);
  padding-top: env(safe-area-inset-top, 0);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { font-size: .85rem; font-weight: 500; color: var(--text); transition: color var(--transition); }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
/* Nav dropdowns */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 500; color: var(--text);
  background: none; border: none; cursor: pointer; padding: 0;
  transition: color var(--transition);
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded="true"] { color: var(--brand); }
.nav-caret { width: 13px; height: 13px; transition: transform var(--transition); }
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 210px; background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 14px 40px rgba(10,47,87,.16);
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.nav-dropdown-menu::before { content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: .85rem; font-weight: 500; color: var(--text); white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--brand-light); color: var(--brand); text-decoration: none; }
/* Mobile nav groups */
.mob-group { display: flex; flex-direction: column; }
.mob-group-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 0; margin-top: 6px; }
.mob-group a { padding-left: 14px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { padding: 8px 16px; font-size: .82rem; }
.nav-actions .btn-primary:hover,
.nav-actions .btn-primary:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--brand-deep); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); line-height: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.mobile-nav { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom, 0); }
.mobile-nav a { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .9rem; font-weight: 500; color: var(--text); min-height: 48px; display: flex; align-items: center; }
.mobile-nav a:hover { background: var(--bg); text-decoration: none; }
.mobile-nav.open { display: flex; }
.mobile-nav-cta { color: var(--brand) !important; font-weight: 700 !important; }

/* ══ HERO ══ */
.hero {
  background:
    radial-gradient(ellipse 70% 60% at 82% 20%, rgba(245,160,32,.16) 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 10% 90%, rgba(8,97,169,.34) 0%, transparent 55%),
    linear-gradient(160deg, #0A2F57 0%, #064A85 55%, #0861A9 100%);
  color: var(--white);
  padding: 64px 0 0;
  padding-top: max(64px, calc(64px + env(safe-area-inset-top, 0px)));
  position: relative; overflow: hidden;
}
/* Signature: a faint grid of "open roles" that drifts upward behind the hero */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%);
}
/* Signature: the logo's magnifying-glass-as-person mark, scaled up as a hero graphic */
.hero-motif {
  position: absolute; top: 46%; right: -50px; transform: translateY(-50%);
  width: min(500px, 44vw); height: auto; pointer-events: none; z-index: 0;
  opacity: .55;
}
.hero-motif .ring { animation: motif-float 7s ease-in-out infinite; transform-origin: center; }
.hero-motif .head { animation: motif-bob 7s ease-in-out infinite; transform-origin: center; }
.hero-motif .scan { transform-origin: 50% 50%; }
@keyframes motif-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes motif-bob   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 900px) {
  .hero-motif {
    top: -30px; right: -70px; transform: none;
    width: 240px; opacity: .28;
  }
}
@media (max-width: 580px) {
  .hero-motif { top: -24px; right: -80px; width: 190px; opacity: .22; }
}
.hero-inner { position: relative; z-index: 1; padding-bottom: 44px; }
#hero-seeker:not([hidden]), #hero-employer:not([hidden]) { animation: hero-fade .32s ease; }
@keyframes hero-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.hero-tabs {
  display: inline-flex; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 4px; margin-bottom: 26px;
}
.hero-tabs button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 7px; border: none;
  background: transparent; color: rgba(255,255,255,.92);
  font-family: 'Inter', sans-serif; font-size: .83rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}
.hero-tabs button:not(.active):hover { background: rgba(255,255,255,.12); }
.hero-tabs button svg { width: 15px; height: 15px; }
.hero-tabs button.active { background: var(--white); color: var(--brand); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.hero-tag svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(1.9rem, 4.8vw, 3.1rem); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1rem; opacity: .9; max-width: 560px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; font-size: .82rem; margin-bottom: 28px; opacity: .94; }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--accent); }

/* Search */
.search-card {
  background: var(--white); border-radius: 12px;
  padding: 10px; display: flex; flex-wrap: wrap; gap: 8px;
  box-shadow: var(--shadow-lg); max-width: 820px;
}
.search-field { position: relative; flex: 1 1 150px; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 12px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.search-card input,
.search-card select {
  width: 100%; border: 1px solid var(--border); border-radius: 7px;
  padding: 11px 14px 11px 38px; font-family: 'Inter', sans-serif; font-size: 1rem;
  color: var(--text); background: var(--bg); outline: none;
  appearance: none; -webkit-appearance: none; min-height: 46px;
}
.search-card select { padding-left: 38px; }
.search-card input:focus,
.search-card select:focus { border-color: var(--brand); background: var(--white); }
.search-card > button {
  flex: 0 0 auto; padding: 11px 24px; background: var(--accent); color: var(--brand-deep);
  border: none; border-radius: 7px; font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition);
  min-height: 46px; display: inline-flex; align-items: center; gap: 7px;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.search-card > button svg { width: 17px; height: 17px; }
.search-card > button:hover { background: var(--accent-dark); }

.trending { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: .8rem; }
.trending strong { opacity: .8; letter-spacing: .04em; }
.trending a {
  background: rgba(255,255,255,.12); color: var(--white);
  padding: 5px 12px; border-radius: 20px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.2); transition: var(--transition);
  min-height: 32px; display: inline-flex; align-items: center;
}
.trending a:hover { background: rgba(255,255,255,.26); text-decoration: none; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-pills a {
  background: rgba(255,255,255,.09); color: var(--white);
  padding: 8px 13px; border-radius: 8px; font-size: .8rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.16); transition: var(--transition);
  text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; gap: 7px;
}
.hero-pills a svg { width: 15px; height: 15px; color: var(--accent); }
.hero-pills a:hover { background: rgba(255,255,255,.2); }

.hero-employer-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; margin-bottom: 28px; }
.hero-employer-h2 { font-size: clamp(1.9rem, 4.8vw, 3.1rem); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero-employer-h2 em { font-style: normal; color: var(--accent); }

/* ══ SIGNATURE: LIVE JOB TICKER ══ */
.ticker {
  position: relative; z-index: 1;
  background: rgba(10,47,87,.55);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  overflow: hidden; display: flex; align-items: stretch;
}
.ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--brand-deep);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 0 16px; z-index: 2;
}
.ticker-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px rgba(10,47,87,.55); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .7; } }
.ticker-viewport { flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: inline-flex; align-items: center; white-space: nowrap; padding: 12px 0; will-change: transform; animation: ticker-scroll 48s linear infinite; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.92); font-size: .82rem; padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,.1); text-decoration: none;
}
.ticker-item:hover { text-decoration: none; color: var(--white); }
.ticker-item:hover .ticker-role { color: var(--accent); }
.ticker-role { font-weight: 600; }
.ticker-co { opacity: .65; }
.ticker-loc { display: inline-flex; align-items: center; gap: 4px; opacity: .65; font-size: .78rem; }
.ticker-loc svg { width: 11px; height: 11px; }
.ticker-new { background: var(--accent); color: var(--brand-deep); font-size: .64rem; font-weight: 800; padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; }

/* ══ JOBS ══ */
.jobs-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.jobs-header-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.jobs-total { font-size: .82rem; color: var(--muted); }
.jobs-total strong { color: var(--brand); font-weight: 700; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 28px; }
.job-card {
  position: relative;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: var(--transition); display: flex; flex-direction: column; gap: 11px;
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand); transform: translateY(-3px); }
.job-card--featured { background: linear-gradient(180deg, #fffaf0, #fff); border-color: rgba(245,160,32,.35); border-left: 3px solid var(--accent); }
.job-card--featured:hover { border-color: var(--accent); }
/* Featured badge as a corner ribbon — top-left, where nothing else sits — so it
   doesn't take a content row and featured/non-featured cards stay aligned. */
.job-card .badge-featured {
  position: absolute; top: -9px; left: 16px; z-index: 2;
  box-shadow: 0 2px 6px rgba(10,47,87,.18);
}
.job-card--featured { padding-top: 24px; }
.job-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.job-logo { width: 44px; height: 44px; border-radius: 9px; background: var(--brand-light); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .9rem; color: var(--brand); flex-shrink: 0; }
.job-title   { font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-company { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; max-width: 100%; }
.job-company-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.verified-check {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand); flex-shrink: 0;
  background: none; border: none; padding: 0 0 0 1px; margin: 0;
  cursor: pointer; line-height: 0; vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}
.verified-check svg { width: 14px; height: 14px; pointer-events: none; }
.verified-check:hover { color: var(--brand-dark); }
.verified-tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px);
  background: #ffffff; color: var(--text);
  font-size: .72rem; font-weight: 600; line-height: 1.4; letter-spacing: 0;
  white-space: nowrap; padding: 7px 11px; border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(10,47,87,.16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease; z-index: 40;
  display: inline-flex; align-items: center; gap: 6px;
}
.verified-tip::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #ffffff;
  filter: drop-shadow(0 1px 0 var(--border));
}
.verified-tip svg { width: 13px; height: 13px; color: var(--success); }
.verified-tip strong { font-weight: 700; }
.verified-check.open .verified-tip,
.verified-check:hover .verified-tip {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.job-card-top > div:first-child { min-width: 0; }
.job-meta    { display: flex; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-meta svg { width: 13px; height: 13px; color: var(--muted); }
.job-salary  { font-size: .92rem; font-weight: 700; color: var(--accent-dark); }
.job-salary-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-actions { display: flex; gap: 8px; margin-top: 4px; }
.job-actions .btn { flex: 1; padding: 10px; font-size: .82rem; min-height: 44px; }
.save-btn { background: none; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 13px; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-family: 'Inter', sans-serif; transition: var(--transition); min-height: 44px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.save-btn svg { width: 15px; height: 15px; }
.save-btn:hover { border-color: var(--brand); color: var(--brand); }
.save-btn[data-saved="true"] { color: var(--success); border-color: var(--success); }

.live-count { font-weight: inherit; color: inherit; }

/* ══ NEWSLETTER ══ */
.newsletter-band { background: linear-gradient(120deg, var(--brand-light) 0%, #dce9f8 100%); padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.newsletter-text { flex: 1 1 380px; }
.newsletter-text .section-label { margin-bottom: 10px; }
.newsletter-title { font-family: 'Sora', sans-serif; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 8px; }
.newsletter-title span { color: var(--brand); }
.newsletter-sub { color: var(--muted); font-size: .88rem; max-width: 460px; }
.newsletter-form { flex: 0 1 420px; display: flex; gap: 8px; }
.newsletter-field { position: relative; flex: 1; display: flex; align-items: center; }
.newsletter-field svg { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.newsletter-field input {
  width: 100%; border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px 12px 38px; font-family: 'Inter', sans-serif; font-size: 1rem;
  color: var(--text); background: var(--white); outline: none; min-height: 46px;
}
.newsletter-field input:focus { border-color: var(--brand); }
.newsletter-form .btn { flex: 0 0 auto; min-height: 46px; padding: 12px 24px; }
.newsletter-form .btn:hover,
.newsletter-form .btn:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--brand-deep); }

/* ══ CATEGORIES ══ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; text-align: center; text-decoration: none; display: block; transition: var(--transition); }
.cat-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.cat-icon { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.cat-icon svg { width: 23px; height: 23px; }
.cat-card:hover .cat-icon { background: var(--brand); color: var(--white); }
.cat-name { font-weight: 700; font-size: .88rem; color: var(--text); margin-bottom: 3px; overflow-wrap: anywhere; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.cat-count { font-size: .76rem; color: var(--muted); }

/* ══ FEATURE CARDS (static) ══ */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.feat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; display: flex; gap: 14px; align-items: flex-start; }
.feat-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.feat-icon svg { width: 21px; height: 21px; }
.feat-name { font-weight: 700; font-size: .9rem; margin-bottom: 3px; }
.feat-desc { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ══ HOW IT WORKS ══ */
.hiw-bg { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: 40px; counter-reset: step; }
.step-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px 26px; background: var(--bg); transition: var(--transition); }
.step-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand); transform: translateY(-3px); background: var(--white); }
.step-num { counter-increment: step; font-family: 'Sora', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--brand-light); line-height: 1; margin-bottom: 4px; }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step-card:last-child .step-num { color: #fbe6c2; }
.step-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: var(--white); display: flex; align-items: center; justify-content: center; margin: -22px 0 14px auto; }
.step-card:last-child .step-ic { background: var(--accent); color: var(--brand-deep); }
.step-ic svg { width: 20px; height: 20px; }
.step-title { font-weight: 700; font-size: .98rem; margin-bottom: 8px; }
.step-desc  { font-size: .83rem; color: var(--muted); line-height: 1.65; }

/* ══ AI TOOLS ══ */
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.ai-card { border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.ai-card.dark { background: linear-gradient(150deg, #0A2F57, var(--brand)); color: var(--white); }
.ai-card.light { background: var(--white); border: 1px solid var(--border); color: var(--text); }
.ai-icon { width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--brand-light); color: var(--brand); }
.ai-card.dark .ai-icon { background: rgba(255,255,255,.12); color: var(--white); }
.ai-icon svg { width: 26px; height: 26px; }
.ai-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.ai-card p  { font-size: .85rem; margin-bottom: 18px; flex: 1; }
.ai-card.dark p { opacity: .86; }
.ai-card.light p { color: var(--muted); }
.ai-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; letter-spacing: .03em; padding: 4px 11px; border-radius: 20px; margin-bottom: 14px; width: fit-content; }
.ai-badge svg { width: 12px; height: 12px; }
.ai-card.dark .ai-badge--ai { background: rgba(255,255,255,.15); color: var(--white); }

/* ══ TRAINING ══ */
.training-bg { background: var(--white); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.course-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: var(--transition); }
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.course-thumb { height: 110px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.92); }
.course-thumb svg { width: 42px; height: 42px; }
.thumb-blue   { background: linear-gradient(135deg, #0A2F57, #0861A9); }
.thumb-purple { background: linear-gradient(135deg, #064A85, #1d6fb8); }
.thumb-green  { background: linear-gradient(135deg, #0861A9, #C8770E); }
.thumb-orange { background: linear-gradient(135deg, #0A2F57, #ED9020); }
.course-body  { padding: 18px; }
.course-title { font-weight: 700; font-size: .9rem; margin-bottom: 6px; overflow-wrap: anywhere; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.course-meta  { font-size: .75rem; color: var(--muted); display: flex; gap: 14px; }
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-meta svg { width: 13px; height: 13px; }
.course-footer { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.course-cert { font-size: .72rem; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; background: var(--brand-light); padding: 3px 9px; border-radius: 20px; }
.course-cert svg { width: 13px; height: 13px; }
.course-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-price { font-size: .9rem; font-weight: 800; }
.course-price--free { color: var(--accent-dark); }
.course-price--paid { color: var(--brand); }

/* ══ LOCATIONS ══ */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; }
.loc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 14px; text-align: center; text-decoration: none; transition: var(--transition); }
.loc-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.loc-card.featured { background: var(--brand); border-color: var(--brand); }
.loc-ic { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.loc-ic svg { width: 19px; height: 19px; }
.loc-card.featured .loc-ic { background: rgba(255,255,255,.16); color: var(--white); }
.loc-name { font-weight: 700; font-size: .85rem; color: var(--text); }
.loc-count { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.loc-card.featured .loc-name, .loc-card.featured .loc-count { color: var(--white); }

/* ══ TESTIMONIALS ══ */
.testi-bg { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.testi-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testi-stars { color: var(--accent); display: flex; gap: 2px; margin-bottom: 14px; }
.testi-stars svg { width: 16px; height: 16px; }
.testi-text { font-size: .88rem; color: var(--text); line-height: 1.75; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 11px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--white); font-family: 'Sora', sans-serif; font-weight: 600; font-size: .82rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: .85rem; }
.testi-role { font-size: .74rem; color: var(--muted); }

/* ══ REFERRAL ══ */
.referral-band { background: linear-gradient(120deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; border-radius: 14px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.referral-band-text { display: flex; align-items: center; gap: 18px; flex: 1 1 420px; }
.ref-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ref-ic svg { width: 22px; height: 22px; }
.ref-ic--lg { width: 54px; height: 54px; }
.ref-ic--lg svg { width: 26px; height: 26px; }
.referral-band-title { font-family: 'Sora', sans-serif; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 4px; }
.referral-band-title span { color: var(--accent-dark); }
.referral-band-sub { font-size: .86rem; color: var(--muted); max-width: 520px; }
.referral-band-cta { flex-shrink: 0; }

/* ══ FAQ ══ */
.faq-bg { background: var(--white); }
.faq-list { max-width: 760px; margin: 32px auto 0; }
details.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); margin-bottom: 8px; overflow: hidden; }
details.faq-item[open] { border-color: var(--brand); }
details.faq-item summary { padding: 18px 22px; font-weight: 600; font-size: .9rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; user-select: none; min-height: 48px; -webkit-tap-highlight-color: transparent; }
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { flex-shrink: 0; width: 18px; height: 18px; color: var(--brand); transition: transform .2s; }
details.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 18px; font-size: .87rem; color: var(--muted); line-height: 1.75; }
.faq-more { text-align: center; margin-top: 24px; }

/* ══ DUAL CTA ══ */
.dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-panel { border-radius: 12px; padding: 44px 32px; }
.cta-panel.blue { background: linear-gradient(150deg, #0A2F57, var(--brand)); color: var(--white); }
.cta-panel.light { background: var(--white); color: var(--text); border: 1px solid var(--border); }
.cta-ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cta-panel.blue .cta-ic { background: rgba(255,255,255,.14); color: var(--white); }
.cta-panel.light .cta-ic { background: var(--brand-light); color: var(--brand); }
.cta-ic svg { width: 25px; height: 25px; }
.cta-panel h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.cta-panel p { font-size: .87rem; margin-bottom: 22px; }
.cta-panel.blue p { opacity: .86; }
.cta-panel.light p { color: var(--muted); }
.cta-list { list-style: none; margin-bottom: 26px; display: flex; flex-direction: column; gap: 9px; }
.cta-list li { display: flex; align-items: center; gap: 9px; font-size: .85rem; }
.cta-tag { font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--accent); color: var(--brand-deep); padding: 1px 7px; border-radius: 20px; margin-left: 2px; }
.cta-list li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }

/* ══ FOOTER ══ */
.footer { background: #0A2F57; color: rgba(255,255,255,.78); padding: 56px 0 0; padding-bottom: env(safe-area-inset-bottom, 0); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-logo { display: flex; align-items: center; text-decoration: none; margin-bottom: 14px; }
.footer-logo-img { height: 52px; width: auto; }
.footer-brand p { font-size: .83rem; line-height: 1.75; opacity: .78; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-socials a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.09); color: var(--white); display: flex; align-items: center; justify-content: center; transition: var(--transition); text-decoration: none; }
.footer-socials a svg { width: 17px; height: 17px; }
.footer-socials a:hover { background: var(--brand); }
.footer-col h3 { font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 15px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .82rem; color: rgba(255,255,255,.68); transition: var(--transition); min-height: 26px; display: inline-flex; align-items: center; }
.footer-col ul a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: .78rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--white); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Back to top */
#btt { position: fixed; bottom: 24px; right: 24px; bottom: max(24px, calc(24px + env(safe-area-inset-bottom, 0px))); width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--white); border: none; cursor: pointer; box-shadow: var(--shadow-lg); display: none; align-items: center; justify-content: center; z-index: 900; transition: var(--transition); -webkit-tap-highlight-color: transparent; }
#btt svg { width: 20px; height: 20px; }
#btt.show { display: flex; }
#btt:hover { background: var(--brand-dark); }

/* ══ RESPONSIVE ══ */
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .hamburger { display: block; }
  .dual-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ticker-label { padding: 0 12px; font-size: .68rem; }
}
@media (max-width: 580px) {
  .section { padding: 54px 0; }
  .hero { padding-top: max(56px, calc(56px + env(safe-area-inset-top, 0px))); }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .search-card { flex-direction: column; }
  .search-field { flex: 1 1 auto; width: 100%; }
  .search-card > button { width: 100%; justify-content: center; }
  .cta-panel { padding: 30px 22px; }
  .referral-band { flex-direction: column; align-items: flex-start; text-align: left; padding: 22px 20px; }
  .referral-band-cta { width: 100%; justify-content: center; }
  .hero-tabs { width: 100%; }
  .hero-tabs button { flex: 1; justify-content: center; padding: 8px 10px; font-size: .78rem; }
  .hero-trust { gap: 12px; font-size: .78rem; }
  .jobs-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex: 1 1 100%; width: 100%; }
  .cat-grid, .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .ticker-label { padding: 0 10px; font-size: .6rem; letter-spacing: .04em; }
}
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .nav-logo img { height: 50px; }
  .cat-grid, .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .course-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none !important; transform: none !important; }
  .ticker-dot { animation: none !important; }
  .hero-motif .ring, .hero-motif .head { animation: none !important; }
  .hero-motif .scan animateTransform { display: none; }
}
/* ══════════════════════════════════════════════════════════════════════
   /jobs PAGE — page-specific styles (extends the shared homepage system)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Compact page hero (shorter than homepage hero) ── */
.jobs-hero {
  background:
    radial-gradient(ellipse 60% 70% at 88% 30%, rgba(245,160,32,.16) 0%, transparent 55%),
    linear-gradient(150deg, #0A2F57 0%, #064A85 60%, #0861A9 100%);
  color: var(--white);
  position: relative; overflow: hidden;
  padding: 44px 0;
  padding-top: max(44px, calc(44px + env(safe-area-inset-top, 0px)));
}
.jobs-hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 30% 30%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 90% at 30% 30%, #000 30%, transparent 85%);
}
.jobs-hero-inner { position: relative; z-index: 1; }
.jobs-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1.12; margin-bottom: 10px; }
.jobs-hero h1 em { font-style: normal; color: var(--accent); }
.jobs-hero p { font-size: .94rem; opacity: .9; max-width: 560px; margin-bottom: 24px; }
.jobs-hero .search-card { margin-bottom: 16px; }
.jobs-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.jobs-hero-alert {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 600; color: var(--white);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  padding: 9px 16px; border-radius: 8px; transition: var(--transition);
  min-height: 40px;
}
.jobs-hero-alert:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.jobs-hero-alert svg { width: 16px; height: 16px; color: var(--accent); }
/* magnifying-glass-person motif, echoing the homepage hero */
.jobs-hero-motif {
  position: absolute; top: 50%; right: -40px; transform: translateY(-50%);
  width: min(330px, 30vw); height: auto; pointer-events: none; z-index: 0; opacity: .5;
}
@media (max-width: 900px) {
  .jobs-hero-motif { top: -20px; right: -60px; transform: none; width: 200px; opacity: .26; }
}
@media (max-width: 580px) {
  .jobs-hero-motif { width: 150px; right: -54px; opacity: .2; }
}
.jobs-hero .breadcrumb { display: flex; align-items: center; gap: 7px; font-size: .76rem; opacity: .82; margin-bottom: 14px; }
.jobs-hero .breadcrumb a { color: rgba(255,255,255,.82); }
.jobs-hero .breadcrumb a:hover { color: var(--white); }
.jobs-hero .breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

/* ── Two-column layout ── */
.jobs-layout {
  display: grid; grid-template-columns: 286px 1fr; gap: 28px;
  align-items: start;
  padding: 40px 0 64px;
}

/* ── Filter sidebar ── */
.filters {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 0; position: sticky; top: 86px; overflow: hidden;
}
.filters-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  background: var(--brand-light);
}
.filters-head-title { display: flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .95rem; color: var(--brand-deep); }
.filters-head-title svg { width: 16px; height: 16px; color: var(--brand); }
.filters-count { background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.filters-body { padding: 6px 18px 18px; }
.filter-group { padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: none; }
.filter-label { display: flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin-bottom: 11px; }
.filter-label svg { width: 14px; height: 14px; color: var(--muted); }

.filter-input, .filter-select {
  width: 100%; border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; font-family: 'Inter', sans-serif; font-size: .86rem;
  color: var(--text); background: var(--bg); outline: none; min-height: 42px;
  appearance: none; -webkit-appearance: none;
}
.filter-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6577' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.filter-input:focus, .filter-select:focus { border-color: var(--brand); background: var(--white); }
.filter-input-wrap { position: relative; display: flex; align-items: center; }
.filter-input-wrap svg { position: absolute; left: 11px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.filter-input-wrap .filter-input { padding-left: 34px; }
.filter-input-wrap .filter-clear {
  position: absolute; right: 8px; width: 24px; height: 24px; border: none; background: none;
  color: var(--muted); cursor: pointer; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
}
.filter-input-wrap .filter-clear:hover { background: var(--bg); color: var(--text); }
.filter-input-wrap .filter-clear svg { position: static; width: 14px; height: 14px; }

/* Checkbox rows (job type) */
.filter-checks { display: flex; flex-direction: column; gap: 2px; }
.filter-check {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px;
  cursor: pointer; font-size: .85rem; color: var(--text); transition: background var(--transition);
  user-select: none; min-height: 38px;
}
.filter-check:hover { background: var(--bg); }
.filter-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.filter-check .box {
  width: 18px; height: 18px; border-radius: 5px; border: 1.6px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: var(--transition); background: var(--white);
}
.filter-check .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.filter-check input:checked + .box { background: var(--brand); border-color: var(--brand); }
.filter-check input:checked + .box svg { opacity: 1; }
.filter-check input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 2px; }
.filter-check .ct { margin-left: auto; font-size: .76rem; color: var(--muted); }

/* Salary range */
.filter-range { display: flex; align-items: center; gap: 8px; }
.filter-range .filter-input { padding-left: 12px; }
.filter-range span { color: var(--muted); font-size: .8rem; }

.filters-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.filters-actions .btn { width: 100%; }

/* Mobile filter toggle (hidden on desktop) */
.filters-toggle { display: none; }

/* ── Results column ── */
.results-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 22px;
}
.results-count { font-family: 'Sora', sans-serif; }
.results-count strong { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.results-count span { display: block; font-family: 'Inter', sans-serif; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.results-tools { display: flex; align-items: center; gap: 12px; }
.results-sort { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted); }
.results-sort .filter-select { min-height: 38px; padding-top: 7px; padding-bottom: 7px; width: auto; min-width: 140px; }

/* Grid / list view toggle */
.view-toggle { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.view-toggle button {
  width: 36px; height: 32px; border: none; background: none; border-radius: 6px;
  color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition); -webkit-tap-highlight-color: transparent;
}
.view-toggle button svg { width: 17px; height: 17px; }
.view-toggle button.active { background: var(--brand); color: #fff; box-shadow: 0 1px 4px rgba(8,97,169,.3); }
.view-toggle button:not(.active):hover { color: var(--text); }

/* Active filter chips */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--brand-light);
  color: var(--brand); font-size: .78rem; font-weight: 600; padding: 5px 8px 5px 12px;
  border-radius: 20px; border: 1px solid rgba(8,97,169,.18);
}
.filter-chip button { width: 18px; height: 18px; border: none; background: rgba(8,97,169,.14); color: var(--brand); border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.filter-chip button svg { width: 11px; height: 11px; }
.filter-chip button:hover { background: var(--brand); color: #fff; }
.active-filters .clear-all { font-size: .78rem; font-weight: 600; color: var(--muted); background: none; border: none; cursor: pointer; padding: 5px 8px; }
.active-filters .clear-all:hover { color: var(--brand); text-decoration: underline; }

/* Promoted badge (sits with featured corner ribbon) */
.badge-promoted {
  background: var(--accent); color: var(--brand-deep);
  font-size: .64rem; font-weight: 800; padding: 3px 9px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 4px; letter-spacing: .04em;
}
.badge-promoted svg { width: 11px; height: 11px; }

/* The results grid reuses .jobs-grid; here it starts at top with no extra margin */
#results.jobs-grid { margin-top: 0; }

/* tag row under the title (FULL-TIME / Verified) */
.job-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-type {
  background: var(--brand-light); color: var(--brand);
  font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 5px;
}
.tag-verified { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--brand); font-weight: 600; }
.tag-verified svg { width: 13px; height: 13px; }
.job-salary-amount { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--brand); }
.job-salary-period { font-size: .74rem; color: var(--muted); }

/* ── LIST VIEW ── */
.jobs-grid.is-list { grid-template-columns: 1fr; gap: 12px; }
.jobs-grid.is-list .job-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  grid-template-areas:
    "logo body action";
  align-items: center; gap: 18px; padding: 18px 22px;
}
.jobs-grid.is-list .job-card .job-logo { grid-area: logo; width: 52px; height: 52px; }
.jobs-grid.is-list .job-card .list-body { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.jobs-grid.is-list .job-card .list-action { grid-area: action; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.jobs-grid.is-list .job-card .list-action .job-salary-amount { font-size: 1.05rem; }
.jobs-grid.is-list .job-card .list-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.jobs-grid.is-list .job-card .list-meta span { display: inline-flex; align-items: center; gap: 5px; }
.jobs-grid.is-list .job-card .list-meta svg { width: 13px; height: 13px; }
.jobs-grid.is-list .job-card .list-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jobs-grid.is-list .job-card .job-title { font-size: 1.02rem; -webkit-line-clamp: 1; }
.jobs-grid.is-list .job-card .badge-featured { position: static; box-shadow: none; }
.jobs-grid.is-list .job-card--featured {
  padding-top: 18px;
  border-top: 1px solid rgba(245,160,32,.35);
}
/* In list mode, the absolutely-positioned Featured ribbon is moved inline into
   the title row instead; hide the corner ribbon to avoid overflow. */
.jobs-grid.is-list .job-card > .badge-featured { display: none; }
.jobs-grid.is-list .job-card .list-featured {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--accent); color: var(--brand-deep);
  font-size: .64rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; letter-spacing: .04em;
}
.jobs-grid:not(.is-list) .job-card .list-featured { display: none; }
.jobs-grid.is-list .list-action-btns { display: flex; gap: 8px; }
/* hide the grid-only / list-only pieces depending on mode.
   GRID mode (default): show .grid-only, hide the list-view direct children
   (the bare .job-logo, .list-body, .list-action that are siblings of .grid-only).
   LIST mode: hide .grid-only, show the list-view children via grid areas. */
.jobs-grid:not(.is-list) .job-card > .job-logo,
.jobs-grid:not(.is-list) .job-card > .list-body,
.jobs-grid:not(.is-list) .job-card > .list-action { display: none !important; }
.jobs-grid.is-list .job-card > .grid-only { display: none !important; }
.jobs-grid.is-list .job-card > .job-logo { display: flex; }
.jobs-grid.is-list .job-card > .list-body { display: flex; }
.jobs-grid.is-list .job-card > .list-action { display: flex; }

/* Empty state */
.results-empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--border); border-radius: 14px; background: var(--white); }
.results-empty .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-light); color: var(--brand); margin: 0 auto 16px; }
.results-empty .ic svg { width: 26px; height: 26px; }
.results-empty h3 { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.results-empty p { font-size: .88rem; color: var(--muted); max-width: 380px; margin: 0 auto 18px; }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--white); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 600;
  transition: var(--transition); text-decoration: none;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .ellipsis { border: none; background: none; color: var(--muted); min-width: 24px; }
.pagination .nav-btn svg { width: 16px; height: 16px; }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .jobs-layout { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .filters {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); z-index: 1200;
    border-radius: 0; transform: translateX(-100%); transition: transform .26s ease;
    overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  .filters.open { transform: translateX(0); }
  .filters-overlay {
    position: fixed; inset: 0; background: rgba(10,47,87,.5); z-index: 1100;
    opacity: 0; visibility: hidden; transition: opacity .2s; backdrop-filter: blur(2px);
  }
  .filters-overlay.open { opacity: 1; visibility: visible; }
  .filters-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  }
  .filters-head .filters-close { display: inline-flex; }
}
@media (min-width: 901px) {
  .filters-head .filters-close { display: none; }
}
@media (max-width: 560px) {
  .jobs-hero-inner { flex-direction: column; align-items: flex-start; }
  .jobs-hero-cta { width: 100%; }
  .jobs-hero-cta .btn { width: 100%; justify-content: center; }
  .results-toolbar { align-items: flex-start; }
  .jobs-grid.is-list .job-card {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "logo body"
      "action action";
  }
  .jobs-grid.is-list .job-card .list-action { align-items: stretch; flex-direction: row; justify-content: space-between; margin-top: 4px; }
  .results-sort { display: none; }
}


/* ════════════════════════════════════════════════════════════════════
   iOS / mobile AUTO-DARK DEFEAT
   Some mobile browsers (Safari "Smart Invert" / auto dark website tint,
   and FB/IG/WhatsApp in-app webviews) darken backgrounds that rely on
   INHERITED color while leaving explicitly-set text colors alone — which
   makes dark navy headings vanish on a forced-dark fill. The meta tag and
   :root color-scheme help, but the reliable defeat is to set EXPLICIT
   backgrounds (and re-assert text color) on the wrapper surfaces, so the
   browser has nothing to override. Belt-and-braces, harmless in light.
   ════════════════════════════════════════════════════════════════════ */
html, body { background: #f5f7fb; }
main, .section, .jobs-layout, .container,
.results-toolbar, .results-count, .pagination {
  background-color: transparent;          /* sit on the forced body bg */
}
.section, main { background-color: #f5f7fb; }
/* Re-assert text colors so they can't be left dark on a darkened fill */
.results-count strong, .section-title, .job-title, .cta-panel.light h2 { color: #141926; }
.section-title span { color: #0861A9; }
.results-count span, .section-sub { color: #5b6577; }
/* Cards & key surfaces: explicit, never inherited */
.job-card { background: #ffffff; }
.job-card--featured { background: linear-gradient(180deg, #fffaf0, #fff); }
.filters, .filters-body, .view-toggle button.active ~ *, .pagination a, .pagination span { }
.filters { background: #ffffff; }
.filters-head { background: #E6F0F8; }
.results-empty { background: #ffffff; }

/* ══════════════════════════════════════════════════════════════════════
   /jobs/{slug} JOB DETAIL PAGE — page-specific styles (extends shared system)
   ══════════════════════════════════════════════════════════════════════ */

/* Compact hero strip with breadcrumb */
.detail-hero {
  background:
    radial-gradient(ellipse 55% 70% at 90% 30%, rgba(245,160,32,.14) 0%, transparent 55%),
    linear-gradient(150deg, #0A2F57 0%, #064A85 60%, #0861A9 100%);
  color: var(--white); position: relative; overflow: hidden;
  padding: 30px 0;
  padding-top: max(30px, calc(30px + env(safe-area-inset-top, 0px)));
}
.detail-hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 30% 30%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 90% at 30% 30%, #000 30%, transparent 85%);
}
.detail-hero .container { position: relative; z-index: 1; }
.detail-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: .76rem; opacity: .85; }
.detail-breadcrumb a { color: rgba(255,255,255,.85); }
.detail-breadcrumb a:hover { color: var(--white); }
.detail-breadcrumb svg { width: 12px; height: 12px; opacity: .6; }
.detail-breadcrumb .current { opacity: .7; }

/* Layout */
.detail-layout {
  display: grid; grid-template-columns: 1fr 332px; gap: 28px;
  align-items: start; padding: 32px 0 64px;
}

/* Main column */
.detail-main { min-width: 0; }
.detail-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; margin-bottom: 20px;
}
.detail-head { display: flex; gap: 18px; align-items: flex-start; }
.detail-logo {
  width: 64px; height: 64px; border-radius: 13px; background: var(--brand-light);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--brand);
  flex-shrink: 0;
}
.detail-logo svg { width: 30px; height: 30px; }
.detail-head-body { min-width: 0; flex: 1; }
.detail-title { font-family: 'Sora', sans-serif; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 8px; }
.detail-company { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--muted); }
.detail-company strong { color: var(--text); font-weight: 600; }
.detail-company .verified-check { color: var(--brand); }
.detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700;
  padding: 4px 11px; border-radius: 20px; letter-spacing: .02em;
}
.detail-badge svg { width: 12px; height: 12px; }
.db-type { background: var(--brand-light); color: var(--brand); }
.db-featured { background: var(--accent); color: var(--brand-deep); }
.db-promoted { background: #fef3c7; color: var(--accent-dark); border: 1px solid #fde68a; }
.db-verified { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }

/* Meta strip */
.detail-meta {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.detail-meta-item { display: flex; align-items: center; gap: 9px; }
.detail-meta-ic {
  width: 34px; height: 34px; border-radius: 9px; background: var(--bg);
  display: flex; align-items: center; justify-content: center; color: var(--brand); flex-shrink: 0;
}
.detail-meta-ic svg { width: 17px; height: 17px; }
.detail-meta-label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.detail-meta-value { font-size: .86rem; font-weight: 600; color: var(--text); }

/* Description body */
.detail-section-title {
  font-family: 'Sora', sans-serif; font-size: 1.08rem; font-weight: 700;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.detail-section-title svg { width: 18px; height: 18px; color: var(--brand); }
.detail-body { font-size: .92rem; line-height: 1.8; color: var(--text); }
.detail-body p { margin-bottom: 14px; }
.detail-body h3 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; margin: 22px 0 10px; }
.detail-body ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.detail-body ul li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.detail-body ul li svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.detail-body strong { font-weight: 700; color: var(--text); }

/* Tags */
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.detail-tag {
  font-size: .78rem; color: var(--brand); background: var(--brand-light);
  padding: 5px 13px; border-radius: 20px; font-weight: 500;
}

/* Share row */
.detail-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.detail-share-label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.detail-share a {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted);
  transition: var(--transition);
}
.detail-share a svg { width: 17px; height: 17px; }
.detail-share a:hover { border-color: var(--brand); color: var(--brand); }

/* ── Apply sidebar ── */
.detail-aside { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 18px; }
.apply-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: 14px; padding: 22px;
}
.apply-card--featured { border-color: rgba(245,160,32,.4); border-top: 3px solid var(--accent); }
.apply-salary { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--accent-dark); line-height: 1.1; }
.apply-salary-period { font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.apply-deadline {
  display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted);
  margin: 16px 0; padding: 10px 12px; background: var(--bg); border-radius: 9px;
}
.apply-deadline svg { width: 15px; height: 15px; color: var(--accent-dark); flex-shrink: 0; }
.apply-deadline strong { color: var(--text); font-weight: 600; }
.apply-actions { display: flex; flex-direction: column; gap: 9px; }
.apply-actions .btn { width: 100%; }
/* Apply card auth note (guests on internal applications) */
.apply-auth-note {
  display: flex; align-items: center; gap: 6px;
  font-size: .76rem; color: var(--muted);
  text-align: center; justify-content: center;
  margin-top: 8px; line-height: 1.5;
}
.apply-auth-note svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--muted); }
.apply-auth-note a { color: var(--brand); font-weight: 600; }

.apply-quick { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 16px; }
.apply-quick-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .82rem; padding: 6px 0; }
.apply-quick-row span:first-child { color: var(--muted); }
.apply-quick-row span:last-child { font-weight: 600; color: var(--text); text-align: right; }

/* Company mini-card */
.company-card { background: #ffffff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.company-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.company-card-logo {
  width: 46px; height: 46px; border-radius: 10px; background: var(--brand-light);
  display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif;
  font-weight: 700; color: var(--brand); flex-shrink: 0;
}
.company-card-name { font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: 5px; }
.company-card-name .verified-check { color: var(--brand); }
.company-card-meta { font-size: .76rem; color: var(--muted); }
.company-card p { font-size: .82rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.company-card .btn { width: 100%; }

/* ── Related jobs ── */
.related-section { padding: 0 0 64px; }
.related-head { margin-bottom: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .detail-aside { position: static; display: flex; flex-direction: column; gap: 18px; }
  /* Mobile reading order: overview → company → apply card (description first, CTA last) */
  .detail-aside .overview-card { order: 1; }
  .detail-aside .company-card  { order: 2; }
  .detail-aside .apply-card    { order: 3; }
}
@media (max-width: 560px) {
  .detail-card { padding: 20px; }
  .detail-head { gap: 14px; }
  .detail-logo { width: 52px; height: 52px; }
  .detail-meta { gap: 12px; }
  .detail-meta-item { flex: 1 1 45%; }
}

/* Sticky mobile apply bar */
.mobile-apply-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  background: #ffffff; border-top: 1px solid var(--border);
  padding: 12px 16px; padding-bottom: max(12px, calc(12px + env(safe-area-inset-bottom, 0px)));
  box-shadow: 0 -4px 20px rgba(10,47,87,.1);
  align-items: center; gap: 12px;
}
.mobile-apply-bar .mab-salary { font-family: 'Sora', sans-serif; font-weight: 800; color: var(--accent-dark); font-size: 1.05rem; flex-shrink: 0; }
.mobile-apply-bar .btn { flex: 1; }
@media (max-width: 900px) {
  .mobile-apply-bar { display: flex; }
  body { padding-bottom: 76px; }
}


/* ── Job Overview panel ── */
.overview-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:20px 22px; }
.overview-title { font-family:'Sora',sans-serif; font-size:1rem; font-weight:700; margin-bottom:14px; }
.overview-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:13px; }
.overview-list li { display:flex; align-items:center; gap:12px; }
.overview-ic { width:32px; height:32px; border-radius:8px; background:var(--brand-light); color:var(--brand); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.overview-ic svg { width:16px; height:16px; }
.overview-kv { display:flex; flex-direction:column; line-height:1.3; }
.overview-k { font-size:.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:.03em; }
.overview-v { font-size:.88rem; font-weight:600; color:var(--text); }
.status-open { display:inline-flex; align-items:center; gap:5px; color:var(--success); font-weight:700; }
.status-open::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--success); display:inline-block; }

/* ── Accent button + report/external apply ── */
.btn-accent { background:var(--accent); color:var(--brand-deep); border:1.5px solid var(--accent); font-weight:700; }
.btn-accent:hover { background:var(--accent-dark); border-color:var(--accent-dark); color:#fff; }
.apply-external svg { width:16px; height:16px; }

/* ── Urgently Hiring badge ── */
.db-urgent { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.db-style  { background: var(--brand-light); color: var(--brand); }

/* ── Benefits & Perks pills ── */
.benefits-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.benefit-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 20px;
  background: var(--brand-light); color: var(--brand);
  font-size: .82rem; font-weight: 600; border: 1px solid #c8dff2;
}
.benefit-pill svg { width: 14px; height: 14px; }

/* ── Job Conditions grid ── */
.conditions-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.condition-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; background: var(--bg);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.condition-ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.condition-ic svg { width: 15px; height: 15px; }
.condition-kv { display: flex; flex-direction: column; line-height: 1.3; }
.condition-k { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.condition-v { font-size: .85rem; font-weight: 600; color: var(--text); }
@media (max-width: 560px) { .conditions-grid { grid-template-columns: 1fr; } }

/* ── Application spots remaining ── */
.apply-spots {
  display: flex; align-items: center; gap: 7px;
  font-size: .78rem; color: var(--accent-dark);
  background: #fff3e0; border: 1px solid #fde3bf;
  border-radius: 8px; padding: 9px 12px; margin-bottom: 12px;
}
.apply-spots svg { width: 14px; height: 14px; flex-shrink: 0; }
.apply-spots strong { font-weight: 700; }

/* ── Application requirements (CV / cover letter) ── */
.apply-reqs {
  border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px;
  display: flex; flex-direction: column; gap: 7px;
}
.apply-req-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--muted);
}
.apply-req-item svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }

/* ── ATS pre-screening note ── */
.ats-notice {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--brand-light); border: 1px solid #c8dff2;
  border-radius: 9px; padding: 10px 12px;
  font-size: .78rem; color: var(--brand-deep); line-height: 1.55;
  margin-top: 12px;
}
.ats-notice svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.btn-report { width:100%; justify-content:center; background:none; border:1px solid var(--border); color:var(--muted); border-radius:9px; padding:9px; font-family:'Inter',sans-serif; font-weight:600; font-size:.84rem; display:inline-flex; align-items:center; gap:7px; cursor:pointer; transition:var(--transition); }
.btn-report:hover { border-color:var(--accent-dark); color:var(--accent-dark); }
.btn-report svg { width:15px; height:15px; }

/* ── Report modal (single instance) ── */
.report-modal { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:20px; }
.report-modal[hidden] { display:none; }
.report-overlay { position:absolute; inset:0; background:rgba(10,47,87,.5); backdrop-filter:blur(2px); }
.report-dialog { position:relative; background:#fff; border-radius:16px; width:100%; max-width:460px; box-shadow:0 24px 60px rgba(10,47,87,.3); overflow:hidden; animation:reportIn .18s ease; }
@keyframes reportIn { from{opacity:0; transform:translateY(10px) scale(.98);} to{opacity:1; transform:none;} }
.report-head { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; background:linear-gradient(180deg,#0A2F57,var(--brand)); color:#fff; }
.report-head h3 { font-family:'Sora',sans-serif; font-size:1rem; font-weight:700; display:flex; align-items:center; gap:8px; }
.report-head h3 svg { width:18px; height:18px; color:var(--accent); }
.report-close { background:none; border:none; color:#fff; font-size:1.6rem; line-height:1; cursor:pointer; opacity:.85; padding:0 4px; }
.report-close:hover { opacity:1; }
.report-body { padding:20px; }
.report-intro { font-size:.86rem; color:var(--muted); line-height:1.6; margin-bottom:16px; }
.report-label { display:block; font-size:.82rem; font-weight:700; color:var(--text); margin:0 0 7px; }
.report-select, .report-textarea { width:100%; border:1.5px solid var(--border); border-radius:9px; padding:10px 12px; font-family:'Inter',sans-serif; font-size:.88rem; color:var(--text); background:#fff; margin-bottom:16px; }
.report-select:focus, .report-textarea:focus { outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(8,97,169,.12); }
.report-textarea { resize:vertical; min-height:90px; margin-bottom:0; }
.report-foot { display:flex; justify-content:flex-end; gap:10px; padding:16px 20px; border-top:1px solid var(--border); }


/* ── Apply-method variants (external / email / internal) ── */
.apply-method-note { font-size:.78rem; color:var(--muted); line-height:1.5; margin-top:10px; display:flex; align-items:flex-start; gap:7px; }
.apply-method-note svg { width:14px; height:14px; flex-shrink:0; margin-top:1px; color:var(--accent-dark); }
.apply-email-box { background:var(--brand-light); border:1px solid #cfe2f3; border-radius:10px; padding:12px 14px; margin-top:10px; }
.apply-email-label { font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); font-weight:700; margin-bottom:4px; }
.apply-email-addr { font-size:.92rem; font-weight:700; color:var(--brand); word-break:break-all; }
.apply-email-copy { margin-top:8px; font-size:.76rem; font-weight:600; color:var(--brand); background:none; border:none; cursor:pointer; padding:0; display:inline-flex; align-items:center; gap:5px; }
.apply-email-copy svg { width:13px; height:13px; }

/* ── Ad unit — labelled, reserved height, distinct from content (policy-safe) ── */
.ad-unit { background:#f0f3f8; border:1px solid var(--border); border-radius:12px; padding:12px; text-align:center; overflow:hidden; min-height:140px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.ad-unit::before { content:"Advertisement"; display:block; font-size:.64rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.ad-unit .adsbygoogle { width:100%; display:block; }
.detail-ad { margin: 0 0 20px; }

/* ── Mobile: trim meta strip to 3 items ── */
@media (max-width: 640px) {
  .meta-secondary { display: none; }
}

/* ── Mobile: collapse overview list (show 4 key items) ── */
@media (max-width: 900px) {
  .overview-list li:not([data-key]) { display: none; }
  .overview-card.expanded .overview-list li { display: flex !important; }
  .overview-toggle {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; margin-top: 12px; padding: 8px 0;
    font-size: .8rem; font-weight: 600; color: var(--brand);
    background: none; border: 1px solid var(--border); border-radius: 8px;
    cursor: pointer; transition: var(--transition);
  }
  .overview-toggle:hover { background: var(--brand-light); }
  .overview-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
  .overview-card.expanded .overview-toggle svg { transform: rotate(180deg); }
}
@media (min-width: 901px) { .overview-toggle { display: none; } }

/* ── Mobile: description read-more collapse ── */
@media (max-width: 900px) {
  .detail-body.desc-collapsed {
    position: relative; max-height: 260px; overflow: hidden;
  }
  .detail-body.desc-collapsed::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 90px; background: linear-gradient(transparent, var(--white));
    pointer-events: none;
  }
  .desc-expand-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; margin-top: 10px; padding: 11px;
    font-size: .85rem; font-weight: 600; color: var(--brand);
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); cursor: pointer; transition: var(--transition);
  }
  .desc-expand-btn:hover { background: var(--brand-light); border-color: var(--brand); }
  .desc-expand-btn svg { width: 15px; height: 15px; }
}
@media (min-width: 901px) { .desc-expand-btn { display: none; } }

/* ── Mobile touch targets: Apple HIG minimum 44px ── */
@media (max-width: 900px) {
  .btn    { min-height: 44px; }
  .btn-sm { min-height: 40px; padding: 9px 14px; }
  .btn-lg { min-height: 50px; }
  /* Nav hamburger and save buttons */
  .hamburger { min-height: 44px; min-width: 44px; }
  .save-btn, .btn-report { min-height: 44px; }
}
