/*
Theme Name:     Kadence Child Theme
Theme URI:      n/a
Template:       kadence
Author:         Dave
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
*/
/* Animacja głównego przycisku */
.kb-button {
  position: relative;
  overflow: hidden;
  background: #A234FD;
  color: #fff;
  cursor: pointer;
  transition: background 0.45s ease, color 0.45s ease;
}
.kb-button::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
}
.kb-button:hover::after {
  left: 160%;
  transition: left 0.55s ease;
}
/* podstawowy styl linku */
.kt-blocks-info-box-learnmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

/* strzałka jako pseudo-element zamiast › */
.kt-blocks-info-box-learnmore::after {
  content: '›';
  font-size: 24px;
  line-height: 1;
  transition: transform 0.25s ease;
}

/* hover - kolor żółty i strzałka przesuwa się w prawo */
.kt-blocks-info-box-learnmore:hover {
  color: #FFBF00;
  gap: 10px;
}

.kt-blocks-info-box-learnmore:hover::after {
  transform: translateX(3px);
}
/* Odstęp gwiazdek w opiniach */
.kt-testimonial-rating-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* Kontener strzałek – nad górną krawędzią, wyrównany do prawej */
.wp-block-kadence-testimonials .kt-blocks-carousel .splide__arrows {
    position: absolute;
    top: -56px;
    right: 0;
	transform: translateX(-35px);
    display: flex;
    flex-direction: row;
    gap: 8px;
}

/* Reset domyślnego pozycjonowania */
.wp-block-kadence-testimonials .kt-blocks-carousel .splide__arrow {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    color: #A234FD;
    border: 1.5px solid #A234FD;
    border-radius: 1000px;
    height: 40px;
    width: 40px;
    cursor: pointer;
}

/* Miejsce nad sliderem na strzałki */
.wp-block-kadence-testimonials .kt-blocks-carousel .splide {
    padding-top: 6px;
}
/* Zmiana koloru pogrubienia w cenniku (usługi) */
.kt-blocks-info-box-text strong {
    color: #A234FD !important; 
}
/* breadcrumbs - stylizacja */
.yoast-breadcrumbs {
    color: #ffbf00 !important; 
	text-align:center !important;
}
.yoast-breadcrumbs a {
    color: #ffbf00 !important; 
	text-decoration:none;
		text-align:center !important;
}
/* Checkbox kontakt */
.kb-form-basic-style .kb-radio-check-item label {
	font-size:14px;
	margin-bottom:0px;
}
/* success message form stylizacja */
.wp-block-kadence-advanced-form767-cpt-id .kb-adv-form-success {
	text-align:center;
}

/* odstępy elementów menu w stopce*/
.widget_nav_menu a {
    display: block;
    padding: .28em 0 !important;
    text-decoration: none;
}
/* === STOPKA KADENCE === */

/* Desktop: 4 równe kolumny, zawartość wyśrodkowana w każdej kolumnie */
.site-top-footer-inner-wrap.site-footer-row-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-column-gap: 40px !important;
    align-items: start !important;
    justify-items: left !important;
    max-width: 1290px;
    margin: 0 auto;
}

/* Wyśrodkowanie treści wewnątrz każdej kolumny */
.site-top-footer-inner-wrap.site-footer-row-columns-4 .site-footer-section {
    text-align: left;
}

/* Reset list w menu */
.site-top-footer-inner-wrap .widget_nav_menu ul {
    list-style: none;
    padding: 0;
}

/* Tablet - 2 kolumny */
@media (max-width: 992px) {
    .site-top-footer-inner-wrap.site-footer-row-columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-row-gap: 40px !important;
        justify-items: start !important;
    }

    .site-top-footer-inner-wrap.site-footer-row-columns-4 .site-footer-section {
        text-align: left !important;
    }
}

/* Mobile - 1 kolumna */
@media (max-width: 600px) {
    .site-top-footer-inner-wrap.site-footer-row-columns-4 {
        grid-template-columns: 1fr !important;
    }
}
/* teksty cookie baner */
#stcm-wrapper .stcm-button {
	font-size:13px !important;
}
/* padding wewnątrz artykułów */
.loop-entry .entry-content-wrap {
    padding: 1rem;
}
.wp-site-blocks .post-archive-title h1 {
	padding-top:20px;
}
@media (max-width: 600px) {
	.wp-site-blocks .post-archive-title h1 {
		font-size:32px;
	}
}
.language-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.language-links a {
    color: inherit;
    text-decoration: none;
}

.language-links a:hover {
    color: #f2c200;
}
