/*
Theme Name: Netido
Theme URI: https://www.netido.pl/
Author: Netido
Author URI: https://www.netido.pl/
Description: Lightweight, SEO-optimized full site editing theme for businesses and professionals.
Version: 1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netido
Tags: full-site-editing, block-patterns, custom-style, accessibility-ready, responsive-layout

Fonts used:
– Encode Sans Condensed
  © Google
  License: SIL Open Font License 1.1

– EB Garamond
  © Google
  License: SIL Open Font License 1.1 (used as secondary / accent font)
*/



h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p { text-wrap: pretty; }

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) { margin-bottom: 4px;	line-height: 1.5; }

.more-link { display: block; }

a:focus, button, li, #modal-1 { outline: none; }
.main-navigation a { text-decoration: none; }

.breadcrumb_last { color: var(--wp--preset--color--accent-1); }


@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}


a, .wp-block-navigation__submenu-container, .wp-block-navigation__responsive-container-open svg, #back-to-top, #back-to-top span, .wp-block-button a, .tmi a::before, .wp-block-button a::after, footer .wp-block-navigation a::before, input, .wp-element-button, .has-modal-open header, .is-style-tha .wp-block-column, summary, img, .wp-block-gallery figure a img, .wp-block-gallery figure a::after, .post-category .wp-block-post::before, .wp-block-post-excerpt__more-link::before, main .icon-container svg, .hover-scale svg, .is-style-sha > .wp-block-column, button, input:not([type=submit]), textarea, .offer-carousel .wp-block-netido-icon-block { transition: all 200ms ease-in-out!important; }

html { scroll-behavior: smooth; }
.has-modal-open { scroll-behavior: auto; }

.mt { margin-top: 0!important; }
.mb { margin-bottom: 0!important; }

.dn { display: none; }

.wp-block-column.is-position-sticky { position: sticky; top: 125px; height: fit-content; overflow: visible; z-index: 2; }

header.is-position-sticky { top: 0; position: sticky; overflow: visible; z-index: 11; box-shadow: 0 3px 9px rgba(0,0,0,.04); }
header.wp-block-template-part  .custom-logo { max-height: 2.5rem; }

.wp-block-site-logo a { padding: 5px 0; }

strong, header.wp-block-template-part  .wp-block-navigation .wp-block-navigation-item a, b { font-weight: 600; }
.wp-block-navigation a { color: var(--wp--preset--color--contrast)!important; }
.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg { stroke: var(--wp--preset--color--contrast); }
header.wp-block-template-part  .wp-block-navigation a:hover, header.wp-block-template-part  .wp-block-navigation .current-menu-item > a, .category-blog header.wp-block-template-part  .wp-block-navigation .current-menu-item > a, .is-arrow-arrow, footer .wp-block-navigation .current-menu-item a, .page-numbers.current, h1 span, h2 span, h3 span { color: var(--wp--preset--color--accent-1)!important; }
header.wp-block-template-part  .wp-block-navigation li li { font-size: .9rem; }
.is-arrow-arrow { font-weight: 100; }

.fs { font-size: 1.2em; }
.has-xx-large-font-size { line-height: 1.4; }

#back-to-top, .mib a { border-radius: 5px; }


.custom-footer-block { position: relative; display: table; margin: 0 auto; padding: 30px 0; max-width: 1500px; width: 100%; }
.custom-footer-block p { margin-top: 10px; margin-bottom: 10px; }
.custom-footer-block a { font-weight: 600; text-decoration: none; }
.custom-footer-block a:hover { color: var(--wp--preset--color--accent-1); }
.custom-footer-block .pp a { font-weight: inherit; }


#back-to-top { position: absolute; right: 0; bottom: 105px; padding: 0px 16px 5px; color: var(--wp--preset--color--base); font-size: 1.5rem; color: var(--wp--preset--color--base); background: var(--wp--preset--color--accent-1); border: 2px solid var(--wp--preset--color--accent-1); }
#back-to-top span { position: relative; display: block; border: solid var(--wp--preset--color--base); border-width: 0 3px 3px 0; display: inline-block; padding: 3px; transform: rotate(-135deg); -webkit-transform: rotate(-135deg); }
#back-to-top:hover, #back-to-top:focus { background: var(--wp--preset--color--base); }
#back-to-top:hover span, #back-to-top:focus span { border-color: var(--wp--preset--color--accent-1)!important; }


