/*
 * Accessibility layer (IS 5568 / WCAG 2.0 AA).
 * Loaded after the theme CSS. Keeps the existing look and only adds what is needed:
 * visible keyboard focus, a skip link, AA contrast for the blue buttons and breadcrumbs,
 * and visually-hidden text helpers.
 */

/* ---------- Visually hidden (still read by screen readers) ---------- */
.sr-only,
.screen-reader-text {
	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;
	-webkit-clip-path: inset(50%) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Skip link: hidden until it receives keyboard focus ---------- */
.skip-link {
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 100000;
	padding: 12px 20px;
	background: #fff;
	color: #0c265e;
	font-size: 18px;
	font-weight: 700;
	text-decoration: underline;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
	transform: translateY(-200%);
}
.skip-link:focus,
.skip-link:focus-visible {
	transform: none;
	color: #0c265e;
}

main#main-content {
	display: block;
}
#main-content:focus {
	outline: none;
}

/* ---------- Visible keyboard focus (2.4.7) — keyboard only, mouse clicks unchanged ---------- */
:focus-visible {
	outline: 3px solid #0069d9 !important;
	outline-offset: 2px !important;
}
/* light ring on the dark / photo areas */
.footer :focus-visible,
.home-head :focus-visible,
.industries-head :focus-visible,
.mobile-informer :focus-visible,
.hprojects-more:focus-visible,
.header-info__faq a:focus-visible,
.mobile-btn:focus-visible,
#fp-nav :focus-visible,
.footer-social a:focus-visible,
.resp-sharing-button__link:focus-visible {
	outline-color: #ffd34d !important;
	box-shadow: 0 0 0 6px #06111c;
}
.skip-link:focus-visible {
	outline-color: #0069d9 !important;
}

/* ---------- Contrast (1.4.3): white text on blue needs >= 4.5:1 (#007bff = 3.97:1, #0069d9 = 5.2:1) ---------- */
.header-info__faq a,
.fix-head .header-info__faq a,
.single-projects .header .header-info__faq a,
.black-head .header-info__faq a {
	background-color: #0069d9 !important;
}
.mobile-btn,
.popup input.wpcf7-form-control.wpcf7-submit.btn-wraper {
	background-color: #0069d9;
}
.mobile-informer.d-flex.d-md-none {
	background: #0069d9 !important;
}
/* breadcrumbs on white: #27aae1 = 2.65:1 -> #17759e = 5.15:1 */
.black .breadcrumbs,
.breadcrumbs .breadcrumb_last {
	color: #17759e;
}

/* ---------- Company profile page: the title is shown on the image, keep the H1 for screen readers ---------- */
body.page-id-386 .industries-head h1 {
	display: block !important;
	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;
	-webkit-clip-path: inset(50%) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Mobile menu: a closed off-canvas menu must not take keyboard focus ---------- */
@media (max-width: 991.98px) {
	.mobile-nav {
		visibility: hidden;
		-webkit-transition: right ease 0.3s, visibility 0s linear 0.3s;
		transition: right ease 0.3s, visibility 0s linear 0.3s;
	}
	.mobile-nav.open {
		visibility: visible;
		-webkit-transition: right ease 0.3s, visibility 0s linear 0s;
		transition: right ease 0.3s, visibility 0s linear 0s;
	}
}

/* ---------- Pause control for the auto-scrolling client logos (mobile) ----------
   Small round icon button at the end of the "our clients" title line; takes no layout space. */
.dm-carousel-toggle {
	position: absolute;
	top: -3px;
	left: 15px;
	z-index: 3;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	margin: 0;
	font-size: 0;
	line-height: 0;
	background: #fff;
	border: 1px solid #06111c;
	border-radius: 50%;
	cursor: pointer;
}
.dm-carousel-toggle::before {
	content: '';
	box-sizing: border-box;
	width: 10px;
	height: 12px;
	border-left: 3px solid #06111c;
	border-right: 3px solid #06111c;
}
.dm-carousel-toggle[data-state="paused"]::before {
	width: 0;
	height: 0;
	margin-left: 3px;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent #06111c;
}
