/* Sprint 2 — header actions, walker, sticky CTA, footer, breadcrumbs */

html:has(body:not(.admin-bar)){
	margin-top:0!important;
}
.wrapper,
.em40_header_area_main{
	padding-top:0!important;
	margin-top:0!important;
}
.em40_header_area_main{
	background:transparent;
}
.poket-header-top,
.poket-header-top.poket-child-header-top{
	margin:0!important;
}
.mobile_logo_area,
.tx_top2_relative{
	background:#fff!important;
}

.poket_nav_area .container > .row.logo-left{
	display:flex;
	align-items:center;
}

@media (min-width:992px){
.tx_mmenu_together,
nav.poket_menu,
.poket-main-menu nav.poket_menu{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	flex-wrap:nowrap;
	gap:.75rem 1rem;
	width:100%;
	min-height:72px;
}
.tx_mmenu_together > nav.poket_menu{
	flex:1 1 auto;
	min-width:0;
	min-height:0;
}
.tx_mmenu_together .tx_menuc_btn,
.tx_mmenu_together .creative_header_button,
.tx_mmenu_together .donate-btn-header{
	display:none;
}

.gs-header-actions{
	display:flex;
	align-items:center;
	gap:.7rem;
	margin-left:0;
	flex:0 0 auto;
	flex-wrap:nowrap;
}
.gs-header-cta{
	display:inline-flex;
	align-items:center;
	font-weight:700;
	white-space:nowrap;
	line-height:1;
	background:#ff7d44;
	color:#fff!important;
	border-radius:999px;
	padding:.55rem 1rem;
	font-size:.88rem;
}
.gs-header-cta:hover{background:#e86b35;color:#fff!important}

.poket_menu > ul{
	display:flex;
	flex-wrap:nowrap;
	align-items:center;
	justify-content:flex-end;
	margin:0;
	padding:0;
}
.poket_menu > ul > li{
	display:flex;
	align-items:center;
	flex-wrap:nowrap;
	position:relative;
	vertical-align:middle;
	float:none;
}
.poket_menu > ul > li > a,
.poket_menu > ul > li > a.gs-nav-link,
.poket_menu > ul > li > a.gs-nav-parent-link{
	display:inline-flex;
	align-items:center;
	margin:0 1.05rem 0 0!important;
	padding:0!important;
	white-space:nowrap;
	font-weight:600;
	font-size:.95rem;
	line-height:1.2;
	letter-spacing:.01em;
}
.poket_menu > ul > li.gs-has-children > a{
	margin-right:.1rem!important;
}
.poket-main-menu .menu-item-has-children > a:after,
.poket_menu .menu-item-has-children > a:after,
.poket_menu .gs-has-children > a:after,
.mobile-menu .menu-item-has-children > a:after{
	content:none!important;
	display:none!important;
}

.poket_menu .gs-has-children,
.mobile-menu .gs-has-children{
	position:relative;
}
.gs-nav-toggle{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:1.5rem;
	height:1.5rem;
	margin:0 .85rem 0 0;
	padding:0;
	border:0;
	background:transparent;
	color:inherit;
	cursor:pointer;
	flex:0 0 auto;
}
.gs-nav-toggle span{
	width:.42rem;
	height:.42rem;
	border-right:2px solid currentColor;
	border-bottom:2px solid currentColor;
	transform:rotate(45deg) translateY(-1px);
}
.gs-has-children.gs-open>.gs-nav-toggle span{transform:rotate(225deg)}

@media (max-width:1199px) and (min-width:992px){
	.poket_menu > ul > li > a,
	.poket_menu > ul > li > a.gs-nav-link,
	.poket_menu > ul > li > a.gs-nav-parent-link{
		margin-right:.7rem!important;
		font-size:.88rem;
	}
	.gs-header-cta{padding:.5rem .8rem;font-size:.82rem}
}

.poket-main-menu .poket_menu > ul > li > .sub-menu,
.poket-main-menu .poket_menu > ul > li > .gs-submenu{
	position:absolute!important;
	left:0;
	top:calc(100% + .35rem);
	min-width:15rem;
	width:auto;
	flex:none;
	display:block;
}
} /* min-width 992 desktop header */

@media (min-width:782px){
	.poket_menu .gs-submenu{
		position:absolute!important;
		left:0;
		top:calc(100% + .35rem);
		min-width:15rem;
		background:#fff;
		box-shadow:0 12px 32px rgba(5,49,60,.14);
		padding:.45rem 0;
		z-index:50;
		opacity:0;
		visibility:hidden;
		pointer-events:none;
	}
	.poket_menu .gs-has-children:hover>.gs-submenu,
	.poket_menu .gs-has-children:focus-within>.gs-submenu,
	.poket_menu .gs-has-children.gs-open>.gs-submenu{
		opacity:1;
		visibility:visible;
		pointer-events:auto;
	}
	.poket_menu .gs-submenu a{
		display:block;
		margin:0!important;
		padding:.55rem 1.05rem!important;
		font-weight:600;
		font-size:.9rem;
		white-space:nowrap;
	}
	.poket_menu ul .sub-menu li:before,
	.poket_menu ul .gs-submenu li:before,
	.poket_menu .gs-submenu li:hover:before{
		content:none!important;
		display:none!important;
	}
	.poket_menu ul .sub-menu li:hover,
	.poket_menu .gs-submenu li:hover{
		margin-left:0!important;
	}
	.gs-sticky-cta{display:none!important}
}

.gs-header-cta{
	display:inline-flex;
	align-items:center;
	font-weight:700;
	white-space:nowrap;
	line-height:1;
	background:#ff7d44;
	color:#fff!important;
	border-radius:999px;
	padding:.55rem 1rem;
	font-size:.88rem;
}
.gs-nav-toggle{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:1.75rem;
	height:1.75rem;
	margin:0 .35rem 0 0;
	padding:0;
	border:0;
	background:transparent;
	color:inherit;
	cursor:pointer;
}
.gs-nav-toggle span{
	width:.42rem;
	height:.42rem;
	border-right:2px solid currentColor;
	border-bottom:2px solid currentColor;
	transform:rotate(45deg) translateY(-1px);
}
.gs-has-children.gs-open>.gs-nav-toggle span{transform:rotate(225deg)}
.poket-main-menu .menu-item-has-children > a:after,
.poket-main-menu .menu-item-has-children > a:before,
.poket_menu .menu-item-has-children > a:after,
.poket_menu .menu-item-has-children > a:before,
.poket_menu .gs-has-children > a:after,
.poket_menu .gs-has-children > a:before,
.mobile-menu .menu-item-has-children > a:after,
.mobile-menu .menu-item-has-children > a:before{
	content:none!important;
	display:none!important;
}

.mobile-menu .gs-submenu,
.mobile_menu_content .gs-submenu{display:none;padding-left:1rem}
.mobile-menu .gs-has-children.gs-open>.gs-submenu,
.mobile_menu_content .gs-has-children.gs-open>.gs-submenu{display:block}

@media (max-width:991px){
	.mobile_logo_area,
	.mobile_menu_option,
	.mobile_menu_o.mobile_opicon{
		display:flex!important;
		visibility:visible!important;
		pointer-events:auto!important;
	}
	.mobile_opicon{
		align-items:center;
		justify-content:center;
		min-width:44px;
		min-height:44px;
		cursor:pointer;
		z-index:20;
	}
	.mobile_menu_inner,
	.mobile_p{
		z-index:1000001!important;
	}
	.mobile_overlay.mactive{
		z-index:1000000!important;
		visibility:visible!important;
	}
	.mobile_menu_content,
	.mobile_menu_content .mobile-menu,
	.mobile_menu_content nav,
	.mobile_menu_content .main-menu{
		display:block!important;
		width:100%;
	}
	.mobile_menu_content .main-menu > li{
		display:flex;
		flex-wrap:wrap;
		align-items:center;
		width:100%;
		padding:.35rem 0;
	}
	.mobile_menu_content .main-menu > li > a{
		flex:1 1 auto;
		margin:0!important;
		padding:.4rem 0;
	}
	.mobile_menu_content .gs-header-actions{
		display:flex;
		margin:1rem 0;
	}
	.mobile_menu_content .gs-header-cta{
		width:100%;
		justify-content:center;
	}
}

.gs-sticky-cta{
	display:none;
	position:fixed;
	left:0;
	right:0;
	bottom:0;
	z-index:999990;
	gap:.5rem;
	padding:.55rem .7rem calc(.55rem + env(safe-area-inset-bottom,0));
	background:#05313c;
	box-shadow:0 -6px 24px rgba(5,49,60,.2);
}
.gs-sticky-cta a{
	flex:1;
	text-align:center;
	border-radius:999px;
	padding:.7rem .5rem;
	font-weight:800;
	color:#fff!important;
}
.gs-sticky-cta__call{background:#0a6b7a}
.gs-sticky-cta__quote{background:#ff7d44}

@media (max-width:781px){
	.gs-sticky-cta{display:flex}
	body{padding-bottom:calc(4.4rem + env(safe-area-inset-bottom,0))}
	.lead-flyin{display:none!important;visibility:hidden!important}
	.tx_menuc_btn,
	.creative_header_button{display:none}
		.mobile_menu_content nav,
	.mobile-menu nav{
		display:block;
		min-height:0;
	}
	.mobile_menu_content .gs-header-actions{
		display:flex;
		flex-direction:column;
		align-items:stretch;
		margin:1rem 0;
	}
}

.poket-header-top .gs-breadcrumbs{display:none!important}

.gs-breadcrumbs-wrap{
	width:100%;
}
.gs-breadcrumbs-wrap .container,
nav.gs-breadcrumbs{
	margin-left:auto;
	margin-right:auto;
}
nav.gs-breadcrumbs{
	padding:.65rem 0 .35rem;
	font-size:.9rem;
	color:#5b6b73;
}

.gs-breadcrumbs,
.gs-breadcrumbs__list,
.breadcumb-inner ul.gs-breadcrumbs__list{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:.35rem .15rem;
	list-style:none!important;
	list-style-type:none!important;
	margin:.35rem 0 0;
	padding:0;
}
.gs-breadcrumbs__item{
	list-style:none!important;
}
.gs-breadcrumbs .gs-breadcrumbs__item:not(:last-child)::after{
	content:"/";
	margin:0 .55rem;
	opacity:.55;
}
.breadcumb-inner li + li::before,
.breadcumb-inner .gs-breadcrumbs__item:not(:last-child)::after{
	content:none!important;
}
.breadcumb-inner .gs-breadcrumbs__item + .gs-breadcrumbs__item::before{
	content:"/"!important;
	margin:0 .55rem;
	opacity:.55;
}
.gs-breadcrumbs a{color:inherit}

/* Homepage / city: ściana „miasto | miasto” → siatka chipów */
.e-con.e-parent:has(.studnie-list-inline),
.e-con.e-parent:has(+ .e-con.e-parent .studnie-list-inline){
	background:#f4f7f8;
}
.e-con.e-parent:has(+ .e-con.e-parent .studnie-list-inline){
	padding-top:2.25rem;
	padding-bottom:0;
}
.e-con.e-parent:has(.studnie-list-inline){
	padding-top:.75rem;
	padding-bottom:2.5rem;
}
.e-con.e-parent:has(+ .e-con.e-parent .studnie-list-inline) .elementor-heading-title{
	color:#05313c!important;
	font-size:1.35rem!important;
	font-weight:800!important;
	text-align:center;
	margin:0;
}
.elementor-widget-text-editor:has(.studnie-list-inline) h3{
	color:#05313c!important;
	font-size:.92rem!important;
	font-weight:800!important;
	letter-spacing:.04em;
	text-transform:uppercase;
	margin:0 0 .75rem!important;
	text-align:center!important;
}
.e-con.e-grid:has(> .elementor-widget-text-editor .studnie-list-inline){
	display:grid!important;
	grid-template-columns:repeat(4,minmax(0,1fr))!important;
	--e-con-grid-template-columns:repeat(4,minmax(0,1fr))!important;
	gap:1.5rem 1.1rem!important;
	align-items:start;
	width:100%;
}
.e-con.e-grid:has(> .elementor-widget-text-editor .studnie-list-inline) > .elementor-widget-text-editor{
	width:100%!important;
	max-width:none!important;
	grid-column:auto!important;
}
.e-con.e-grid:has(> .elementor-widget-text-editor .studnie-list-inline) .studnie-list-inline{
	flex-direction:column;
	align-items:stretch;
	justify-content:flex-start;
}
.e-con.e-grid:has(> .elementor-widget-text-editor .studnie-list-inline) .studnie-list-inline a{
	width:100%;
	box-sizing:border-box;
	text-align:center;
}
.studnie-cities-list-block{
	background:#f4f7f8;
	padding:2rem 1rem 2.25rem;
	margin:2rem 0 0;
}
.studnie-cities-list-title{
	color:#05313c;
	font-size:1.2rem;
	font-weight:800;
	text-align:center;
	margin:0 0 1.1rem;
}
.studnie-list-inline{
	font-size:0;
	display:flex;
	flex-wrap:wrap;
	gap:.4rem .45rem;
	justify-content:flex-start;
}
.studnie-list-inline a{
	font-size:.78rem!important;
	line-height:1.25;
	font-weight:600;
	color:#05313c!important;
	background:#fff;
	border:1px solid rgba(5,49,60,.1);
	border-radius:999px;
	padding:.38rem .7rem;
	text-decoration:none!important;
}
.studnie-list-inline a:hover{
	border-color:#ff7d44;
	color:#05313c!important;
	background:#fff4eb;
}

/* Właściwa stopka — tło na kilku selektorach, bo LiteSpeed UCSS trzyma #fdfdfd */
html body .witrfm_area,
html body .witrfm_area.witrfm_area,
html body .gs-footer,
html body .witrfm_area .footer-bottom{
	background:#05313c!important;
	background-color:#05313c!important;
	color:rgba(255,255,255,.78);
	margin-top:0;
}
html body .witrfm_area{
	padding:0;
}
html body .witrfm_area:before,
html body .witrfm_area:after,
html body .footer-bottom:before{
	display:none!important;
	content:none!important;
	background:none!important;
	height:0!important;
}
.gs-footer{
	width:100%;
	max-width:none;
	margin:0;
	padding:2.75rem 1.25rem 2rem;
	box-sizing:border-box;
}
.gs-footer__inner{
	display:grid;
	grid-template-columns:minmax(16rem,1.2fr) minmax(0,1.6fr);
	gap:2.25rem 3rem;
	align-items:start;
	max-width:1120px;
	margin:0 auto;
}
.gs-footer__name{
	margin:0 0 .45rem;
	font-size:1.25rem;
	font-weight:800;
	color:#fff!important;
	letter-spacing:-.02em;
}
.gs-footer__tag{
	margin:0 0 1.1rem;
	max-width:22rem;
	font-size:.9rem;
	line-height:1.5;
	color:rgba(255,255,255,.68);
}
.gs-footer__phones{
	list-style:none;
	margin:0 0 1.15rem;
	padding:0;
}
.gs-footer__phones li{
	display:flex;
	flex-wrap:wrap;
	gap:.15rem .65rem;
	align-items:baseline;
	margin:0 0 .4rem;
	font-size:.9rem;
}
.gs-footer__phones span{
	min-width:6.5rem;
	color:rgba(255,255,255,.5);
}
.gs-footer__phones a{
	color:#fff!important;
	font-weight:700;
}
.gs-footer__phones a:hover{color:#ff7d44!important}
.gs-footer__cta{
	display:inline-flex;
	align-items:center;
	font-weight:700;
	white-space:nowrap;
	background:#ff7d44;
	color:#fff!important;
	border-radius:999px;
	padding:.6rem 1.05rem;
	font-size:.88rem;
}
.gs-footer__cta:hover{background:#e86b35;color:#fff!important}
.gs-footer-ia{
	display:grid;
	grid-template-columns:repeat(2,minmax(8rem,1fr));
	gap:1.5rem 2rem;
	margin:0;
	padding:.15rem 0 0;
}
.gs-footer-ia__title{
	font-weight:800;
	margin:0 0 .7rem;
	color:#fff!important;
	font-size:.78rem;
	letter-spacing:.06em;
	text-transform:uppercase;
}
.gs-footer-ia ul{list-style:none;margin:0;padding:0}
.gs-footer-ia li{margin:0 0 .45rem}
.gs-footer-ia a{
	color:rgba(255,255,255,.78)!important;
	font-weight:500;
}
.gs-footer-ia a:hover{color:#ff7d44!important}
.footer-middle .witrfm_menu,
.footer-widget .menu-item a[href="#"],
.gs-footer-ia__col:empty{display:none}
body:has(.gs-footer-ia) .footer-menu{display:none}
body:has(.gs-footer-ia) .footer-bottom{
	background:transparent!important;
	border-top:1px solid rgba(255,255,255,.12);
	padding:1.1rem 1.25rem 1.4rem;
}
body:has(.gs-footer-ia) .footer-bottom .container{
	max-width:1120px;
}
body:has(.gs-footer-ia) .footer-bottom .col-lg-6{
	width:100%;
	max-width:100%;
	flex:0 0 100%;
}
body:has(.gs-footer-ia) .copy-right-text{
	text-align:left;
}
body:has(.gs-footer-ia) .copy-right-text p{
	color:rgba(255,255,255,.48)!important;
	font-size:.78rem!important;
	line-height:1.55;
	margin:0;
}
@media (max-width:991px){
	.e-con.e-grid:has(> .elementor-widget-text-editor .studnie-list-inline){
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		--e-con-grid-template-columns:repeat(2,minmax(0,1fr))!important;
	}
}
@media (max-width:781px){
	.gs-footer{padding:2.1rem 1rem 1.5rem}
	.gs-footer__inner{
		grid-template-columns:1fr;
		gap:1.75rem;
	}
	.gs-footer-ia{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
	.e-con.e-grid:has(> .elementor-widget-text-editor .studnie-list-inline){
		grid-template-columns:1fr!important;
		--e-con-grid-template-columns:1fr!important;
	}
}
