/* -------------------------------------------------------------
   צבעים וגופנים נמשכים מהגלובלים של אלמנטור באתר, עם fallback.
   לשינוי ידני: הגדירו את המשתנים האלה ב-CSS מותאם של הדף.
------------------------------------------------------------- */
.olj {
	/* צבע כפתורי האתר. לשינוי – דרסו את המשתנה ב-CSS מותאם של אלמנטור */
	--olj-primary: #F96363;
	/* גוון כהה יותר לטקסט על רקע לבן ולכפתורים עם טקסט קטן – #F96363 לבן עליו הוא 3:1 בלבד */
	--olj-primary-dark: #C93B3B;
	/* משרות עם שכר מתגמל – כהה, כדי שלא יתחרה בקורל */
	--olj-accent:  #1F2A44;
	--olj-text:    var(--e-global-color-text, #1f2937);
	--olj-muted:   #6b7280;
	--olj-line:    #e5e7eb;
	--olj-bg:      #fff;
	--olj-soft:    #f4f6fa;
	--olj-radius:  14px;
	/* עיגול פינות אחיד לפקדים; לשינוי – דרסו את המשתנה ב-CSS מותאם */
	--olj-btn-radius: 999px;
	/* Roboto אינו כולל עברית (לטינית/קירילית/יוונית בלבד).
	   Heebo הוא ההרחבה העברית של Roboto — אותו שלד, אותן מידות — ולכן הוא הנופל הבא:
	   ספרות ואנגלית ייצאו ב-Roboto, עברית ב-Heebo, בלי הבדל ויזואלי. */
	--olj-font-text:    'Roboto', 'Heebo', Arial, sans-serif;
	--olj-font-heading: 'Secular One', var(--olj-font-text);
	font-family: var(--olj-font-text);
	color: var(--olj-text);
	direction: rtl;
	text-align: right;
}
.olj *, .olj *::before, .olj *::after { box-sizing: border-box; }

/* accessible label only */
.olj-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- search ---------- */
.olj__search { flex: 0 1 340px; min-width: 190px; display: block; position: relative; }
.olj__search input[type=search] {
	width: 100%; min-height: 50px; padding: 12px 48px 12px 18px;
	border: 1.5px solid var(--olj-line); border-radius: var(--olj-btn-radius, 999px); background: var(--olj-bg);
	font: inherit; font-size: 16px; color: var(--olj-text);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'%3E%3C/circle%3E%3Cpath d='M12.5 12.5l5 5'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 17px center;
	box-shadow: 0 1px 3px rgba(31,41,55,.06);
}
.olj__search input[type=search]::placeholder { color: #9aa1ad; }
.olj__search input[type=search]:focus { border-color: var(--olj-primary); outline: 3px solid color-mix(in srgb, var(--olj-primary) 18%, transparent); outline-offset: 0; }
.olj__search input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- filters ---------- */
.olj__filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.olj__select { flex: 1 1 120px; max-width: 175px; min-width: 0; }
/* המיון אינו סינון: יושב בשורת המונה ולא מתאפס עם "ניקוי סינון" */
.olj__count { margin: 6px 0 14px; }
.olj__sort { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.olj__sort-label { font-size: 14px; color: var(--olj-muted); }
.olj .olj__sort select {
	min-height: 40px; padding: 8px 14px; padding-inline-end: 34px; width: auto;
	border: 1.5px solid var(--olj-line); border-radius: var(--olj-btn-radius, 999px);
	background-color: var(--olj-bg); color: var(--olj-text); font: inherit; font-size: 14.5px; font-weight: 600;
	appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: left 14px center;
}
.olj .olj__sort select:focus { border-color: var(--olj-primary); outline: 3px solid color-mix(in srgb, var(--olj-primary) 18%, transparent); }
.olj__filters select {
	width: 100%; text-overflow: ellipsis; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--olj-line); border-radius: var(--olj-btn-radius, 999px);
	background: var(--olj-bg); color: var(--olj-text); font: inherit; font-size: 15px; appearance: none; -webkit-appearance: none;
}
.olj__filters select option:disabled { color: #b9bfc9; }
.olj__filters select { padding-inline-end: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; cursor: pointer; }
.olj__filters select:focus { outline: 2px solid var(--olj-primary); outline-offset: 1px; border-color: var(--olj-primary); }
/* ערכות רבות צובעות כל <button>; מאפסים למה שאינו כפתור פעולה */
.olj button.olj__reset,
.olj button.olj__reset:hover,
.olj button.olj__reset:focus {
	background: none; background-color: transparent; border: 0; box-shadow: none;
	color: var(--olj-primary-dark); font: inherit; font-size: 14px; text-decoration: underline;
	cursor: pointer; padding: 6px; min-height: 0; border-radius: 0;
}

/* השורה: חיפוש קצר, סינון, מיון. הפילטרים עצמם נפתחים בשורה נוספת */
.olj__selects { display: contents; }
.olj__sheet-head, .olj__sheet-foot, .olj__scrim { display: none; }
.olj__select { display: none; }
.olj.is-filters-open .olj__select { display: block; }
.olj__filters { align-items: center; }

.olj__sort { display: inline-flex; align-items: center; flex: 0 0 auto; }
.olj .olj__sort select {
	min-height: 50px; padding: 0 16px; padding-inline-end: 36px; width: auto;
	border: 1.5px solid var(--olj-line); border-radius: var(--olj-btn-radius, 999px);
	background-color: var(--olj-bg); color: var(--olj-text); font: inherit; font-size: 15px; font-weight: 600;
	appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: left 15px center;
}
.olj .olj__sort select:focus { border-color: var(--olj-primary); outline: 3px solid color-mix(in srgb, var(--olj-primary) 18%, transparent); }

.olj button.olj__toggle {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto;
	min-height: 50px; padding: 0 18px; border: 1.5px solid var(--olj-line);
	border-radius: var(--olj-btn-radius, 999px); box-shadow: none;
	background: var(--olj-bg); background-color: var(--olj-bg);
	color: var(--olj-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.olj button.olj__toggle::before {
	content: ''; width: 17px; height: 12px; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='12' fill='none' stroke='%231f2937' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1 2h15M4 6h9M7 10h3'/%3E%3C/svg%3E") no-repeat center;
}
.olj button.olj__toggle[aria-expanded="true"], .olj button.olj__toggle.has-filters {
	border-color: var(--olj-primary); color: var(--olj-primary-dark);
}
.olj button.olj__toggle .olj__toggle-badge {
	min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px;
	background: var(--olj-primary-dark); color: #fff;
	font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.olj button.olj__toggle .olj__toggle-badge[hidden] { display: none; }

.olj__count { color: var(--olj-muted); font-size: 14px; }
.olj__empty { padding: 32px; text-align: center; background: var(--olj-soft); border-radius: var(--olj-radius); }

/* ---------- list ---------- */
.olj__list { display: grid; gap: 14px; grid-template-columns: 1fr; }
/* ---------- mobile: כפתור סינון שפותח גיליון ---------- */
@media (max-width: 760px) {
	/* ---------- כרטיס ---------- */
	.olj__list { gap: 12px; }
	.olj .olj-card__top { flex-direction: column; gap: 11px; }
	/* בתוך flex-column, flex-grow היה מותח את הכפתורים לגובה הכרטיס */
	.olj .olj-card__actions { flex: 0 0 auto; width: 100%; flex-direction: row; flex-wrap: wrap; }
	.olj .olj-card__actions .olj-btn--apply, .olj .olj-card__actions .olj-btn--copy { flex: 1 1 170px; width: auto; }
	.olj-fields { grid-template-columns: 1fr 1fr; gap: 8px; }
	.olj-sections { grid-template-columns: 1fr; gap: 10px; }
	.olj-card__num { flex-basis: 46px; font-size: 19px; }
	.olj-card__body { padding: 14px 13px 12px; gap: 10px; }
	.olj-card__title { font-size: 18px; }
	.olj-card__where { font-size: 13.5px; gap: 10px 12px; }
	.olj-section__body { -webkit-line-clamp: 2; }

	/* ---------- שורת הסינון ---------- */
	.olj__filters { flex-wrap: nowrap; gap: 8px; }
	.olj__search { flex: 1 1 auto; min-width: 0; }
	.olj__search input[type=search] { font-size: 16px; }

	.olj button.olj__toggle .olj__toggle-text { display: none; }

	/* כל הפילטרים עוברים לגיליון תחתון */
	.olj__select, .olj__select.is-secondary { display: none; }
	.olj__selects {
		display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 1001;
		background: var(--olj-bg); border-radius: 18px 18px 0 0; padding: 4px 16px 16px;
		max-height: 82vh; overflow-y: auto; box-shadow: 0 -8px 30px rgba(31,41,55,.22);
		transform: translateY(101%); transition: transform .22s ease; visibility: hidden;
	}
	.olj.is-filters-open .olj__selects { transform: none; visibility: visible; }
	.olj.is-filters-open .olj__select,
	.olj.is-filters-open .olj__select.is-secondary { display: block; }
	.olj__scrim { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(31,41,55,.45); }
	.olj__scrim[hidden] { display: none; }

	.olj__sheet-head {
		display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0;
		background: var(--olj-bg); padding: 14px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--olj-line);
	}
	.olj__sheet-head::before {
		content: ''; position: absolute; top: 6px; inset-inline-start: 50%; transform: translateX(50%);
		width: 40px; height: 4px; border-radius: 999px; background: var(--olj-line);
	}
	.olj__sheet-head strong { font-family: var(--olj-font-heading); font-weight: 400; font-size: 17.5px; }
	.olj button.olj__sheet-x {
		border: 0; background: none; background-color: transparent; box-shadow: none; border-radius: 50%;
		font-size: 20px; color: var(--olj-muted); cursor: pointer; padding: 0; width: 38px; height: 38px;
		display: inline-flex; align-items: center; justify-content: center; line-height: 1;
	}
	.olj__selects .olj__select { max-width: none; margin-top: 10px; }
	.olj__selects .olj__select .olj-sr {
		position: static; width: auto; height: auto; clip: auto; clip-path: none;
		margin: 0 0 5px; display: block; font-size: 13.5px; color: var(--olj-muted);
	}
	.olj__selects select { width: 100%; font-size: 16px; }

	.olj__sheet-foot {
		display: flex; gap: 10px; align-items: center; position: sticky; bottom: 0;
		background: var(--olj-bg); padding: 14px 0 4px; margin-top: 16px; border-top: 1px solid var(--olj-line);
	}
	.olj button.olj__sheet-clear {
		flex: 0 0 auto; min-height: 50px; padding: 0 20px; border: 1.5px solid var(--olj-line);
		border-radius: var(--olj-btn-radius, 999px); box-shadow: none; background: none; background-color: transparent;
		font: inherit; font-size: 15px; color: var(--olj-text); cursor: pointer;
	}
	.olj button.olj__sheet-apply {
		flex: 1 1 auto; min-height: 50px; padding: 0 20px; border: 0;
		border-radius: var(--olj-btn-radius, 999px); box-shadow: none;
		background: var(--olj-primary-dark); background-color: var(--olj-primary-dark);
		color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
	}
	.olj__reset { display: none; }
}

@media (prefers-reduced-motion: reduce) { .olj__selects { transition: none; } }

/* ---------- card ---------- */
.olj-card { position: relative; display: flex; background: var(--olj-bg); border: 1.5px solid var(--olj-line);
	border-radius: var(--olj-radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.olj-card:hover { border-color: #d3d9e2; box-shadow: 0 2px 10px rgba(31,41,55,.06); }
@media (prefers-reduced-motion: reduce) { .olj-card { transition: none; } }
.olj-card.is-featured { border-color: var(--olj-accent); }

/* מספר המשרה – הלשונית האנכית בצד ימין. זה הדבר שהמועמד צריך לקחת מהכרטיס. */
.olj-card__num {
	flex: 0 0 52px; display: flex; align-items: center; justify-content: center;
	background: var(--olj-primary); color: #fff; font-family: var(--olj-font-heading); font-size: 22px; font-weight: 400; letter-spacing: .02em;
	writing-mode: vertical-rl; transform: rotate(180deg); padding: 12px 0; font-variant-numeric: tabular-nums;
}
.olj-card.is-featured .olj-card__num { background: var(--olj-accent); }
.olj-card__body { flex: 1 1 auto; min-width: 0; padding: 16px 20px 16px; display: flex; flex-direction: column; gap: 14px; }

/* שורת הכותרת: זהות המשרה בצד אחד, הפעולות בצד השני */
.olj-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.olj-card__ident { min-width: 0; display: flex; flex-direction: column; gap: 5px; flex: 1 1 auto; }

.olj-card__head { display: flex; flex-direction: column; gap: 5px; }
.olj-card__title { margin: 0; font-family: var(--olj-font-heading); font-weight: 400; font-size: 21px; line-height: 1.2; }
.olj-card__where { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; line-height: 1.4; }
.olj-card__meta { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.olj-card__meta-label { font-size: 11.5px; color: #9aa1ad; line-height: 1.3; }
.olj-card__meta { color: var(--olj-text); font-weight: 600; }
.olj-card__meta-label { font-weight: 400; }
.olj-card__pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.olj-card__body { gap: 12px; }
.olj-pill { font-size: 12px; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--olj-soft); color: var(--olj-muted); }
.olj-pill--featured { background: var(--olj-accent); color: #fff; font-weight: 600; }
.olj-pill--count { background: transparent; border: 1px solid var(--olj-line); color: var(--olj-muted); }

/* משרה שאינה פתוחה: מוצגת, מסומנת בתווית הסטטוס ומעומעמת */
.olj-pill--status { background: #eaf0fe; color: #1d4ed8; font-weight: 700; }
.olj-card.is-paused { background: #fcfcfd; }
.olj-card.is-paused .olj-card__num { background: #94a3b8; }
.olj-card.is-paused .olj-card__title,
.olj-card.is-paused .olj-field__value,
.olj-card.is-paused .olj-card__meta { color: #6b7280; }
.olj-card.is-paused .olj-field { background: #f4f5f7; }

/* פרטי המשרה – תווית לכל נתון */
/* כל נתון באריח משלו: שורה יתומה בסוף הרצועה נראית מכוונת ולא שבורה */
.olj-fields { margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
.olj-field {
	min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px;
	text-align: center; padding: 9px 8px; border-radius: 10px;
	background: var(--olj-soft); border: 1px solid transparent;
}
.olj-field__label { margin: 0; font-size: 11.5px; color: #8d94a1; line-height: 1.25; }
.olj-field__value { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }

/* רובריקות מורחבות – מקוצרות ל-3 שורות עם כפתור "עוד" */
.olj-sections { display: grid; gap: 12px 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	padding-top: 12px; border-top: 1px solid var(--olj-line); }
.olj-section { margin: 0; min-width: 0; }
.olj-section__title { margin: 0 0 2px; font-size: 12.5px; font-weight: 600; color: #9aa1ad; letter-spacing: .01em; }
.olj-section__body { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--olj-text); white-space: pre-line;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.olj-section.is-open .olj-section__body { -webkit-line-clamp: unset; overflow: visible; }
.olj button.olj-section__more {
	background: none; background-color: transparent; border: 0; box-shadow: none;
	padding: 2px 0; margin: 0; min-height: 0; border-radius: 0;
	font: inherit; font-size: 12.5px; color: var(--olj-primary-dark); text-decoration: underline; cursor: pointer;
}

/* actions
   הכפתור מסומן גם כ-.elementor-button, ולכן יורש מהאתר את הצבע, הפינות,
   הגופן והריווח מהגדרות הכפתור הגלובליות של אלמנטור.
   הכללים כאן עטופים ב-:where() (ספציפיות 0) ומשמשים רק כברירת מחדל
   אם אלמנטור לא מגדיר כפתורים. כל כלל של האתר גובר עליהם. */
.olj-card__actions { display: flex; flex-direction: column; gap: 8px; flex: 0 0 210px; width: 210px; }
.olj-card__actions .olj-btn--apply, .olj-card__actions .olj-btn--copy { width: 100%; }
.olj :where(.olj-btn) {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 46px; padding: 10px 20px; border: 0; border-radius: var(--olj-btn-radius, 999px);
	font: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; cursor: pointer; text-decoration: none;
}
.olj :where(.olj-btn--apply) { background: var(--olj-primary); color: #fff; }

/* כפתור העתקת מספר המשרה – משני, עם אייקון וחיווי הצלחה */
.olj button.olj-btn--copy {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	min-height: 46px; padding: 10px 16px; border: 1.5px solid var(--olj-line);
	border-radius: var(--olj-btn-radius, 999px); box-shadow: none;
	background: none; background-color: transparent; color: var(--olj-text);
	font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
	transition: border-color .15s, color .15s;
}
.olj button.olj-btn--copy:hover { border-color: var(--olj-text); }
.olj button.olj-btn--copy .olj-btn__icon {
	width: 15px; height: 15px; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' stroke='%231f2937' stroke-width='1.6'%3E%3Crect x='4.5' y='4.5' width='9' height='9' rx='1.8'/%3E%3Cpath d='M10.5 2.5h-8v8'/%3E%3C/svg%3E") no-repeat center / contain;
}
.olj button.olj-btn--copy.is-copied { border-color: #0e7a4b; color: #0e7a4b; }
.olj button.olj-btn--copy.is-copied .olj-btn__icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' stroke='%230e7a4b' stroke-width='2'%3E%3Cpath d='M2.5 8l3.5 3.5 6.5-7'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .olj button.olj-btn--copy { transition: none; } }
.olj :where(.olj-btn--apply:hover), .olj :where(.olj-btn--apply:focus-visible) { filter: brightness(1.08); color: #fff; }
.olj .olj-btn:focus-visible { outline: 2px solid var(--olj-primary); outline-offset: 2px; }

/* אלמנטור מחיל על .elementor-button פינות מרובעות משלו; שלוש מחלקות גוברות עליו */
.olj .olj-card__actions .olj-btn--apply {
	border-radius: var(--olj-btn-radius, 999px);
	width: 100%;
	justify-content: center;
}

/* toast */
.olj__toast { position: fixed; inset-inline: 16px; bottom: 24px; margin: 0 auto; max-width: 420px; padding: 12px 18px; background: var(--olj-text); color: #fff; border-radius: 10px; text-align: center; font-size: 15px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; z-index: 1000; }
.olj__toast.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .olj__toast, .olj-btn { transition: none; } }
