/**
 * Rachel Mizrahi — accessibility preferences layer (Israeli Regulation 35 / IS 5568).
 *
 * Two concerns live in this file:
 *   1. The "effect" classes the widget JS toggles on <html> (a11y-*).
 *   2. The widget chrome itself (#rm-a11y-trigger / #rm-a11y-panel).
 *
 * RTL-first: logical properties only (inset-inline-*, margin-inline, padding-inline).
 * No webfonts are loaded here — the readable-font mode uses an OS stack that
 * renders Hebrew correctly on every platform.
 */

:root {
	/* Widget chrome — brand palette, tuned so every pair clears 4.5:1. */
	--rma-mocha: #5B4739;
	--rma-mocha-deep: #3E2F25;   /* hover / pressed ground for the trigger */
	--rma-taupe: #725C4E;
	--rma-cream: #F7F3EF;
	--rma-beige: #C5AF9E;
	--rma-white: #FFFDFB;
	--rma-ink: #2A2018;          /* body text inside the panel (>= 12:1 on white) */
	--rma-line: #8A7A6D;         /* borders — 3:1+ against the panel ground */
	--rma-focus: #1A47B8;        /* focus ring — 3:1+ on both cream and mocha */
	--rma-focus-on-dark: #FFD166;

	/* Effect-mode tokens. */
	--rma-hc-ink: #0A0A0A;
	--rma-hc-bg: #FFFFFF;
	--rma-hc-line: #0A0A0A;
	--rma-link-bg: #FFF2A8;      /* link highlight — near-black text stays 4.5:1+ */
	--rma-link-ink: #10233F;
	--rma-heading-bg: #EFE7DE;

	--rma-z: 2147483000;
	--rma-radius: 14px;
}

/* ==================================================================
 * EFFECT: highlight links
 * Underline + a highlight ground so links separate from body copy
 * without relying on colour alone (IS 5568 / WCAG 1.4.1).
 * ================================================================== */
html.a11y-links a,
html.a11y-links a:visited {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 2px !important;
	background-color: var(--rma-link-bg) !important;
	color: var(--rma-link-ink) !important;
	box-shadow: 0 0 0 2px var(--rma-link-bg);
	border-radius: 2px;
}

html.a11y-links a:hover,
html.a11y-links a:focus-visible {
	background-color: #FFE066 !important;
	color: #000 !important;
}

/* Never repaint the widget's own controls — it must stay readable/native. */
html.a11y-links #rm-a11y-panel a,
html.a11y-links #rm-a11y-trigger {
	box-shadow: none;
}

/* ==================================================================
 * EFFECT: high contrast
 * Near-black on white everywhere; decorative imagery, gradients and
 * overlays removed; cards and buttons get real borders so structure
 * survives the loss of colour.
 * ================================================================== */
html.a11y-contrast-high,
html.a11y-contrast-high body,
html.a11y-contrast-high *:not(#rm-a11y-trigger):not(#rm-a11y-trigger *):not(#rm-a11y-panel):not(#rm-a11y-panel *) {
	background-image: none !important;
	background-color: transparent !important;
	color: var(--rma-hc-ink) !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

html.a11y-contrast-high,
html.a11y-contrast-high body {
	background-color: var(--rma-hc-bg) !important;
}

/* Decorative pseudo-elements (lotus motif, gradient scrims, hero overlays). */
html.a11y-contrast-high body *:not(#rm-a11y-panel *)::before,
html.a11y-contrast-high body *:not(#rm-a11y-panel *)::after {
	background-image: none !important;
	opacity: 1;
}

/* Structural affordances — cards, buttons, inputs, media. */
html.a11y-contrast-high button:not(.rm-a11y-opt):not(.rm-a11y-reset):not(.rm-a11y-panel__close),
html.a11y-contrast-high .button,
html.a11y-contrast-high input,
html.a11y-contrast-high select,
html.a11y-contrast-high textarea,
html.a11y-contrast-high .rm-card,
html.a11y-contrast-high .product,
html.a11y-contrast-high li.product,
html.a11y-contrast-high article,
html.a11y-contrast-high img {
	border: 2px solid var(--rma-hc-line) !important;
	background-color: var(--rma-hc-bg) !important;
	color: var(--rma-hc-ink) !important;
}

html.a11y-contrast-high a {
	color: #00309E !important;
	text-decoration: underline !important;
}

/* ==================================================================
 * EFFECT: inverted colours
 * Whole page inverted; media counter-inverted so photography of the
 * products still reads correctly.
 * ================================================================== */
html.a11y-contrast-invert {
	filter: invert(1) hue-rotate(180deg);
	background-color: #fff;
}

html.a11y-contrast-invert img,
html.a11y-contrast-invert video,
html.a11y-contrast-invert picture,
html.a11y-contrast-invert svg,
html.a11y-contrast-invert iframe,
html.a11y-contrast-invert [style*="background-image"] {
	filter: invert(1) hue-rotate(180deg);
}

/* ==================================================================
 * EFFECT: monochrome
 * ================================================================== */
html.a11y-contrast-mono {
	filter: grayscale(1);
}

/* ------------------------------------------------------------------
 * MANDATORY escape hatch: the widget filters itself back so the user
 * can always read the panel and switch the mode off again.
 * ------------------------------------------------------------------ */
html.a11y-contrast-invert #rm-a11y-trigger,
html.a11y-contrast-invert #rm-a11y-panel {
	filter: invert(1) hue-rotate(180deg);
}

html.a11y-contrast-mono #rm-a11y-trigger,
html.a11y-contrast-mono #rm-a11y-panel {
	filter: grayscale(0);
}

