/* Wspólne drobne style bloków EDORADCA (uchwyt: edoradca-bloki). */

.e-blok-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.e-blok-sr--fokus:focus,
.e-blok-sr--fokus:focus-visible {
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	overflow: visible;
	white-space: normal;
}

/* Ikony SVG w blokach */
.e-blok-ikona,
[class*="e-blok-"] .e-ikona {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	vertical-align: middle;
}

/* Link „Czytaj dalej →” (dawny .readon-arrow) */
.e-blok-czytaj {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #444;
	text-decoration: none;
	transition: color 0.3s ease;
}

.e-blok-czytaj .e-ikona {
	width: 18px;
	height: 18px;
	stroke-width: 1.75;
	transition: transform 0.3s ease;
}

.e-blok-czytaj:hover,
.e-blok-czytaj:focus-visible {
	color: var(--wp--preset--color--fiolet, #2f0c8a);
}

.e-blok-czytaj:hover .e-ikona,
.e-blok-czytaj:focus-visible .e-ikona {
	transform: translateX(5px);
}

/* Przycisk – zapasowy wygląd, gdy motyw nie stylizuje .e-przycisk (zerowa specyficzność) */
:where(.e-blok-przycisk) {
	display: inline-block;
	padding: 12px 29px;
	border-radius: 32px;
	background: var(--wp--preset--color--limonka, #c0f44f);
	color: var(--wp--preset--color--granat, #121540);
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

:where(.e-blok-przycisk):hover,
:where(.e-blok-przycisk):focus-visible {
	background: var(--wp--preset--color--fiolet, #2f0c8a);
	color: #fff;
}

/* Zaślepki lokalne (Pipedrive, Cookiebot) i komunikaty w edytorze */
.e-pipedrive-zaslepka,
.e-blok-zaslepka {
	padding: 24px;
	border: 2px dashed var(--e-fiolet-c9c3e6, #c9c3e6);
	border-radius: 10px;
	background: var(--e-fiolet-faf9ff, #faf9ff);
	color: #363636;
	font-size: 14px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

/* Paginacja listy artykułów */
.e-blok-paginacja {
	margin-top: 20px;
}

.e-blok-paginacja .e-blok-paginacja__lista {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.e-blok-paginacja .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 6px 25px rgb(0 0 0 / 7%);
	color: var(--wp--preset--color--naglowek, #1c1b1b);
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.e-blok-paginacja a.page-numbers:hover,
.e-blok-paginacja a.page-numbers:focus-visible,
.e-blok-paginacja .page-numbers.current {
	background: var(--wp--preset--color--fiolet, #2f0c8a);
	color: #fff;
}

.e-blok-paginacja .page-numbers.dots {
	box-shadow: none;
	background: transparent;
}

.e-blok-paginacja .page-numbers .e-ikona {
	width: 18px;
	height: 18px;
}
