/**
 * ADA (Americans with Disabilities Act) Accessibility Styles
 * Theme: Variel
 * Use this file for WCAG-related visual updates: focus states, contrast, skip links, etc.
 */

/* Focus visible for keyboard navigation (WCAG 2.4.7) */
/* Use :focus-visible only so outlines appear for keyboard, not mouse click or tap */
:focus-visible,
a:focus, button:focus, input:focus, textarea:focus, select:focus,
[type="checkbox"]:focus, [type="radio"]:focus,
#close-menu:focus,
.wt-cli-accept-all-btn:focus {
	outline: 2px solid currentColor !important;
	outline-offset: 2px !important;
}


.wt-cli-accept-all-btn:focus {
	outline-color: #364045 !important;
}

.contact-form .ginput_container_select {
	overflow: initial !important;
}

/* Button reset for menu trigger and close - match original span/div appearance (mobile-safe) */
.header-menu.icon-menu {
	margin-left: 1rem;
}

.header-menu.icon-menu,
.icon-menu {
	border: 0;
	background: transparent;
	padding: 0;
	font: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Desktop header menu button: orange background, "Menu" text + hamburger icon (replaces image) */
.header-menu.icon-menu {
	background-color: #f5b334;
	color: #364045;
	padding: 1rem 1.25rem;
	gap: 0.75rem;
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 1.2;
	text-transform: none;
}

.header-menu-text {
	white-space: nowrap;
}

.header-menu-icon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 20px;
	height: 14px;
}

.header-menu-icon span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #364045;
	border-radius: 1px;
}

#close-menu {
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: .9;

    path {
        fill: #364045;
    }

    &:focus {
        outline-color: #364045 !important;
    }
}

/* Minimum touch target on mobile (WCAG 2.5.5) */
@media (max-width: 1024px) {
	.header-menu.icon-menu,
	.icon-menu,
	#close-menu {
		min-width: 44px;
		min-height: 44px;
	}
}

.wpgmp_toggle_container {
	color: #364045 !important;
}

/* Reduce motion for users who prefer it (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Skip link - visually hidden for sighted users, available to screen readers and keyboard */
.skip-link {
	position: absolute;
	left: -9999rem;
	top: 0;
	z-index: 100000;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
}

/* Show skip link when focused (keyboard / screen reader) */
.skip-link:focus {
	left: 0.5rem;
	top: 0.5rem;
	padding: 0.5em 1em;
	background: #000;
	color: #fff;
	clip: auto;
	width: auto;
	height: auto;
	overflow: visible;
	text-decoration: none;
}

.service-content a {
	margin-top: 1rem;
}

.slideout-menu {
	background-color: #b4dde2 !important;
	color: #364045 !important;

	&:hover {
		color: #fff !important;
	}
}

/* Header phone dropdown: open on hover and when any child has focus (keyboard) */

.phone-dropdown a {
	color: #364045 !important;

	&:hover {
		text-decoration: underline;
	}
}

.header-phone:hover > .phone-dropdown,
.header-phone:focus-within > .phone-dropdown {
	height: auto;
	border: 2px solid #FFFFFF;
	padding: 20px !important;
}