/*
Theme Name:     Kadence Child
Theme URI:      n/a
Template:       kadence
Author:         Pro Author
Author URI:     n/a
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
@media (max-width: 1024px) {
    .kadence-column770_1cd828-92 > .kt-inside-inner-col {
        flex-direction: column!important;
	}
}
.page-title, archive-title
{
	line-height:1em;
}
@media (max-width:991px)
{
.archive.content-style-unboxed .entry, .blog.content-style-unboxed .entry, .post-type-archive.content-style-unboxed .entry, .search-results.content-style-unboxed .entry
{
	border:1px solid;
}

}
.kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner
{
	padding-top:-0px!important;
}

.wp-block-kadence-navigation *
{
	line-height:1.0em!important;
}


.sub-menu {
    --kb-nav-dropdown-margin-top: 1px!important;
}
.site, .wp-site-blocks{
	padding: 24px;
}

.entry-content-wrap{
	padding: 0px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "new-science", sans-serif;
  font-weight: 500;
}

/* Ukryj wszystkie numery stron */
.nav-links .page-numbers:not(.prev):not(.next):not(.current) {
  display: none !important;
}

/* Opcjonalnie: ukryj też numer aktualnej strony, jeśli chcesz tylko strzałki */
.nav-links .page-numbers.current {
  display: none !important;
}

/* Zostaw tylko strzałki prev/next */
.nav-links .prev,
.nav-links .next {
  display: inline-flex !important;
}




.naglowek-1, .naglowek-2 {
  display: none;
}

/* Domyślnie ukryj nagłówek 1 */
.naglowek-1 {
  display: none;
}

/* Pokaż nagłówek 1 tylko na wybranych stronach i post typach */
body.page-id-26 .naglowek-1,
body.page-id-24 .naglowek-1,
body.single-usluga .naglowek-1,
body.single-branza .naglowek-1 {
  display: flex;
}

body.page-id-26 .naglowek-2,
body.page-id-24 .naglowek-2,
body.single-usluga .naglowek-2,
body.single-branza .naglowek-2 {
  display: none;
}

/* Domyślnie pokaż nagłówek 2 */
.naglowek-2 {
  display: flex;
}

