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



/* ===== Nagłówki na wpisie blogowym — domyślne (desktop > 1300px) ===== */
.single.single-post h1 {
  font-size: 42px;
  line-height: 1.5;
}

.single.single-post h2 {
  font-size: 34px;
  line-height: 1.5;
}

.single.single-post h3 {
  font-size: 28px;
  line-height: 1.5;
}

.single.single-post h4 {
  font-size: 22px;
  line-height: 1.5;
}

.single.single-post h5 {
  font-size: 18px;
  line-height: 1.5;
}

.single.single-post h6 {
  font-size: 16px;
  line-height: 1.5;
}

/* ===== ≤ 1300px ===== */
@media (max-width: 1300px) {
  .single.single-post h1 {
    font-size: 38px;
    line-height: 1.45;
  }
  .single.single-post h2 {
    font-size: 31px;
    line-height: 1.45;
  }
  .single.single-post h3 {
    font-size: 26px;
    line-height: 1.45;
  }
  .single.single-post h4 {
    font-size: 21px;
    line-height: 1.45;
  }
  .single.single-post h5 {
    font-size: 17px;
    line-height: 1.45;
  }
  .single.single-post h6 {
    font-size: 15px;
    line-height: 1.45;
  }
}

/* ===== ≤ 992px ===== */
@media (max-width: 992px) {
  .single.single-post h1 {
    font-size: 34px;
    line-height: 1.4;
  }
  .single.single-post h2 {
    font-size: 28px;
    line-height: 1.4;
  }
  .single.single-post h3 {
    font-size: 24px;
    line-height: 1.4;
  }
  .single.single-post h4 {
    font-size: 20px;
    line-height: 1.4;
  }
  .single.single-post h5 {
    font-size: 17px;
    line-height: 1.4;
  }
  .single.single-post h6 {
    font-size: 15px;
    line-height: 1.4;
  }
}

/* ===== ≤ 768px ===== */
@media (max-width: 768px) {
  .single.single-post h1 {
    font-size: 30px;
    line-height: 1.35;
  }
  .single.single-post h2 {
    font-size: 25px;
    line-height: 1.35;
  }
  .single.single-post h3 {
    font-size: 22px;
    line-height: 1.35;
  }
  .single.single-post h4 {
    font-size: 19px;
    line-height: 1.35;
  }
  .single.single-post h5 {
    font-size: 16px;
    line-height: 1.35;
  }
  .single.single-post h6 {
    font-size: 14px;
    line-height: 1.35;
  }
}

/* ===== ≤ 576px ===== */
@media (max-width: 576px) {
  .single.single-post h1 {
    font-size: 26px;
    line-height: 1.3;
  }
  .single.single-post h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .single.single-post h3 {
    font-size: 20px;
    line-height: 1.3;
  }
  .single.single-post h4 {
    font-size: 18px;
    line-height: 1.3;
  }
  .single.single-post h5 {
    font-size: 16px;
    line-height: 1.3;
  }
  .single.single-post h6 {
    font-size: 14px;
    line-height: 1.3;
  }
}

.kk-star-ratings{
	
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	width: 100%;
}



.footer-widget-area-inner .wp-block-kadence-column p a {
    color: #FFA500 !important;
}

.entry-title.custom-entry a{ 
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.5;
    text-transform: none;
    color: var(--global-palette3);
	text-decoration: none;
}




.wp-singular.post-template-default.single.single-post .content-container.site-container{
	max-width: 1110px;
}

/* Bez pionowych odstępów na obszarze treści.
   Kadence daje .content-area{margin:var(--global-xxl-spacing) 0} w global.min.css
   (5rem góra i dół) – zerujemy, bez zamiany na padding.
   Selektor z "body", bo global.min.css ładuje się PO stylach motywu potomnego. */
body .content-area{
	margin-top: 0;
	margin-bottom: 0;
}

