/* Email Microsoft 365 — /email-microsoft-365/ (page 2805).
   Rules in this file apply only to this page. */

/* Moved from mh.css. These rules apply only to this page. */

/* Microsoft 365 + Google Workspace — light + dark */
body.page-id-2805 #main.mh-main {
	background: #fff;
	color: #111827;
}

body.page-id-2805 #main .mh-faq {
	display: none !important;
}

html.mh-dark body.page-id-2805 #main.mh-main,
html.mh-dark body.page-id-2805 #main .section,
html.mh-dark body.page-id-2805 #main .section-bg,
html.mh-dark body.page-id-2805 #main .section-content {
	background-color: #0a0f1e !important;
	color: #e5e7eb;
}

html.mh-dark body.page-id-2805 #main h1,
html.mh-dark body.page-id-2805 #main h2,
html.mh-dark body.page-id-2805 #main h3,
html.mh-dark body.page-id-2805 #main h4,
html.mh-dark body.page-id-2805 #main .heading-font,
html.mh-dark body.page-id-2805 #main .wn-microsoft-email-title,
html.mh-dark body.page-id-2805 #main .wn-microsoft-email-title-2,
html.mh-dark body.page-id-2805 #main .wn-title-email-gg {
	color: #f8fafc !important;
}

html.mh-dark body.page-id-2805 #main p,
html.mh-dark body.page-id-2805 #main li,
html.mh-dark body.page-id-2805 #main td,
html.mh-dark body.page-id-2805 #main th,
html.mh-dark body.page-id-2805 #main .text,
html.mh-dark body.page-id-2805 #main .text-inner,
html.mh-dark body.page-id-2805 #main .icon-box-text,
html.mh-dark body.page-id-2805 #main .wn-microsoft-email-desc,
html.mh-dark body.page-id-2805 #main .wn-desc-email-gg,
html.mh-dark body.page-id-2805 #main .wn-microsoft-email-safety p {
	color: #cbd5e1 !important;
}

html.mh-dark body.page-id-2805 #main .banner h1,
html.mh-dark body.page-id-2805 #main .banner h2,
html.mh-dark body.page-id-2805 #main .banner h3,
html.mh-dark body.page-id-2805 #main .banner p,
html.mh-dark body.page-id-2805 #main .banner .text,
html.mh-dark body.page-id-2805 #main .banner span {
	color: #fff !important;
}

html.mh-dark body.page-id-2805 #main a:not(.button):not(.mh-btn):not(.mh-support__row) {
	color: #93c5fd !important;
}

html.mh-dark body.page-id-2805 #main .col-inner.box-shadow-1,
html.mh-dark body.page-id-2805 #main .col-inner.box-shadow-2,
html.mh-dark body.page-id-2805 #main .col-inner.box-shadow-3,
html.mh-dark body.page-id-2805 #main .col-inner[style*='255, 255, 255'],
html.mh-dark body.page-id-2805 #main .col-inner[style*='255,255,255'],
html.mh-dark body.page-id-2805 #main .wn-email-package > .col-inner {
	background-color: #151d32 !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}

html.mh-dark body.page-id-2805 #main .wn-ep-price,
html.mh-dark body.page-id-2805 #main .wn-price,
html.mh-dark body.page-id-2805 #main [data-text-color='alert'],
html.mh-dark body.page-id-2805 #main span[style*='226, 114, 19'],
html.mh-dark body.page-id-2805 #main p[style*='226, 114, 19'] {
	color: #93c5fd !important;
}

html.mh-dark body.page-id-2805 #main table,
html.mh-dark body.page-id-2805 #main .table,
html.mh-dark body.page-id-2805 #main .wn-email-compare table {
	background: rgba(255, 255, 255, 0.04) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	color: #e5e7eb !important;
}

html.mh-dark body.page-id-2805 #main th,
html.mh-dark body.page-id-2805 #main td {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	color: #e5e7eb !important;
}

html.mh-dark body.page-id-2805 #main .is-divider,
html.mh-dark body.page-id-2805 #main hr,
html.mh-dark body.page-id-2805 #main .is-border {
	border-color: rgba(255, 255, 255, 0.12) !important;
}

html.mh-dark body.page-id-2805 #main .icon-box,
html.mh-dark body.page-id-2805 #main .featured-box {
	background: transparent !important;
}

html.mh-dark body.page-id-2805 #main .mh-faq {
	background: #080f1f !important;
	border-top-color: rgba(255, 255, 255, 0.06);
}

html.mh-dark body.page-id-2805 #main .mh-faq__layout > div > h2 {
	color: #fff !important;
}

html.mh-dark body.page-id-2805 #main .mh-faq .mh-kicker {
	color: #93c5fd !important;
}

html.mh-dark body.page-id-2805 #main .button.white,
html.mh-dark body.page-id-2805 #main .button.is-outline {
	background: transparent !important;
	color: #93c5fd !important;
	border-color: rgba(59, 130, 246, 0.45) !important;
}

html.mh-dark body.page-id-2805 #main .ux-shape-divider .ux-shape-fill {
	fill: #0a0f1e !important;
}

/* Microsoft 365 — privacy & enterprise security */
body.page-id-2805 #main .mh-m365-trust {
	padding: 56px 0 64px;
	background:
		radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.08), transparent 42%),
		radial-gradient(circle at 88% 100%, rgba(14, 165, 233, 0.06), transparent 40%),
		#f8fafc;
}

