/*
Theme Name:     Kadence Child
Theme URI:      n/a
Template:       kadence
Author:         Siteart
Author URI:     https://siteart.pl/
Description:    Child Theme Description
Version:        1.2
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

.kb-splide .splide__pagination__page.is-active {
	background: var(--global-palette1) !important;
	opacity: 1 !important;
}
.kb-advanced-slider-53_3d1e98-f8 .splide .splide__arrow:hover,
.kb-advanced-slider-53_3d1e98-f8 .kb-slider-pause-button:hover {
	color: var(--global-palette2) !important;
}
.single-entry .entry-title {
	font-size: 44px;
}
/* Narożniki dekoracyjne – tylko przy nagłówkach oznaczonych `.alternate-heading`.
   Wcześniej łapały też `.entry-title`: wykluczenia `:not(.blog):not(.wp-singular):not(.author)`
   omijały archiwa, więc na `/blog/category/...` tytuły kart wpisów (`h2.entry-title`)
   dostawały 48 px i ramki zamiast 22–24 px z motywu. */
@media (min-width: 1200px) {
	.alternate-heading {
		position: relative;
	}

	.alternate-heading::before {
		content: '';
		display: block;
		height: 32px;
		width: 30px;
		position: absolute;
		top: -14px;
		left: -60px;
		border: solid 2px #fcca03;
		border-width: 2px 0 0 2px;
	}

	.alternate-heading::after {
		content: '';
		display: block;
		height: 32px;
		width: 30px;
		position: absolute;
		right: -60px;
		bottom: -32px;
		border: solid 2px #fcca03;
		border-width: 0 2px 2px 0;
	}
}

/* opinie mainpage */
.opinie-grid {
	column-count: 1;
	column-gap: 30px;
	width: 100%;
}

.opinia-card {
	background-color: #f5f5f5;
	border-bottom: 2px solid #fcca03;
	padding: 25px;
	border-radius: 8px;
	margin-bottom: 30px;
	break-inside: avoid;
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.opinia-card:hover {
	transform: translateY(-7px);
	background-color: #ffffff;
	box-shadow:
		0 14px 28px rgba(0, 0, 0, 0.08),
		0 10px 10px rgba(0, 0, 0, 0.06);
	border-bottom-color: #ffd000;
}

.opinia-tresc {
	font-size: 14px;
	color: #8c8c8c;
	line-height: 1.6;
	margin: 0 0 20px 0;
}

.opinia-separator {
	width: 40px;
	height: 2px;
	background-color: #fcca03;
	border: none;
	margin: 0 0 15px 0;
	transition: width 0.3s ease;
}

.opinia-card:hover .opinia-separator {
	width: 70px;
}

.opinia-autor-box {
	margin-top: 10px;
}

.opinia-imie {
	font-size: 16px;
	color: #1e1e1e;
	font-weight: 700;
	margin: 0 0 4px 0;
}

.opinia-miasto {
	font-size: 14px;
	color: #1e1e1e;
	margin: 0;
}

@media (min-width: 600px) {
	.opinie-grid {
		column-count: 2;
	}
}

@media (min-width: 992px) {
	.opinie-grid {
		column-count: 3;
	}
}

/* formularz kontatowy */
form.wpcf7-form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	align-items: flex-start;
	width: 100%;
	background-color: transparent;
	position: relative;
	z-index: 100;
	max-width: 630px;
}

.form-control-group {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 24px;
}

.form-control-group.form-control-group--half {
	display: flex;
	flex-direction: row;
	gap: 24px;
	width: 100%;
}

.form-control-group__group {
	position: relative;
	width: 100%;
}

.form-control-group__label {
	color: #000;
	font-size: 16px;
	margin-bottom: 8px;
	display: block;
	font-weight: 600;
}

body form input[type='text'],
body form input[type='number'],
body form input[type='email'],
body form input[type='tel'],
body form textarea {
	display: flex;
	width: 100%;
	padding: 16px;
	border: 1px solid #d9d9d9;
	background: #fff;
	color: #000;
	font-weight: 400;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 16px;
}