#back-to-top:hover span { animation: ver2 1.5s ease-out infinite; }

@keyframes ver2 {
	0% {
      top: 0;
    }
	25% {
	  top: -3px;
    }
	75% {
	  top: 3px;
    }
	100% {
      top: 0;
	}
}


.ra { position: relative; }
.ra::before, .ra2, .ha { position: absolute; content: ''; top: 15px; left: 15px; height: 130px; width: 130px; background: url(/../wp-content/uploads/2026/02/image2.svg) top center no-repeat; background-size: cover; animation: roll 7s linear infinite; z-index: 1; }
.ra2, .ha { position: relative; display: inline-block; bottom: auto; left: auto; height: auto; width: auto; background: none; }

@keyframes roll {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ha { animation: hor 3s ease-in-out infinite; }

@keyframes hor {
  0% {
    left: 0;
  }
  50% { 
    left: calc(10% - 50px);
  }
  100% {
    left: 0;
  }
}

.vt { animation: ver 2s ease-in-out infinite; }

@keyframes ver {
	0% {
      transform: translate3d(0, 0, 0);
    }
    50% {
      transform: translate3d(0, -15%, 0);
    }
	100% {
      transform: translate3d(0, 0, 0);
	}
}

.scl { animation: scl 3s ease-in-out infinite; }

@keyframes scl {
  0% {
    transform: scale(1);
  }
  50% { 
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}



.is-style-delay1 { animation: delay 1s linear; }
.is-style-delay2, .offer-carousel { animation: delay2 1.5s linear; }

@keyframes delay {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@keyframes delay2 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.sentence-block { font-size: 3.3rem; text-align: center; }
.sentence { display: flex; justify-content: center; height: 5rem; overflow: hidden; }
.s-words { display: flex; flex-direction: column; text-align: center; animation: move 4s infinite; }

.string span { position: relative; top: 0; animation: white-out 5s infinite; }


@keyframes move {
  25% {
    transform: translatey(-4rem);
    opacity: 1;
  }
  50% {
    transform: translatey(-8rem);
  }
  75% {
    transform: translatey(-12rem);
  }
}


.wp-block-button a { position: relative; padding-left: 1.5rem!important; padding-right: 2.75rem!important; box-shadow: 0 8px 18px rgba(0,0,0,.1); }
.wp-block-button.is-style-outline a:hover { color: var(--wp--preset--color--base); background-color: var(--wp--preset--color--accent-1); border-color: var(--wp--preset--color--accent-1); }
.wp-block-button a::after, .wp-block-button.is-style-outline a:hover::after { content: ''; position: absolute; top: 14px; right: 19px; width: 18px; height: 18px; background-color: var(--wp--preset--color--base); mask: url('../../themes/netido/assets/icons/dashicons/arrow-right-alt.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/arrow-right-alt.svg') no-repeat center; }
.wp-block-button a:hover::after { right: 16px; background-color: var(--wp--preset--color--accent-1); }
.wp-block-button.is-style-outline a::after { right: 19px; background-color: var(--wp--preset--color--accent-1); }
.wp-block-button.is-style-outline a:hover::after { right: 16px; }

.cookie-notice-container { padding: 10px 20px!important; }
#cookie-notice, #cookie-notice .cn-button:not(.cn-button-custom) { font-family: "Encode Sans Condensed", sans-serif!important; border-radius: 5px; }
#cn-notice-buttons button { font-weight: 600!important; border: 2px solid var(--wp--preset--color--accent-1)!important; }
#cn-accept-cookie, #cn-more-info:hover { color: var(--wp--preset--color--base)!important; background: var(--wp--preset--color--accent-1)!important; }
#cn-more-info, #cn-accept-cookie:hover { color: var(--wp--preset--color--accent-1)!important; background: var(--wp--preset--color--base)!important; }


.tmi a { position: relative; padding-left: 33px !important; font-size: 1.1em; color: var(--wp--preset--color--accent-1)!important; }
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--base)!important; }
header.wp-block-template-part  .wp-block-navigation .wp-block-navigation-item.tmi a:hover { color: var(--wp--preset--color--contrast)!important; }
.tmi a::before { margin-top: -2px; content: ''; position: absolute; left: 0; width: 28px; height: 28px; mask: url('../../themes/netido/assets/icons/dashicons/smartphone.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/smartphone.svg') no-repeat center; background-color: var(--wp--preset--color--accent-1); border: 1px solid var(--wp--preset--color--base); }
.tmi a:hover::before { transform: rotate(25deg); }

.mib a, .wpcf7-form-control[type=submit] { padding: 10px 20px!important; color: var(--wp--preset--color--base)!important; background: var(--wp--preset--color--accent-1); border: 2px solid var(--wp--preset--color--accent-1); }
.mib a:hover, .mib a:focus, .mib.current-menu-item a, .wpcf7-form-control[type=submit]:hover { color: var(--wp--preset--color--accent-1)!important; background: var(--wp--preset--color--base); }
.mib .ancestor-wrapper { width: auto; }

footer a, footer a:hover { text-decoration: none; }
footer a:hover { color: var(--wp--preset--color--accent-1)!important; }

footer .wp-block-navigation a { position: relative; padding-left: 26px; font-weight: bold; }
.wp-block-post-excerpt__more-link { position: relative; padding-right: 26px; }
footer .wp-block-navigation a::before, .wp-block-post-excerpt__more-link::before { content: ''; position: absolute; top: 5px; bottom: auto; left: 0; right: auto; width: 15px; height: 15px; mask: url('../../themes/netido/assets/icons/dashicons/arrow-right-alt.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/arrow-right-alt.svg') no-repeat center; background-color: var(--wp--preset--color--accent-1); }
footer .wp-block-navigation a:hover::before { left: 5px; }
.wp-block-post-excerpt__more-link::before { left: auto; right: 5px; }
.wp-block-post-excerpt__more-link:hover::before { right: 0; }

.fb-icon a:hover svg, main .icon-container svg:hover { transform: scale(1.15); }
.banner .hover-scale img { transform: scale(0.9); }
.hover-scale img:hover { transform: scale(1); }



ul.wp-block-list, .entry-content ul.wp-block-list ul { list-style: none; }
ul.wp-block-list, ol.wp-block-list { padding-left: 1.6rem; }
ul.wp-block-list li, ol.wp-block-list li { padding-left: .2em; }
ul.wp-block-list li { position: relative; margin-top: 0.5rem; }
.list-mt ul.wp-block-list li { margin-top: 0rem; }
ul.wp-block-list li::before { position: absolute; display: inline-block; content: ''; top: 7px; margin-left: -1.6em; height: 12px; width: 12px; mask: url('../../themes/netido/assets/icons/dashicons/marker.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/marker.svg') no-repeat center; background-color: var(--wp--preset--color--accent-1); }
ul.wp-block-list.is-style-checkmark-list li::before { top: 3px; margin-left: -1.8em; height: 20px; width: 20px; mask: url('../../themes/netido/assets/icons/dashicons/yes-alt.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/yes-alt.svg') no-repeat center;  }
ol li::marker { color: var(--wp--preset--color--accent-1); font-size: 1.25em; font-weight: bold; }

.hie, .hies { overflow: hidden; }
.hie img:hover { transform: matrix(1.15,0.12,-0.12,1.15,0,0); }
.hies img:hover { transform: scale(1.05,1.05); }

.wp-block-gallery figure { overflow: hidden; }
.wp-block-gallery figure a { position: relative; background: var(--wp--preset--color--accent-1); }
.wp-block-gallery figure a img:hover { transform: scale(1,1); opacity: 1; }
.wp-block-gallery figure a:hover img { transform: scale(1.05,1.05); opacity: .5; }
.wp-block-gallery figure a::after { opacity: 0; content: ""; position: absolute; left: 50%; right: 50%; top: 50%; transform: translate(-50%, -50%) scale(0,0); width: 50px; height: 50px; mask: url('../../themes/netido/assets/icons/dashicons/fullscreen-alt.svg') no-repeat center; -webkit-mask: url('../../themes/netido/assets/icons/dashicons/fullscreen-alt.svg') no-repeat center; background-color: var(--wp--preset--color--base); z-index: 1; }
.wp-block-gallery figure a:hover::after { transform: translate(-50%, -50%) scale(1,1); opacity: 1; }

.is-style-text-subtitle, .is-style-text-subtitle-sec { position: relative; padding-left: 60px; }
.is-style-text-subtitle::before, .is-style-text-subtitle-sec::before { content: ''; position: absolute; top: 48%; left: 0; width: 47px; height: 2px; background: var(--wp--preset--color--accent-1); }
.is-style-text-subtitle-sec::before { background: var(--wp--preset--color--base); }

.is-style-pe { position: relative; z-index: 2; }

input:focus, textarea:focus { border-color: var(--wp--preset--color--accent-1)!important; outline: none; }

.is-style-tha > .wp-block-column { position: relative; z-index: 2; }
.is-style-tha > .wp-block-column:hover { transform: translateY(-10px); box-shadow: 0 10px 20px -10px rgba(0,0,0,.2); }

.is-style-sha > .wp-block-column { position: relative; z-index: 2; }
.is-style-sha > .wp-block-column:hover { transform: scale(1.03, 1.03); box-shadow: 0 10px 20px -10px rgba(0,0,0,.2); }

.has-drop-cap:not(:focus)::first-letter { font-weight: 500; font-size: 3.8em; }

/*.icon-container:before { content: ''; position: absolute; width: 100%; height: 100%; background: var(--wp--preset--color--accent-2); border-radius: 100%; }*/


.wp-block-latest-posts a.wp-block-latest-posts__post-title { font-weight: 600; font-size: 1.2em; }
.wp-block-latest-posts__featured-image { margin-bottom: 1.25rem; }
.wp-block-latest-posts .wp-block-latest-posts__featured-image a, .blog main .featured-media-inner, .archive.category main .featured-media-inner, .post-category .wp-block-post figure, .wp-block-query figure { line-height: 0; overflow: hidden; }
.wp-block-latest-posts .wp-block-latest-posts__featured-image:hover a img, .blog main .featured-media-inner img:hover, .archive.category main .featured-media-inner img:hover, .wp-block-query img:hover { transform: scale(1.05, 1.05); }
.wp-block-latest-posts .wp-block-latest-posts__post-date { margin-top: 1rem; font-size: .95em; }
.wp-block-latest-posts__post-excerpt { display: grid; margin-top: 1.25rem; white-space: initial; }

.post-category .pb .wp-block-post { position: relative; }
.post-category .pb .wp-block-post::before { position: absolute; content: ''; bottom: 0; width: 100%; height: 80%; background: var(--wp--preset--color--accent-3); border-radius: 15px; }
.post-category .pb .wp-block-post:hover::before { height: 100%; }

.sc { display: flex; position: relative; height: 175px; margin: auto; overflow: hidden; z-index: 1; }
.sct { position: absolute; top: 0; left: 0; width: 100%; height: 100%; white-space: nowrap; transition: all 1s ease; }
.sci { display: flex;  align-items: center; justify-content: flex-start; width: max-content; height: 100%; animation: scrollText 25s infinite linear; }
.sci p { margin: 0; max-width: 100%!important; color: var(--wp--preset--color--accent-5); font-weight: 500; }

.home .sc { height: 130px; background: var(--wp--preset--color--accent-2); }

@keyframes scrollText {
  from   { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}

.wp-block-query-pagination-numbers { letter-spacing: 3px; }

.wp-block-comment-template ol { border-left: 2px solid var(--wp--preset--color--accent-4); }


.swiper-button-prev .swiper-navigation-icon { transform: rotate(180deg)!important; }

h1 span.bb { position: relative; color: var(--wp--preset--color--base)!important; z-index: 1; }
h1 span.bb::after { content: ''; position: absolute; bottom: 6px; left: 0; width: 100%; height: 15px; background: var(--wp--preset--color--accent-1); z-index: -1; }

.offer-carousel .netido-carousel-swiper .slide-inner .wp-block-group { height: 100%; border-radius: 15px; }

.swiper-horizontal { padding: 0 20px; }
.swiper-horizontal .swiper-button-prev { left: -15px; }
.swiper-horizontal .swiper-button-next { right: -15px; }

.offer-carousel .wp-block-netido-icon-block svg { padding: 10px; color: var(--wp--preset--color--base); }
.offer-carousel .wp-block-netido-icon-block:hover { background: var(--wp--preset--color--accent-5)!important; }
.offer-carousel .wp-block-netido-icon-block:hover svg { transform: scale(1.15); }
.offer-carousel .slide-inner p span { color: var(--wp--preset--color--accent-1); font-size: var(--wp--preset--font-size--xx-large); }

main figure.wp-block-image { border-radius: 15px; }

.yoast-breadcrumbs a { color: var(--wp--preset--color--base); }
.yoast-breadcrumbs a:hover { color: var(--wp--preset--color--accent-1); }

.page-id-122 .wp-block-cover h1 { font-size: 3rem; }

.page-id-85 main > .wp-block-group { padding-bottom: 0!important; }
.page-id-85 footer { margin-top: 0; }

figure.wp-block-post-featured-image { border-radius: 15px; }






@media all and (min-width:1000px){


header.wp-block-template-part  .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container:not(.has-modal-open ul) { background-color: var(--wp--preset--color--accent-4); border: none; border-radius: 5px; box-shadow: 0 8px 18px rgba(0,0,0,.04); transition: all 200ms ease-in-out!important; }
header.wp-block-template-part  .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container li:not(:first-child) ul { margin-top: -11px; }
header.wp-block-template-part  .wp-block-navigation .wp-block-navigation-item { background: none!important; }

header.wp-block-template-part  .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation__container > li > a { padding-top: 14px!important; padding-bottom: 14px!important; }
header.wp-block-template-part  .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation__container > li.mib > a { margin-top: 1px!important; margin-bottom: 1px!important; padding: 8px 18px!important; }

header.wp-block-template-part  .wp-block-navigation__submenu-container:not(.has-modal-open ul) { transform: translateY(-10px); }
header.wp-block-template-part  .has-child:hover > .wp-block-navigation__submenu-container { transform: translateY(0); }

header.wp-block-template-part  .wp-block-navigation__container > li { position: relative; z-index: 1; }
header.wp-block-template-part  .wp-block-navigation__container > li::before { content: " "; display: block; position: absolute; top: auto; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--wp--preset--color--accent-1); z-index: -1; transform: scaleX(0); transform-origin: bottom right; transition: transform .3s ease; }
header.wp-block-template-part  .wp-block-navigation__container > li:hover::before { transform: scaleX(1); transform-origin: bottom left; }
.has-modal-open .wp-block-navigation__container > li::before, .tmi::before, .mib::before { display: none!important; }

header.wp-block-template-part  .wp-block-navigation > .wp-block-navigation-item { margin-left: 1.1rem; }
.has-modal-open header.wp-block-template-part  .wp-block-navigation > .wp-block-navigation-item { margin-left: 0; }

html:not(.has-modal-open) header.wp-block-template-part  .wp-block-navigation .wp-block-navigation__submenu-container li a { padding: .25em 1.25em!important; }
html:not(.has-modal-open) header.wp-block-template-part  .wp-block-navigation .wp-block-navigation__submenu-container li:first-child { padding-top: .75em; }
html:not(.has-modal-open) header.wp-block-template-part  .wp-block-navigation .wp-block-navigation__submenu-container li:last-child { padding-bottom: .85em; }

html:not(.has-modal-open) header.wp-block-template-part  .wp-block-navigation__container > li > .wp-block-navigation__submenu-container { margin-top: 10px; }
html:not(.has-modal-open) header.wp-block-template-part  .wp-block-navigation__container > li > .wp-block-navigation__submenu-container::before, html:not(.has-modal-open) header.wp-block-template-part  .wp-block-navigation__container > li > .wp-block-navigation__submenu-container::after { content: ""; display: block; position: absolute; bottom: 100%; }
html:not(.has-modal-open) header.wp-block-template-part  .wp-block-navigation__container > li > .wp-block-navigation__submenu-container::before { height: 2rem; left: 0; right: 0; }
html:not(.has-modal-open) header.wp-block-template-part  .wp-block-navigation__container > li > .wp-block-navigation__submenu-container::after { border: .6rem solid transparent; border-bottom-color: transparent; border-bottom-color: var(--wp--preset--color--accent-4); left: 1.25rem; }

.post-category .wp-block-post > .wp-block-group { padding-left: 2.5rem; padding-right: 2.5rem; }

header.wp-block-template-part  .wp-block-navigation .wp-block-navigation__submenu-icon { margin-top: -2px; margin-left: .4em; font-size: 1.25em; }

}




.wp-block-navigation__responsive-container-open:is(.always-shown, .button-open) { display: block; }


/*html.has-modal-open { overflow: auto!important; }*/


header.wp-block-template-part  nav > button { z-index: 200000; }
.has-modal-open #modal-1 { top: 70px; padding-top: 30px!important; padding-bottom: 60px!important; }

.has-modal-open .wp-block-navigation__responsive-close { max-width: 1755px; }

header:before { content: ''; position: absolute; top: 0; width: 100%; height: 100vh; background: var(--wp--preset--color--base); display: none; }
.has-modal-open header:before { display: block; }

.has-modal-open .wp-block-navigation__responsive-container.modal-menu { animation: overlay-menu__fade-out-animation .2s ease-out; animation-fill-mode: forwards!important; }

@keyframes overlay-menu__fade-out-animation {
	0%{opacity:1;transform:translateY(0)}
	to{opacity:0;transform:translateY(-1.5em)}
}


.has-modal-open .wp-block-navigation__responsive-container { animation: overlay-menu__fade-in-animation .2s ease-out; animation-fill-mode: forwards!important; }

@keyframes overlay-menu__fade-in-animation {
	0%{opacity:0;transform:translateY(1.5em)}
	to{opacity:1;transform:translateY(0)}
}


.has-modal-open .main-navigation, .has-modal-open .wp-block-navigation-item { width: 100%; }

.has-modal-open .main-navigation .wp-block-navigation__submenu-container { position: relative; max-height: 0; overflow: hidden!important; transition: all 500ms ease!important; padding: 0!important; min-width: auto!important; width: 100%!important; opacity: 0!important; }

.has-modal-open .main-navigation .wp-block-navigation__submenu-container.open { max-height: 800px; opacity: 1!important; }


.has-modal-open .wp-block-navigation__submenu-container li:nth-child(1) { margin-top: 1.5rem; }
.has-modal-open .wp-block-navigation__submenu-container li a { padding: 0 30px 0 15px!important; }
.has-modal-open .wp-block-navigation__submenu-container li li { margin-bottom: 1.5rem; }
.has-modal-open .wp-block-navigation__submenu-container li li a { padding: 0 30px!important; }
.has-modal-open .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) { margin-bottom: 7px; }

