:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #172018;
  --muted: #5c665e;
  --line: #dbe1db;
  --brand: #0b6b53;
  --brand-dark: #084737;
  --accent: #c74f2f;
  --focus: #1d66ff;
  --shadow: 0 18px 55px rgba(21, 34, 28, .11);
  --radius: 8px;
  --font-scale: 1;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  font-size: calc(16px * var(--font-scale));
  line-height: 1.55;
}

body.high-contrast {
  --bg: #000;
  --surface: #fff;
  --ink: #000;
  --muted: #111;
  --line: #000;
  --brand: #005fcc;
  --brand-dark: #003a80;
  --accent: #8b1e00;
  --shadow: none;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: .01ms !important;
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a.primary,
a.secondary {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--surface);
  border: 2px solid var(--focus);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 52px);
  background: rgba(246, 247, 244, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: .82rem;
}

.nav,
.top-actions,
.hero-actions,
.section-head,
.access-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
}

.nav a:hover,
.nav-button:hover {
  color: var(--ink);
}

.nav-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  cursor: pointer;
}

.top-actions {
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start;
}

[dir="ltr"] .top-actions {
  grid-column: 3;
  justify-content: flex-end;
}

[dir="ltr"] .brand {
  grid-column: 1;
}

.primary,
.secondary,
.icon-button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
}

.primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  padding: 12px 18px;
  font-weight: 700;
}

.secondary:hover,
.icon-button:hover {
  border-color: var(--brand);
}

.small {
  padding: 9px 12px;
  min-height: 38px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  font-weight: 800;
}

.language-button {
  display: inline-flex;
  width: auto;
  min-width: 96px;
  height: 40px;
  padding-inline: 16px;
  border-radius: 10px;
  white-space: nowrap;
  line-height: 1;
}

