/* Freeway — Israeli road-sign language: asphalt, guide-sign green, lane-line yellow, paper. */

@font-face { font-family: "Secular One"; src: url(/fonts/secular-one-hebrew-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Secular One"; src: url(/fonts/secular-one-latin-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: "Assistant"; src: url(/fonts/assistant-hebrew-400.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; src: url(/fonts/assistant-latin-400.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Cousine"; src: url(/fonts/cousine-latin-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --asphalt: #232628;
  --asphalt-2: #2f3336;
  --asphalt-3: #3b4044;
  --paper: #f3f0e8;
  --paper-2: #e9e4d8;
  --card: #fffdf8;
  --ink: #16191b;
  --muted: #5b6266;
  --rule: #d6d0c2;
  --sign: #0a6b3d;
  --sign-2: #075a33;
  --sign-ink: #ffffff;
  --blue: #17497f;
  --yellow: #f2c230;
  --yellow-ink: #1d1a10;
  --red: #b3261e;
  --ok: #0a6b3d;
  --radius: 10px;
  --wrap: 1120px;
  --head: "Secular One", "Assistant", system-ui, sans-serif;
  --body: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Cousine", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.2; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--yellow); color: var(--yellow-ink); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- the road: header and footer ---------- */
.top { background: var(--asphalt); color: #fff; }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-sign { display: inline-block; font: 400 22px/1 var(--head); letter-spacing: .5px; color: #fff; background: var(--sign); padding: 7px 14px 8px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 4px #fff; direction: ltr; }
.logo-sub { font-size: 15px; color: #c9cdc9; }
.nav { margin-inline-start: auto; display: flex; gap: 6px 18px; align-items: center; flex-wrap: wrap; }
.nav a { color: #e9ece9; text-decoration: none; font-weight: 600; }
.nav a:hover { color: #fff; text-decoration: underline; }
.nav .nav-post { background: var(--yellow); color: var(--yellow-ink); padding: 7px 14px; border-radius: 999px; }
.nav .nav-post:hover { color: var(--yellow-ink); background: #ffd447; }
.lane { height: 6px; background: var(--asphalt) repeating-linear-gradient(to left, #f4f4f0 0 46px, transparent 46px 82px) center / 100% 3px no-repeat; }

.notice { background: var(--yellow); color: var(--yellow-ink); font-weight: 600; padding: 10px 0; }

.foot { background: var(--asphalt); color: #c9cdc9; margin-top: 72px; }
.foot-in { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding-top: 36px; padding-bottom: 44px; }
.foot-brand p { margin-top: 12px; max-width: 280px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-cols h2 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.foot-cols a { display: block; color: #c9cdc9; text-decoration: none; padding: 3px 0; }
.foot-cols a:hover { color: #fff; text-decoration: underline; }

/* ---------- the big guide sign (hero + search) ---------- */
.road { background: var(--asphalt); padding: 34px 0 0; position: relative; }
.gantry { position: relative; max-width: 860px; margin: 0 auto; padding: 0 20px 54px; }
.gantry::before, .gantry::after { content: ""; position: absolute; bottom: 0; width: 12px; height: 70px; background: linear-gradient(90deg, #6f7579, #9aa0a3 50%, #6f7579); }
.gantry::before { right: 18%; }
.gantry::after { left: 18%; }
.sign { position: relative; z-index: 1; background: var(--sign); color: var(--sign-ink); border-radius: 16px; padding: 30px 34px 32px; box-shadow: inset 0 0 0 5px var(--sign), inset 0 0 0 8px #fff, 0 18px 40px rgba(0,0,0,.35); }
.sign-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--mono); letter-spacing: 1px; background: var(--yellow); color: var(--yellow-ink); padding: 6px 10px; border-radius: 5px; direction: ltr; }
.sign h1 { font-size: clamp(34px, 6vw, 58px); margin: 16px 0 8px; }
.sign p.lead { font-size: 20px; color: #e3efe7; max-width: 560px; }
.find { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 22px; }
.find label { display: block; }
.find .lbl { display: block; font-size: 14px; color: #cfe3d6; margin-bottom: 4px; }
.find select, .find button { width: 100%; height: 54px; border-radius: 9px; font: 600 18px var(--body); }
.find select { border: 0; padding: 0 14px; background: #fff; color: var(--ink); }
.find button { align-self: end; border: 0; background: var(--yellow); color: var(--yellow-ink); font-family: var(--head); font-size: 21px; font-weight: 400; padding: 0 28px; cursor: pointer; }
.find button:hover { background: #ffd447; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 16px; color: #e3efe7; }
.facts li::before { content: "✓"; color: var(--yellow); font-weight: 700; margin-inline-end: 6px; }

/* ---------- exits: job cards ---------- */
.section { padding-top: 46px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { font-size: 30px; margin: 0; }
.section-head a { font-weight: 600; }
.exits { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.exit { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--sign); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 30px 22px 18px; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px #fff; transition: transform .12s ease, box-shadow .12s ease; }
.exit:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px #fff, 0 12px 22px rgba(10,60,35,.28); }
.exit-tab { position: absolute; top: -1px; inset-inline-start: 18px; font: 700 13px/1 var(--mono); background: var(--yellow); color: var(--yellow-ink); padding: 6px 9px; border-radius: 0 0 6px 6px; letter-spacing: .5px; direction: ltr; }
.exit.remote { background: var(--blue); box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 5px #fff; }
.exit h3 { font-size: 23px; margin: 0; }
.exit .where { color: #d3e7da; font-size: 16px; }
.exit.remote .where { color: #d6e2f1; }
.exit .row { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.25); }
.exit .pay { font: 400 20px/1.1 var(--head); white-space: nowrap; }
.exit .pay.none { font: 600 15px var(--body); color: #d3e7da; }
.exit .chips { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.chip { display: inline-block; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; font-size: 14px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; }
.chip.light { background: var(--paper-2); color: var(--ink); }

/* ---------- empty road ---------- */
.empty { background: var(--card); border: 2px dashed var(--rule); border-radius: 14px; padding: 34px 28px; text-align: center; }
.empty h3 { font-size: 26px; }
.empty p { color: var(--muted); max-width: 520px; margin-inline: auto; }

/* ---------- interchanges: city / category links ---------- */
.junctions { display: flex; flex-wrap: wrap; gap: 8px; }
.junction { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; padding: 7px 14px; border-radius: 8px; font-weight: 600; }
.junction:hover { border-color: var(--sign); color: var(--sign); }
.junction b { font: 700 13px var(--mono); background: var(--sign); color: #fff; border-radius: 5px; padding: 2px 6px; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cat { display: block; background: var(--card); border: 1px solid var(--rule); border-inline-start: 6px solid var(--sign); border-radius: 8px; padding: 14px 16px; color: var(--ink); text-decoration: none; }
.cat:hover { border-color: var(--sign); }
.cat strong { display: block; font: 400 19px var(--head); }
.cat span { color: var(--muted); font-size: 15px; }

/* ---------- how it works ---------- */
.km { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: km; }
.km li { list-style: none; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 20px; position: relative; }
.km li::before { counter-increment: km; content: counter(km); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--blue); color: #fff; font: 700 20px var(--mono); margin-bottom: 10px; box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 0 4px #fff; }
.km h3 { font-size: 21px; }
.km p { margin: 0; color: var(--muted); }
.km.flat { padding: 0; margin: 0; }

.employer-band { background: var(--blue); color: #fff; border-radius: 16px; padding: 30px 32px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; box-shadow: inset 0 0 0 5px var(--blue), inset 0 0 0 8px #fff; }
.employer-band h2 { font-size: 30px; }
.employer-band p { margin: 0; color: #dbe5f2; }

/* ---------- buttons and forms ---------- */
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center; border-radius: 9px; padding: 12px 22px; font: 400 19px/1.2 var(--head); background: var(--sign); color: #fff; }
.btn:hover { background: var(--sign-2); color: #fff; }
.btn.yellow { background: var(--yellow); color: var(--yellow-ink); }
.btn.yellow:hover { background: #ffd447; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--rule); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.danger { background: transparent; color: var(--red); border: 2px solid #e2b7b4; }
.btn.danger:hover { border-color: var(--red); }
.btn.small { font-size: 16px; padding: 7px 14px; }
.btn.wide { width: 100%; }

.form { display: grid; gap: 16px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 5px; }
.field .hint { display: block; font-size: 15px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.field input[type=text], .field input[type=tel], .field input[type=number], .field input[type=password], .field input[type=url], .field select, .field textarea {
  width: 100%; font: 400 18px var(--body); color: var(--ink); background: #fff; border: 2px solid var(--rule); border-radius: 9px; padding: 11px 13px; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sign); outline: none; box-shadow: 0 0 0 3px rgba(10,107,61,.18); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red); }
.err { color: var(--red); font-weight: 600; font-size: 15px; margin-top: 4px; display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--sign); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--rule); background: #fff; border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 400; }
.choice label:has(input:checked) { border-color: var(--sign); background: #eef6f0; }
.choice input { accent-color: var(--sign); margin-top: 5px; }
.choice b { display: block; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: 400 22px var(--head); padding: 0; margin-bottom: 10px; }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 24px; }
.panel + .panel { margin-top: 18px; }

/* ---------- page titles ---------- */
.page-head { background: var(--asphalt); color: #fff; padding: 30px 0 34px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); margin: 0; }
.page-head p { color: #c9cdc9; margin: 8px 0 0; font-size: 19px; }
.crumbs { font-size: 15px; color: #a9afb2; margin-bottom: 10px; }
.crumbs a { color: #d7dbd8; }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin-top: 1.4em; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 15px; }

/* ---------- a single opening ---------- */
.opening-sign { background: var(--asphalt); padding: 28px 0 40px; }
.opening-sign .sign { padding-top: 40px; }
.opening-sign .sign h1 { font-size: clamp(30px, 5vw, 46px); margin: 6px 0 6px; }
.opening-sign .sign .biz { font-size: 21px; color: #e3efe7; }
.opening-sign .sign.remote { background: var(--blue); box-shadow: inset 0 0 0 5px var(--blue), inset 0 0 0 8px #fff, 0 18px 40px rgba(0,0,0,.35); }
.opening-sign .exit-tab { inset-inline-start: 30px; font-size: 14px; }
.plate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; background: rgba(0,0,0,.18); border-radius: 10px; overflow: hidden; }
.plate div { padding: 12px 16px; border-inline-start: 1px solid rgba(255,255,255,.18); }
.plate div:first-child { border-inline-start: 0; }
.plate dt { font-size: 14px; color: #cfe3d6; }
.plate dd { margin: 2px 0 0; font: 400 19px/1.3 var(--head); }
.opening-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 34px; padding-top: 36px; align-items: start; }
.opening-body .text { font-size: 19px; }
.opening-body .text p { white-space: pre-line; }
.apply { position: sticky; top: 16px; }
.apply h2 { font-size: 25px; }
.apply .small { font-size: 15px; color: var(--muted); }
.closed-banner { background: var(--paper-2); border: 2px solid var(--rule); border-radius: 12px; padding: 16px 18px; font-weight: 600; }
.meta-line { color: var(--muted); font-size: 15px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--rule); }
.phone-big { font: 400 clamp(34px, 8vw, 54px)/1 var(--head); direction: ltr; display: inline-block; letter-spacing: 1px; color: var(--ink); text-decoration: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- employer: post + manage ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; padding-top: 34px; }
.aside h3 { font-size: 20px; }
.aside ul { padding-inline-start: 20px; color: var(--muted); }
.key { background: var(--yellow); color: var(--yellow-ink); border-radius: 14px; padding: 24px; }
.key h2 { font-size: 26px; }
.key .link { display: block; direction: ltr; text-align: left; font: 700 16px/1.5 var(--mono); background: #fff; border-radius: 8px; padding: 12px 14px; word-break: break-all; color: var(--ink); margin: 12px 0; user-select: all; }
.status { display: inline-block; font-weight: 700; font-size: 15px; padding: 3px 11px; border-radius: 999px; }
.status.pending { background: #fff2c7; color: #6a5200; }
.status.live { background: #d7efe0; color: var(--sign-2); }
.status.closed { background: var(--paper-2); color: var(--muted); }
.status.rejected { background: #f6d9d7; color: var(--red); }
.apps { display: grid; gap: 12px; }
.app { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.app.new { border-inline-start: 6px solid var(--yellow); }
.app .who { font: 400 21px var(--head); }
.app .tel { direction: ltr; display: inline-block; font-weight: 700; }
.app .note { grid-column: 1 / -1; margin: 0; white-space: pre-line; }
.app .when { color: var(--muted); font-size: 14px; grid-column: 1 / -1; }

/* ---------- listing page ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.filters select, .filters input { height: 46px; border-radius: 8px; border: 0; padding: 0 12px; font: 600 17px var(--body); }
.filters input { min-width: 200px; }
.filters button { height: 46px; border: 0; border-radius: 8px; background: var(--yellow); color: var(--yellow-ink); font: 400 18px var(--head); padding: 0 20px; cursor: pointer; }
.pager { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- editor ---------- */
.ed-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.ed-table th, .ed-table td { text-align: start; padding: 7px 9px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ed-table th { background: var(--paper-2); font-weight: 700; }
.flag { display: inline-block; font-size: 13px; font-weight: 700; background: #f6d9d7; color: var(--red); border-radius: 5px; padding: 1px 7px; margin: 2px; }
.ed-card { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.ed-card pre { white-space: pre-wrap; font: inherit; background: var(--paper); padding: 12px; border-radius: 8px; margin: 10px 0; }
.ed-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ed-actions select { height: 40px; border-radius: 8px; border: 2px solid var(--rule); font: inherit; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .opening-body, .two { grid-template-columns: 1fr; }
  .apply { position: static; }
  .plate { grid-template-columns: 1fr 1fr; }
  .plate div:nth-child(3) { border-inline-start: 0; }
  .plate div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .km { grid-template-columns: 1fr; }
  .employer-band { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top-in { padding: 12px 16px; gap: 10px; }
  .logo-sub { display: none; }
  .nav { gap: 4px 14px; font-size: 16px; }
  .top-in { flex-wrap: nowrap; }
  .nav a:not(.nav-post) { display: none; }
  .nav .nav-post { font-size: 15px; padding: 6px 12px; }
  .gantry { padding: 0 12px 40px; }
  .gantry::before, .gantry::after { height: 50px; }
  .sign { padding: 24px 20px 24px; border-radius: 13px; }
  .find { grid-template-columns: 1fr; }
  .exits { grid-template-columns: 1fr; }
  .row2, .row3, .choice { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .employer-band { padding: 24px 20px; }
  .filters > * { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .exit { transition: none; } .exit:hover { transform: none; } }
@media print { .top, .foot, .apply, .nav { display: none; } body { background: #fff; } }

/* ---------- FAQ ---------- */
.faq details { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font: 400 20px/1.3 var(--head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--sign); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; }