.wp-block-navigation-submenu__toggle[aria-expanded="true"]
+ .wp-block-navigation__submenu-icon > svg, .wp-block-navigation-submenu__toggle[aria-expanded="true"] > svg { transform: rotate(0deg)!important; }
.has-modal-open .wp-block-navigation__submenu-icon { transform: rotate(0deg); transition: transform 0.3s ease; display: block!important; position: absolute; top: 2px; right: 0; z-index: 11; }
.has-modal-open .wp-block-navigation__submenu-icon.open { transform: rotate(180deg); }

.has-modal-open .wp-block-navigation .wp-block-navigation__submenu-icon { font-size: 1.75em; }
.has-modal-open .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon { margin-right: 0; }
.has-modal-open .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon svg { transform: rotate(0); }


.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { width: 30px; height: 30px; }
/*.wp-block-navigation__responsive-container-open svg, */.wp-block-navigation__responsive-container-close { display: none; }
.wp-block-navigation__responsive-container-open svg { background: var(--wp--preset--color--contrast); width: 100%; height: 3px; opacity: 1; }
.wp-block-navigation__responsive-container-open.button-open svg { opacity: 0; }
.wp-block-navigation__responsive-container-open { position: relative; }
.has-modal-open .wp-block-navigation__responsive-container-content { padding-top: 20px!important; }