.hero {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  min-height: 0;
  padding: 8px clamp(16px, 6vw, 86px) 10px;
  background:
    linear-gradient(115deg, rgba(246, 247, 244, .92), rgba(246, 247, 244, .72)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Crect width='1400' height='900' fill='%23e3e8de'/%3E%3Cpath d='M0 710C150 620 280 650 420 575C590 485 725 330 930 350C1125 369 1245 520 1400 455V900H0Z' fill='%23b8d6ca'/%3E%3Cpath d='M190 500h220v230H190zM470 390h170v340H470zM720 455h260v275H720zM1035 330h190v400h-190z' fill='%23ffffff' opacity='.78'/%3E%3Cpath d='M225 540h55v55h-55zm85 0h55v55h-55zm195-95h44v52h-44zm70 0h44v52h-44zm187 65h58v58h-58zm88 0h58v58h-58zm222-120h46v58h-46zm72 0h46v58h-46z' fill='%230b6b53' opacity='.34'/%3E%3Ccircle cx='1030' cy='210' r='76' fill='%23c74f2f' opacity='.42'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-block: 0 8px;
}

.hero-text {
  max-width: 690px;
  color: #29332c;
  font-size: 1.18rem;
}

.toolbar,
.section {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  padding: 18px;
  margin-block: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
}

.toolbar.has-commission-filter {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.toolbar.local-publish-tools {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.toolbar.local-publish-tools.has-commission-filter {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.toolbar-actions {
  display: flex;
  gap: 10px;
  align-self: end;
}

.reset-filters,
.publish-selection {
  align-self: end;
  white-space: nowrap;
}

.publish-selection[hidden] {
  display: none;
}

.field-filter-control {
  position: relative;
}

.combo-input-wrap {
  position: relative;
}

.combo-input-wrap input {
  padding-inline-end: 44px;
}

.combo-toggle {
  position: absolute;
  inset-block: 1px;
  inset-inline-end: 1px;
  width: 42px;
  min-height: 0;
  border: 0;
  border-inline-start: 1px solid #d8ded9;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: transparent;
  cursor: pointer;
}

[dir="rtl"] .combo-toggle {
  border-inline: 0 1px solid #d8ded9;
  border-radius: var(--radius) 0 0 var(--radius);
}

.combo-toggle::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 9px;
  height: 9px;
  border-inline-end: 2px solid #102019;
  border-block-end: 2px solid #102019;
  transform: translate(-50%, -65%) rotate(45deg);
}

.commission-filter[hidden] {
  display: none;
}

.commission-filter-row {
  display: flex;
  gap: 8px;
}

.commission-filter-row select {
  min-width: 0;
}

.filter-suggestions {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 280px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #aeb9b0;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(21, 34, 28, .18);
}

.filter-suggestions button {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #e3e8e4;
  border-radius: 0;
  background: #ffffff;
  color: #101711;
  padding: 9px 12px;
  text-align: start;
  cursor: pointer;
}

.filter-suggestions button:last-child {
  border-bottom: 0;
}

.filter-suggestions button:hover,
.filter-suggestions button:focus-visible {
  background: #eaf4ef;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd3cc;
  border-radius: var(--radius);
  background: #fff;
  color: #101711;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.section {
  padding-block: 46px;
}

.jobs-section {
  padding-block: 0 46px;
}

.section-head {
  justify-content: space-between;
  margin-bottom: 20px;
}

.jobs-overview {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.job-card {
  display: grid;
  gap: 12px;
  min-height: 310px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}

.job-card.has-candidate-toggle {
  padding-top: 58px;
}

.candidate-job-toggle {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(21, 34, 28, .08);
}

.candidate-job-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.job-card h2 {
  font-size: 1.25rem;
}

.job-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8f1ec;
  color: #173d30;
  font-size: .9rem;
  font-weight: 700;
}

.job-desc {
  color: var(--muted);
  margin: 0;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  align-self: end;
  width: 100%;
}

.job-actions .primary {
  flex: 1 1 auto;
  min-width: 0;
}

.job-actions .secondary {
  flex: 0 0 62px;
}

.job-link {
  min-height: 50px;
  padding-inline: 12px;
  text-align: center;
  font-size: 0.92rem;
  white-space: nowrap;
}

.admin-job-link {
  min-height: 50px;
  padding-inline: 8px;
  background: #e5e7eb;
  border-color: #cbd5e1;
  color: #374151;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-job-link:hover,
.admin-job-link:focus {
  background: #d1d5db;
  color: #1f2937;
}

.job-page {
  background: var(--background);
}

.static-job-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 0;
}

.static-job-page h1 {
  margin: 8px 0 22px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.static-job-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.static-job-nav a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.static-job-nav a:hover,
.static-job-nav a:focus {
  text-decoration: underline;
}

.job-page-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.job-page-details div {
  padding: 18px;
  background: var(--surface);
}

.job-page-details dt {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 8px;
}

.job-page-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.job-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: var(--brand);
  color: #fff;
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.job-page-description {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.job-page-description h2 {
  margin-top: 0;
}

.job-page-description p {
  color: var(--muted);
  line-height: 1.8;
}

.job-page-note {
  color: var(--muted);
  font-size: .92rem;
}

.jobs-index-table-wrap {
  overflow-x: auto;
  margin-block: 22px;
}

.jobs-index-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.jobs-index-table th {
  padding: 0 16px 4px;
  color: var(--muted);
  font-size: .95rem;
  text-align: start;
}

.jobs-index-table td {
  padding: 14px 16px;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.jobs-index-table td:first-child {
  border-inline-start: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.jobs-index-table td:last-child {
  border-inline-end: 1px solid var(--line);
  border-radius: var(--radius) 0 0 var(--radius);
}

.jobs-index-table a {
  color: var(--brand-dark);
  font-weight: 800;
}

.jobs-index-table td,
.jobs-index-number {
  color: var(--muted);
}

.jobs-index-table td:nth-child(2) {
  color: var(--ink);
}

.jobs-index-number {
  white-space: nowrap;
  font-weight: 800;
}

.candidate-page {
  background: #f7faf8;
}

.candidate-list-page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.candidate-page-intro {
  color: var(--muted);
}

.candidate-copy-box {
  display: grid;
  gap: 10px;
  margin-block: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.candidate-copy-box label {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}

.candidate-copy-box textarea {
  min-height: 220px;
  line-height: 1.65;
  direction: rtl;
}

.candidate-copy-button {
  justify-self: start;
}

.candidate-copy-status {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.candidate-table-wrap {
  overflow-x: auto;
  margin-block: 22px;
}

.candidate-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.candidate-table th,
.candidate-table td {
  padding: 14px 16px;
  border-block-end: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.candidate-table th {
  background: #e8f1ec;
  color: #173d30;
  font-weight: 900;
}

.candidate-table tr:last-child td {
  border-block-end: 0;
}

.candidate-table a {
  color: var(--brand-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.candidate-empty {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: clamp(18px, 5vw, 56px);
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.form .wide,
.form button {
  grid-column: 1 / -1;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: start;
}

thead th {
  background: #edf2ed;
  color: #253028;
}

.access-tools {
  align-items: stretch;
}

.access-tools button {
  flex: 1 1 180px;
}

.floating-action,
.accessibility-float,
.back-to-top {
  position: fixed;
  inset-inline-start: 18px;
  z-index: 70;
  display: grid;
  min-width: 88px;
  min-height: 48px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #0b55ff;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 30, 115, .32);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 14px;
}

.accessibility-float {
  inset-block-end: 18px;
  width: 64px;
  min-width: 64px;
  height: 64px;
  min-height: 64px;
  padding: 0;
  border-radius: 50%;
}

.accessibility-float img {
  display: block;
  width: 58px;
  height: 58px;
}

.contact-float {
  inset-block-end: 78px;
  background: #0b6b53;
}

.accessibility-float:hover {
  background: #0646d8;
  transform: translateY(-1px);
}

.back-to-top {
  inset-inline-start: auto;
  inset-inline-end: 18px;
  inset-block-end: 18px;
  min-width: 56px;
  width: 56px;
  min-height: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 0;
  background: #0b6b53;
  font-size: 2rem;
  line-height: 1;
}

.back-to-top:hover {
  background: #084737;
  transform: translateY(-1px);
}

.contact-float:hover {
  background: #084737;
  transform: translateY(-1px);
}

.accessibility-panel {
  position: fixed;
  inset-inline-start: 18px;
  inset-block-end: 96px;
  z-index: 75;
  width: min(760px, calc(100vw - 36px));
  background: #063c32;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.access-panel-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 10px;
}

body.large-text .access-panel-actions {
  flex-wrap: wrap;
}

body.large-text .access-panel-actions button {
  flex-basis: calc(50% - 10px);
}

.accessibility-panel .dialog-head {
  justify-content: center;
  position: relative;
}

.accessibility-panel .dialog-head h2 {
  color: #ffffff !important;
  font-size: 2rem;
  text-align: center;
  margin: 0 42px 16px;
}

.accessibility-panel .dialog-head .icon-button {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
}

.access-panel-actions button {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 10px;
}

.access-statement-link {
  display: block;
  margin-top: 16px;
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
}

body.high-contrast .statement > h2 {
  color: #ffffff;
}

body.high-contrast #accessibility,
body.high-contrast #accessibility h2,
body.high-contrast #accessibility p {
  color: #ffffff;
}

#access-title {
  font-size: 2rem;
}

@media (max-width: 680px) {
  .accessibility-panel {
    overflow-x: auto;
  }

  .access-panel-actions {
    justify-content: flex-start;
  }

  .access-panel-actions button {
    flex-basis: 132px;
    min-width: 132px;
  }
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.statement article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.statement article h3 {
  margin-bottom: 14px;
}

.statement article h4 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.statement article p,
.statement article li {
  line-height: 1.75;
}

.statement article ul,
.statement article ol {
  margin-block: 10px 16px;
  padding-inline-start: 24px;
}

.statement article li {
  margin-bottom: 7px;
}

.statement-updated {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.contact-section {
  padding-block-end: 28px;
}

.contact-grid {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.contact-card {
  direction: rtl;
  grid-column: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.legal-disclaimer {
  direction: rtl;
  grid-column: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: #414842;
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
}

.legal-disclaimer h3 {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.legal-disclaimer p {
  margin: 0 0 9px;
}

.legal-links {
  padding-top: 6px;
}

.legal-links a {
  color: var(--brand);
  font-weight: 700;
}

.site-policy-links {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.site-policy-links a {
  color: var(--brand);
  font-weight: 700;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.policy-card h3 {
  margin-bottom: 12px;
}

.policy-card h4 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.policy-card p {
  line-height: 1.75;
}

.privacy-summary {
  margin: 18px 0 24px;
  padding: 14px 16px;
  background: #edf5f1;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
}

.privacy-summary h4 {
  margin-top: 0;
}

.privacy-summary ul {
  margin: 8px 0 0;
  padding-inline-start: 24px;
}

.privacy-summary li {
  margin-bottom: 6px;
  line-height: 1.6;
}

body.high-contrast .privacy-summary {
  background: #000000;
  border-color: #ffffff;
  color: #ffffff;
}

.site-privacy-section {
  padding-block-end: 110px;
}

[dir="ltr"] .legal-disclaimer {
  direction: ltr;
  text-align: left;
}

[dir="ltr"] .contact-card {
  direction: ltr;
  text-align: left;
}

.contact-card p {
  margin: 0 0 8px;
}

.contact-card a {
  color: var(--brand);
  font-weight: 700;
}

dialog {
  width: min(680px, calc(100% - 26px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0, 0, 0, .42);
}

.dialog-form {
  border: 0;
}

.dialog-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #a62111;
  font-weight: 700;
}

.toast {
  position: fixed;
  inset-inline: 18px auto;
  inset-block-end: 18px;
  z-index: 80;
  max-width: 420px;
  padding: 14px 16px;
  background: #142018;
  color: #fff;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

[dir="ltr"] .toast {
  inset-inline: auto 18px;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .brand,
  .nav,
  .top-actions {
    grid-column: auto;
    grid-row: auto;
  }

  .nav,
  .top-actions {
    justify-content: flex-start;
  }

  [dir="ltr"] .top-actions {
    justify-content: flex-end;
  }

  .split,
  .statement-grid,
  .contact-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .legal-disclaimer {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    padding-block: 18px 24px;
  }

  .toolbar,
  .toolbar.local-publish-tools,
  .toolbar.local-publish-tools.has-commission-filter,
  .job-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    flex-direction: column;
  }

  .toolbar-actions .secondary {
    width: 100%;
  }

  .job-page-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding-inline: 14px;
  }

  .nav a {
    padding-inline: 4px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .job-page-actions {
    flex-direction: column;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions a,
  .top-actions,
  .top-actions button {
    width: 100%;
  }

  .icon-button {
    width: 44px;
  }

  .top-actions,
  .top-actions button.language-button,
  .icon-button.language-button {
    width: auto;
  }

  .icon-button.language-button {
    min-width: 96px;
  }
}
