/* Keyboard focus for in-page links and controls.
   The header (W6) and the frozen dropdown standard already draw their own rings,
   and donor mirrors (pk-s-*) keep the focus their source shipped.
   !important is required: Elementor sets outline: 0 on these links. */

body :where(a, button, summary, input, select, textarea, [role="button"], [tabindex]):focus-visible {
	outline: 2px solid #5956e9 !important;
	outline-offset: 3px !important;
	/* Theme links transition every property, which holds a new outline at 0 until the
	   animation ends. Keep the ring immediate. */
	transition-property: color, background-color, border-color, box-shadow, transform, opacity !important;
}

.pk-site-header :where(a, button, input, [tabindex]):focus-visible,
.elementor-location-header :where(a, button, input, [tabindex]):focus-visible,
[class*="pk-s-"] :where(a, button, summary, input, select, textarea, [role="button"], [tabindex]):focus-visible {
	outline: revert !important;
	outline-offset: revert !important;
}

/* Footer social icons and post tag chips are the global targets under 24px.
   Page-specific targets (breadcrumbs, dates, share icons) stay with W9. */
.elementor-location-footer .elementor-social-icon {
	min-width: 24px;
	min-height: 24px;
}

.elementor-post-info__terms-list-item:not(:where([class*="pk-s-"] *, .pk-src *)) {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 24px;
	padding-block: 5px;
	line-height: 14px;
	transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
	body :where(a, button, summary, input, select, textarea, [role="button"], [tabindex]):focus-visible {
		transition: none;
	}
}

/* Skip link. Off-screen until keyboard focus, then a purple bar at the top. */
.pk-skip {
	position: absolute;
	left: 16px;
	top: 0;
	z-index: 100000;
	transform: translateY(-120%);
	padding: 12px 16px;
	background: #5956e9;
	color: #fff;
	font-family: "Museo Sans Rounded", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 0 0 12px 12px;
}

.pk-skip:focus,
.pk-skip:focus-visible {
	transform: none !important;
	transition: none !important;
	outline: 2px solid #fff !important;
	outline-offset: -4px !important;
}

#main:focus {
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.pk-skip {
		transition: none;
	}
}