/* /email-microsoft-365 — align block width with header container */
body.page-id-2805.mh-email-suite-page #main .section > .section-content > .row,
body.page-id-2805.mh-email-suite-page #main .mh-wrap,
body.page-id-2805.mh-email-suite-page #main .container {
	width: 100% !important;
	max-width: var(--mh-wrap) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
	box-sizing: border-box;
}

body.page-id-2805 #main .mh-m365-trust .mh-wrap {
	max-width: var(--mh-wrap);
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

/* /email-microsoft-365 — package cards equal height + CTA aligned */
body.page-id-2805.mh-email-suite-page #main .section:has(.wn-email-package) > .section-content > .row {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch !important;
	justify-content: center;
}

body.page-id-2805.mh-email-suite-page #main .wn-email-package {
	display: flex !important;
	flex-direction: column;
	float: none !important;
}

body.page-id-2805.mh-email-suite-page #main .wn-email-package > .col-inner {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100% !important;
	flex: 1 1 auto;
	width: 100%;
	box-sizing: border-box;
}

body.page-id-2805.mh-email-suite-page #main .wn-email-package .button,
body.page-id-2805.mh-email-suite-page #main .wn-email-package a.button {
	margin-top: auto !important;
	align-self: center;
}

body.page-id-2805 #main .mh-m365-trust__head {
	margin: 0 auto 32px;
	text-align: center;
	max-width: 760px;
}

body.page-id-2805 #main .mh-m365-trust__head .mh-kicker {
	margin: 0 0 10px;
	color: #2563eb;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.page-id-2805 #main .mh-m365-trust__head h2 {
	margin: 0 !important;
	color: #0d1b3e !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.03em;
	text-transform: none !important;
}

body.page-id-2805 #main .mh-m365-trust__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

body.page-id-2805 #main .mh-m365-trust__card {
	display: flex;
	flex-direction: column;
	padding: 28px 24px 24px;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body.page-id-2805 #main .mh-m365-trust__card-head {
	text-align: center;
	margin: 0 0 18px;
}

body.page-id-2805 #main .mh-m365-trust__card-head h3 {
	margin: 0 0 8px !important;
	color: #0d1b3e !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.02em;
}

body.page-id-2805 #main .mh-m365-trust__card-head p {
	margin: 0;
	color: #64748b;
	font-size: 15px;
	line-height: 1.5;
}

body.page-id-2805 #main .mh-m365-trust__media {
	margin: 0 0 22px;
	overflow: hidden;
	border-radius: 14px;
	aspect-ratio: 16 / 10;
	background: #e2e8f0;
}

body.page-id-2805 #main .mh-m365-trust__img,
body.page-id-2805 #main .mh-m365-trust__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.page-id-2805 #main .mh-m365-trust__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

body.page-id-2805 #main .mh-m365-trust__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

body.page-id-2805 #main .mh-m365-trust__icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(37, 99, 235, 0.08);
	overflow: hidden;
}

body.page-id-2805 #main .mh-m365-trust__icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

body.page-id-2805 #main .mh-m365-trust__text {
	flex: 1;
	color: #334155;
	font-size: 14px;
	line-height: 1.55;
}

body.page-id-2805 #main .mh-m365-trust__badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.02em;
	vertical-align: middle;
	white-space: nowrap;
}

@media (min-width: 900px) {
body.page-id-2805 #main .mh-m365-trust__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

body.page-id-2805 #main .mh-m365-trust__head h2 {
		font-size: 32px !important;
	}

body.page-id-2805 #main .mh-m365-trust__card {
		padding: 32px 28px 28px;
	}
}


/* Hide legacy Flatsome safety block if still present */
body.page-id-2805:not(.ux-builder-iframe) #main .wn-microsoft-email-safety,
body.page-id-2805:not(.ux-builder-iframe) #main .section:has(.wn-microsoft-email-safety) {
	display: none !important;
}

html.mh-dark body.page-id-2805 #main .mh-m365-trust {
	background:
		radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.16), transparent 42%),
		#0a0f1e;
}

html.mh-dark body.page-id-2805 #main .mh-m365-trust__head .mh-kicker {
	color: #93c5fd;
}

html.mh-dark body.page-id-2805 #main .mh-m365-trust__head h2,
html.mh-dark body.page-id-2805 #main .mh-m365-trust__card-head h3 {
	color: #f8fafc !important;
}

html.mh-dark body.page-id-2805 #main .mh-m365-trust__card {
	background: #151d32;
	border-color: rgba(148, 163, 184, 0.22);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

html.mh-dark body.page-id-2805 #main .mh-m365-trust__card-head p,
html.mh-dark body.page-id-2805 #main .mh-m365-trust__text {
	color: #cbd5e1;
}

html.mh-dark body.page-id-2805 #main .mh-m365-trust__icon {
	background: rgba(37, 99, 235, 0.2);
}

html.mh-dark body.page-id-2805 #main .mh-m365-trust__badge {
	background: rgba(37, 99, 235, 0.25);
	color: #93c5fd;
}

html.mh-dark body.page-id-2805 #main .mh-m365-trust__media {
	background: #0d1b3e;
}

/* Pricing row matches the header container. */
html body.page-id-2805 #main .row:has(.wn-email-package),
html body.page-id-2805 #main .wn-email-compare {
	width: min(100vw, var(--mh-wrap)) !important;
	max-width: var(--mh-wrap) !important;
	margin-left: calc(50% - min(50vw, var(--mh-wrap) / 2)) !important;
	margin-right: calc(50% - min(50vw, var(--mh-wrap) / 2)) !important;
	box-sizing: border-box !important;
}
