/**

 * Podstrony — hero z tłem (jak mbst-terapia.pl) + biały kafelek nachodzący na zdjęcie.

 */

/* Tło hero — obraz widoczny pod subheaderem */
body:not(.home).mbst-premium-ui #Header_wrapper {
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	min-height: clamp(176px, 25.6vw, 336px) !important;
}

body:not(.home).mbst-premium-ui #Subheader {
	background: transparent !important;
	background-color: transparent !important;
}

/* Większe nachodzenie „arkusza” treści na hero */

body:not(.home).mbst-premium-ui #Content .sections_group {

	margin-top: clamp(-38px, -4vw, -26px) !important;

	box-shadow: none !important;

	overflow: visible !important;

}



/* Biały kafelek — pierwsza sekcja treści (margin-top z buildera) */

body:not(.home).mbst-premium-ui #Content .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='margin-top:-'],

body:not(.home).mbst-premium-ui #Content .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='margin-top: -'],

body:not(.home).mbst-premium-ui #Content .sections_group .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='margin-top:-'],

body:not(.home).mbst-premium-ui #Content .sections_group .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='margin-top: -'] {

	margin-top: clamp(-42px, -4vw, -29px) !important;

	background: #fff !important;

	background-color: #fff !important;

	padding: clamp(22px, 3.2vw, 40px) clamp(16px, 2.4vw, 32px) !important;

	box-shadow: none !important;

	position: relative;

	z-index: 3;

	box-sizing: border-box;

}



body:not(.home).mbst-premium-ui #Content .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='background-color:#ffffff'],

body:not(.home).mbst-premium-ui #Content .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='background-color: #ffffff'],

body:not(.home).mbst-premium-ui #Content .sections_group .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='background-color:#ffffff'],

body:not(.home).mbst-premium-ui #Content .sections_group .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='background-color: #ffffff'] {

	background: #fff !important;

	background-color: #fff !important;

}



/* Subheader — więcej miejsca na zdjęcie hero */

body:not(.home).mbst-premium-ui #Subheader {

	padding: clamp(80px, 11.2vw, 128px) 0 clamp(45px, 6.4vw, 80px) !important;

	min-height: 0 !important;

}



body.mbst-page-kontakt.mbst-premium-ui #Subheader {

	padding: clamp(70px, 9.6vw, 112px) 0 clamp(38px, 5.6vw, 70px) !important;

}



@media (max-width: 767px) {

	body:not(.home).mbst-premium-ui #Content .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='margin-top:-'],

	body:not(.home).mbst-premium-ui #Content .entry-content > .section.mcb-section:first-of-type .wrap.mcb-wrap[style*='margin-top: -'] {

		margin-top: -19px !important;

		padding: 19px 14px !important;

	}



	body:not(.home).mbst-premium-ui #Content .sections_group {

		margin-top: -16px !important;

	}

}


