/* KOMA NORD 2026-12-03: treści z panelu (Ekspert, Business Case, oferta, podstrony) – listy i style z menu „Formaty” edytora.
   Ten sam plik ładuje strona (index.php) i edytor TinyMCE 8 (content_css), więc w edytorze treść wygląda jak na stronie.
   Kontenery treści: .uni_text_14 (artykuły), .uni_text_16 (oferta, podstrony), .case_text (sekcje Business Case), .mce-content-body (edytor).
   Zastępuje stare zasady list z style.css: display:table (każdy punkt innej szerokości), clear:both (lista „przeskakiwała” pod zdjęcie),
   zero odstępów między punktami, tekst wyjustowany, listy numerowane bez stylu. */

/* ---------- listy ---------- */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) :is(ul, ol) {
	clear: none !important;
	margin: 6px 0 16px;
	text-align: left;
}
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ul {
	padding-left: 15px;
}
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ul > li {
	display: flow-root; /* punkt obok zdjęcia jest w całości obok niego (bez łamania wokół dolnej krawędzi zdjęcia) */
	list-style: none;
	margin: 0 0 8px;
	padding: 0 0 0 28px;
	background: url(../images/list_item_triangle.png) left 0 top 8px no-repeat;
	text-align: left;
}
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ol {
	padding-left: 24px;
	list-style: decimal;
}
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ol > li {
	display: list-item;
	list-style: inherit;
	margin: 0 0 8px;
	padding: 0 0 0 6px;
	background: none;
	text-align: left;
}
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ol > li::marker { color: #b42d32; font-weight: 600; }
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ol[style*="lower-alpha"] { list-style: lower-alpha; }
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ol[style*="upper-roman"] { list-style: upper-roman; }
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) li > :is(ul, ol) { margin: 8px 0 0; }
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) li > p { margin: 0; }
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) li:last-child { margin-bottom: 0; }

/* ---------- style z menu „Formaty” ---------- */
/* Lista z ptaszkami */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ul.kn-lista-ok > li {
	padding-left: 30px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23b42d32'/%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 0 top 1px / 18px 18px no-repeat;
}
/* Lista numerowana – kroki (numery w czerwonych kółkach) */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ol.kn-lista-kroki {
	list-style: none;
	counter-reset: kn-krok;
	padding-left: 0;
}
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ol.kn-lista-kroki > li {
	counter-increment: kn-krok;
	position: relative;
	min-height: 28px;
	margin-bottom: 12px;
	padding: 3px 0 0 42px;
}
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) ol.kn-lista-kroki > li::before {
	content: counter(kn-krok);
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #b42d32;
	color: #fff;
	font: 600 13px/28px Poppins, Arial, sans-serif;
	text-align: center;
}
/* Lista zwarta */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) :is(ul, ol).kn-lista-zwarta > li { margin-bottom: 2px; }

/* Wstęp – większy tekst */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) p.kn-lead {
	font-size: 17px;
	line-height: 1.6;
	color: #231f20;
	text-align: left;
}
/* Ramka – wyróżnienie */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) div.kn-ramka {
	clear: both;
	margin: 14px 0 20px;
	padding: 16px 20px;
	border-left: 4px solid #b42d32;
	background: #f6f4f4;
	text-align: left;
}
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) div.kn-ramka > :last-child { margin-bottom: 0; }
/* Przypis – mały tekst */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) p.kn-przypis { font-size: 12px; line-height: 1.5; color: #6b6464; }
/* Wyróżnienie kolorem KN */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) .kn-akcent { color: #b42d32; font-weight: 600; }
/* Cytat */
:is(.uni_text_14, .uni_text_16, .case_text, .mce-content-body) blockquote {
	margin: 14px 0 20px;
	padding: 4px 0 4px 18px;
	border-left: 3px solid #d9d4d4;
	font-style: italic;
	color: #4a4444;
}
