/**
 * Szablon treści podstron MBST (wszystkie strony oprócz home i Kontaktu).
 * Jedna kolorystyka: granatowe nagłówki na jasnym tle, biały arkusz, granatowe bloki CTA.
 */

body.mbst-page-content.mbst-premium-ui #Content {
	background: var(--mbst-surface-muted, #f4f6fb);
}

body.mbst-page-content.mbst-premium-ui .entry-content > .section.mcb-section {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 0;
}

body.mbst-page-content.mbst-premium-ui .section.mcb-section .section_wrapper {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 clamp(16px, 3vw, 48px) clamp(40px, 5vw, 56px) !important;
	box-sizing: border-box;
	overflow: visible !important;
}

body.mbst-page-content.mbst-premium-ui .section.mcb-section .wrap.mcb-wrap {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* margin-top ujemny — tylko hero kafelek (mbst-subpage-hero.css), nie zerować globalnie */

/* Białe / szare bloki z buildera — bez widocznej ramki */
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#ffffff'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #ffffff'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#FFFFFF'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#f9f9f9'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #f9f9f9'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #F9F9F9'] {
	background: transparent !important;
	background-color: transparent !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* Granatowe bloki (liczniki, CTA, panel MBST®) — #000 i #005596 z buildera */
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#000000'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #000000'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#005596'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #005596'],
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.white-on-black {
	background: linear-gradient(135deg, var(--mbst-navy, #18225b) 0%, #243570 100%) !important;
	padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px) !important;
	border: none !important;
	border-radius: 12px;
	box-shadow: none !important;
	margin-bottom: clamp(32px, 4vw, 48px) !important;
}

body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='#000000'] .column_attr h2,
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='#000000'] .column_attr h3,
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='#005596'] .column_attr h2,
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='#005596'] .column_attr h3,
body.mbst-page-content.mbst-premium-ui .column_attr h3[style*='#fff'] {
	color: #fff !important;
}

body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='#000000'] .column_attr p,
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='#005596'] .column_attr p {
	color: rgba(255, 255, 255, 0.92) !important;
}

