/*
 * Printing the free kundli and the kundli matching report ("Save as PDF" in the results). Once a result is on the page,
 * the printout holds only the result (with the site's name at the top) and the data credits. Before that, the page
 * prints as it is. Loaded with media="print" on pages that have the kundli or matching block.
 */
@page { margin: 14mm 12mm; }

html, body { background: #fff !important; }
body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

body:has(.mpower-kundli__head) :is(
	#wpadminbar,
	.wp-site-blocks > header,
	.wp-site-blocks > footer,
	.mpower-phone-bar,
	.mpower-whatsapp,
	.mpower-tool-hero,
	.mpower-cta,
	.mpower-tool-body .mpower-prose > :not(.mpower-tool, .mpower-note),
	.mpower-tool .mpower-tool__form,
	.mpower-kundli__actions,
	.mpower-switch,
	.mpower-chart-tabs,
	.mpower-chart__note,
	.mpower-kundli__cta
) { display: none !important; }

body:has(.mpower-kundli__head) .mpower-tool-body { padding: 0 !important; }
/* On screen the tool overlaps the hero with a negative margin and sits on a card. */
.mpower-tool:has(.mpower-kundli__head) { margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
.mpower-tool .mpower-tool__result { gap: 5mm; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.mpower-kundli__head::before {
	content: "M-Power · Founders of DNA Vastu · morepowersolution.com";
	display: block;
	margin-bottom: 4mm;
	padding-bottom: 2mm;
	font-size: 9pt;
	letter-spacing: 0.08em;
	color: #806236;
	border-bottom: 0.3mm solid #b08d57;
}
/* Light summary boxes instead of the dark night cards: easier to read on paper and lighter on ink. */
.mpower-kundli__summary { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 3mm !important; }
.mpower-kundli__summary > div { padding: 3mm 3.5mm !important; background: #fff !important; border: 0.3mm solid #b08d57; border-radius: 3mm; }
.mpower-kundli__summary dt { color: #806236 !important; }
.mpower-kundli__summary dd:not(.note) { color: #141a3a !important; font-size: 17pt !important; }
.mpower-kundli__summary .note { color: #4a4f6a !important; font-size: 8.5pt !important; }
.mpower-kundli__grid { display: block !important; }
.mpower-kundli__block { padding: 4mm 5mm !important; border-radius: 3mm !important; }
.mpower-kundli__block h3 { margin-bottom: 3mm !important; font-size: 14pt !important; }
.mpower-table th, .mpower-table td { padding: 1.6mm 2mm !important; }
.mpower-kundli__block,
.mpower-kundli__summary,
.mpower-dosha,
tr { break-inside: avoid; page-break-inside: avoid; }
.mpower-kundli__block { margin-bottom: 5mm; }
.mpower-chart { max-width: 115mm !important; margin-inline: auto !important; }
.mpower-tool table { font-size: 9.5pt; }
.mpower-match__top { break-inside: avoid; page-break-inside: avoid; }
.mpower-table-wrap { overflow: visible !important; }
.mpower-tool-body .mpower-prose > .mpower-note { margin-top: 6mm; font-size: 8pt; }
a { color: inherit; text-decoration: none; }
