/*
 Theme Name:   Kadence Child
 Theme URI:    https://example.com/kadence-child/
 Description:  Kadence Child Theme
 Author:       Your Name
 Template:     kadence
 Version:      1.0.2
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

/* Theme customization starts here
-------------------------------------------------------------- */

#cmplz-manage-consent .cmplz-manage-consent {margin-right: 25px !important;}
#cmplz-manage-consent .cmplz-manage-consent {min-width: auto !important; padding: 10px !important; height: 40px !important; font-size: 12px !important;}

@media screen and (max-width: 768px) {
	#cmplz-manage-consent .cmplz-manage-consent {right: 0px !important;}
}

/* Kontener zdjÄcia jako baza dla nakĹadki */
.efekt-oferta .wp-block-post-featured-image, .efekt-oferta .wp-block-kadence-image {
    position: relative;
    overflow: hidden;
}

/* Gradientowa nakĹadka (overlay) */
.efekt-oferta .wp-block-post-featured-image::after, .efekt-oferta .wp-block-kadence-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient od czerwonawego do czarnego z 20% krycia (#de000033 do #00000033) */
    background: linear-gradient(135deg, rgba(239, 125, 0, 0.2), rgba(0, 0, 0, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.efekt-oferta .wp-block-post:hover .wp-block-post-featured-image::after, .efekt-oferta .wp-block-group:hover .wp-block-kadence-image::after {
    opacity: 1;
}

/* 1. Domyślny wygląd linków i punktora */
ul.kb-navigation .wp-block-kadence-navigation-link .kb-nav-link-content {
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease-in-out; /* Płynna zmiana koloru tekstu */
}

ul.kb-navigation .wp-block-kadence-navigation-link .kb-nav-link-content::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    flex-shrink: 0;
    vertical-align: middle;
    /* Domyślna ikona w kolorze #FF9324 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9324' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease-in-out; /* Płynne przesunięcie ikony */
}

/* 2. Efekt po najechaniu myszką (HOVER) oraz aktywny element (CURRENT) */
ul.kb-navigation .wp-block-kadence-navigation-link .kb-nav-link-content:hover,
ul.kb-navigation .wp-block-kadence-navigation-link .kb-nav-link-content:focus,
ul.kb-navigation .wp-block-kadence-navigation-link.current-menu-item .kb-nav-link-content {
    color: #FF9324 !important; /* Zmiana koloru tekstu na pomarańczowy */
}

ul.kb-navigation .wp-block-kadence-navigation-link .kb-nav-link-content:hover::before,
ul.kb-navigation .wp-block-kadence-navigation-link .kb-nav-link-content:focus::before {
    transform: translateX(4px); /* Lekkie przesunięcie ikony w prawo po najechaniu */
}

.primary-sidebar.widget-area {border-radius: 25px;}