/* Breadcrumbs – odstęp od góry.
   Uwaga na dwie reguły Kadence w content.min.css:
   .kadence-breadcrumbs{margin:1em 0}                                    (0,1,0)
   .entry-content-wrap .entry-header .kadence-breadcrumbs:first-child{margin-top:0}  (0,4,0)
   Ta druga wymaga selektora o specyficzności >= (0,4,1), stąd długa wersja niżej.
   2em liczy się od font-size samego elementu (Kadence daje mu 85%) = ~27px. */
body .kadence-breadcrumbs{
	margin-top: 2em;
}
body .entry-content-wrap .entry-header .kadence-breadcrumbs:first-child{
	margin-top: 2em;
}

/* "Podobne wpisy" – naprawa rozjazdu na średnim desktopie.
   Kadence rozpycha .alignwide ujemnym marginesem: -80px od 1025px
   (content.min.css) i -130px od 1102px (kadence-global-inline-css), ale
   nie zdejmuje bazowego max-width:100vw. Przy kontenerze ograniczonym do
   1110px miejsca na ten rozjazd starcza dopiero od ~1330px, bo
   left = (100vw - 1110) / 2 - 110. Niżej sekcja wyjeżdża poza ekran
   i ucina nagłówek – w tym zakresie wyrównujemy ją do kontenera treści.
   Powyżej 1330px zostawiamy szerszy układ Kadence bez zmian.
   Selektor musi mieć >=4 klasy, żeby pobić .content-width-narrow
   .wp-site-blocks .content-container .alignwide (0,4,0). */
@media screen and (min-width: 1025px) and (max-width: 1329px){
	body .entry-related .entry-related-inner.content-container > .entry-related-inner-content.alignwide{
		margin-left: 0;
		margin-right: 0;
		width: auto;
		max-width: 100%;
	}
}

/* "Podobne wpisy" – równa wysokość kafelków.
   .splide__list jest flexem, więc SLAJDY już się rozciągają do najwyższego,
   ale <article> w środku zostaje blokiem o wysokości własnej treści –
   przy tytułach o różnej liczbie linii karty kończą się na różnym poziomie.
   Przepuszczamy rozciągnięcie w dół łańcuchem flexów, a wiersz meta
   (autor • data) dosuwamy do dolnej krawędzi, żeby był wyrównany. */
.entry-related-inner-content .splide__slide{
	display: flex;
}