.wp-block-navigation__responsive-container-open::before,
.wp-block-navigation__responsive-container-open::after,
.wp-block-navigation__responsive-container-open span { position: relative; content: ''; display: block; height: 3px; width: 100%; background-color: var(--wp--preset--color--contrast); border-radius: 2px; transition: all 0.3s ease; }

.wp-block-navigation__responsive-container-open::before { top: -6px; }
.wp-block-navigation__responsive-container-open::after { bottom: -6px; }

/* Środkowa linia (span) */
.wp-block-navigation__responsive-container-open span { background-color: #333; transition: opacity 0.3s ease; }

/* Stan po otwarciu (button-open) */
.wp-block-navigation__responsive-container-open.button-open::before { transform: rotate(45deg) translate(6px, 6px); }

.wp-block-navigation__responsive-container-open.button-open::after { transform: rotate(-45deg) translate(7px, -6px); }

.wp-block-navigation__responsive-container-open.button-open span { opacity: 0; }





@media only screen and (min-width: 1000px) and (max-width: 1200px) {

header.wp-block-template-part  .wp-block-navigation > .wp-block-navigation-item { margin-left: .1rem; }

}





@media all and (max-width:999px){

.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none!important; }
.wp-block-navigation__responsive-container-open:not(.always-shown) { display: block; }

header.wp-block-template-part  .wp-block-navigation li { font-size: 1.05rem; }

.tmi { margin-top: 5px; margin-left: -3px; }

.wp-block-button a::after { top: 13px; }

footer .wp-block-column:nth-child(2) .fs a:before { top: 0; }
footer .wp-block-column:nth-child(2) .fs a:nth-child(2):before { top: 3px; }
footer .wp-block-navigation a { padding: 1px 0 1px 26px; }

.cookie-notice-container { padding-right: 40px !important; text-align: left!important; }
.cookie-notice-container #cn-accept-cookie { margin-left: 0!important; }

.home .sc { height: 105px; }
.banner .hover-scale p, .page-id-85 .hover-scale p { font-size: .9rem!important; }

h1 span.bb::after { bottom: 4px; height: 10px; }

}



@media all and (max-width:781px){ html { scroll-behavior: auto; } .mdn { display: none; } .page-id-122 .wp-block-cover h1 { margin-top: 90px; font-size: 2.75rem; } }

@media all and (min-width:782px){ .ddn { display: none; } }



@media ( min-width: 700px ) {
	
.footer-copyright, .pp { float: left; }
.pp { margin-left: 10px; padding-left: 10px; border-left: 1px solid #ddd; }
.realization { float: right; }
	
}



@media ( max-width: 699px ) {

.custom-footer-block { text-align: center; }
#back-to-top { bottom: 171px }
.ra::before{ height: 80px; width: 80px; }

}



@media ( max-width: 599px ) {

.horizontal-scroll { display: flex!important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; gap: 3rem; margin: 0; padding: 0 0 1rem; }
.horizontal-scroll::-webkit-scrollbar { display: none; }
.horizontal-scroll > li { flex: 0 0 250px; scroll-snap-align: start; list-style: none; }
.horizontal-scroll a { display: block; width: 100%; white-space: normal; }

}
