.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;font-family:"Lora", Sans-serif;font-weight:400;line-height:1.8px;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 h1{font-family:"Libre Baskerville", Sans-serif;font-weight:400;letter-spacing:1px;}.elementor-kit-6 h2{font-family:"Libre Baskerville", Sans-serif;font-weight:400;letter-spacing:1px;}.elementor-kit-6 h3{font-family:"Libre Baskerville", Sans-serif;font-weight:500;letter-spacing:0px;}.elementor-kit-6 h4{font-family:"Libre Baskerville", Sans-serif;font-weight:400;letter-spacing:0px;}.elementor-kit-6 h5{font-family:"Libre Baskerville", Sans-serif;font-weight:500;}.elementor-kit-6 h6{font-family:"Libre Baskerville", Sans-serif;font-weight:500;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* TN – Gallery grid 3x3 like reference */
.tn-gallery{
display:flex;
flex-wrap:wrap;
gap:8px; /* zmniejsz/zwieksz: 6px, 8px, 10px */
justify-content:center;
align-items:stretch;
}

/* każdy kafel (Twoje wewnętrzne kontenery) */
.tn-gallery > .e-con{
flex: 0 0 calc((100% - 16px)/3); /* 2 przerwy po 8px = 16px */
max-width: calc((100% - 16px)/3);
margin:0 !important;
padding:0 !important;
}

/* obraz ma wypełnić kafel i nie robić “klusek” */
.tn-gallery img{
width:100%;
height:100%;
display:block;
object-fit:cover;
filter:grayscale(100%);
transition:filter .25s ease;
}

/* hover = kolor */
.tn-gallery a:hover img,
.tn-gallery img:hover{
filter:grayscale(0%);
}

/* tablet = 2 kolumny */

@media (max-width: 767px) {

/* Track = przewijany poziomo kontener ze zdjęciami */
.tn-gallery-panel .tn-gallery-track{
display: flex;
flex-direction: row;
flex-wrap: nowrap;
gap: 12px;

overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;

scroll-snap-type: x mandatory;
padding-bottom: 6px; /* lekko odsuwa od ewentualnych cieni / linii */
}

/* Każde zdjęcie jako “karta” w poziomie */
.tn-gallery-panel .tn-gallery-track .elementor-widget-image{
flex: 0 0 auto;
width: 82vw; /* szerokość jednego zdjęcia w sliderze */
scroll-snap-align: start;
}

/* Żeby obraz wypełniał widget i nie robił dziwnych marginesów */
.tn-gallery-panel .tn-gallery-track .elementor-widget-image img{
width: 100%;
height: auto;
display: block;
}

/* Opcjonalnie: ukryj pasek przewijania (Safari/Chrome mobile) */
.tn-gallery-panel .tn-gallery-track{
scrollbar-width: none; /* Firefox */
}
.tn-gallery-panel .tn-gallery-track::-webkit-scrollbar{
display: none; /* WebKit */
}
}

@media (max-width: 767px) {
.tn-gallery-track{
overflow-x:auto;
-webkit-overflow-scrolling:touch;
scroll-snap-type:x mandatory;
}

.tn-gallery-track > .e-con{
flex-shrink:0;
scroll-snap-align:start;
}

.tn-gallery-track::-webkit-scrollbar{
display:none;
}
}


@media (max-width: 767px){

.gallery-switch{ cursor:pointer; }

.gallery-panel{ display:none !important; }
.gallery-panel.is-active{ display:block !important; }

.auto-step{
display:flex !important;
flex-wrap:nowrap !important;
overflow:hidden !important;
gap:16px !important;
scroll-behavior:smooth;
}
.auto-step img{
flex:0 0 auto !important;
width:70vw !important;
max-width:360px !important;
height:auto !important;
display:block !important;
}
}

@media (max-width: 767px){
.tn-gallery{ display:none !important; }
.tn-gallery.is-active{ display:block !important; }
}

/* FOOTER – MOBILE LINK COLORS FIX */
@media (max-width: 767px) {
footer a,
footer a:visited,
footer a:hover,
footer a:active,
footer a:focus {
color: #ffffff !important;
text-decoration: none !important;
}
}

html {
scroll-behavior: smooth;
}

:target {
scroll-margin-top: 110px;
}/* End custom CSS */