.entry-related-inner-content .splide__slide > .entry{
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* miniatura trzyma swoją wysokość, nie kurczy się przy rozciąganiu karty */
.entry-related-inner-content .splide__slide > .entry > .post-thumbnail{
	flex: 0 0 auto;
}

.entry-related-inner-content .splide__slide > .entry > .entry-content-wrap{
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.entry-related-inner-content .splide__slide .entry-header{
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.entry-related-inner-content .splide__slide .entry-meta{
	margin-top: auto;
}

@media(max-width: 576px){
	.site-header-logo img{
max-width: 150px;}
}

.wp-block-button__link{
	width: auto!important;
}

.top-bar__elements{
		display: flex; 
		gap: 32px;
		padding: 10px 0;
}
.top-bar__element{
	display: flex; 
	align-items: center; 
	gap: 12px;
}
@media (max-width: 400px){
	.top-bar__element{
		font-size: 14px;
	}
}
@media (max-width: 335px){
	.top-bar__elements{
		flex-direction: column;
		gap: 8px;
	}
}

.kadence-column514def-89{
max-width: 100%!important;
}

.site-footer-row-layout-fullwidth>.site-footer-row-container-inner>.site-container{
	padding: 0;
}


form.wpcf7-form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	align-items: flex-start;
	width: 100%;
	gap: 14px;
	height: 100%;
	/* z-index tylko na tyle, by formularz był nad tłem sekcji.
	   NIE podnosić do 1000 – .site-header ma z-index:11 i tworzy własny
	   kontekst układania, więc formularz zasłaniałby rozwinięte menu. */
	position: relative;
	z-index: 1;
	max-width: 630px;
	background: #ffffff;
	padding: 36px;
	border: 1px solid var(--global-palette7);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* --- Neutralizacja wpautop w CF7 ---
   CF7 owija każde pole w <p> i wstawia <br> po etykiecie. Zerujemy te odstępy,
   bo rytm formularza robi wyłącznie "gap" na form.wpcf7-form – inaczej dochodzi
   podwójna przerwa (margines akapitu + gap). Prefiks "body", bo arkusze Kadence
   (global.min.css / content.min.css) ładują się PO stylach motywu potomnego. */
body form.wpcf7-form p{
	margin: 0;
	padding: 0;
}

/* <br> między etykietą a polem – zbędny, etykieta jest blokowa
   i ma własny padding-bottom */
body form.wpcf7-form br{
	display: none;
}

/* Owijka pola z CF7 jest <span> – bez tego blokowy input rozbija linię */
body form.wpcf7-form .wpcf7-form-control-wrap{
	display: block;
}


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

.form-control-group__group {
	position: relative;
}

.form-control-group__label {
	display: inline-block;
	padding: 0 0 6px 2px;
	color: var(--global-palette2);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	z-index: 1;
}

/* Gwiazdka pola wymaganego w kolorze marki */
.form-control-group__label .required-field {
	margin-left: 2px;
	color: var(--global-palette1);
	font-weight: 700;
}

form.wpcf7-form  .wpcf7-acceptance {
	margin-bottom: 4px;
	margin-top: 4px;
	display: block;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--global-palette4);
}

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

/* Checkbox zgody – wyrównanie do pierwszej linii tekstu */
form.wpcf7-form  .wpcf7-acceptance .wpcf7-list-item label{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

form.wpcf7-form  .wpcf7-acceptance input[type='checkbox']{
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--global-palette1);
	cursor: pointer;
}

form.wpcf7-form  .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label{
	margin-left: 0;
	line-height: 1.5;
}

form.wpcf7-form  .wpcf7-acceptance a{
	color: var(--global-palette2);
	text-decoration: underline;
	text-decoration-color: var(--global-palette1);
	text-underline-offset: 2px;
}

body form input[type='text'], body form input[type='number'], body form input[type='email'], body form input[type='tel'], body form textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--global-palette7);
    background: #ffffff;
    color: var(--global-palette3);
    font-weight: 400;
    border-radius: 10px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body form input[type='text']:hover, body form input[type='number']:hover, body form input[type='email']:hover, body form input[type='tel']:hover, body form textarea:hover {
    border-color: #d6d2d2;
}

body form input[type='text']:focus, body form input[type='number']:focus, body form input[type='email']:focus, body form input[type='tel']:focus, body form textarea:focus {
    outline: none;
    border-color: var(--global-palette1);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.18);
}

body form textarea{
	height: 125px;
	width: 100%;
	resize: vertical;
}

/* Przycisk wysyłki */
body form.wpcf7-form  .wpcf7-submit{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	margin-top: 4px;
	padding: 13px 30px;
	border: 0;
	border-radius: 10px;
	background: var(--global-palette1);
	color: var(--global-palette2);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body form.wpcf7-form  .wpcf7-submit:hover{
	background: #e89400;
	box-shadow: 0 6px 16px rgba(255, 165, 0, 0.3);
	transform: translateY(-1px);
}

body form.wpcf7-form  .wpcf7-submit:focus-visible{
	outline: 3px solid rgba(255, 165, 0, 0.45);
	outline-offset: 3px;
}

/* Pola z błędem walidacji */
body form .wpcf7-not-valid{
	border-color: #d33a2c;
}

.wpcf7-not-valid-tip{
	font-size: 13px;
	padding-left: 2px;
	padding-top: 4px;
	color: #d33a2c;
}

/* Komunikat zwrotny CF7 (sukces / błąd) */
form.wpcf7-form .wpcf7-response-output{
	width: 100%;
	margin: 8px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	border-width: 1px;
	font-size: 15px;
	line-height: 1.5;
}

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

	form.wpcf7-form{
		padding: 22px 18px;
		border-radius: 14px;
	}

	body form.wpcf7-form .wpcf7-submit{
		width: 100%;
	}
}

