/* ==========================================================================
   תפריט נגישות (תקן 5568) — העדפות משתמש בלבד.
   כל ההתאמות הן class על <html>; התוכן עצמו לא משתנה.
   ========================================================================== */

/* ---------- trigger + panel ---------- */
#mz-a11y-trigger {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 100000;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #0077B6;
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
	transition: transform .2s ease, background-color .2s ease;
}

#mz-a11y-trigger:hover { background: #00B4D8; transform: scale(1.06); }
#mz-a11y-trigger svg { width: 30px; height: 30px; }

#mz-a11y-trigger:focus-visible,
#mz-a11y-panel button:focus-visible,
#mz-a11y-panel a:focus-visible {
	outline: 3px solid #FFE600;
	outline-offset: 3px;
}

#mz-a11y-panel {
	position: fixed;
	left: 18px;
	bottom: 84px;
	z-index: 100000;
	width: 340px;
	max-width: calc(100vw - 36px);
	max-height: calc(100vh - 110px);
	overflow-y: auto;
	padding: 20px;
	border-radius: 12px;
	background: #fff;
	color: #0F141C;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
	direction: rtl;
	font: 400 16px/1.4 Heebo, Arial, sans-serif;
}

#mz-a11y-panel[hidden] { display: none; }

#mz-a11y-panel h2 {
	margin: 0 0 4px;
	font: 700 20px/1.3 Heebo, Arial, sans-serif;
	color: #0F141C;
}

#mz-a11y-panel .mz-a11y-sub {
	margin: 0 0 14px;
	font-size: 13px;
	color: #4A5565;
}

#mz-a11y-panel .mz-a11y-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

#mz-a11y-panel .mz-a11y-grid button {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	min-height: 64px;
	padding: 10px 12px;
	border: 2px solid #D5DBE3;
	border-radius: 8px;
	background: #F4F6F9;
	color: #0F141C;
	font: 600 15px/1.25 Heebo, Arial, sans-serif;
	text-align: right;
	cursor: pointer;
}

#mz-a11y-panel .mz-a11y-grid button small {
	font-weight: 400;
	font-size: 13px;
	color: #3E4856;
}

#mz-a11y-panel .mz-a11y-grid button.is-on {
	border-color: #0077B6;
	background: #E3F4FB;
}

#mz-a11y-panel .mz-a11y-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #E2E6EC;
}

#mz-a11y-panel .mz-a11y-reset {
	padding: 9px 16px;
	border: 0;
	border-radius: 40px;
	background: #0F141C;
	color: #fff;
	font: 700 14px Heebo, Arial, sans-serif;
	cursor: pointer;
}

#mz-a11y-panel .mz-a11y-foot a {
	font-size: 14px;
	color: #005A8C;
	text-decoration: underline;
}

.mz-a11y-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 767px) {
	#mz-a11y-trigger { width: 48px; height: 48px; left: 12px; bottom: 76px; }
	#mz-a11y-panel { left: 12px; bottom: 134px; max-height: calc(100vh - 160px); }
}

/* ---------- skip link (Hello's .skip-link, made visible on focus) ---------- */
.skip-link.screen-reader-text:focus {
	inset-inline-start: 12px !important;
	top: 12px !important;
	z-index: 100001;
	padding: 12px 20px !important;
	background: #FFE600 !important;
	color: #0F141C !important;
	font: 700 18px Heebo, Arial, sans-serif !important;
	clip: auto !important;
	width: auto !important;
	height: auto !important;
}

/* clear keyboard focus everywhere on the site */
.elementor a:focus-visible,
.elementor button:focus-visible,
.elementor input:focus-visible,
.elementor select:focus-visible,
.elementor textarea:focus-visible,
.elementor [tabindex]:focus-visible {
	outline: 3px solid #FFE600 !important;
	outline-offset: 3px;
}

/* ---------- preferences ---------- */
html.a11y-text-115 .elementor { zoom: 1.15; }
html.a11y-text-130 .elementor { zoom: 1.3; }
html.a11y-text-150 .elementor { zoom: 1.5; }

html.a11y-lines-16 .elementor :is(p, li, h1, h2, h3, h4, a, span) { line-height: 1.6 !important; }
html.a11y-lines-20 .elementor :is(p, li, h1, h2, h3, h4, a, span) { line-height: 2 !important; }
html.a11y-spacing .elementor :is(p, li, a, span) { letter-spacing: .06em !important; word-spacing: .16em !important; }

html.a11y-font .elementor * { font-family: Arial, Helvetica, sans-serif !important; }

html.a11y-links .elementor a,
html.a11y-links .elementor [href] {
	text-decoration: underline !important;
	text-underline-offset: 3px;
	outline: 2px dashed #FFE600 !important;
	outline-offset: 2px;
}

html.a11y-headings .elementor :is(h1, h2, h3, h4, h5, h6) {
	outline: 2px solid #FF6A00 !important;
	outline-offset: 4px;
}

html.a11y-contrast-high { filter: contrast(1.45) saturate(1.2); }
html.a11y-contrast-mono { filter: grayscale(1); }
html.a11y-contrast-invert { filter: invert(1) hue-rotate(180deg); }
html.a11y-contrast-invert img,
html.a11y-contrast-invert video { filter: invert(1) hue-rotate(180deg); }
/* keep the widget itself readable so it can be switched off */
html.a11y-contrast-invert #mz-a11y-panel,
html.a11y-contrast-invert #mz-a11y-trigger { filter: invert(1) hue-rotate(180deg); }

html.a11y-cursor,
html.a11y-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewBox='0 0 40 48'%3E%3Cpath d='M3 3l32 22-14 3 9 16-6 3-9-16-12 10z' fill='%23000' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") 3 3, auto !important;
}

html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

/* entrance animations: show content in its final state */
html.a11y-motion [data-interaction-id] {
	opacity: 1 !important;
	transform: none !important;
}

@media print {
	html[class*="a11y-"] { filter: none !important; }
	html[class*="a11y-text-"] .elementor { zoom: 1 !important; }
	#mz-a11y-trigger, #mz-a11y-panel { display: none !important; }
}