/* Media inside the widget must not be double-inverted. */
html.a11y-contrast-invert #rm-a11y-trigger svg,
html.a11y-contrast-invert #rm-a11y-panel svg,
html.a11y-contrast-invert #rm-a11y-panel img {
	filter: none;
}

/* ==================================================================
 * EFFECT: text scaling
 * Scaled on the ROOT only. The site's typography is clamp()/rem based,
 * so this rescales everything proportionally; setting font-size on
 * body or on individual elements would break those clamps.
 * ================================================================== */
html.a11y-text-115 { font-size: 115%; }
html.a11y-text-130 { font-size: 130%; }
html.a11y-text-150 { font-size: 150%; }

/* Keep the widget itself at a fixed physical size so it never grows
   past the viewport when the page text is scaled up. */
html.a11y-text-115 #rm-a11y-panel,
html.a11y-text-130 #rm-a11y-panel,
html.a11y-text-150 #rm-a11y-panel,
html.a11y-text-115 #rm-a11y-trigger,
html.a11y-text-130 #rm-a11y-trigger,
html.a11y-text-150 #rm-a11y-trigger {
	font-size: 16px;
}

/* ==================================================================
 * EFFECT: line spacing
 * ================================================================== */
html.a11y-lines-16 body :is(p, li, dd, dt, td, th, blockquote, figcaption, label, span, a, h1, h2, h3, h4, h5, h6):not(#rm-a11y-panel *):not(#rm-a11y-trigger *) {
	line-height: 1.6 !important;
}

html.a11y-lines-20 body :is(p, li, dd, dt, td, th, blockquote, figcaption, label, span, a, h1, h2, h3, h4, h5, h6):not(#rm-a11y-panel *):not(#rm-a11y-trigger *) {
	line-height: 2 !important;
}

/* ==================================================================
 * EFFECT: readable font
 * OS stack only — no webfont request. Arial / Segoe UI / Tahoma all
 * ship full Hebrew coverage on their respective platforms.
 * ================================================================== */
html.a11y-readable-font body,
html.a11y-readable-font body *:not(#rm-a11y-panel):not(#rm-a11y-panel *):not(#rm-a11y-trigger):not(#rm-a11y-trigger *):not(.dashicons):not([class*="fa-"]) {
	font-family: Arial, "Segoe UI", Tahoma, "Noto Sans Hebrew", sans-serif !important;
	letter-spacing: normal !important;
	font-variant-ligatures: none !important;
}

/* ==================================================================
 * EFFECT: highlight headings
 * ================================================================== */
html.a11y-headings body :is(h1, h2, h3, h4, h5, h6):not(#rm-a11y-panel *) {
	outline: 2px dashed var(--rma-mocha) !important;
	outline-offset: 3px;
	background-color: var(--rma-heading-bg) !important;
	color: var(--rma-ink) !important;
	padding-inline: 6px;
	padding-block: 2px;
	border-radius: 3px;
}

/* ==================================================================
 * EFFECT: cursors (inline SVG data URIs — no network request)
 * ================================================================== */
html.a11y-cursor-black,
html.a11y-cursor-black * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 2 L5 25 L11 19.5 L15 29 L19.5 27 L15.5 18 L23 18 Z' fill='%23000000' stroke='%23FFFFFF' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 5 2, auto !important;
}

