/* Skop נגישות 1.0.0 */

/* ---------- "דלג לתוכן" ---------- */
.ska-skip {
	position: fixed;
	top: 8px;
	right: 8px;
	z-index: 2147483600;
	padding: 12px 18px;
	background: #000;
	color: #fff !important;
	font: 700 16px/1.2 Arial, sans-serif;
	text-decoration: none;
	border-radius: 8px;
	transform: translateY(-160%);
	transition: transform .15s;
}
.ska-skip:focus {
	transform: none;
	outline: 3px solid #ffbf00;
	outline-offset: 2px;
}

/* ---------- the button and the menu ---------- */
.ska-root {
	--ska-c: #1e1f23;
	--ska-bottom: 24px;
	--ska-lift: 0px; /* raised above the cookie banner while it shows */
	position: fixed;
	bottom: calc(var(--ska-bottom) + var(--ska-lift));
	z-index: 2147483000;
	direction: rtl;
	font: 400 15px/1.4 Arial, "Heebo", sans-serif;
	letter-spacing: normal;
	word-spacing: normal;
	text-align: right;
	transition: bottom .2s;
}
.ska-root.ska-left { left: 20px; }
.ska-root.ska-right { right: 20px; }
.ska-root *,
.ska-root *::before,
.ska-root *::after {
	box-sizing: border-box;
	font-family: Arial, "Heebo", sans-serif;
	letter-spacing: normal;
	word-spacing: normal;
	animation: none;
}

.ska-root .ska-btn {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--ska-c);
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
	cursor: pointer;
	transition: transform .15s;
}
.ska-root .ska-btn:hover { transform: scale(1.06); }
.ska-root .ska-btn:focus-visible,
.ska-root button:focus-visible,
.ska-root a:focus-visible {
	outline: 3px solid #ffbf00;
	outline-offset: 2px;
}

.ska-root .ska-panel {
	position: absolute;
	bottom: 68px;
	width: 340px;
	max-width: calc(100vw - 24px);
	max-height: min(640px, calc(100vh - 110px));
	overflow: auto;
	background: #fff;
	color: #111;
	border: 1px solid rgba(0, 0, 0, .14);
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.ska-root.ska-left .ska-panel { left: 0; }
.ska-root.ska-right .ska-panel { right: 0; }
.ska-root .ska-panel[hidden] { display: none; }

.ska-root .ska-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 14px 16px;
	background: var(--ska-c);
	color: #fff;
	border-radius: 16px 16px 0 0;
}
.ska-root .ska-title {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	background: none;
	border: 0;
	text-transform: none;
}
.ska-root .ska-x {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	cursor: pointer;
}
.ska-root .ska-x:hover { background: rgba(255, 255, 255, .28); }

.ska-root .ska-body { padding: 14px; }

.ska-root .ska-size {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding: 10px 12px;
	background: #f3f3f1;
	border-radius: 12px;
}
.ska-root .ska-size-l { flex: 1; font-weight: 700; color: #111; }
.ska-root .ska-sbtn {
	width: 44px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 10px;
	background: #fff;
	color: #111;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.ska-root .ska-sbtn:hover { border-color: var(--ska-c); }
.ska-root .ska-size-v { min-width: 48px; text-align: center; font-weight: 700; color: #111; }

.ska-root .ska-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 8px;
}
.ska-root .ska-opt {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 86px;
	margin: 0;
	padding: 10px 6px;
	border: 2px solid transparent;
	border-radius: 12px;
	background: #f3f3f1;
	color: #111;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
}
.ska-root .ska-opt:hover { border-color: rgba(0, 0, 0, .25); }
.ska-root .ska-opt[aria-pressed="true"] {
	background: var(--ska-c);
	border-color: var(--ska-c);
	color: #fff;
}
.ska-root .ska-opt svg { flex: none; }

.ska-root .ska-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 16px 16px;
	border-top: 1px solid rgba(0, 0, 0, .1);
}
.ska-root .ska-reset {
	margin: 0;
	padding: 10px 14px;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 10px;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.ska-root .ska-reset:hover { border-color: #111; }
.ska-root .ska-link {
	color: #111 !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline !important;
}

@media (max-width: 480px) {
	.ska-root.ska-left { left: 12px; }
	.ska-root.ska-right { right: 12px; }
	.ska-root .ska-btn { width: 50px; height: 50px; }
	.ska-root .ska-panel,
	.ska-root.ska-left .ska-panel,
	.ska-root.ska-right .ska-panel { position: fixed; bottom: 12px; left: 12px; right: 12px; width: auto; max-width: none; max-height: calc(100vh - 24px); }
}

/* ---------- the effects on the site (never on the menu itself) ---------- */

/* high contrast: black background, white text, yellow links */
html.ska-contrast,
html.ska-contrast body { background: #000 !important; }
html.ska-contrast body *:not(.ska-root, .ska-root *, img, video, svg, svg *, picture, iframe) {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #fff !important;
	text-shadow: none !important;
	box-shadow: none !important;
}
html.ska-contrast body a:not(.ska-root a, .ska-skip),
html.ska-contrast body a:not(.ska-root a, .ska-skip) * { color: #ffe600 !important; }
html.ska-contrast body :is(input, textarea, select):not(.ska-root *) { border: 2px solid #fff !important; }

/* grayscale: on <html>, so fixed elements keep their place */
html.ska-gray { filter: grayscale(1); }

/* links */
html.ska-links body a:not(.ska-root a, .ska-skip) {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px !important;
	outline: 2px solid #ffbf00 !important;
	outline-offset: 1px !important;
}

/* headings */
html.ska-headings body :is(h1, h2, h3, h4, h5, h6):not(.ska-root *) {
	outline: 2px dashed currentColor !important;
	outline-offset: 4px !important;
}

/* readable font (icon fonts are left alone) */
html.ska-font body *:not(.ska-root, .ska-root *, i, svg, svg *, [class*="fa-"], [class^="fa"], [class*="icon"], [class*="dashicons"]) {
	font-family: Arial, Helvetica, sans-serif !important;
	font-style: normal !important;
}

/* text spacing (WCAG 1.4.12) */
html.ska-spacing body *:not(.ska-root, .ska-root *) {
	letter-spacing: .12em !important;
	word-spacing: .16em !important;
	line-height: 1.6 !important;
}
html.ska-spacing body p:not(.ska-root *) { margin-bottom: 2em !important; }

/* no animations */
html.ska-noanim *:not(.ska-root *),
html.ska-noanim *::before,
html.ska-noanim *::after {
	animation-duration: 0s !important;
	animation-iteration-count: 1 !important;
	animation-play-state: paused !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

/* big cursor */
html.ska-cursor,
html.ska-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.6L16 20l-3 1.3-3.4-7.4L4 18z' fill='%23000' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important;
}

/* keyboard focus */
html.ska-focus body :focus:not(.ska-root *) {
	outline: 4px solid #ffbf00 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 7px #000 !important;
}

@media print {
	.ska-root, .ska-skip { display: none !important; }
}
