/**
 * B2B call-to-action band (D2.6.2). Figma: B2B CTA band 55:893.
 *
 * Navy, 1 px off-white 15 % line below (it meets the navy footer).
 * Mobile: padding 48 / 20, gap 32, text then actions (gap 12; contact rows 14 / 20).
 * Desktop ≥ 1024: padding 96 / container, text left (max 737), actions right
 * (412 wide), vertically centred. Buttons full width: Light L + Outline-light L.
 * Contact rows: 20 px sage icon + 14 / 22 off-white text, 8 gap, 8 above.
 *
 * Markup: template-parts/sections/b2b-cta.php
 */

.mv-b2b {
	background: var(--mv-navy);
	color: var(--mv-offwhite);
	border-bottom: 1px solid var(--mv-offwhite-15);
}

.mv-b2b__inner {
	display: flex;
	flex-direction: column;
	gap: var(--mv-space-6);
	padding-block: var(--mv-space-7);
}

.mv-b2b__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--mv-space-4);
	min-width: 0;
	max-width: 748px; /* Figma 737 + ~1.5 % so Figma's one-line body text cannot tip onto 2 lines (text rendering differs by < 0.5 %, DEC-110) */
}

.mv-b2b__title,
.mv-b2b__body {
	margin: 0;
}

.mv-b2b .mv-b2b__title {
	color: var(--mv-offwhite);
	text-wrap: wrap; /* Figma breaks at the full width; headings default to balance */
}

.mv-b2b__body {
	opacity: 0.85;
}

.mv-b2b__actions {
	display: flex;
	flex-direction: column;
	gap: var(--mv-space-3);
	width: 100%;
}

.mv-b2b__contact {
	display: flex;
	flex-direction: column;
	gap: var(--mv-space-2);
	list-style: none;
}

/* Two classes: the global ul[class] reset (margin / padding 0) would otherwise win. */
.mv-b2b__actions .mv-b2b__contact {
	margin: 0;
	padding: var(--mv-space-2) 0 0;
}

.mv-b2b__contact > li {
	display: flex; /* rows take the link's line height, not the body's */
}

.mv-b2b__contact-link {
	display: inline-flex;
	align-items: center;
	gap: var(--mv-space-2);
	color: var(--mv-offwhite);
	font-size: var(--mv-small-size);
	line-height: var(--mv-small-line);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.mv-b2b__contact-link:hover {
	color: var(--mv-offwhite);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mv-b2b__contact-link .mv-icon {
	flex: none;
	color: var(--mv-sage);
}

@media (min-width: 768px) {
	.mv-b2b__actions {
		max-width: 412px;
	}
}

@media (min-width: 1024px) {
	.mv-b2b__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: var(--mv-gutter);
		padding-block: var(--mv-space-9);
	}

	.mv-b2b__actions {
		flex: 0 0 412px;
	}
}