html.a11y-cursor-black a,
html.a11y-cursor-black button,
html.a11y-cursor-black [role="button"],
html.a11y-cursor-black label,
html.a11y-cursor-black summary {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M11 2 C9 2 8 3.5 8 5 L8 17 L6 15 C4.5 13.5 2.5 14.5 2.5 16.5 C2.5 17.5 3 18 3.8 19 L9 26 C10 27.4 11.2 28 13 28 L21 28 C24 28 26 26 26 23 L26 14 C26 12.5 25 11.5 23.6 11.5 C22.6 11.5 21.8 12 21.4 12.8 C21.2 11.6 20.3 10.8 19 10.8 C18 10.8 17.2 11.3 16.8 12 C16.5 11 15.6 10.3 14.5 10.3 C13.9 10.3 13.4 10.5 13 10.8 L13 5 C13 3.5 12.5 2 11 2 Z' fill='%23000000' stroke='%23FFFFFF' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 10 2, pointer !important;
}

html.a11y-cursor-big,
html.a11y-cursor-big * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 32 32'%3E%3Cpath d='M5 2 L5 25 L11 19.5 L15 29 L19.5 27 L15.5 18 L23 18 Z' fill='%23000000' stroke='%23FFFFFF' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") 10 4, auto !important;
}

html.a11y-cursor-big a,
html.a11y-cursor-big button,
html.a11y-cursor-big [role="button"],
html.a11y-cursor-big label,
html.a11y-cursor-big summary {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 32 32'%3E%3Cpath d='M11 2 C9 2 8 3.5 8 5 L8 17 L6 15 C4.5 13.5 2.5 14.5 2.5 16.5 C2.5 17.5 3 18 3.8 19 L9 26 C10 27.4 11.2 28 13 28 L21 28 C24 28 26 26 26 23 L26 14 C26 12.5 25 11.5 23.6 11.5 C22.6 11.5 21.8 12 21.4 12.8 C21.2 11.6 20.3 10.8 19 10.8 C18 10.8 17.2 11.3 16.8 12 C16.5 11 15.6 10.3 14.5 10.3 C13.9 10.3 13.4 10.5 13 10.8 L13 5 C13 3.5 12.5 2 11 2 Z' fill='%23000000' stroke='%23FFFFFF' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 20 4, pointer !important;
}

/* ==================================================================
 * EFFECT: stop animations
 * ================================================================== */
html.a11y-stop-anim,
html.a11y-stop-anim *,
html.a11y-stop-anim *::before,
html.a11y-stop-anim *::after {
	animation: none !important;
	animation-play-state: paused !important;
	animation-duration: 0s !important;
	animation-iteration-count: 1 !important;
	transition: none !important;
	transition-duration: 0s !important;
	scroll-behavior: auto !important;
}

/* Autoplaying CSS carousels/marquees that rely on transforms settle at rest. */
html.a11y-stop-anim marquee {
	-moz-binding: none;
}

/* ==================================================================
 * WIDGET — trigger button
 * Fixed at the inline start (right edge in RTL), above everything.
 * ================================================================== */
.rm-a11y-trigger {
	position: fixed;
	inset-inline-start: 18px;
	inset-block-end: 18px;
	z-index: var(--rma-z);
	inline-size: 56px;
	block-size: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	background: var(--rma-mocha);
	color: var(--rma-white);
	border: 2px solid var(--rma-white);
	border-radius: 50%;
	box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.55);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	line-height: 0;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.rm-a11y-trigger svg {
	inline-size: 30px;
	block-size: 30px;
	display: block;
	fill: currentColor;
}

.rm-a11y-trigger:hover {
	background: var(--rma-mocha-deep);
	transform: translateY(-2px);
}

.rm-a11y-trigger:focus-visible {
	outline: 3px solid var(--rma-focus-on-dark);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.45);
}

@media (max-width: 480px) {
	.rm-a11y-trigger {
		inline-size: 50px;
		block-size: 50px;
		inset-inline-start: 12px;
		inset-block-end: 12px;
	}
}

/* ==================================================================
 * WIDGET — panel
 * ================================================================== */
.rm-a11y-panel {
	position: fixed;
	inset-inline-start: 18px;
	inset-block-end: 86px;
	z-index: var(--rma-z);
	inline-size: 320px;
	max-inline-size: calc(100vw - 36px);
	max-block-size: min(70vh, 560px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--rma-white);
	color: var(--rma-ink);
	border: 2px solid var(--rma-mocha);
	border-radius: var(--rma-radius);
	box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.45);
	padding: 14px;
	font-family: Calibri, 'Segoe UI', Carlito, 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	text-align: start;
	direction: rtl;
}

.rm-a11y-panel[hidden] {
	display: none;
}