body form textarea {
	height: 120px;
	resize: none;
}

form.wpcf7-form .wpcf7-acceptance {
	margin-bottom: 20px;
	margin-top: 4px;
	display: block;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	color: #333;
}

form.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

form.wpcf7-form .wpcf7-acceptance input {
	margin-right: 8px;
}

body form.wpcf7-form .wpcf7-submit {
	display: inline-block;
	margin-top: 10px;
	padding: 15px 40px;
	border: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.3s ease;

	background-color: #fcca03;
	color: #333;
}

body form.wpcf7-form .wpcf7-submit:hover {
	color: var(--global-palette2);
	color: #fff;
}

@media (max-width: 576px) {
	.form-control-group.form-control-group--half {
		flex-direction: column;
		gap: 20px;
	}
}

::placeholder {
	color: #000 !important;
	opacity: 0.5;
}

.wpcf7-not-valid-tip {
	font-size: 12px;
	color: #dc3232;
	margin-top: 5px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0px;
}
.wp-block-kadence-off-canvas-trigger:hover {
	color: #fcca03;
}
.wp-block-kadence-off-canvas-trigger:focus {
	color: #ffffff;
}

@media (max-width: 1145px) {
	.wp-block-kadence-navigation .menu {
		font-size: 14px !important;
	}
}

@media (max-width: 1024px) {
	.wp-block-kadence-navigation .menu {
		font-size: 16px !important;
	}
}

.entry-hero-container-inner .entry-header {
	flex-direction: row;
	justify-content: space-between;
}

@media (max-width: 1080px) {
	.entry-hero-container-inner .entry-header {
		flex-direction: column;
		justify-content: center;
		align-items: start;
		text-align: left;
		padding: 20px 0px;
	}
}

/* akordeon – pełne style w sekcji „FAQ / akordeony” na końcu pliku */

/* o nas */
.partners-grid-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	padding: 20px 0;
	max-width: 1200px;
	margin: 0 auto;
}

.partner-logo-box {
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	width: 180px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.partner-logo-box img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.8;
	transition:
		filter 0.3s ease,
		opacity 0.3s ease;
}

