/*
 * ר.ת.מ בנקר — רכיבי ממשק
 * באנר · חיפוש · קרוסלה · נגן וידאו · עוזר חיפוש
 */

/* ============================================================
   1. באנר הגיבור
   ============================================================ */

.rtm-hero__machine[data-hero-banner] { position: relative; padding: 0; overflow: hidden; }

.rtm-slide {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: var(--rtm-s4);
	background: #fff;
	opacity: 0;
	visibility: hidden;
	text-decoration: none;
	transition: opacity .55s var(--rtm-ease), visibility .55s;
}

.rtm-slide.is-on { opacity: 1; visibility: visible; }

/* הראשונה יושבת בזרימה כדי לקבוע את גובה המסגרת */
.rtm-slide:first-child { position: relative; }

.rtm-slide img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: contain;
	max-block-size: 320px;
}

.rtm-slide__cap {
	position: absolute;
	inset-block-end: var(--rtm-s3);
	inset-inline-start: var(--rtm-s3);
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: rgba(255, 255, 255, .94);
	padding: 6px 10px;
	border-radius: 3px;
}

.rtm-slide__cap b {
	font-family: var(--rtm-font-head);
	font-size: var(--rtm-fs-xs);
	color: var(--rtm-navy);
}

.rtm-slide__cap i {
	font-style: normal;
	font-family: var(--rtm-font-mono);
	font-size: 0.7rem;
	color: var(--rtm-blue);
	unicode-bidi: isolate;
}

.rtm-slide__dots {
	position: absolute;
	inset-block-end: var(--rtm-s3);
	inset-inline-end: var(--rtm-s3);
	display: flex;
	gap: 6px;
	z-index: 2;
}

.rtm-slide__dots button {
	inline-size: 9px;
	block-size: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--rtm-line);
	cursor: pointer;
	transition: background var(--rtm-dur) var(--rtm-ease), transform var(--rtm-dur) var(--rtm-ease);
}

.rtm-slide__dots button.is-on { background: var(--rtm-green-dark); transform: scale(1.3); }
.rtm-slide__dots button:hover { background: var(--rtm-blue); }

/* ============================================================
   2. חיפוש
   ============================================================ */

/* ההדר נושא לוגו, תפריט, חיפוש, סל וכפתור — צפוף מדי בשורה אחת.
   החיפוש מתכווץ ראשון, וכפתור ההצעה יורד במסכים בינוניים: הטלפון
   וסל ההצעות חשובים ממנו, והוא חוזר בכל עמוד ממילא. */
.rtm-header__search {
	flex: 1 1 140px;
	min-inline-size: 0;
	max-inline-size: 260px;
}

.rtm-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--rtm-s2);
	background: #fff;
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius);
	padding-inline-start: var(--rtm-s3);
}

.rtm-search:focus-within { border-color: var(--rtm-blue); }

.rtm-search__icon { inline-size: 18px; block-size: 18px; flex: none; color: var(--rtm-steel-soft); }

.rtm-search__input {
	flex: 1;
	min-inline-size: 0;
	border: 0;
	background: none;
	padding: .6rem 0;
	font-family: var(--rtm-font-body);
	font-size: var(--rtm-fs-xs);
	color: var(--rtm-text);
}

.rtm-search__input:focus { outline: none; }
.rtm-search__input::-webkit-search-cancel-button { display: none; }

.rtm-search__btn {
	flex: none;
	border: 0;
	background: var(--rtm-navy);
	color: #fff;
	font-family: var(--rtm-font-head);
	font-size: var(--rtm-fs-xs);
	font-weight: 700;
	padding: .6rem .9rem;
	border-start-end-radius: var(--rtm-radius);
	border-end-end-radius: var(--rtm-radius);
	cursor: pointer;
}

.rtm-search__btn:hover { background: var(--rtm-blue); }

.rtm-search__results {
	position: absolute;
	inset-block-start: calc(100% + 6px);
	inset-inline: 0;
	z-index: 60;
	background: #fff;
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius);
	box-shadow: var(--rtm-shadow-lg);
	overflow: hidden;
	max-block-size: 60vh;
	overflow-y: auto;
}