/* Typografia treści na jasnym tle */
body.mbst-page-content.mbst-premium-ui #Content .sections_group .column_attr h1,
body.mbst-page-content.mbst-premium-ui #Content .sections_group .column_attr h2,
body.mbst-page-content.mbst-premium-ui .column_attr h1,
body.mbst-page-content.mbst-premium-ui .column_attr h2 {
	font-size: clamp(1.35rem, 2.8vw, 1.85rem) !important;
	color: var(--mbst-navy, #18225b) !important;
	margin: 0 0 16px !important;
	line-height: 1.25 !important;
	text-shadow: none !important;
	font-weight: 700 !important;
}

body.mbst-page-content.mbst-premium-ui .column_attr h1 + p,
body.mbst-page-content.mbst-premium-ui .column_attr h2 + p {
	margin-top: 0;
}

body.mbst-page-content.mbst-premium-ui .column_attr h1:not(:first-child),
body.mbst-page-content.mbst-premium-ui .column_attr h2:not(:first-child) {
	margin-top: clamp(24px, 3vw, 36px) !important;
}

/* Tylko jasne kafelki — ciemne: mbst-tiles.css (ładowany na końcu) */
body.mbst-page-content.mbst-premium-ui #Content .sections_group .wrap.mcb-wrap:not(.white-on-black):not([style*='background-color:#000']):not([style*='background-color: #000']):not([style*='background-color:#005596']):not([style*='background-color: #005596']) .column_attr h3,
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap:not(.white-on-black):not([style*='background-color:#000']):not([style*='background-color: #000']):not([style*='background-color:#005596']):not([style*='background-color: #005596']) .column_attr h3 {
	font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
	color: var(--mbst-navy, #18225b) !important;
	line-height: 1.4 !important;
	margin: 0 0 12px !important;
	font-weight: 700 !important;
	text-shadow: none !important;
}

body.mbst-page-content.mbst-premium-ui #Content .sections_group .wrap.mcb-wrap:not(.white-on-black):not([style*='background-color:#000']):not([style*='background-color: #000']):not([style*='background-color:#005596']):not([style*='background-color: #005596']) .column_attr p,
body.mbst-page-content.mbst-premium-ui #Content .sections_group .wrap.mcb-wrap:not(.white-on-black):not([style*='background-color:#000']):not([style*='background-color: #000']):not([style*='background-color:#005596']):not([style*='background-color: #005596']) .column_attr li,
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap:not(.white-on-black):not([style*='background-color:#000']):not([style*='background-color: #000']):not([style*='background-color:#005596']):not([style*='background-color: #005596']) .column_attr p,
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap:not(.white-on-black):not([style*='background-color:#000']):not([style*='background-color: #000']):not([style*='background-color:#005596']):not([style*='background-color: #005596']) .column_attr li {
	line-height: 1.7 !important;
	color: var(--mbst-text, #3d4451) !important;
	margin-bottom: 12px !important;
	text-shadow: none !important;
}

body.mbst-page-content.mbst-premium-ui .column_attr p strong,
body.mbst-page-content.mbst-premium-ui .column_attr > p > b {
	color: var(--mbst-navy, #18225b);
}

body.mbst-page-content.mbst-premium-ui .column_attr ul {
	margin: 12px 0 16px;
	padding-left: 1.25em;
}

body.mbst-page-content.mbst-premium-ui .column_attr li::marker {
	color: var(--mbst-cyan, #54add6);
}

body.mbst-page-content.mbst-premium-ui:not(.mbst-page-urzadzenia) .column_attr p[style*='005596'],
body.mbst-page-content.mbst-premium-ui:not(.mbst-page-urzadzenia) .column_attr p[style*='font-weight: 700'],
body.mbst-page-content.mbst-premium-ui:not(.mbst-page-urzadzenia) .column_attr p[style*='font-weight:700'] {
	color: var(--mbst-cyan, #54add6) !important;
	font-weight: 700 !important;
}

/* Obrazy — mbst-images.css */

/* Małe kolumny benefitów — bez kafelków z border-left */
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.one-third .column_attr,
body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.one-second .column_attr {
	background: none !important;
	border: none !important;
	border-left: none !important;
	box-shadow: none !important;
	padding: 0 12px 16px 0 !important;
	margin-bottom: 8px !important;
}

body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.one-third .column_attr h6 {
	font-size: 12px !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mbst-cyan, #54add6) !important;
	margin: 0 0 6px !important;
}

body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.one-third .column_attr p {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--mbst-navy, #18225b) !important;
	line-height: 1.45 !important;
}

/* Pas tekst + zdjęcie (JS: .mbst-split-row) */
body.mbst-page-content.mbst-premium-ui .mbst-split-row {
	display: grid;
	grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
	margin: clamp(40px, 5vw, 72px) 0;
}

body.mbst-page-content.mbst-premium-ui .mbst-split-row--img-right {
	grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
}

body.mbst-page-content.mbst-premium-ui .mbst-split-row--wide-img {
	grid-template-columns: minmax(0, 3fr) minmax(220px, 2fr);
}

body.mbst-page-content.mbst-premium-ui .mbst-split-row > .wrap.mcb-wrap {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.mbst-page-content.mbst-premium-ui .mbst-split-row .column_attr {
	padding: 4px 0 8px 0 !important;
	max-width: 52em;
}

body.mbst-page-content.mbst-premium-ui .mbst-split-row .column_attr h2 {
	margin-bottom: 20px !important;
}

/* split-row images — mbst-images.css */

/* Accordion — subtelny, bez „kafelka” */
body.mbst-page-content.mbst-premium-ui .accordion .question {
	border: none;
	border-bottom: 1px solid rgba(24, 34, 91, 0.1);
	border-radius: 0;
	margin: 0;
	box-shadow: none;
}

body.mbst-page-content.mbst-premium-ui .accordion .question .title {
	padding: 16px 44px 16px 0 !important;
	background: transparent !important;
}

body.mbst-page-content.mbst-premium-ui .accordion .question.active .title {
	background: transparent !important;
	color: var(--mbst-cyan, #54add6) !important;
}

body.mbst-page-content.mbst-premium-ui .accordion .question .answer {
	padding: 0 0 20px !important;
}

body.mbst-page-content.mbst-premium-ui .column_attr[style*='padding:0 20%'],
body.mbst-page-content.mbst-premium-ui .column_attr[style*='padding:0 10%'] {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media (max-width: 959px) {
	body.mbst-page-content.mbst-premium-ui .section.mcb-section .wrap.mcb-wrap,
	body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.one-third,
	body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.two-third,
	body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.two-fifth,
	body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.three-fifth,
	body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.one-second,
	body.mbst-page-content.mbst-premium-ui .mbst-indication-row > .wrap.mcb-wrap {
		width: 100% !important;
		float: none !important;
	}

	body.mbst-page-content.mbst-premium-ui .mbst-split-row,
	body.mbst-page-content.mbst-premium-ui .mbst-split-row--img-right,
	body.mbst-page-content.mbst-premium-ui .mbst-split-row--wide-img {
		grid-template-columns: 1fr;
		gap: 28px;
		margin: 36px 0;
	}

	body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap[style*='#000000'],
	body.mbst-page-content.mbst-premium-ui .wrap.mcb-wrap.white-on-black {
		padding: 28px 20px !important;
	}
}
