.elementor-kit-4{--e-global-color-primary:#2A231C;--e-global-color-secondary:#17130F;--e-global-color-text:#2A231C;--e-global-color-accent:#8B7355;--e-global-color-bgpage:#F5F0E8;--e-global-color-bgsoft:#EDE5D9;--e-global-color-textmuted:#6E6255;--e-global-color-textondark:#EFE8DC;--e-global-color-line:#DCD2C2;--e-global-typography-primary-font-family:"Cormorant Garamond";--e-global-typography-primary-font-weight:400;--e-global-typography-secondary-font-family:"Cormorant Garamond";--e-global-typography-secondary-font-weight:300;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-weight:300;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-weight:500;color:#2A231C;font-family:"Source Serif 4", Sans-serif;font-size:17px;font-weight:300;line-height:1.8em;}.elementor-kit-4 e-page-transition{background-color:#FFBC7D;}.elementor-kit-4 a{font-family:"Source Serif 4", Sans-serif;}.elementor-kit-4 h1{color:#2A231C;font-family:"Fraunces", Sans-serif;font-size:52px;font-weight:400;line-height:1.25em;}.elementor-kit-4 h2{color:#2A231C;font-family:"Fraunces", Sans-serif;font-size:40px;font-weight:400;line-height:1.3em;}.elementor-kit-4 h3{color:#2A231C;font-family:"Fraunces", Sans-serif;font-size:26px;font-weight:400;line-height:1.35em;}.elementor-kit-4 h4{color:#2A231C;font-family:"Fraunces", Sans-serif;font-size:22px;font-weight:400;line-height:1.4em;}.elementor-kit-4 h5{color:#2A231C;font-family:"Fraunces", Sans-serif;font-size:18px;font-weight:400;line-height:1.4em;}.elementor-kit-4 h6{color:#2A231C;font-family:"Fraunces", Sans-serif;font-size:16px;font-weight:400;line-height:1.4em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-4{font-size:17px;}.elementor-kit-4 h1{font-size:42px;}.elementor-kit-4 h2{font-size:34px;}.elementor-kit-4 h3{font-size:24px;}.elementor-kit-4 h4{font-size:20px;}.elementor-kit-4 h5{font-size:18px;}.elementor-kit-4 h6{font-size:16px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-4{font-size:16px;}.elementor-kit-4 h1{font-size:28px;}.elementor-kit-4 h2{font-size:26px;}.elementor-kit-4 h3{font-size:20px;}.elementor-kit-4 h4{font-size:18px;}.elementor-kit-4 h5{font-size:17px;}.elementor-kit-4 h6{font-size:15px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Inter:wght@300;400;500&display=swap&subset=latin,latin-ext');
/* Naglowek na stronie glownej pojawia sie dopiero po przewinieciu pierwszego ekranu (odpowiednik demo) */
body.home .wp-header{position:absolute;top:0;left:0;width:100%;transform:translateY(-100%);opacity:0;pointer-events:none;transition:transform .5s ease,opacity .5s ease;}
body.home .wp-header.elementor-sticky--effects{transform:translateY(0);opacity:1;pointer-events:auto;}
/* Cienka linia pod naglowkiem dopiero po scrollu - jak w demo */
body:not(.home) .wp-header{border-bottom-color:transparent;}
.wp-header.elementor-sticky--effects{border-bottom-color:var(--e-global-color-line);}

/* Szablon historii: puste pola ACF nie zostawiaja pustych blokow i odstepow */
.single-historia .elementor-widget-heading:has(.elementor-heading-title:empty){display:none;}
.single-historia .elementor-widget-text-editor:has(.elementor-widget-container:empty){display:none;}
.single-historia .wp-swiadek:not(:has(.elementor-heading-title:not(:empty))){display:none;}
.single-historia .wp-foto-historii:has(img[src$='placeholder.png']){display:none;}

/* Zabezpieczenie: wpisy Historia zawsze pelna szerokosc, nawet gdy wpis powstal bez ustawien OceanWP */
.single-historia #right-sidebar{display:none !important;}
.single-historia #primary{width:100% !important;max-width:100% !important;float:none !important;}
.single-historia #content-wrap{width:100% !important;max-width:100% !important;padding-left:0 !important;padding-right:0 !important;}
.single-historia #content-wrap, .single-historia .content-area{padding-top:0 !important;padding-bottom:0 !important;}
.single-historia #content{margin:0 !important;}/* End custom CSS */