.rtm-search__item {
	display: flex;
	align-items: center;
	gap: var(--rtm-s3);
	padding: var(--rtm-s2) var(--rtm-s3);
	text-decoration: none;
	border-block-end: 1px solid var(--rtm-surface);
}

.rtm-search__item:hover { background: var(--rtm-blue-tint); }

.rtm-search__item img,
.rtm-search__item > span:first-child {
	inline-size: 40px;
	block-size: 40px;
	flex: none;
	object-fit: contain;
	background: var(--rtm-surface-soft);
	border-radius: 3px;
	mix-blend-mode: multiply;
}

.rtm-search__item span:last-child {
	font-size: var(--rtm-fs-xs);
	font-weight: 600;
	color: var(--rtm-navy);
	line-height: 1.35;
}

.rtm-search__all {
	display: block;
	inline-size: 100%;
	border: 0;
	background: var(--rtm-surface-soft);
	padding: var(--rtm-s3);
	font-family: var(--rtm-font-head);
	font-size: var(--rtm-fs-xs);
	font-weight: 700;
	color: var(--rtm-blue);
	cursor: pointer;
}

.rtm-search__all:hover { background: var(--rtm-blue-tint); }

.rtm-search__empty {
	margin: 0;
	padding: var(--rtm-s3);
	font-size: var(--rtm-fs-xs);
	color: var(--rtm-text-soft);
	line-height: 1.5;
}

/* ============================================================
   3. קרוסלה
   ============================================================ */

.rtm-carousel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rtm-s3);
	margin-block-end: var(--rtm-s4);
}

.rtm-carousel__head h2 { margin: 0; }

.rtm-carousel__nav { display: flex; gap: var(--rtm-s2); flex: none; }

.rtm-carousel__btn {
	inline-size: 42px;
	block-size: 42px;
	display: grid;
	place-items: center;
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius);
	background: #fff;
	color: var(--rtm-navy);
	cursor: pointer;
	transition: border-color var(--rtm-dur) var(--rtm-ease), color var(--rtm-dur) var(--rtm-ease);
}

.rtm-carousel__btn:hover { border-color: var(--rtm-blue); color: var(--rtm-blue); }
.rtm-carousel__btn svg { inline-size: 20px; block-size: 20px; }

/* מספר הכרטיסים הנראים בבת אחת. הרוחב מחושב ממנו, עם רצפה של 220px
   כדי שהמסילה תגלוש הצידה במקום לדחוס את כל הכרטיסים לרוחב הנראה
   — בלי הרצפה הזו הכותרות מתפרקות למילה בשורה. */
.rtm-carousel {
	--car-view: 1.35;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: max(
		220px,
		calc((100% - (var(--car-view) - 1) * var(--rtm-s3)) / var(--car-view))
	);
	align-items: stretch;
	gap: var(--rtm-s3);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--rtm-s3);
	padding-block-end: var(--rtm-s2);
	scrollbar-width: thin;
}

/* הפריט נמתח לגובה השורה; הכרטיס שבתוכו צריך למלא אותו, אחרת
   הכרטיסים יוצאים בגבהים שונים ותחתיתם מתנדנדת. */
.rtm-carousel__item {
	scroll-snap-align: start;
	display: flex;
	min-inline-size: 0;
}

.rtm-carousel__item > * { inline-size: 100%; }

/* בכרטיס צר הכותרת חייבת גבול, אחרת שם ארוך דוחף את הכפתורים למטה
   ומקלקל את יישור השורה. */
.rtm-carousel .rtm-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rtm-carousel .rtm-card__excerpt { -webkit-line-clamp: 2; line-clamp: 2; }

@media (min-width: 620px)  { .rtm-carousel { --car-view: 2; } }
@media (min-width: 900px)  { .rtm-carousel { --car-view: 3; } }
@media (min-width: 1200px) { .rtm-carousel { --car-view: 4; } }

/* ============================================================
   4. נגן וידאו
   ============================================================ */

