/* Większy tekst — z wtyczki WP Accessibility 2.3.3 (Joe Dolson, GPL-2.0+), toolbar/css/a11y-fontsize.css; zmienne jak w tej wtyczce. */
html { --wpa-font-size: clamp( 24px, 1.5rem, 36px ); --wpa-h1-size: clamp( 48px, 3rem, 72px ); --wpa-h2-size: clamp( 40px, 2.5rem, 60px ); --wpa-h3-size: clamp( 32px, 2rem, 48px ); --wpa-h4-size: clamp( 28px, 1.75rem, 42px ); --wpa-sub-list-size: 1.1em; --wpa-sub-sub-list-size: 1em; }
/* enqueue these as a separate stylesheet so they can be filtered */
.fontsize p,
.fontsize div:not(div:has( p, h1, h2, h3, h4, h5, h6)),
.fontsize footer:not(footer:has( p, h1, h2, h3, h4, h5, h6)),
.fontsize li:not(.a11y-toolbar-list-item),
.fontsize label,
.fontsize input,
.fontsize select,
.fontsize textarea,
.fontsize legend,
.fontsize code,
.fontsize pre,
.fontsize dd,
.fontsize dt,
.fontsize blockquote {
	font-size: var(--wpa-font-size) !important;
	line-height: 1.6;
}

.fontsize h1 {
	font-size: var(--wpa-h1-size) !important;
}

.fontsize h2 {
	font-size: var(--wpa-h2-size) !important;
}
.fontsize h3 {
	font-size: var(--wpa-h3-size) !important;
}
.fontsize h6,
.fontsize h5,
.fontsize h4 {
	font-size: var(--wpa-h4-size) !important;
}

/* Otherwise, these get larger with each level of nesting. */
.fontsize li li {
	font-size: var(--wpa-sub-list-size) !important;
}

.fontsize li li li {
	font-size: var(--wpa-sub-sub-list-size) !important;
}
.desaturated { filter: grayscale(1) !important; }
/* Przyciski widżetów J-Tools */
/* Opakowanie nie wpływa na układ: przyciski układają się jak bezpośrednie dzieci panelu (np. float z CSS strony). */
.jtools-przyciski { display: contents; }
.jtools-przycisk { display: inline-flex; align-items: center; justify-content: center; gap: .4em; cursor: pointer; text-decoration: none; }
button.jtools-przycisk { font: inherit; border: 0; }
.jtools-przycisk svg { width: var(--jtools-ikona, 1em); height: var(--jtools-ikona, 1em); fill: currentColor; flex: none; }
.jtools-przycisk:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.jtools-ukryty { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Widżet „J-Tools: przycisk” bez wewnętrznego odstępu panelu — jak widżet „Własny HTML” w TownPress */
.widget_jtools_przycisk .widget__inner { padding: 0; }