.partner-logo-box:hover {
	border-color: #fcca03;
	transform: translateY(-3px);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.partner-logo-box:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

@media (max-width: 600px) {
	.partners-grid-container {
		gap: 10px;
	}
	.partner-logo-box {
		width: 45%;
		height: 80px;
	}
}

/* co robimy */
.serivces-custom-box {
	box-shadow: 0 4px 16px 0 rgb(0 0 0 / 0.1);
}

@media (min-width: 1200px) {
	.services-custom-border {
		position: relative;
	}
	.services-custom-border::before {
		content: '';
		display: block;
		height: 32px;
		width: 30px;
		position: absolute;
		top: 15px;
		left: 15px;
		border: solid 2px #fcca03;
		border-width: 2px 0 0 2px;
		z-index: 50;
	}

	.services-custom-border::after {
		content: '';
		display: block;
		height: 32px;
		width: 30px;
		position: absolute;
		right: 15px;
		bottom: 15px;
		border: solid 2px #fcca03;
		border-width: 0 2px 2px 0;
		z-index: 50;
	}

	.services-custom-border::hover,
	.services-custom-border::hover {
		border: solid 2px #333;
	}
}

/* slider  */
.slider-innner-section {
	height: calc(100vh - 40px);
	justify-content: center;
}
@media (max-width: 1024px) {
	.slider-innner-section {
		height: calc(100vh - 36px);
	}
}
@media (max-width: 768px) {
	.slider-innner-section {
		height: 100vh;
		height: calc(100vh - 20px);
	}
}
/* @media(min-width:1920px){
	.slider-innner-section{
		height: 1000px;
	}
}

@media(max-width:768px){
	.slider-innner-section{
		height: 650px;
	}
} */
/* @media(max-width:350px){
	.slider-innner-section{
		justify-content: flex-start;
        margin-top: 20px;
	}
}
 */

.wp-block-social-links
	.wp-block-social-link.wp-social-link
	.wp-block-social-link-anchor {
	background-color: #1e1e1e;
}
.kb-splide[data-slider-dots='true'] {
	margin-bottom: 0px !important;
}
.kb-splide .splide__pagination,
.kb-splide ul.splide__pagination.splide__pagination {
	bottom: 25px !important;
}

@media (min-width: 1025px) {
	body:not(.home)
		.wp-block-kadence-header.header-desktop-sticky
		.kb-header-container {
		background-color: #333333;
	}

	body:not(.home) .page-hero-section .entry-hero-container-inner {
		background: var(--global-palette8);
		/* margin-top: 140px; */
	}
}

@media (min-width: 1024px) {
	.custom-section-container {
		position: relative;
		overflow: visible !important;
		z-index: 10;
	}

	.custom-section-photo {
		position: absolute !important;
		max-width: none !important;
		bottom: -310px;
		transform: scale(1.3);
		right: 0;
		z-index: 2;
	}

	.custom-section-photo img {
		width: 100%;
		height: auto;
	}
}

.custom-frontpage-offerbox svg {
	transition:
		0.3s ease transform,
		0.3s ease color;
}

.custom-frontpage-offerbox:hover svg {
	transform: scale(1.05);
	color: #fff;
}

.custom-frontpage-offerbox .custom-frontpage-offerbox__header {
	transition: 0.3s ease color;
}
.custom-frontpage-offerbox p {
	transition: 0.3s ease color;
}

.custom-frontpage-offerbox:hover .custom-frontpage-offerbox__header {
	color: #fff;
}
.custom-frontpage-offerbox:hover p {
	color: #fff !important;
}

.successo-logo-footer {
	min-height: 12px;
	width: auto;
	max-height: 30px;
}

/* galeria  */
.custom-gallery .kb-gallery-image-contain {
	overflow: hidden !important;
	position: relative;
	z-index: 1;
}

.custom-gallery .kadence-blocks-gallery-item img {
	transition:
		transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		filter 0.3s ease !important;
	transform-origin: center center;
	width: 100%;
	display: block;
}

.custom-gallery .kadence-blocks-gallery-item:hover img {
	transform: scale(1.12) !important;
	opacity: 0.8 !important;
	filter: brightness(0.85) !important;
}

@media (min-width: 1025px) {
	.page-id-1842 .entry-title {
		font-size: 44px;
		max-width: 640px;
	}
	.page-id-1842 .page-hero-section .entry-hero-container-inner {
		height: 225px !important;
	}
}

/* author hero – archive/author page */

/* nadpisanie centrowania Kadence dla strony autora */
body.author .entry-hero-container-inner .entry-header {
	text-align: left;
	align-items: flex-start;
	justify-content: flex-start;
	min-height: auto;
	padding: 48px 0;
}

.archive-author-hero {
	display: flex;
	align-items: center;
	gap: 36px;
	width: 100%;
}

.archive-author-hero__avatar {
	flex-shrink: 0;
}

.archive-author-hero__avatar img {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 3px solid var(--global-palette1, #fcca03);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.archive-author-hero__bio {
	flex: 1;
	min-width: 0;
}

.archive-author-hero__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--global-palette1, #fcca03);
	margin: 0 0 8px 0;
}

.archive-author-hero__name {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--global-palette3, #1A202C);
	margin: 0 0 14px 0;
}

.archive-author-hero__desc {
	font-size: 15px;
	line-height: 1.7;
	color: var(--global-palette5, #333333);
	margin: 0;
	max-width: 560px;
}

@media (max-width: 768px) {
	.archive-author-hero__name {
		font-size: 28px;
	}
}

@media (max-width: 576px) {
	body.author .entry-hero-container-inner .entry-header {
		padding: 32px 0;
	}

	.archive-author-hero {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.archive-author-hero__name {
		font-size: 24px;
	}
}

/* author box – single post */
.single-author-box__heading {
	font-size: 28px;
	font-weight: 700;
	color: var(--global-palette3, #1A202C);
	line-height: 1.5;
	margin: 64px 0 16px 0;
}

.single-author-box {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 28px;
	background-color: var(--global-palette8, #F7FAFC);
	border-bottom: 2px solid var(--global-palette1, #fcca03);
	border-radius: 8px;
}

.single-author-box__avatar {
	flex-shrink: 0;
}

.single-author-box__avatar img {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.single-author-box__bio {
	flex: 1;
	min-width: 0;
}

/* Selektor zstępny nie jest ozdobą: nazwa autora to teraz <p> (SEO),
   a marginesy z `.single-content p` Kadence (0,1,1) bija samą klasę (0,1,0). */
.single-author-box__bio .single-author-box__name {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 12px 0;
	line-height: 1.3;

}

.single-author-box__name a {
	color: var(--global-palette3, #1A202C);
	text-decoration: none;
	transition: color 0.2s ease;
}

.single-author-box__name a:hover {
	color: var(--global-palette1, #fcca03);
}

.single-author-box__desc {
	font-size: 14px;
	color: var(--global-palette4, #1e1e1e);
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 576px) {
	.single-author-box__heading {
		font-size: 22px;
	}

	.single-author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 16px;
		padding: 22px 18px;
	}
}


/* ==========================================================================
   BLOG – spis treści (Kadence Blocks: Table of Contents)
   ========================================================================== */

.entry-content .wp-block-kadence-tableofcontents {
	--si-toc-accent: #fcca03;
	--si-toc-dark: #1e1e1e;
	--si-toc-line: #edf2f7;
	--si-toc-muted: #8c8c8c;

	position: relative;
	margin: 40px 0;
	border: 1px solid var(--si-toc-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.55);
	overflow: hidden;
}

/* Rozwijanie zostawiamy wtyczce (skokowa zmiana wysokości).
   NIE animować tu `grid-template-rows`: przeglądarka interpoluje wtedy także
   ścieżkę `auto` nagłówka i ciemny pasek rozdyma się w trakcie do ~450 px. */
.entry-content .kb-table-of-content-nav .kb-table-of-content-wrap {
	padding: 0;
	border: 0;
}

.entry-content .kb-table-of-content-nav .kb-table-of-content-wrap::after {
	display: none;
}

/* --- pasek nagłówka --- */
.entry-content .kb-table-of-content-nav .kb-table-of-contents-title-wrap {
	gap: 16px;
	padding: 17px 22px;
	background: linear-gradient(90deg, #1e1e1e 0%, #2c2c2c 100%);
	cursor: pointer;
}

.entry-content .kb-table-of-content-nav .kb-table-of-contents-title {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.entry-content .kb-table-of-content-nav .kb-table-of-contents-title::before {
	content: '';
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background-color: var(--si-toc-accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1e1e' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 19px 19px;
}

/* strzałka rozwijania */
.entry-content
	.kb-table-of-content-nav
	.kb-table-of-contents-title-wrap
	.kb-table-of-contents-icon-trigger {
	color: var(--si-toc-accent);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08) !important;
	transition:
		background 0.25s ease,
		box-shadow 0.25s ease;
	cursor: pointer;
}

.entry-content
	.kb-table-of-content-nav
	.kb-table-of-contents-title-wrap:hover
	.kb-table-of-contents-icon-trigger {
	background: rgba(252, 202, 3, 0.22);
	box-shadow: 0 0 0 5px rgba(252, 202, 3, 0.22) !important;
}

/* --- lista --- */
/* Odstępy pionowe MUSZĄ być paddingiem listy, nie marginesami skrajnych `li`.
   Lista nie ma paddingu pionowego ani obramowania, więc margines pierwszego
   i ostatniego `li` skleja się z marginesem `ul` i wychodzi poza jej tło —
   pod ostatnią pozycją zostawał wtedy biały pasek na tle karty. */
.entry-content .kb-table-of-content-nav .kb-table-of-content-wrap .kb-table-of-content-list {
	list-style: none;
	margin: 0;
	padding: 24px 26px 26px;
	counter-reset: si-toc;
	background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

/* Delikatne wejście pozycji po rozwinięciu – działa na opacity i transform,
   więc nie rusza układu strony i nic nie „skacze”. */
@keyframes si-toc-item-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.entry-content
	.kb-table-of-content-nav.kb-toc-toggle-active
	.kb-table-of-content-list
	> li {
	animation: si-toc-item-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.entry-content
	.kb-table-of-content-nav.kb-toc-toggle-active
	.kb-table-of-content-list
	> li:nth-child(2) {
	animation-delay: 0.04s;
}

.entry-content
	.kb-table-of-content-nav.kb-toc-toggle-active
	.kb-table-of-content-list
	> li:nth-child(3) {
	animation-delay: 0.08s;
}

.entry-content
	.kb-table-of-content-nav.kb-toc-toggle-active
	.kb-table-of-content-list
	> li:nth-child(4) {
	animation-delay: 0.12s;
}

.entry-content
	.kb-table-of-content-nav.kb-toc-toggle-active
	.kb-table-of-content-list
	> li:nth-child(5) {
	animation-delay: 0.16s;
}

.entry-content
	.kb-table-of-content-nav.kb-toc-toggle-active
	.kb-table-of-content-list
	> li:nth-child(n + 6) {
	animation-delay: 0.2s;
}

/* pozycje główne – numerowane kafelki */
.entry-content .kb-table-of-content-nav .kb-table-of-content-list > li {
	position: relative;
	margin: 0 0 16px;
	padding: 0 0 0 48px;
	list-style: none;
}

.entry-content .kb-table-of-content-nav .kb-table-of-content-list > li:last-child {
	margin-bottom: 0;
}

.entry-content .kb-table-of-content-nav .kb-table-of-content-list > li::before {
	counter-increment: si-toc;
	content: counter(si-toc, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -2px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 33px;
	height: 33px;
	border: 1px solid var(--si-toc-line);
	border-radius: 9px;
	background: #fff;
	color: var(--si-toc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.entry-content .kb-table-of-content-nav .kb-table-of-content-list > li:hover::before {
	border-color: var(--si-toc-accent);
	background: var(--si-toc-accent);
	color: var(--si-toc-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 14px -6px rgba(252, 202, 3, 0.9);
}

/* linki */
.entry-content .kb-table-of-content-nav .kb-table-of-content-list a.kb-table-of-contents__entry {
	display: inline;
	padding-bottom: 2px;
	color: var(--si-toc-dark);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	background-image: linear-gradient(var(--si-toc-accent), var(--si-toc-accent));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 2px;
	transition:
		background-size 0.3s ease,
		color 0.2s ease;
}

.entry-content
	.kb-table-of-content-nav
	.kb-table-of-content-list
	a.kb-table-of-contents__entry:hover,
.entry-content
	.kb-table-of-content-nav
	.kb-table-of-content-list
	a.kb-table-of-contents__entry:focus-visible {
	color: #000;
	background-size: 100% 2px;
}

/* podpozycje */
.entry-content .kb-table-of-content-nav .kb-table-of-contents-list-sub {
	list-style: none;
	margin: 12px 0 0;
	padding: 0 0 0 16px;
	border-left: 2px solid var(--si-toc-line);
}

.entry-content .kb-table-of-content-nav .kb-table-of-contents-list-sub > li {
	position: relative;
	margin: 0 0 9px;
	padding: 0 0 0 20px;
	list-style: none;
}

.entry-content .kb-table-of-content-nav .kb-table-of-contents-list-sub > li:last-child {
	margin-bottom: 0;
}

.entry-content .kb-table-of-content-nav .kb-table-of-contents-list-sub > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.68em;
	width: 9px;
	height: 2px;
	border-radius: 2px;
	background: var(--si-toc-accent);
	transition: width 0.25s ease;
}

.entry-content .kb-table-of-content-nav .kb-table-of-contents-list-sub > li:hover::before {
	width: 15px;
}

.entry-content
	.kb-table-of-content-nav
	.kb-table-of-contents-list-sub
	a.kb-table-of-contents__entry {
	color: #333;
	font-size: 15px;
	font-weight: 500;
}

@media (max-width: 767px) {
	.entry-content .wp-block-kadence-tableofcontents {
		margin: 30px 0;
		border-radius: 12px;
	}

	.entry-content .kb-table-of-content-nav .kb-table-of-contents-title-wrap {
		padding: 14px 16px;
		gap: 12px;
	}

	.entry-content .kb-table-of-content-nav .kb-table-of-contents-title {
		font-size: 15px;
		gap: 11px;
	}

	.entry-content .kb-table-of-content-nav .kb-table-of-contents-title::before {
		width: 30px;
		height: 30px;
		background-size: 17px 17px;
	}

	.entry-content .kb-table-of-content-nav .kb-table-of-content-wrap .kb-table-of-content-list {
		padding: 18px 16px 20px;
	}

	.entry-content .kb-table-of-content-nav .kb-table-of-content-list > li {
		padding-left: 40px;
		margin-bottom: 14px;
	}

	.entry-content .kb-table-of-content-nav .kb-table-of-content-list > li::before {
		width: 28px;
		height: 28px;
		border-radius: 8px;
		font-size: 11px;
	}

	.entry-content
		.kb-table-of-content-nav
		.kb-table-of-content-list
		a.kb-table-of-contents__entry {
		font-size: 15px;
	}

	.entry-content .kb-table-of-content-nav .kb-table-of-contents-list-sub {
		padding-left: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.entry-content
		.kb-table-of-content-nav.kb-toc-toggle-active
		.kb-table-of-content-list
		> li {
		animation: none;
	}

	.entry-content .kb-table-of-content-nav .kb-table-of-content-list > li::before,
	.entry-content .kb-table-of-content-nav .kb-table-of-content-list a.kb-table-of-contents__entry {
		transition: none;
	}
}

/* ==========================================================================
   BLOG – kategorie nad tytułem (single + listing)
   ========================================================================== */

.entry-taxonomies {
	margin-bottom: 16px;
}

.entry-taxonomies .category-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.entry-taxonomies .category-links a {
	display: inline-flex;
	align-items: center;
	padding: 6px 15px;
	border: 1px solid rgba(252, 202, 3, 0.55);
	border-radius: 999px;
	background: rgba(252, 202, 3, 0.14);
	color: #1e1e1e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.entry-taxonomies .category-links a:hover,
.entry-taxonomies .category-links a:focus-visible {
	border-color: #fcca03;
	background: #fcca03;
	color: #1e1e1e;
	transform: translateY(-1px);
	box-shadow: 0 8px 16px -8px rgba(252, 202, 3, 1);
}


/* ==========================================================================
   FAQ / akordeony (Kadence Blocks: Accordion)
   --------------------------------------------------------------------------
   Rodzina wizualna ze spisem treści: karta z zaokrągleniem, a po rozwinięciu
   ciemny pasek nagłówka z żółtą strzałką w kółku.

   UWAGA na specyficzność: Kadence wypisuje style bloku w `<style>` w <head>
   PO arkuszu motywu potomnego, więc selektory poniżej muszą mieć wyższą
   specyficzność (stąd prefiks `.wp-block-kadence-accordion .kt-accordion-wrap`).
   Nie używamy `.entry-content`, żeby style działały też poza treścią wpisu.
   ========================================================================== */

.wp-block-kadence-accordion .kt-accordion-wrap {
	--si-acc-accent: #fcca03;
	--si-acc-dark: #1e1e1e;
	--si-acc-line: #edf2f7;
	--si-acc-bg: #f7fafc;
}

.wp-block-kadence-accordion .kt-accordion-wrap .kt-accordion-inner-wrap {
	row-gap: 14px;
}

/* każde pytanie to osobna karta.
   Tło jest celowo szare, nie białe: treść wpisu i sekcje podstron usług leżą
   na bieli, więc biała karta się z nią zlewała. */
.wp-block-kadence-accordion .kt-accordion-wrap .wp-block-kadence-pane {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: var(--si-acc-bg);
	box-shadow: 0 12px 28px -24px rgba(0, 0, 0, 0.6);
	overflow: hidden;
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.wp-block-kadence-accordion .kt-accordion-wrap .wp-block-kadence-pane:hover {
	border-color: rgba(252, 202, 3, 0.65);
	box-shadow: 0 16px 32px -22px rgba(0, 0, 0, 0.55);
}

/* --- pasek pytania ---
   Ustawienia bloku wypisują dla nagłówka reguły o specyficzności 0,5,0 (stan
   zwykły), 0,5,1 (hover) i 0,6,0 (rozwinięty), i to one dawały żółtą kreskę
   pod każdym paskiem oraz żółty tekst na hover. Dlatego poniżej pełny łańcuch
   potomków — daje 0,7,0 i przebija wszystkie trzy. */
.wp-block-kadence-accordion
	.kt-accordion-wrap.kt-accordion-block
	> .kt-accordion-inner-wrap
	> .wp-block-kadence-pane
	> .kt-accordion-header-wrap
	> .kt-blocks-accordion-header {
	gap: 16px;
	padding: 17px 20px;
	border: 0;
	border-radius: 0;
	background: var(--si-acc-bg);
	color: var(--si-acc-dark);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	transition:
		background 0.25s ease,
		color 0.25s ease;
}

.wp-block-kadence-accordion .kt-accordion-wrap .kt-blocks-accordion-title-wrap {
	padding-right: 0;
}

/* strzałka w kółku – jak w spisie treści */
.wp-block-kadence-accordion .kt-accordion-wrap .kt-blocks-accordion-icon-trigger {
	flex: 0 0 auto;
	margin-right: 5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 5px #fff;
	color: var(--si-acc-dark);
	transition:
		background 0.25s ease,
		box-shadow 0.25s ease,
		color 0.25s ease;
}

/* Kreski strzałki mają zawsze iść za kolorem kółka. `!important` jest tu
   konieczne: ustawienia bloku barwią je na hover regułą o specyficzności
   0,8,1 (łańcuch `:not()` na styl ikony), przez co strzałka robiła się żółta
   na żółtym kółku i znikała. Selektora o wyższej specyficzności nie da się
   tu sensownie napisać. */
.wp-block-kadence-accordion .kt-accordion-wrap .kt-blocks-accordion-icon-trigger::before,
.wp-block-kadence-accordion .kt-accordion-wrap .kt-blocks-accordion-icon-trigger::after {
	background-color: currentColor !important;
}

/* hover – ustawienia bloku dają tu żółty tekst (kontrast 1,8:1) i doklejają
   `border-left: 4px`, co przesuwa treść paska; jedno i drugie zdejmujemy */
.wp-block-kadence-accordion
	.kt-accordion-wrap.kt-accordion-block
	> .kt-accordion-inner-wrap
	> .wp-block-kadence-pane
	> .kt-accordion-header-wrap
	> .kt-blocks-accordion-header:hover,
.wp-block-kadence-accordion
	.kt-accordion-wrap.kt-accordion-block
	> .kt-accordion-inner-wrap
	> .wp-block-kadence-pane
	> .kt-accordion-header-wrap
	> .kt-blocks-accordion-header:focus-visible {
	border: 0;
	background: var(--si-acc-bg);
	color: var(--si-acc-dark);
}

.wp-block-kadence-accordion
	.kt-accordion-wrap
	.kt-blocks-accordion-header:hover
	.kt-blocks-accordion-icon-trigger,
.wp-block-kadence-accordion
	.kt-accordion-wrap
	.kt-blocks-accordion-header:focus-visible
	.kt-blocks-accordion-icon-trigger {
	background: var(--si-acc-accent);
	box-shadow: 0 0 0 5px var(--si-acc-accent);
	color: var(--si-acc-dark);
}

/* --- pozycja rozwinięta --- */
.wp-block-kadence-accordion
	.kt-accordion-wrap.kt-accordion-block
	> .kt-accordion-inner-wrap
	> .wp-block-kadence-pane
	> .kt-accordion-header-wrap
	> .kt-blocks-accordion-header.kt-accordion-panel-active,
.wp-block-kadence-accordion
	.kt-accordion-wrap.kt-accordion-block
	> .kt-accordion-inner-wrap
	> .wp-block-kadence-pane
	> .kt-accordion-header-wrap
	> .kt-blocks-accordion-header.kt-accordion-panel-active:hover {
	border: 0;
	background: linear-gradient(90deg, #1e1e1e 0%, #2c2c2c 100%);
	color: #fff;
}

.wp-block-kadence-accordion
	.kt-accordion-wrap
	.kt-blocks-accordion-header.kt-accordion-panel-active
	.kt-blocks-accordion-icon-trigger {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
	color: var(--si-acc-accent);
}

.wp-block-kadence-accordion
	.kt-accordion-wrap
	.kt-blocks-accordion-header.kt-accordion-panel-active:hover
	.kt-blocks-accordion-icon-trigger {
	background: rgba(252, 202, 3, 0.22);
	box-shadow: 0 0 0 5px rgba(252, 202, 3, 0.22);
}

/* --- odpowiedź --- */
.wp-block-kadence-accordion .kt-accordion-wrap .kt-accordion-panel-inner {
	border: 0;
	padding: 20px 22px 22px;
	background: #fff;
	font-size: 16px;
}

.wp-block-kadence-accordion .kt-accordion-wrap .kt-accordion-panel-inner > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.wp-block-kadence-accordion .kt-accordion-wrap .kt-accordion-inner-wrap {
		row-gap: 12px;
	}

	.wp-block-kadence-accordion
		.kt-accordion-wrap.kt-accordion-block
		> .kt-accordion-inner-wrap
		> .wp-block-kadence-pane
		> .kt-accordion-header-wrap
		> .kt-blocks-accordion-header {
		gap: 12px;
		padding: 14px 16px;
		font-size: 16px;
	}

	.wp-block-kadence-accordion .kt-accordion-wrap .kt-accordion-panel-inner {
		padding: 16px 16px 18px;
	}
}

/* ============================================================
   Nagłówki-ozdobniki zamienione na <p> (SEO, 08.2026)
   Źródła zamian: functions.php (si_rating_heading_to_text,
   si_related_title_to_text, si_nav_heading_to_text) oraz nadpisane
   template-parts/content/entry_loop_title.php i single-author-box.php.
   Reguły motywu dla tych elementów są kwalifikowane tagiem (h2/h3),
   więc po zmianie znacznika typografię odtwarzamy na klasach —
   wartości przepisane 1:1 z Kadence (globalne h2/h3, content.min.css,
   related-posts.min.css).
   ============================================================ */

/* „Spodobała Ci się treść? Oceń nas!” — rozmiar/wagę/font trzyma CSS
   bloku (klasy kt-adv-heading…); z tagiem h2 ginie tylko line-height 1.5
   i marginesy `.single-content h2 { margin: 1.5em 0 .5em }` wraz
   z zerowaniem `h2:first-child` / `h2 + *` — odtworzone poniżej. */
p.si-heading-text {
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

/* Kolor globalnego h2 (palette3) — tylko gdy blok nie ma własnego koloru. */
p.si-heading-text:not(.has-text-color) {
	color: var(--global-palette3);
}

.single-content p.si-heading-text {
	margin: 1.5em 0 0.5em;
}

.single-content p.si-heading-text:first-child {
	margin-top: 0;
}

.single-content p.si-heading-text + * {
	margin-top: 0;
}

/* „Podobne wpisy” — typografia globalnego h2 + margines
   z `h2.entry-related-title` (related-posts.min.css). */
.entry-related-title {
	font-style: normal;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.5;
	color: var(--global-palette3);
	margin: 0 0 1.5rem;
	padding: 0;
}

/* Tytuły kart w karuzeli podobnych wpisów — 20px
   z `.entry-related-carousel h3.entry-title` + link jak w `h3 a`
   (color:inherit, bez podkreślenia). Hover bez zmian — globalne a:hover
   nie zależy od znacznika rodzica. */
.entry-related-carousel .entry-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--global-palette3);
	margin: 0;
	padding: 0;
}

.entry-related-carousel .entry-title a {
	color: inherit;
	text-decoration: none;
}