.rtm-vbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--rtm-s2);
	font-family: var(--rtm-font-head);
	font-size: var(--rtm-fs-xs);
	font-weight: 700;
	padding: .6rem 1rem;
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius);
	background: #fff;
	color: var(--rtm-navy);
	cursor: pointer;
	transition: border-color var(--rtm-dur) var(--rtm-ease), color var(--rtm-dur) var(--rtm-ease);
}

.rtm-vbtn:hover { border-color: var(--rtm-blue); color: var(--rtm-blue); }
.rtm-vbtn svg { inline-size: 1.2em; block-size: 1.2em; flex: none; }
.rtm-vbtn--lg { font-size: var(--rtm-fs-sm); padding: .85rem 1.3rem; margin-block-end: var(--rtm-s3); }
.rtm-vbtn--sm { inline-size: 100%; margin-block: var(--rtm-s2) 0; }

.rtm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: grid;
	place-items: center;
	padding: var(--rtm-s4);
	background: rgba(6, 15, 32, .88);
	backdrop-filter: blur(3px);
	animation: rtm-fade .18s var(--rtm-ease);
}

@keyframes rtm-fade { from { opacity: 0; } to { opacity: 1; } }

.rtm-lightbox__inner {
	position: relative;
	inline-size: min(1100px, 100%);
}

.rtm-lightbox__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--rtm-radius-lg);
	overflow: hidden;
	box-shadow: var(--rtm-shadow-lg);
}

.rtm-lightbox__frame iframe,
.rtm-lightbox__frame video {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	border: 0;
}

.rtm-lightbox__close {
	position: absolute;
	inset-block-start: -48px;
	inset-inline-end: 0;
	inline-size: 38px;
	block-size: 38px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.rtm-lightbox__close:hover { background: rgba(255, 255, 255, .14); }

/* ============================================================
   5. עוזר חיפוש
   ============================================================ */

.rtm-assist-btn {
	position: fixed;
	inset-block-end: var(--rtm-s4);
	inset-inline-end: var(--rtm-s4);
	z-index: 95;
	display: inline-flex;
	align-items: center;
	gap: var(--rtm-s2);
	padding: .8rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--rtm-navy);
	color: #fff;
	font-family: var(--rtm-font-head);
	font-size: var(--rtm-fs-xs);
	font-weight: 700;
	cursor: pointer;
	box-shadow: var(--rtm-shadow-lg);
	transition: background var(--rtm-dur) var(--rtm-ease), transform var(--rtm-dur) var(--rtm-ease);
}

.rtm-assist-btn:hover { background: var(--rtm-blue); transform: translateY(-2px); }
.rtm-assist-btn.is-open { background: var(--rtm-blue-dark); }
.rtm-assist-btn svg { inline-size: 20px; block-size: 20px; flex: none; color: var(--rtm-green); }

/* הפאנל חייב תקרה וגלילה פנימית: בלעדיהן, על מסך נמוך או בנייד
   שכוב, תחתית עץ ההכוונה יוצאת מעל לראש החלון ואי אפשר להגיע אליה. */
.rtm-assist {
	position: fixed;
	inset-block-end: calc(var(--rtm-s4) + 56px);
	inset-inline-end: var(--rtm-s4);
	z-index: 96;
	inline-size: min(370px, calc(100vw - 2rem));
	max-block-size: calc(100vh - var(--rtm-headh) - var(--rtm-s4) * 2 - 56px);
	max-block-size: calc(100dvh - var(--rtm-headh) - var(--rtm-s4) * 2 - 56px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius-lg);
	box-shadow: var(--rtm-shadow-lg);
	overflow: hidden;
	animation: rtm-pop .2s var(--rtm-ease);
}

@keyframes rtm-pop {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

.rtm-assist__head {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rtm-s2);
	padding: var(--rtm-s3);
	background: var(--rtm-navy);
	color: #fff;
	font-family: var(--rtm-font-head);
}

