/* Skip navigation */
.lp-skip-link {
	background: #ffffff;
	color: #000000;
	font-size: 18px;
	font-weight: 700;
	left: 12px;
	padding: 12px 18px;
	position: fixed;
	top: 12px;
	transform: translateY(-200%);
	z-index: 1000000;
}

.lp-skip-link:focus,
.lp-skip-link:focus-visible {
	transform: translateY(0);
}

/* A two-color indicator remains visible against both light and dark areas. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible {
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px #000000 !important;
	outline: 2px solid transparent !important;
	outline-offset: 2px !important;
}

/*
 * FacetWP resource titles are inline links. When a title wraps, browsers draw
 * an inline focus decoration around each line fragment. Treating the title as
 * one inline block produces a single, readable rectangular focus indicator.
 */
.fwpl-result .fwpl-item.el-fz703r > a {
	display: inline-block;
	max-width: 100%;
	border-radius: 2px;
}

/*
 * GTranslate clips outward shadows with overflow:hidden. Draw its keyboard
 * indicator inside the trigger so it remains clearly visible.
 */
.gt_float_switcher .gt-selected:focus,
.gt_float_switcher .gt-selected:focus-visible {
	box-shadow: inset 0 0 0 3px #000000, inset 0 0 0 5px #ffffff !important;
	outline: 2px solid transparent !important;
	outline-offset: -4px !important;
}

/* Labels added to FacetWP's JavaScript-generated controls. */
.lp-a11y-field-label {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 6px;
}

.lp-a11y-field-label + .facetwp-input-wrap,
.lp-a11y-field-label + select {
	margin-bottom: 12px;
}

/* Programmatic labels that should not change an established visual layout. */
.lp-screen-reader-text {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.lp-archive-header {
	margin: 0 0 32px;
	text-align: center;
}

.lp-archive-title {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
	}
}
