.egy-careers-page { background: var(--egy-white); }
.egy-ch {
  position: relative; min-height: 360px; color: #fff;
  display: flex; align-items: flex-end;
  background: #1a1d21;
}
.egy-ch__media {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,11,13,.88) 0%, rgba(8,11,13,.55) 48%, rgba(8,11,13,.28) 100%),
    var(--egy-ch-img, none) center / cover no-repeat;
}
.egy-ch__inner { position: relative; z-index: 1; padding: 56px 0 48px; width: min(100% - 32px, var(--egy-container)); }
.egy-ch-bc { margin: 0 0 14px; font-size: 13px; color: rgba(255,255,255,.78); }
.egy-ch-bc a { color: #fff; text-decoration: none; }
.egy-ch-copy { max-width: 640px; }
.egy-ch h1 { margin: 0 0 12px; font-family: var(--egy-font-head); font-size: clamp(32px, 4vw, 48px); line-height: 1.15; color: #fff; }
.egy-ch p { margin: 0 0 22px; color: rgba(255,255,255,.88); max-width: 52ch; }
.egy-ch-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.egy-ch .egy-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.egy-ch .egy-btn--ghost:hover, .egy-ch .egy-btn--ghost:focus-visible { background: rgba(255,255,255,.1); color: #fff; }

.egy-cw, .egy-co, .egy-cp, .egy-ca, .egy-cq { padding: 56px 0; }
.egy-cw { background: #fff5f5; }
.egy-cw__head, .egy-co__head, .egy-cp__head { max-width: 720px; margin-bottom: 28px; }
.egy-cw__head h2, .egy-co__head h2, .egy-cp__head h2, .egy-cq h2, .egy-ca-head h2 {
  margin: 0 0 8px; font-family: var(--egy-font-head); color: var(--egy-ink); font-size: clamp(24px, 3vw, 32px);
}
.egy-cw__head p, .egy-co__head p, .egy-cp__head p { margin: 0; color: var(--egy-muted); }
.egy-cw__lead {
  max-width: 70ch; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.7; color: var(--egy-body) !important;
}

.egy-co__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.egy-co-card {
  border: 1px solid #e6e9ee; border-radius: 16px; padding: 0;
  background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.egy-co-card:hover {
  border-color: #d9dee6;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .07);
}
.egy-co-card__body {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 16px; min-width: 0; flex: 1 1 auto;
}
.egy-co-card__dept {
  display: inline-flex; align-self: flex-start;
  margin: 0 0 2px; padding: 4px 10px; border-radius: 999px;
  background: var(--egy-red-soft); color: var(--egy-red);
  font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1.2;
}
.egy-co-card h3 {
  margin: 0; color: var(--egy-ink); font-family: var(--egy-font-head);
  font-size: clamp(18px, 2vw, 21px); line-height: 1.3; font-weight: 800;
}
.egy-co-card__meta {
  margin: 0; color: var(--egy-muted); font-size: 13px; line-height: 1.45;
}
.egy-co-card__summary {
  margin: 4px 0 0; color: #4b5563; font-size: 14px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.egy-co-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding: 12px 20px; border-top: 1px solid #eef1f4; background: #fbfcfd;
}
.egy-co-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer;
  color: var(--egy-ink); font: inherit; font-size: 14px; font-weight: 700;
}
.egy-co-link:hover, .egy-co-link:focus-visible { color: var(--egy-red); outline: none; }
.egy-co-apply {
  flex: 0 0 auto; min-width: 118px; border-radius: 999px !important;
}
.egy-co-card__block h4 {
  margin: 0 0 10px; color: var(--egy-ink); font-size: 15px; font-weight: 800;
}
.egy-co-card__block--summary p { margin: 0 0 10px; color: var(--egy-body); line-height: 1.65; }
.egy-co-card__block--summary p:last-child { margin-bottom: 0; }
.egy-co-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
}
.egy-co-list li {
  position: relative; padding-inline-start: 18px; color: var(--egy-body);
  font-size: 14px; line-height: 1.55;
}
.egy-co-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--egy-red);
}

body.egy-job-modal-open { overflow: hidden; }
.egy-job-modal {
  position: fixed; inset: 0; z-index: 10050;
  display: grid; place-items: center; padding: 18px;
}
.egy-job-modal[hidden] { display: none !important; }
.egy-job-modal__backdrop {
  position: absolute; inset: 0; background: rgba(15, 18, 22, .55);
  backdrop-filter: blur(2px);
}
.egy-job-modal__dialog {
  position: relative; z-index: 1; width: min(100%, 720px); max-height: min(88vh, 820px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 18px; border: 1px solid #e6e9ee;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
}
.egy-job-modal__close {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; margin: 0;
  border: 0; border-radius: 999px; background: #f3f4f6; color: #475467;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  transition: background .15s ease, color .15s ease;
}
.egy-job-modal__close svg {
  width: 16px; height: 16px; display: block; flex: none;
}
.egy-job-modal__close:hover, .egy-job-modal__close:focus-visible {
  background: var(--egy-red-soft); color: var(--egy-red); outline: none;
}
.egy-job-modal__head {
  padding: 22px 56px 14px 22px; border-bottom: 1px solid #eef1f4;
  display: flex; flex-direction: column; gap: 8px;
}
.egy-job-modal__head h2 {
  margin: 0; font-family: var(--egy-font-head); font-size: clamp(20px, 3vw, 26px);
  line-height: 1.25; color: var(--egy-ink);
}
.egy-job-modal__body {
  padding: 16px 22px; overflow: auto; display: grid; gap: 16px;
}
.egy-job-modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; border-top: 1px solid #eef1f4; background: #fbfcfd;
}
.egy-job-modal__dismiss {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 4px; border: 0; background: transparent; cursor: pointer;
  color: #667085; font: inherit; font-size: 14px; font-weight: 700;
}
.egy-job-modal__dismiss:hover, .egy-job-modal__dismiss:focus-visible {
  color: var(--egy-ink); outline: none; text-decoration: underline; text-underline-offset: 3px;
}
.egy-job-modal__apply {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; min-width: 160px; padding: 0 22px; border-radius: 999px;
  background: var(--egy-red); color: #fff; font: inherit; font-size: 14px; font-weight: 800;
  text-decoration: none; border: 1px solid var(--egy-red);
  transition: background .15s ease, border-color .15s ease;
}
.egy-job-modal__apply:hover, .egy-job-modal__apply:focus-visible {
  background: #c40014; border-color: #c40014; color: #fff; outline: none;
}
[dir="rtl"] .egy-job-modal__head { padding: 22px 22px 14px 56px; }
.egy-co-empty {
  border: 1px dashed #cfd4dc; border-radius: 16px; padding: 36px 24px; text-align: center; background: #fbfcfd;
}
.egy-co-empty__ico {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 12px;
  display: grid; place-items: center; background: var(--egy-red-soft); color: var(--egy-red);
}
.egy-co-empty__ico svg { width: 22px; height: 22px; }
.egy-co-empty strong { display: block; color: var(--egy-ink); font-size: 18px; margin-bottom: 6px; }
.egy-co-empty p { margin: 0 0 16px; color: var(--egy-muted); }

.egy-cp { background: var(--egy-surface); }
.egy-cp .egy-process { margin: 0; }

.egy-ca-card {
  background: #fff; border: 1px solid var(--egy-border); border-radius: 18px;
  padding: 28px; box-shadow: var(--egy-shadow); max-width: 920px; margin: 0 auto;
}
.egy-ca-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.egy-ca-doc {
  width: 44px; height: 44px; border-radius: 12px; background: var(--egy-red-soft); color: var(--egy-red);
  display: grid; place-items: center; flex: 0 0 auto;
}
.egy-ca-doc svg { width: 22px; height: 22px; }
.egy-ca-head h2 { margin: 0 0 4px; }
.egy-ca-head p { margin: 0; color: var(--egy-muted); font-size: 14px; }
.egy-cf {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; position: relative;
}
.egy-cf-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.egy-cf-label { font-size: 13px; font-weight: 700; color: var(--egy-ink); }
.egy-cf-label abbr { color: var(--egy-red); text-decoration: none; }
.egy-cf-control {
  display: flex; align-items: center; gap: 10px; min-height: 48px;
  border: 1px solid var(--egy-border); border-radius: 12px; background: var(--egy-surface); padding: 0 14px;
}
.egy-cf-control:focus-within {
  outline: none; border-color: var(--egy-red); background: #fff;
  box-shadow: 0 0 0 4px rgba(230, 0, 18, .1);
}
.egy-cf-ico { color: var(--egy-muted); display: inline-flex; flex: 0 0 auto; }
.egy-cf-ico svg { width: 18px; height: 18px; }
.egy-cf-control input, .egy-cf-field textarea {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 0; font: inherit; color: var(--egy-ink);
}
.egy-cf-control--select { position: relative; padding-inline-end: 36px; }
.egy-cf-control--select::after {
  content: ""; position: absolute; inset-inline-end: 14px; top: 50%; z-index: 1; width: 10px; height: 7px;
  transform: translateY(-50%); pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555b68' d='M1.2 1.3 6 6.1l4.8-4.8 1.2 1.2L6 8.4 0 2.5z'/%3E%3C/svg%3E");
}
.egy-cf-select {
  position: relative; flex: 1 1 auto; min-width: 0; align-self: stretch;
  display: flex; align-items: center;
}
.egy-cf-select select {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: transparent !important; font-size: 16px;
}
.egy-cf-select__value {
  display: block; width: 100%; min-width: 0; pointer-events: none;
  font: inherit; font-size: 15px; line-height: 1.5; color: var(--egy-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-block: 2px;
}
.egy-cf-select__value.is-placeholder { color: #5c6470; }
.egy-cf-field textarea {
  border: 1px solid var(--egy-border); border-radius: 12px; background: var(--egy-surface);
  padding: 14px 16px; resize: vertical; min-height: 120px;
}
.egy-cf-field textarea:focus {
  outline: none; border-color: var(--egy-red); background: #fff;
  box-shadow: 0 0 0 4px rgba(230, 0, 18, .1);
}
.egy-cf-field--wide, .egy-cf-files, .egy-cf-privacy, .egy-cf-actions { grid-column: 1 / -1; }
.egy-cf-error { color: var(--egy-red); font-size: 12px; }
.egy-cf-field.has-error .egy-cf-control,
.egy-cf-field.has-error textarea,
.egy-cf-files.has-error { border-color: var(--egy-red); }
.egy-cf-files {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  border: 1px dashed #cfd4dc; border-radius: 14px; padding: 16px 18px; background: #fbfcfd;
}
.egy-cf-files p { margin: 4px 0 0; color: var(--egy-muted); font-size: 13px; }
.egy-cf-filename { font-weight: 600; color: var(--egy-ink) !important; }
.egy-cf-file-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.egy-cf-choose {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--egy-border); border-radius: 999px; padding: 10px 16px;
  cursor: pointer; font-weight: 700; background: #fff; white-space: nowrap;
}
.egy-cf-choose input { position: absolute; opacity: 0; width: 0; height: 0; }
.egy-cf-choose svg { width: 16px; height: 16px; color: var(--egy-red); }
.egy-cf-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--egy-body); flex-wrap: wrap; }
.egy-cf-privacy .egy-cf-error { flex-basis: 100%; }
.egy-cf-actions { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.egy-cf-secure { margin: 0; color: var(--egy-muted); font-size: 12px; display: flex; gap: 6px; align-items: center; }
.egy-cf-secure svg { width: 14px; height: 14px; color: var(--egy-red); }

.egy-cq .egy-faq-item {
  border: 1px solid var(--egy-border); border-radius: 12px; background: #fff; padding: 0 16px; margin: 0 0 10px;
}
.egy-cq summary { cursor: pointer; font-weight: 700; color: var(--egy-ink); padding: 14px 0; list-style: none; }
.egy-cq summary::-webkit-details-marker { display: none; }
.egy-cq .egy-faq-item > div { padding: 0 0 14px; color: var(--egy-body); }

.egy-cr { padding: 12px 0 40px; }
.egy-cr__inner {
  background: var(--egy-red); color: #fff; border-radius: 24px; padding: 22px 28px;
  display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap;
}
.egy-cr h2, .egy-cr p { color: #fff; margin: 0 0 4px; }

@media (max-width: 800px) {
  .egy-co__grid, .egy-cf { grid-template-columns: 1fr; }
  .egy-ch { min-height: 300px; }
  .egy-ch__inner { padding: 36px 0 32px; }
  .egy-cw, .egy-co, .egy-cp, .egy-ca, .egy-cq { padding: 40px 0; }
  .egy-cf-files { flex-direction: column; align-items: stretch; }
  .egy-cr__inner { border-radius: 18px; }
  .egy-co-card { padding: 18px; }
}
@media (max-width: 560px) {
  .egy-ch-actions .egy-btn { width: 100%; justify-content: center; }
  .egy-co-card__body { padding: 16px 16px 12px; }
  .egy-co-card__foot {
    flex-direction: column; align-items: stretch; padding: 12px 16px;
  }
  .egy-co-link, .egy-co-apply { width: 100%; justify-content: center; }
  .egy-job-modal { padding: 10px; }
  .egy-job-modal__dialog { max-height: 92vh; border-radius: 14px; }
  .egy-job-modal__head, .egy-job-modal__body { padding-inline: 16px; }
  .egy-job-modal__foot {
    padding: 12px 16px; flex-direction: column-reverse; align-items: stretch; gap: 8px;
  }
  .egy-job-modal__apply, .egy-job-modal__dismiss {
    width: 100%; min-height: 44px;
  }
  .egy-job-modal__dismiss {
    border: 1px solid #e5e8ee; border-radius: 999px; background: #fff; text-decoration: none;
  }
}
[dir="rtl"] .egy-ch__media {
  background:
    linear-gradient(270deg, rgba(8,11,13,.88) 0%, rgba(8,11,13,.55) 48%, rgba(8,11,13,.28) 100%),
    var(--egy-ch-img, none) center / cover no-repeat;
}