body form input::placeholder,
body form input[type='text']::placeholder,
body form input[type='number']::placeholder,
body form input[type='email']::placeholder,
body form input[type='tel']::placeholder,
body form textarea::placeholder,
body form input::-webkit-input-placeholder,
body form input[type='text']::-webkit-input-placeholder,
body form input[type='number']::-webkit-input-placeholder,
body form input[type='email']::-webkit-input-placeholder,
body form input[type='tel']::-webkit-input-placeholder,
body form textarea::-webkit-input-placeholder,
body form input[type='text']:-moz-placeholder,
body form input[type='number']:-moz-placeholder,
body form input[type='email']:-moz-placeholder,
body form input[type='tel']:-moz-placeholder,
body form textarea:-moz-placeholder,
body form input[type='text']::-moz-placeholder,
body form input[type='number']::-moz-placeholder,
body form input[type='email']::-moz-placeholder,
body form input[type='tel']::-moz-placeholder,
body form textarea::-moz-placeholder,
body form input[type='text']:-ms-input-placeholder,
body form input[type='number']:-ms-input-placeholder,
body form input[type='email']:-ms-input-placeholder,
body form input[type='tel']:-ms-input-placeholder,
body form textarea:-ms-input-placeholder {
    color: var(--global-palette4)!important;
    opacity: 1;
}
::placeholder{
    color: var(--global-palette4)!important;
}



/* Wariant na jasnym tle sekcji – karta lekko przygaszona, żeby nie zlewała się z tłem */
.white-form-section form.wpcf7-form{
	background:#fafafa;
	border-color: #e6e3e3;
}




.white-testimonials .ti-widget.ti-goog .ti-review-item>.ti-inner{
    border-color: #f9f9f9 !important;
	background-color: #fafafa !important;
}

body .white-form-section   form input[type='text'],
body .white-form-section  form input[type='number'], 
 body .white-form-section form input[type='email'], 
body  .white-form-section form input[type='tel'], body   .white-form-section form textarea{
       border: 1px solid #e0e0e2;
}

.grecaptcha-badge {
    display: none !important;
}




/* styl tabel w witrynie */
.custom-table-wrap {
  width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px auto;
	  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}
.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  border-radius: 14px;
  overflow: hidden;
  min-width: 800px;
  border: 2px solid #f1f1f1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.custom-table thead tr {
  background-color: #FEA501;
  color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

.custom-table th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 800;
	font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  border-right: 1px solid rgba(255,255,255,0.25);
}


.custom-table td {
  padding: 14px 16px;
  background-color: #ffffff;
  border-bottom: 2px solid #f0f0f0;
  border-right: 1px solid rgba(0,0,0,0.04);
  vertical-align: middle;
  color: #444;
}

.custom-table td:last-child {
  border-right: none;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background-color: #fff7e6;
  transition: 0.2s ease;
}

@media (max-width: 768px) {
  .custom-table {
    font-size: 14px;
  }

  .custom-table th,
  .custom-table td {
    padding: 12px;
  }
}



/* sekcja cennika */
.pricing-section {
  margin: 56px 0;
}

/* odstęp pod nagłówkiem sekcji */
.pricing-section h2 {
  margin-bottom: 18px;
}

/* wrapper cennika */
.pricing-table-wrap {
  max-width: 90%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

/* tabela cennikowa */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 15px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #f1f1f1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.pricing-table thead tr {
  background-color: #FEA501;
  color: #fff;
}

/* wspólny styl wszystkich nagłówków */
.pricing-table th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  border-right: 1px solid rgba(255,255,255,0.25);
}

/* pierwszy nagłówek */
.pricing-table th:first-child {
  width: 68%;
}

