.p20-a11y {
	--p20-a11y-fg: var(--e-global-color-bb3ec6f, #003a68);
	--p20-a11y-bg: var(--e-global-color-7c827bf, #ffffff);
	--p20-a11y-focus: var(--e-global-color-secondary, #ffb216);
	position: relative;
	display: inline-flex;
	font-family: var(--e-global-typography-text-font-family, "Poppins"), sans-serif;
}

.p20-a11y__panel,
.p20-a11y__group {
	display: flex;
	align-items: center;
}

.p20-a11y__panel {
	gap: 8px;
}

.p20-a11y__group {
	gap: 4px;
}

.p20-a11y button.p20-a11y__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 8px;
	border: 2px solid var(--p20-a11y-fg);
	border-radius: 8px;
	background: var(--p20-a11y-bg);
	color: var(--p20-a11y-fg);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.p20-a11y button.p20-a11y__btn:focus {
	border-color: var(--p20-a11y-fg);
	background: var(--p20-a11y-bg);
	color: var(--p20-a11y-fg);
}

.p20-a11y button.p20-a11y__btn:hover,
.p20-a11y button.p20-a11y__btn[aria-pressed="true"] {
	background: var(--p20-a11y-fg);
	color: var(--p20-a11y-bg);
}

.p20-a11y button.p20-a11y__btn:focus-visible {
	outline: 3px solid var(--p20-a11y-focus);
	outline-offset: 2px;
}

.p20-a11y button.p20-a11y__btn--fs1 {
	font-size: 19px;
}

.p20-a11y button.p20-a11y__btn--fs2 {
	font-size: 22px;
}

.p20-a11y__btn svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.p20-a11y button.p20-a11y__toggle {
	display: none;
}

.p20-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* środek nagłówka (widżet z klasą p20-header-a11y) */
@media (min-width: 1025px) {
	.elementor-widget.p20-header-a11y {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}

/* mobile */
@media (max-width: 767px) {
	.p20-a11y button.p20-a11y__toggle {
		display: inline-flex;
	}

	.p20-a11y__panel {
		display: none;
		position: absolute;
		top: calc(100% + 8px);
		left: 50%;
		z-index: 9999;
		flex-wrap: wrap;
		justify-content: center;
		width: max-content;
		max-width: calc(100vw - 32px);
		padding: 10px;
		border: 2px solid var(--p20-a11y-fg);
		border-radius: 12px;
		background: var(--p20-a11y-bg);
		box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
		transform: translateX(-50%);
	}

	.p20-a11y.is-open .p20-a11y__panel {
		display: flex;
	}
}

/* font size (zoom, bo Elementor ma rozmiary w px) */
html.p20-fs-1 body {
	zoom: 1.15;
}

html.p20-fs-2 body {
	zoom: 1.3;
}

/* kontrast */
html.p20-contrast body,
html.p20-contrast body *:not(svg, svg *, img, video, iframe, picture) {
	background-color: #000 !important;
	background-image: none !important;
	border-color: #ff0 !important;
	color: #ff0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

html.p20-contrast body *::before,
html.p20-contrast body *::after {
	background-image: none !important;
}

html.p20-contrast .elementor-background-overlay,
html.p20-contrast .elementor-shape {
	display: none !important;
}

html.p20-contrast svg:not(.p20-a11y__btn svg) path,
html.p20-contrast svg:not(.p20-a11y__btn svg) {
	fill: #ff0 !important;
}

html.p20-contrast a {
	text-decoration: underline !important;
}

html.p20-contrast :focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 2px;
}

html.p20-contrast .p20-a11y button.p20-a11y__btn {
	border-color: #ff0 !important;
}

html.p20-contrast .p20-a11y button.p20-a11y__btn[aria-pressed="true"],
html.p20-contrast .p20-a11y button.p20-a11y__btn:hover {
	background: #ff0 !important;
	color: #000 !important;
}

html.p20-contrast .p20-a11y__btn svg {
	fill: currentColor !important;
}

/* linki */
html.p20-links a {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px;
}

/* animacje */
html.p20-still *,
html.p20-still *::before,
html.p20-still *::after {
	animation-duration: 0s !important;
	animation-delay: 0s !important;
	animation-iteration-count: 1 !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

html.p20-still .elementor-invisible {
	visibility: visible !important;
	opacity: 1 !important;
}
