/*!
 * RG Accessibility v1.2.0 (WCAG 2.2 AA) – iMark Infotech
 */

/* ---------- Utilities ---------- */
.rg-a11y-sr {
	position: absolute !important; width: 1px !important; height: 1px !important;
	padding: 0 !important; margin: -1px !important; overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important;
	white-space: nowrap !important; border: 0 !important;
}
main.rg-a11y-main { display: block; }
main.rg-a11y-main:focus, [role="main"]:focus { outline: none !important; }

/* ---------- Skip link (2.4.1) ---------- */
body.rg-a11y--landmarks .skip-link:focus,
body.rg-a11y--landmarks .skip-link:focus-visible {
	position: fixed !important; top: calc(12px + var(--wp-admin--admin-bar--height, 0px)) !important; left: 12px !important;
	z-index: 1000000 !important; width: auto !important; height: auto !important;
	clip: auto !important; clip-path: none !important; overflow: visible !important;
	display: inline-block !important; padding: 12px 18px !important; margin: 0 !important;
	background: #ffffff !important; color: #0B1220 !important; font-size: 16px !important; font-weight: 600 !important;
	line-height: 1.2 !important; text-decoration: underline !important; border-radius: 8px !important;
}

/* ---------- Visible focus (2.4.7 / 1.4.11): light ring + dark halo, works on any background ---------- */
body.rg-a11y--focus :focus-visible {
	outline: 3px solid var(--rg-a11y-focus, #60A5FA) !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px var(--rg-a11y-halo, #0B1220) !important;
}
body.rg-a11y--focus :is(main, [role="main"], .rg-a11y-dialog, h1, h2, h3, h4, h5, h6)[tabindex="-1"]:focus-visible {
	outline: none !important; box-shadow: none !important;
}
body.rg-a11y--focus .e-loop-item :focus-visible,
body.rg-a11y--focus .swiper-slide :focus-visible { outline-offset: -3px !important; }

/* ---------- Reduced motion (2.3.3) ---------- */
@media (prefers-reduced-motion: reduce) {
	body.rg-a11y--reduced-motion *,
	body.rg-a11y--reduced-motion *::before,
	body.rg-a11y--reduced-motion *::after {
		animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
		transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
	}
	body.rg-a11y--reduced-motion .elementor-invisible { visibility: visible !important; }
	html:has(body.rg-a11y--reduced-motion) { scroll-behavior: auto !important; }
}

/* ---------- Pause / play buttons for moving content (2.2.2) ---------- */
.rg-a11y-motion-btn {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
	width: 44px; height: 44px; min-width: 24px; min-height: 24px; padding: 0; margin: 0;
	border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55);
	background: rgba(2, 6, 23, 0.72); color: #ffffff; cursor: pointer; line-height: 1; z-index: 6;
	-webkit-appearance: none; appearance: none; transition: background-color 0.2s ease, border-color 0.2s ease;
}
.rg-a11y-motion-btn:hover { background: rgba(2, 6, 23, 0.92); border-color: #ffffff; }
.rg-a11y-motion-btn svg { width: 16px; height: 16px; display: block; pointer-events: none; }
.rg-a11y-motion-btn[hidden] { display: none !important; }
.rg-a11y-motion-btn--video { position: absolute; right: 16px; bottom: 16px; }
.rg-a11y-motion-btn--abs { position: absolute; }
.rg-a11y-motion-bar { display: flex; justify-content: flex-end; margin: 0 0 10px; }
@media (max-width: 767px) {
	.rg-a11y-motion-btn--video { right: 12px; bottom: 12px; width: 40px; height: 40px; }
}

/* ---------- Accessibility statement ---------- */
.rg-a11y-statement { max-width: 860px; margin: 0 auto; padding: var(--rg-a11y-statement-top, 150px) 20px 90px; color: #CBD5E1; font-size: 17px; line-height: 1.7; }
.rg-a11y-statement h1 { margin: 0 0 18px; color: #ffffff; font-size: clamp(34px, 5vw, 52px); line-height: 1.15; }
.rg-a11y-statement h2 { margin: 40px 0 12px; color: #ffffff; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; }
.rg-a11y-statement p, .rg-a11y-statement li { color: #CBD5E1; }
.rg-a11y-statement p { margin: 0 0 14px; }
.rg-a11y-statement ul { margin: 0 0 14px; padding-left: 1.3em; }
.rg-a11y-statement li { margin: 0 0 8px; }
.rg-a11y-statement a { color: #93C5FD; text-decoration: underline; text-underline-offset: 3px; }
.rg-a11y-statement a:hover { color: #ffffff; }
.rg-a11y-statement__lead { font-size: 19px; color: #E2E8F0 !important; }
.rg-a11y-statement__date { margin-top: 36px !important; font-size: 15px; color: #94A3B8 !important; }
@media (max-width: 767px) { .rg-a11y-statement { padding-top: var(--rg-a11y-statement-top-m, 120px); padding-bottom: 60px; font-size: 16px; } }

/* =========================================================
 * Accessibility options menu
 * ======================================================= */
.rg-a11y-tb { position: fixed; bottom: 16px; z-index: 9998; font-size: 15px; line-height: 1.4; }
.rg-a11y-tb--left { left: 16px; }
.rg-a11y-tb--right { right: 16px; }
.rg-a11y-tb *, .rg-a11y-tb *::before, .rg-a11y-tb *::after { box-sizing: border-box; }
.rg-a11y-tb__launch {
	display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; margin: 0;
	border-radius: 50%; border: 2px solid #ffffff; background: var(--rg-a11y-tb, #2563EB); color: #ffffff; cursor: pointer;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); transition: transform 0.15s ease, background-color 0.15s ease;
	-webkit-appearance: none; appearance: none;
}
.rg-a11y-tb__launch:hover { transform: scale(1.06); }
.rg-a11y-tb__launch svg { width: 26px; height: 26px; display: block; }
.rg-a11y-tb__panel {
	position: absolute; bottom: 60px; width: 330px; max-width: calc(100vw - 32px);
	max-height: min(640px, calc(100vh - 110px)); max-height: min(640px, calc(100dvh - 110px)); overflow-y: auto; overscroll-behavior: contain;
	padding: 16px; border-radius: 14px; border: 1px solid #334155;
	background: #0B1220; color: #E2E8F0; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
	font-family: inherit; text-align: left;
}
.rg-a11y-tb--left .rg-a11y-tb__panel { left: 0; }
.rg-a11y-tb--right .rg-a11y-tb__panel { right: 0; }
.rg-a11y-tb__panel[hidden] { display: none !important; }
.rg-a11y-tb__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.rg-a11y-tb__title { margin: 0 !important; padding: 0 !important; font-size: 17px !important; font-weight: 700 !important; line-height: 1.3 !important; color: #ffffff !important; letter-spacing: 0 !important; text-transform: none !important; }
.rg-a11y-tb__close {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; margin: 0;
	border-radius: 8px; border: 1px solid #475569; background: transparent; color: #ffffff; cursor: pointer;
}
.rg-a11y-tb__close svg { width: 18px; height: 18px; }
.rg-a11y-tb__close:hover { background: #1E293B; }
.rg-a11y-tb__size {
	display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px;
	border: 1px solid #334155; border-radius: 10px; background: #111A2E;
}
.rg-a11y-tb__label { flex: 1 1 auto; font-weight: 600; color: #ffffff; }
.rg-a11y-tb__step {
	width: 40px; height: 36px; padding: 0; margin: 0; border-radius: 8px; border: 1px solid #64748B;
	background: #1E293B; color: #ffffff; font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit;
}
.rg-a11y-tb__step:hover:not([disabled]) { border-color: #93C5FD; }
.rg-a11y-tb__step[disabled] { opacity: 0.45; cursor: not-allowed; }
.rg-a11y-tb__val { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; color: #ffffff; }
.rg-a11y-tb__list { list-style: none !important; margin: 0 0 10px !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rg-a11y-tb__list li { margin: 0 !important; padding: 0 !important; list-style: none !important; min-width: 0; }
.rg-a11y-tb__list li::before, .rg-a11y-tb__list li::marker { content: none !important; }
.rg-a11y-tb__opt {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
	width: 100%; height: 100%; min-height: 78px; padding: 12px 8px 10px; margin: 0;
	border-radius: 12px; border: 1px solid #334155; background: #111A2E; color: #E2E8F0;
	font-size: 13.5px; font-weight: 600; font-family: inherit; text-align: center; cursor: pointer; line-height: 1.25;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.rg-a11y-tb__opt svg { width: 24px; height: 24px; flex: 0 0 24px; }
.rg-a11y-tb__opt span { display: block; overflow-wrap: anywhere; }
.rg-a11y-tb__check {
	position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%;
	border: 1.5px solid #64748B; background: transparent; box-sizing: border-box;
}
.rg-a11y-tb__opt[aria-pressed="true"] { border-color: #60A5FA; background: #172554; color: #ffffff; }
.rg-a11y-tb__opt[aria-pressed="true"] .rg-a11y-tb__check {
	border-color: #2563EB; background: #2563EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.rg-a11y-tb__opt:hover { border-color: #64748B; }
.rg-a11y-tb__opt[aria-pressed="true"]:hover { border-color: #93C5FD; }
.rg-a11y-tb__reset {
	width: 100%; min-height: 40px; margin: 0 0 8px; padding: 8px 12px; border-radius: 10px;
	border: 1px solid #64748B; background: transparent; color: #ffffff; font-weight: 600; font-size: 14px; font-family: inherit; cursor: pointer;
}
.rg-a11y-tb__reset:hover { background: #1E293B; }
.rg-a11y-tb__foot { margin: 4px 0 0 !important; font-size: 13px !important; text-align: center; color: #CBD5E1 !important; }
.rg-a11y-tb__foot a { color: #93C5FD !important; text-decoration: underline !important; text-underline-offset: 2px; }
@media (max-width: 480px) {
	.rg-a11y-tb { bottom: 12px; }
	.rg-a11y-tb--left { left: 12px; }
	.rg-a11y-tb--right { right: 12px; }
	.rg-a11y-tb__launch { width: 44px; height: 44px; }
	.rg-a11y-tb__panel { bottom: 56px; width: calc(100vw - 24px); }
}
@media print { .rg-a11y-tb, .rg-a11y-motion-btn { display: none !important; } }
.rg-a11y-tb { transition: transform 0.2s ease; }

/* Keep theme button hover/focus colours (e.g. Hello theme pink) off the plugin's own controls */
.rg-a11y-tb .rg-a11y-tb__launch:is(:hover, :focus, :active) { background: var(--rg-a11y-tb, #2563EB); color: #ffffff; border-color: #ffffff; }
.rg-a11y-tb .rg-a11y-tb__close:is(:hover, :focus, :active),
.rg-a11y-tb .rg-a11y-tb__step:is(:hover, :focus, :active),
.rg-a11y-tb .rg-a11y-tb__reset:is(:hover, :focus, :active) { background: #1E293B; color: #ffffff; }
.rg-a11y-tb .rg-a11y-tb__opt:is(:hover, :focus, :active) { background: #111A2E; color: #E2E8F0; }
.rg-a11y-tb .rg-a11y-tb__opt[aria-pressed="true"]:is(:hover, :focus, :active) { background: #172554; color: #ffffff; }
.rg-a11y-motion-btn:is(:hover, :focus, :active) { background: rgba(2, 6, 23, 0.92); color: #ffffff; }
.rg-a11y-tb button, .rg-a11y-motion-btn { text-transform: none; letter-spacing: normal; box-shadow: none; }
.rg-a11y-tb .rg-a11y-tb__launch { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }

/* Statement page: dark canvas so it matches the rest of the site */
body.rg-a11y-statement-page { background-color: #000000; }

/* ---------- Visitor option: high contrast ---------- */
html.rg-a11y-hc body :not(svg, svg *, img, video, picture, source, iframe, canvas) {
	background-color: #000000 !important; background-image: none !important;
	color: #ffffff !important; -webkit-text-fill-color: currentColor !important;
	border-color: #ffffff !important; text-shadow: none !important; box-shadow: none !important;
}
html.rg-a11y-hc body *::before, html.rg-a11y-hc body *::after { background-image: none !important; }
html.rg-a11y-hc body { background: #000000 !important; }
html.rg-a11y-hc body a[href], html.rg-a11y-hc body a[href] * { color: #FFE14D !important; }
html.rg-a11y-hc body a[href]:not(.rg-a11y-tb *) { text-decoration: underline !important; }
html.rg-a11y-hc body :is(button, .elementor-button, input[type="submit"], input[type="button"], .e-filter-item):not(.rg-a11y-tb *) { border: 2px solid #FFE14D !important; }
html.rg-a11y-hc body :is(input, select, textarea) { border: 2px solid #ffffff !important; }
html.rg-a11y-hc body ::placeholder { color: #D4D4D4 !important; opacity: 1 !important; }
html.rg-a11y-hc .elementor-background-video-container,
html.rg-a11y-hc .elementor-background-overlay,
html.rg-a11y-hc .elementor-background-slideshow,
html.rg-a11y-hc .rg-a11y-motion-btn--video { display: none !important; }
html.rg-a11y-hc body :is(.e-con, .elementor-section, .elementor-column, .elementor-widget-wrap)::before,
html.rg-a11y-hc body :is(.e-con, .elementor-section, .elementor-column, .elementor-widget-wrap)::after { background-color: transparent !important; opacity: 0 !important; }
html.rg-a11y-hc .rg-a11y-tb__opt[aria-pressed="true"] { border: 2px solid #FFE14D !important; }

/* ---------- Visitor option: highlight links ---------- */
html.rg-a11y-links body a[href]:not(.rg-a11y-tb *) {
	text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px !important;
	outline: 2px dashed #FDE047 !important; outline-offset: 2px !important;
}
html.rg-a11y-links body :is(button, input[type="submit"]):not(.rg-a11y-tb *) { outline: 2px dashed #FDE047 !important; outline-offset: 2px !important; }

/* ---------- Visitor option: readable font ---------- */
html.rg-a11y-font body *:not(svg):not(svg *):not(i):not([class*="icon"]):not([class*="fa-"]):not(code):not(pre):not(kbd) {
	font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif !important;
}

/* ---------- Visitor option: text spacing (WCAG 1.4.12 values) ---------- */
html.rg-a11y-spacing body *:not(svg):not(svg *):not(.rg-a11y-tb *) {
	line-height: 1.6 !important; letter-spacing: 0.12em !important; word-spacing: 0.16em !important;
}
html.rg-a11y-spacing body p:not(.rg-a11y-tb *) { margin-bottom: 2em !important; }

/* ---------- Visitor option: grayscale ---------- */
html.rg-a11y-gray { filter: grayscale(100%); }

/* ---------- Visitor option: highlight headings ---------- */
html.rg-a11y-headings body :is(h1, h2, h3, h4, h5, h6):not(.rg-a11y-tb *) {
	outline: 2px solid #FDE047 !important; outline-offset: 4px !important; border-radius: 2px;
}

/* ---------- Visitor option: align text left ---------- */
html.rg-a11y-left body *:not(.rg-a11y-tb *):not(svg *) { text-align: left !important; }

/* ---------- Visitor option: big cursor ---------- */
html.rg-a11y-cursor, html.rg-a11y-cursor body, html.rg-a11y-cursor body * {
	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 4l28 24.5H23.5l7.5 15-6 3-7.5-15L8 41z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 8 4, auto !important;
}
html.rg-a11y-cursor body :is(a[href], button, [role="button"], input[type="submit"], input[type="radio"], input[type="checkbox"], label, select, summary),
html.rg-a11y-cursor body :is(a[href], button, [role="button"], label) * {
	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 4l28 24.5H23.5l7.5 15-6 3-7.5-15L8 41z' fill='%232563EB' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 8 4, pointer !important;
}

/* ---------- Visitor option: reading mask ---------- */
.rg-a11y-mask { position: fixed; inset: 0; z-index: 9996; pointer-events: none; }
.rg-a11y-mask__top, .rg-a11y-mask__bottom { position: absolute; left: 0; right: 0; background: rgba(0, 0, 0, 0.62); }
.rg-a11y-mask__top { top: 0; height: 0; border-bottom: 3px solid #FDE047; }
.rg-a11y-mask__bottom { bottom: 0; top: 100%; border-top: 3px solid #FDE047; }
@media print { .rg-a11y-mask { display: none !important; } }

/* ---------- Visitor option: pause animations ---------- */
html.rg-a11y-still body *, html.rg-a11y-still body *::before, html.rg-a11y-still body *::after {
	animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
	transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
}
html.rg-a11y-still .elementor-invisible { visibility: visible !important; }
html.rg-a11y-still { scroll-behavior: auto !important; }