/* ostatni nagłówek – celowo taki sam styl jak pozostałe th */
.pricing-table th:last-child {
  width: 32%;
  text-align: center;
  white-space: nowrap;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
 border-right: 1px solid rgba(255,255,255,0.25);
}
/* komórki tabeli */
.pricing-table td {
  padding: 16px 18px;
  background-color: #ffffff;
  border-bottom: 2px solid #f0f0f0;
  border-right: 1px solid rgba(0,0,0,0.04);
  vertical-align: middle;
  color: #444;
}

/* pierwsza kolumna */
.pricing-table td:first-child {
  width: 68%;
}

/* ostatnia kolumna z cenami */
.pricing-table td:last-child {
  width: 32%;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
  border-right: none;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover td {
  background-color: #fff7e6;
  transition: background-color 0.2s ease;
}

/* disclaimer jako estetyczna stopka komponentu */
.pricing-disclaimer {
  max-width: 90%;
  margin: 22px auto 24px;
  padding: 14px 14px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #2f2f2f;
  line-height: 1.5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}


@media (max-width: 768px) {
  .pricing-section {
    margin: 42px 0;
  }

  .pricing-section h2 {
    margin-bottom: 18px;
  }

  .pricing-table {
    font-size: 14px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px;
  }

  .pricing-table th,
  .pricing-table th:last-child {
    font-size: 16px;
  }

  .pricing-table th:first-child,
  .pricing-table td:first-child {
    width: 60%;
  }

  .pricing-table th:last-child,
  .pricing-table td:last-child {
    width: 40%;
    white-space: normal;
  }

  .pricing-disclaimer {
    font-size: 14px;
    padding: 12px 14px;
  }
}


/* Spis treści Kadence – styl ABEO PRO */
.wp-block-kadence-tableofcontents.kb-table-of-content-nav {
    margin: 32px 0 42px;
    border: none !important;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(12, 36, 16, 0.08);
    overflow: hidden;
}

/* Wewnętrzny kontener */
.wp-block-kadence-tableofcontents .kb-table-of-content-wrap {
    border: 1px solid rgba(254, 165, 1, 0.45);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(254, 165, 1, 0.06) 0%, #ffffff 34%);
}

/* Pasek tytułu */
.wp-block-kadence-tableofcontents .kb-table-of-contents-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(254, 165, 1, 0.28);
    background: rgba(254, 165, 1, 0.10);
}

/* Tytuł spisu treści */
.wp-block-kadence-tableofcontents .kb-table-of-contents-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0C2410;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
}