.rtm-assist__x {
	flex: none;
	inline-size: 32px;
	block-size: 32px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: var(--rtm-radius);
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.rtm-assist__x:hover { background: rgba(255, 255, 255, .25); }

.rtm-assist__body {
	padding: var(--rtm-s3);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

/* הכותרת הראשונה בגוף לא צריכה מרווח עליון כפול */
.rtm-assist__body > .rtm-assist__label:first-child { margin-block-start: 0; }

.rtm-assist__label {
	display: block;
	margin-block: var(--rtm-s3) var(--rtm-s2);
	font-family: var(--rtm-font-head);
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--rtm-steel-soft);
}

.rtm-assist__cats { display: flex; flex-wrap: wrap; gap: 6px; }

.rtm-assist__cats a {
	padding: 5px 10px;
	border: 1px solid var(--rtm-line);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--rtm-navy);
	text-decoration: none;
}

.rtm-assist__cats a:hover { border-color: var(--rtm-blue); color: var(--rtm-blue); }

.rtm-assist__cta { display: flex; gap: var(--rtm-s2); }
.rtm-assist__cta .rtm-btn { flex: 1; font-size: 0.75rem; padding: .6rem .5rem; }

/* ============================================================
   6. רספונסיביות
   ============================================================ */

@media (max-width: 1380px) {
	.rtm-header__actions .rtm-btn--primary { display: none; }
}

@media (max-width: 1180px) {
	.rtm-header__search { display: none; }
}

@media (max-width: 900px) {
	/* בסרגל הפעולות התחתון אין מקום גם לעוזר */
	/* מעל סרגל הפעולות התחתון, ובלי הטקסט — אין מקום לשניהם */
	.rtm-assist-btn { inset-block-end: 84px; padding: .75rem; }
	.rtm-assist-btn span { display: none; }
	.rtm-assist-btn svg { inline-size: 26px; block-size: 26px; }

	.rtm-assist {
		inset-block-end: calc(84px + 58px);
		inset-inline: var(--rtm-s3);
		inline-size: auto;
		max-block-size: calc(100vh - var(--rtm-headh) - 84px - 58px - var(--rtm-s3));
		max-block-size: calc(100dvh - var(--rtm-headh) - 84px - 58px - var(--rtm-s3));
	}
}

@media (max-width: 620px) {
	.rtm-carousel__head { flex-direction: column; align-items: flex-start; }
	.rtm-lightbox { padding: var(--rtm-s2); }
	.rtm-lightbox__close { inset-block-start: -44px; }
}

/* ============================================================
   7. סרגל נגישות
   ============================================================ */

.rtm-a11y-btn {
	position: fixed;
	inset-block-end: var(--rtm-s4);
	inset-inline-start: var(--rtm-s4);
	z-index: 95;
	inline-size: 54px;
	block-size: 54px;
	display: grid;
	place-items: center;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--rtm-blue);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--rtm-shadow-lg);
	transition: background var(--rtm-dur) var(--rtm-ease), transform var(--rtm-dur) var(--rtm-ease);
}

.rtm-a11y-btn:hover { background: var(--rtm-blue-dark); transform: scale(1.06); }
.rtm-a11y-btn svg { inline-size: 30px; block-size: 30px; }

.rtm-a11y {
	position: fixed;
	inset-block-end: calc(var(--rtm-s4) + 64px);
	inset-inline-start: var(--rtm-s4);
	z-index: 96;
	inline-size: min(390px, calc(100vw - 2rem));
	max-block-size: calc(100vh - var(--rtm-headh) - var(--rtm-s4) * 2 - 64px);
	max-block-size: calc(100dvh - var(--rtm-headh) - var(--rtm-s4) * 2 - 64px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius-lg);
	box-shadow: var(--rtm-shadow-lg);
	overflow: hidden;
}

.rtm-a11y__head {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rtm-s2);
	padding: var(--rtm-s3) var(--rtm-s4);
	background: var(--rtm-navy);
	color: #fff;
}

.rtm-a11y__title {
	display: flex;
	align-items: center;
	gap: var(--rtm-s2);
	font-family: var(--rtm-font-head);
	font-weight: 700;
	font-size: var(--rtm-fs-md);
}

