/**
 * Kontrast tekstu — ostatnia warstwa (po BeTheme).
 * Ciemna powierzchnia = jasny tekst. Jasna powierzchnia = ciemny tekst.
 */

.mbst-premium-ui .mbst-on-dark-surface,
.mbst-premium-ui .mbst-on-dark-surface .column_attr,
.mbst-premium-ui .mbst-on-dark-surface .column_column,
.mbst-premium-ui .mbst-on-dark-surface .column_attr *:not(img):not(svg):not(path):not(a.button),
.mbst-premium-ui .mbst-on-dark-surface .column_column *:not(img):not(svg):not(path):not(a.button),
.mbst-premium-ui .wrap.mcb-wrap.white-on-black .column_attr *:not(img):not(svg):not(path):not(a.button),
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#000000'] .column_attr *:not(img):not(svg):not(path):not(a.button),
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #000000'] .column_attr *:not(img):not(svg):not(path):not(a.button),
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#005596'] .column_attr *:not(img):not(svg):not(path):not(a.button),
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #005596'] .column_attr *:not(img):not(svg):not(path):not(a.button) {
	color: rgba(255, 255, 255, 0.94) !important;
	background: transparent !important;
	background-color: transparent !important;
	-webkit-text-fill-color: currentColor !important;
	text-shadow: none !important;
}

.mbst-premium-ui .mbst-on-light-surface,
.mbst-premium-ui .mbst-on-light-surface .column_attr,
.mbst-premium-ui .mbst-on-light-surface .column_column {
	background-color: #fff !important;
}

.mbst-premium-ui .mbst-on-light-surface .column_attr,
.mbst-premium-ui .mbst-on-light-surface .column_column,
.mbst-premium-ui .mbst-on-light-surface .column_attr li,
.mbst-premium-ui .mbst-on-light-surface .column_column li,
.mbst-premium-ui .mbst-on-light-surface .column_attr p,
.mbst-premium-ui .mbst-on-light-surface .column_attr b,
.mbst-premium-ui .mbst-on-light-surface .column_attr strong {
	color: var(--mbst-text, #3d4451) !important;
	-webkit-text-fill-color: currentColor !important;
}

body.mbst-page-urzadzenia.mbst-premium-ui .mbst-on-light-surface .column_attr > ul > li,
body.mbst-page-urzadzenia.mbst-premium-ui .mbst-device-body.mbst-on-light-surface .column_column > ul > li {
	color: var(--mbst-navy, #18225b) !important;
}

body.mbst-page-urzadzenia.mbst-premium-ui .mbst-device-chess-cell--text,
body.mbst-page-urzadzenia.mbst-premium-ui .mbst-device-body.mbst-on-light-surface {
	background: #fff !important;
	background-color: #fff !important;
}

/* Inline navy/czarny z WordPressa na ciemnych kafelkach buildera */
.mbst-premium-ui .mbst-on-dark-surface .column_attr [style*='color:#18225b'],
.mbst-premium-ui .mbst-on-dark-surface .column_attr [style*='color: #18225b'],
.mbst-premium-ui .mbst-on-dark-surface .column_attr [style*='color:#005596'],
.mbst-premium-ui .mbst-on-dark-surface .column_attr [style*='color: #005596'],
.mbst-premium-ui .mbst-on-dark-surface .column_attr [style*='color:#000'],
.mbst-premium-ui .mbst-on-dark-surface .column_attr [style*='color: #000'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#000000'] .column_attr [style*='color:#18225b'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#000000'] .column_attr [style*='color: #18225b'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#000000'] .column_attr [style*='color:#005596'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#000000'] .column_attr [style*='color: #005596'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #000000'] .column_attr [style*='color:#18225b'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #000000'] .column_attr [style*='color: #18225b'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#005596'] .column_attr [style*='color:#18225b'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color:#005596'] .column_attr [style*='color: #18225b'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #005596'] .column_attr [style*='color:#18225b'],
.mbst-premium-ui .wrap.mcb-wrap[style*='background-color: #005596'] .column_attr [style*='color: #18225b'] {
	color: rgba(255, 255, 255, 0.94) !important;
	-webkit-text-fill-color: currentColor !important;
}
