/* Aladin – accessibility fixes (WCAG 2.2 AA). See aladin-a11y.php. */

/* 2.4.7 / 1.4.11 – visible focus ring that works on light and dark backgrounds */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
	outline: 3px solid #001D39 !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 2px #fff, 0 0 0 7px #fff !important;
}

/* 1.4.3 – "View on the map" links: brand orange #F15E3D only reaches 2.2–2.6:1 on the yellow and blue panels */
.elementor-icon-box-description a[href*="goo.gl/maps"],
.elementor-icon-box-description a[href*="maps.app.goo.gl"],
.elementor-icon-box-description a[href*="google."][href*="/maps"] {
	color: #A82E0D !important;
	text-decoration: underline;
}

/* 1.4.10 – no horizontal scroll at 320 px */
@media (max-width: 400px) {
	.elementor-widget-image img,
	.elementor-widget-eae-timeline img { max-width: 100% !important; }
	/* decorative illustrations are positioned a few pixels past the edge */
	html, body { overflow-x: clip; }
}

/* 2.3.3 / 2.2.2 – honour the reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* visually hidden helper used by a11y.js */
.aladin-sr-only {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