/* ---- Panel head ---- */
.rm-a11y-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-block-end: 10px;
	margin-block-end: 12px;
	border-block-end: 2px solid var(--rma-line);
}

.rm-a11y-panel__title {
	margin: 0;
	font-family: Calibri, 'Segoe UI', Carlito, 'Helvetica Neue', Arial, sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--rma-ink);
	line-height: 1.3;
}

.rm-a11y-panel__close {
	flex: none;
	inline-size: 34px;
	block-size: 34px;
	display: grid;
	place-items: center;
	padding: 0;
	background: var(--rma-cream);
	color: var(--rma-ink);
	border: 2px solid var(--rma-line);
	border-radius: 8px;
	font-size: 1.375rem;
	line-height: 1;
	cursor: pointer;
}

.rm-a11y-panel__close:hover {
	background: var(--rma-mocha);
	color: var(--rma-white);
	border-color: var(--rma-mocha);
}

/* ---- Options grid ---- */
.rm-a11y-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.rm-a11y-opt {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	min-block-size: 88px;
	padding: 8px 4px;
	background: var(--rma-cream);
	color: var(--rma-ink);
	border: 2px solid var(--rma-line);
	border-radius: 10px;
	cursor: pointer;
	text-align: center;
	font-family: inherit;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rm-a11y-opt__icon {
	display: grid;
	place-items: center;
	inline-size: 26px;
	block-size: 26px;
	line-height: 1;
	font-size: 1.125rem;
}

.rm-a11y-opt__icon svg {
	inline-size: 22px;
	block-size: 22px;
	fill: currentColor;
	display: block;
}

.rm-a11y-opt__label {
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.25;
	color: inherit;
}

.rm-a11y-opt__val {
	font-size: 0.6875rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--rma-taupe);
}

.rm-a11y-opt:hover {
	background: #EDE3DA;
	border-color: var(--rma-mocha);
}

/* ---- ON state — filled, not a tint. Both hooks must look identical. ---- */
.rm-a11y-opt[aria-pressed="true"],
.rm-a11y-opt.is-active {
	background: var(--rma-mocha);
	border-color: var(--rma-mocha-deep);
	color: var(--rma-white);
}

.rm-a11y-opt[aria-pressed="true"] .rm-a11y-opt__val,
.rm-a11y-opt.is-active .rm-a11y-opt__val {
	color: var(--rma-beige);
}

.rm-a11y-opt[aria-pressed="true"]:hover,
.rm-a11y-opt.is-active:hover {
	background: var(--rma-mocha-deep);
}

/* ---- Reset + statement ---- */
.rm-a11y-reset {
	display: block;
	inline-size: 100%;
	margin-block-start: 12px;
	padding: 11px 14px;
	background: var(--rma-mocha);
	color: var(--rma-white);
	border: 2px solid var(--rma-mocha-deep);
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

.rm-a11y-reset:hover {
	background: var(--rma-mocha-deep);
}

.rm-a11y-statement {
	display: block;
	margin-block-start: 10px;
	padding-block: 4px;
	color: #1A47B8;
	font-size: 0.875rem;
	font-weight: 500;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rm-a11y-statement:hover {
	color: #0F2E7A;
}

/* ---- Focus visibility — the whole point of the widget ---- */
.rm-a11y-panel :is(button, a, input, select):focus-visible {
	outline: 3px solid var(--rma-focus);
	outline-offset: 2px;
	border-radius: 8px;
}

.rm-a11y-opt[aria-pressed="true"]:focus-visible,
.rm-a11y-opt.is-active:focus-visible,
.rm-a11y-reset:focus-visible {
	outline-color: var(--rma-focus-on-dark);
	box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.35);
}

/* ---- Narrow viewports — near full width, never overflowing ---- */
@media (max-width: 480px) {
	.rm-a11y-panel {
		inset-inline: 8px;
		inline-size: auto;
		max-inline-size: none;
		inset-block-end: 74px;
		max-block-size: min(72vh, 520px);
		padding: 12px;
	}

	.rm-a11y-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.rm-a11y-trigger,
	.rm-a11y-opt {
		transition: none;
	}

	.rm-a11y-trigger:hover {
		transform: none;
	}
}

/* ==================================================================
 * PRINT — neutralise every preference and drop the widget itself.
 * ================================================================== */
@media print {
	html,
	html[class*="a11y-"],
	html[class*="a11y-"] * {
		filter: none !important;
		-webkit-filter: none !important;
		cursor: auto !important;
	}

	html[class*="a11y-text-"] {
		font-size: 100% !important;
	}

	html[class*="a11y-lines-"] body * {
		line-height: normal !important;
	}

	html[class*="a11y-"] a {
		background-color: transparent !important;
		box-shadow: none !important;
		color: inherit !important;
	}

	html.a11y-headings body :is(h1, h2, h3, h4, h5, h6) {
		outline: none !important;
		background-color: transparent !important;
		padding-inline: 0;
		padding-block: 0;
	}

	#rm-a11y-trigger,
	#rm-a11y-panel {
		display: none !important;
	}
}