/* Ikonka przed tytułem */
.wp-block-kadence-tableofcontents .kb-table-of-contents-title::before {
    content: "☰";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #FEA501;
    color: #0C2410;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

/* Przycisk rozwijania / zwijania */
.wp-block-kadence-tableofcontents .kb-table-of-contents-icon-trigger {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(12, 36, 16, 0.14);
    border-radius: 50%;
    background-color: #ffffff;
    color: #0C2410;
    box-shadow: 0 3px 10px rgba(12, 36, 16, 0.08);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wp-block-kadence-tableofcontents .kb-table-of-contents-icon-trigger:hover {
    background-color: #FEA501;
    box-shadow: 0 5px 14px rgba(12, 36, 16, 0.13);
}

/* Wyłączenie domyślnych punktorów Kadence / motywu / przeglądarki */
.wp-block-kadence-tableofcontents ul,
.wp-block-kadence-tableofcontents ol,
.wp-block-kadence-tableofcontents li {
    list-style: none !important;
}

.wp-block-kadence-tableofcontents li::marker {
    content: "" !important;
    display: none !important;
}

/* Lista główna */
.wp-block-kadence-tableofcontents .kb-table-of-content-list {
    margin: 0 !important;
    padding: 18px 22px 20px !important;
    list-style: none !important;
}

/* Elementy listy głównej */
.wp-block-kadence-tableofcontents .kb-table-of-content-list > li {
    position: relative;
    margin: 0;
    padding: 0 0 0 26px;
    list-style: none !important;
}

/* Odstępy między punktami */
.wp-block-kadence-tableofcontents .kb-table-of-content-list > li + li {
    margin-top: 10px;
}

/* Własny pomarańczowy znacznik przy głównych punktach */
.wp-block-kadence-tableofcontents .kb-table-of-content-list > li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FEA501;
    box-shadow: 0 0 0 4px rgba(254, 165, 1, 0.14);
}

/* Linki */
.wp-block-kadence-tableofcontents .kb-table-of-contents__entry {
    color: #5f6870;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.55;
    text-decoration: none !important;
    text-underline-offset: 4px;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

/* Hover na linkach */
.wp-block-kadence-tableofcontents .kb-table-of-contents__entry:hover,
.wp-block-kadence-tableofcontents .kb-table-of-contents__entry:focus {
    color: #0C2410;
    text-decoration: underline !important;
    text-decoration-color: #FEA501;
}

/* Podlista */
.wp-block-kadence-tableofcontents .kb-table-of-contents-list-sub {
    margin: 7px 0 0 !important;
    padding: 0 0 0 15px !important;
    list-style: none !important;
    border-left: 2px solid rgba(254, 165, 1, 0.32);
}

/* Elementy podlisty */
.wp-block-kadence-tableofcontents .kb-table-of-contents-list-sub li {
    position: relative;
    margin: 6px 0 0;
    padding-left: 15px;
    list-style: none !important;
}

/* Usunięcie domyślnego punktora także w podlistach */
.wp-block-kadence-tableofcontents .kb-table-of-contents-list-sub li::marker {
    content: "" !important;
    display: none !important;
}

/* Własny subtelny znacznik przy podpunktach */
.wp-block-kadence-tableofcontents .kb-table-of-contents-list-sub li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0.78em;
    width: 7px;
    height: 2px;
    border-radius: 999px;
    background: #FEA501;
}

/* Linki w podlistach – subtelniejsze */
.wp-block-kadence-tableofcontents .kb-table-of-contents-list-sub .kb-table-of-contents__entry {
    color: #68727a;
    font-size: 0.94rem;
    font-weight: 500;
}

/* Hover w podlistach */
.wp-block-kadence-tableofcontents .kb-table-of-contents-list-sub .kb-table-of-contents__entry:hover,
.wp-block-kadence-tableofcontents .kb-table-of-contents-list-sub .kb-table-of-contents__entry:focus {
    color: #0C2410;
}

/* Ładniejszy fokus dostępnościowy */
.wp-block-kadence-tableofcontents .kb-table-of-contents__entry:focus-visible,
.wp-block-kadence-tableofcontents .kb-table-of-contents-icon-trigger:focus-visible {
    outline: 3px solid rgba(254, 165, 1, 0.45);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Mobile */
@media (max-width: 767px) {
    .wp-block-kadence-tableofcontents.kb-table-of-content-nav {
        margin: 26px 0 34px;
        border-radius: 12px;
    }

    .wp-block-kadence-tableofcontents .kb-table-of-content-wrap {
        border-radius: 12px;
    }

    .wp-block-kadence-tableofcontents .kb-table-of-contents-title-wrap {
        padding: 15px 16px;
    }

    .wp-block-kadence-tableofcontents .kb-table-of-contents-title {
        font-size: 1rem;
    }

    .wp-block-kadence-tableofcontents .kb-table-of-content-list {
        padding: 16px 16px 18px !important;
    }

    .wp-block-kadence-tableofcontents .kb-table-of-content-list > li {
        padding-left: 24px;
    }

    .wp-block-kadence-tableofcontents .kb-table-of-contents__entry {
        font-size: 0.95rem;
    }
}
/* Poprawka przycisku rozwijania TOC na mobile */
@media (max-width: 767px) {
    .wp-block-kadence-tableofcontents .kb-table-of-contents-title-wrap {
        align-items: center;
    }

    .wp-block-kadence-tableofcontents .kb-table-of-contents-title {
        flex: 1 1 auto;
        min-width: 0;
    }

    .wp-block-kadence-tableofcontents .kb-table-of-contents-icon-trigger {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        flex: 0 0 40px !important;
        aspect-ratio: 1 / 1;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
}