.rtm-a11y__title svg { inline-size: 22px; block-size: 22px; color: var(--rtm-green); }

.rtm-a11y__x {
	flex: none;
	inline-size: 32px;
	block-size: 32px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: var(--rtm-radius);
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
}

.rtm-a11y__x:hover { background: rgba(255, 255, 255, .25); }
.rtm-a11y__x svg { inline-size: 18px; block-size: 18px; }

.rtm-a11y__body {
	padding: var(--rtm-s3);
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* שלוש התאמות בשורה — כל אחת אריח עם אייקון, שם והסבר קצר,
   כדי שהתפריט ייקרא במבט אחד ולא כרשימת צ'קבוקסים. */
.rtm-a11y__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--rtm-s2);
}

.rtm-a11y__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	padding: var(--rtm-s3) 6px;
	min-inline-size: 0;
	text-align: center;
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius);
	background: #fff;
	cursor: pointer;
	transition: border-color var(--rtm-dur) var(--rtm-ease),
	            background var(--rtm-dur) var(--rtm-ease);
}

.rtm-a11y__tile:hover { border-color: var(--rtm-blue); background: var(--rtm-blue-tint); }

/* הצ'קבוקס נשאר במסמך למען קורא מסך ומקלדת, ורק יוצא מהתצוגה */
.rtm-a11y__tile input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0;
	margin: 0;
}

.rtm-a11y__tile:focus-within {
	outline: 2px solid var(--rtm-blue);
	outline-offset: 2px;
}

.rtm-a11y__ico {
	inline-size: 40px;
	block-size: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--rtm-surface);
	color: var(--rtm-navy);
	transition: background var(--rtm-dur) var(--rtm-ease), color var(--rtm-dur) var(--rtm-ease);
}

.rtm-a11y__ico svg { inline-size: 22px; block-size: 22px; }

.rtm-a11y__lbl {
	font-family: var(--rtm-font-head);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--rtm-navy);
}

.rtm-a11y__hint {
	font-size: 0.75rem;
	line-height: 1.3;
	color: var(--rtm-steel-soft);
}

/* מצב פעיל — האריח מתמלא, כדי שיהיה ברור מה דלוק גם בלי צבע בלבד */
.rtm-a11y__tile:has(input:checked) {
	border-color: var(--rtm-blue);
	background: var(--rtm-blue-tint);
	box-shadow: inset 0 0 0 1px var(--rtm-blue);
}

.rtm-a11y__tile:has(input:checked) .rtm-a11y__ico {
	background: var(--rtm-blue);
	color: #fff;
}

.rtm-a11y__tile:has(input:checked)::after {
	content: '✓';
	position: absolute;
	inset-block-start: 4px;
	inset-inline-end: 6px;
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--rtm-blue);
}

.rtm-a11y__reset {
	inline-size: 100%;
	margin-block-start: var(--rtm-s3);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--rtm-s2);
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius);
	background: none;
	padding: .65rem;
	font-family: var(--rtm-font-head);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--rtm-steel);
	cursor: pointer;
}

.rtm-a11y__reset:hover { border-color: var(--rtm-blue); color: var(--rtm-blue); }
.rtm-a11y__reset svg { inline-size: 16px; block-size: 16px; }