/* ---- Accessibility statement page (page-accessibility.php) ---------------- */

/* Astra nests <main> in a flex .ast-container, where a bare <main> shrinks to
   the sidebar width — same gotcha handled in quiz.css and gallery.css. */
#main.rm-a11y-page {
	width: 100%;
	flex: 1 1 100%;
	background: var(--rmc-cream, #EFEAE5);
}

.rm-a11y-doc {
	max-width: 46rem;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 2rem);
	font-family: Calibri, 'Segoe UI', Carlito, 'Helvetica Neue', Arial, sans-serif;
	color: var(--rmc-body, #4A4038);
	line-height: 1.85;
}

.rm-a11y-doc__head {
	margin-block-end: 2.5rem;
	padding-block-end: 1.5rem;
	border-block-end: 1px solid rgba(114, 92, 78, 0.25);
}

.rm-a11y-doc__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rmc-taupe, #725C4E);
}

.rm-a11y-doc__title {
	margin: 0;
	font-family: Calibri, 'Segoe UI', Carlito, 'Helvetica Neue', Arial, sans-serif;
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 500;
	color: var(--rmc-espresso, #422B1C);
}

.rm-a11y-doc h2 {
	margin-block: 2.5rem 0.75rem;
	font-family: Calibri, 'Segoe UI', Carlito, 'Helvetica Neue', Arial, sans-serif;
	font-size: clamp(1.25rem, 3vw, 1.5rem);
	font-weight: 500;
	color: var(--rmc-espresso, #422B1C);
}

.rm-a11y-doc p {
	margin-block: 0 1rem;
}

.rm-a11y-doc ul {
	margin-block: 0 1.25rem;
	padding-inline-start: 1.35rem;
}

.rm-a11y-doc li {
	margin-block-end: 0.55rem;
}

.rm-a11y-doc a {
	color: var(--rmc-taupe, #725C4E);
	text-underline-offset: 0.2em;
}

.rm-a11y-doc kbd {
	padding: 0.1em 0.45em;
	border: 1px solid rgba(114, 92, 78, 0.45);
	border-radius: 4px;
	background: #FFFDFB;
	font-family: inherit;
	font-size: 0.9em;
}

.rm-a11y-doc__contact {
	padding: 1.25rem 1.5rem;
	border: 1px solid rgba(114, 92, 78, 0.28);
	border-radius: 12px;
	background: #FFFDFB;
	list-style: none;
}

.rm-a11y-doc__date {
	margin-block-start: 2.5rem;
	padding-block-start: 1.25rem;
	border-block-start: 1px solid rgba(114, 92, 78, 0.25);
	font-size: 0.875rem;
	color: var(--rmc-taupe, #725C4E);
}

/* ---- High contrast: decorative media ------------------------------------- */

/* The generic high-contrast rules above flatten backgrounds, but this site
   layers headline text directly over full-bleed photos and autoplaying video
   (hero, fullscreen block, shop/quiz page headers). Stripping their cream veil
   left the text sitting on the raw photo — *worse* contrast, not better.
   Decorative media is purely presentational here, so under high contrast we
   hide it outright and let the text fall onto a solid background. */
html.a11y-contrast-high .rm-hero__bg,
html.a11y-contrast-high .rm-hero__video,
html.a11y-contrast-high .rm-hero__cue,
html.a11y-contrast-high .rm-fullscreen__media,
html.a11y-contrast-high .rm-fullscreen__video,
html.a11y-contrast-high .rm-catalog-head__media,
html.a11y-contrast-high .rm-catalog-head__veil,
html.a11y-contrast-high .rm-quiz-hero__media,
html.a11y-contrast-high .rm-quiz-hero__veil {
	display: none !important;
}

/* Those sections size themselves off the media they just lost, so give them a
   plain surface and enough breathing room to stay readable. */
html.a11y-contrast-high .rm-hero,
html.a11y-contrast-high .rm-fullscreen,
html.a11y-contrast-high .rm-catalog-head,
html.a11y-contrast-high .rm-quiz-hero {
	min-height: 0 !important;
	background: #FFFFFF !important;
	padding-block: 3rem !important;
	color: #000000 !important;
}