.rtm-a11y__foot {
	flex: none;
	padding: var(--rtm-s3);
	border-block-start: 1px solid var(--rtm-line);
	background: var(--rtm-surface-soft, #f7f9f7);
}

/* הקישור להצהרה הוא חובה בתקנות, ולכן הוא כפתור מלא ולא שורה קטנה */
.rtm-a11y__doc {
	display: flex;
	align-items: center;
	gap: var(--rtm-s2);
	padding: var(--rtm-s3);
	border: 1px solid var(--rtm-blue);
	border-radius: var(--rtm-radius);
	background: #fff;
	color: var(--rtm-navy);
	text-decoration: none;
	transition: background var(--rtm-dur) var(--rtm-ease);
}

.rtm-a11y__doc:hover { background: var(--rtm-blue-tint); }
.rtm-a11y__doc > svg:first-child { inline-size: 22px; block-size: 22px; flex: none; color: var(--rtm-blue); }
.rtm-a11y__doc span { display: grid; gap: 2px; min-inline-size: 0; }
.rtm-a11y__doc strong { font-family: var(--rtm-font-head); font-size: 0.92rem; }
.rtm-a11y__doc small { font-size: 0.72rem; color: var(--rtm-text-soft); line-height: 1.35; }

.rtm-a11y__doc-arr {
	inline-size: 18px;
	block-size: 18px;
	flex: none;
	margin-inline-start: auto;
	color: var(--rtm-blue);
}

[dir='ltr'] .rtm-a11y__doc-arr { transform: scaleX(-1); }

.rtm-a11y__note {
	margin: var(--rtm-s3) 0 0;
	font-size: 0.78rem;
	color: var(--rtm-text-soft);
	line-height: 1.6;
}

.rtm-a11y__note a { color: var(--rtm-green-text); }

/* קישור ההצהרה בפוטר — נדרש בתקנות ולכן מסומן ולא נבלע בשורת הזכויות */
.rtm-footer__a11y {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: .35rem .7rem;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.rtm-footer__a11y:hover { border-color: var(--rtm-green); color: var(--rtm-green); }
.rtm-footer__a11y svg { inline-size: 17px; block-size: 17px; }

/* --- ההעדפות עצמן --- */

html.a11y-bigtext { font-size: 118%; }
html.a11y-bigger  { font-size: 138%; }

html.a11y-contrast {
	--rtm-text-soft: #1c2b1f;
	--rtm-steel: #1c2b1f;
	--rtm-steel-soft: #2c4030;
	--rtm-line: #78877c;
}

html.a11y-contrast :is(.rtm-section--navy, .rtm-hero) .rtm-lead,
html.a11y-contrast .rtm-hero__lead { color: #fff; }

/* ניגודיות הפוכה — צהוב על שחור, הבקשה הנפוצה ביותר בכבדי ראייה.
   הסריקה חייבת להיות גורפת: כל כלל שנשאר בחוץ מציג כתם בהיר על
   עמוד שחור, וזה בדיוק מה שהמצב הזה בא למנוע. */
html.a11y-dark,
html.a11y-dark body { background: #000 !important; }

html.a11y-dark *:not(svg):not(svg *) {
	background-color: #000 !important;
	background-image: none !important;
	color: #ffe74c !important;
	border-color: #ffe74c !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

html.a11y-dark :is(a, a *) { color: #7fd7ff !important; }

html.a11y-dark :is(.rtm-btn, button, input, textarea, select) {
	border: 2px solid currentColor !important;
}

/* התצלומים מוצגים על לבן ומעורבבים ב-multiply. על רקע שחור הערבוב
   הזה מוחק אותם לגמרי, ולכן המסגרת נשארת לבנה והערבוב מבוטל. */
html.a11y-dark :is(.rtm-card__media, .rtm-cat__media, .rtm-hero__shot, .rtm-logo) {
	background: #fff !important;
}

html.a11y-dark img { mix-blend-mode: normal !important; }

/* קישוטים בלבד — על רקע שחור הם רק רעש */
html.a11y-dark :is(.rtm-pass, .rtm-grain::before, .rtm-edge::before) { display: none !important; }

html.a11y-links a:not(.rtm-btn):not(.rtm-logo) {
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 2px;
}

/* סימון כותרות — עוזר להתמצא בעמוד ארוך */
html.a11y-heads :is(h1, h2, h3, h4) {
	outline: 2px dashed currentColor;
	outline-offset: 4px;
}

/* גופן קריא: ריווח אותיות ושורות גדול יותר, בלי סריפים */
html.a11y-readable :is(body, p, li, a, span, label, input, textarea, button) {
	font-family: Arial, 'Arial Hebrew', sans-serif !important;
	letter-spacing: .035em !important;
	word-spacing: .12em !important;
	line-height: 1.9 !important;
}

html.a11y-cursor,
html.a11y-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4 8 38 16 30 22 44 30 40 24 27 36 26z' fill='%23000' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") 6 4, auto !important;
}

html.a11y-nomotion *,
html.a11y-nomotion *::before,
html.a11y-nomotion *::after {
	animation-duration: .001s !important;
	animation-iteration-count: 1 !important;
	transition-duration: .001s !important;
	scroll-behavior: auto !important;
}

/* מסמך ההצהרה */
.rtm-a11y-doc h2 {
	font-size: var(--rtm-fs-xl);
	margin-block: var(--rtm-s5) var(--rtm-s3);
}

.rtm-a11y-doc h3 {
	font-size: var(--rtm-fs-md);
	margin-block: var(--rtm-s4) var(--rtm-s2);
	color: var(--rtm-blue);
}

.rtm-a11y-doc ul { margin-block-end: var(--rtm-s3); }
.rtm-a11y-doc li { margin-block-end: 6px; }

.rtm-a11y-card {
	background: var(--rtm-surface-soft);
	border: 1px solid var(--rtm-line);
	border-inline-start: 4px solid var(--rtm-green);
	border-radius: var(--rtm-radius);
	padding: var(--rtm-s4);
	margin-block: var(--rtm-s3);
}

@media (max-width: 900px) {
	/* מעל סרגל הפעולות התחתון, ולא מתחתיו */
	.rtm-a11y-btn { inset-block-end: 84px; inline-size: 50px; block-size: 50px; }
	.rtm-a11y-btn svg { inline-size: 27px; block-size: 27px; }

	.rtm-a11y {
		inset-block-end: calc(84px + 58px);
		inset-inline: var(--rtm-s3);
		inline-size: auto;
		max-block-size: calc(100vh - var(--rtm-headh) - 84px - 58px - var(--rtm-s3));
		max-block-size: calc(100dvh - var(--rtm-headh) - 84px - 58px - var(--rtm-s3));
	}

	.rtm-a11y__tile { padding: var(--rtm-s2) 4px; }
	.rtm-a11y__ico { inline-size: 34px; block-size: 34px; }
	.rtm-a11y__ico svg { inline-size: 19px; block-size: 19px; }
	.rtm-a11y__hint { display: none; }
}

/* כפתור סרטון שהומר מתוכן ישן — יושב בראש התיאור */
.rtm-vinline { margin-block-end: var(--rtm-s3); }

/* ============================================================
   8. בוט ההכוונה
   ============================================================ */

.rtm-bot__q {
	margin: 0 0 var(--rtm-s2);
	font-family: var(--rtm-font-head);
	font-size: var(--rtm-fs-sm);
	font-weight: 700;
	color: var(--rtm-navy);
	line-height: 1.4;
}

.rtm-bot__opts { display: grid; gap: 6px; }

.rtm-bot__opt {
	text-align: start;
	padding: .6rem .8rem;
	border: 1px solid var(--rtm-line);
	border-radius: var(--rtm-radius);
	background: #fff;
	font-family: var(--rtm-font-body);
	font-size: var(--rtm-fs-xs);
	font-weight: 600;
	color: var(--rtm-navy);
	cursor: pointer;
	transition: border-color var(--rtm-dur) var(--rtm-ease), background var(--rtm-dur) var(--rtm-ease);
}

.rtm-bot__opt:hover { border-color: var(--rtm-green-dark); background: var(--rtm-green-tint); }

.rtm-bot__note {
	margin: var(--rtm-s2) 0 0;
	font-size: 0.72rem;
	color: var(--rtm-steel-soft);
	line-height: 1.45;
}

.rtm-bot__foot { margin-block-start: var(--rtm-s2); }

.rtm-bot__back {
	border: 0;
	background: none;
	padding: 0;
	font-family: var(--rtm-font-head);
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--rtm-blue);
	cursor: pointer;
	text-decoration: underline;
}

.rtm-assist__body .rtm-search { margin-block-end: var(--rtm-s2); }
