/* Home page sections (front page only). The bands touch: without this the root block gap shows white stripes between navy and light bands. */
.home .mm-main > * {
	margin-block: 0;
}

/* Hero */
.mm-hero {
	box-sizing: border-box;
	padding: var(--wp--custom--layout--section-padding, 96px) var(--wp--custom--layout--gutter, 16px);
}

.mm-hero .mm-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	max-width: var(--wp--style--global--content-size, 1200px);
	margin-inline: auto;
}

.mm-hero .mm-hero__inner > * {
	margin-block: 0;
}

@media (min-width: 1024px) {
	.mm-hero .mm-hero__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 64px;
	}
}

.mm-hero .mm-hero__eyebrow {
	margin: 0 0 16px;
	color: var(--wp--preset--color--accent-glacier, #b9d8e1);
}

.mm-hero .mm-hero__title {
	margin: 0 0 20px;
	color: var(--wp--preset--color--white, #fff);
}

.mm-hero .mm-hero__title em {
	font-style: italic;
	font-weight: 600;
}

.mm-hero .mm-hero__lead {
	max-width: 30rem;
	margin: 0;
	color: rgb(255 255 255 / 0.85);
}

.mm-hero .mm-hero__buttons {
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-top: 32px;
}

.mm-hero .mm-hero__buttons .wp-block-button,
.mm-hero .mm-hero__buttons .wp-block-button__link {
	width: 100%;
}

@media (min-width: 768px) {
	.mm-hero .mm-hero__buttons {
		flex-direction: row;
		align-items: center;
	}

	.mm-hero .mm-hero__buttons .wp-block-button,
	.mm-hero .mm-hero__buttons .wp-block-button__link {
		width: auto;
	}
}

.mm-hero .mm-hero__image {
	margin: 0;
}

.mm-hero .mm-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--card-image, 10px);
}

@media (min-width: 1024px) {
	.mm-hero .mm-hero__image img {
		aspect-ratio: 4 / 5;
	}
}

/* Brand story */
.mm-story {
	box-sizing: border-box;
	padding: var(--wp--custom--layout--section-padding, 96px) var(--wp--custom--layout--gutter, 16px);
}

.mm-story .mm-story__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	max-width: var(--wp--style--global--content-size, 1200px);
	margin-inline: auto;
}

.mm-story .mm-story__inner > * {
	margin-block: 0;
}

@media (min-width: 1024px) {
	.mm-story .mm-story__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 64px;
	}
}

.mm-story .mm-story__image {
	margin: 0;
}

.mm-story .mm-story__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--card-image, 10px);
}

@media (min-width: 1024px) {
	.mm-story .mm-story__image img {
		aspect-ratio: 4 / 5;
	}
}

.mm-story .mm-story__eyebrow {
	margin: 0 0 12px;
	color: var(--wp--preset--color--accent-glacier, #b9d8e1);
}

.mm-story .mm-story__title {
	margin: 0 0 16px;
	color: var(--wp--preset--color--white, #fff);
}

.mm-story .mm-story__text {
	margin: 16px 0 0;
	color: rgb(255 255 255 / 0.85);
}

.mm-story .mm-promises {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 32px;
}

.mm-story .mm-promises > * {
	margin-block: 0;
}

@media (min-width: 768px) {
	.mm-story .mm-promises {
		gap: 16px;
	}
}

.mm-story .mm-promise {
	box-sizing: border-box;
	padding: 16px;
	border: 1px solid rgb(185 216 225 / 0.35);
	border-radius: var(--wp--custom--radius--card, 12px);
}

@media (min-width: 768px) {
	.mm-story .mm-promise {
		padding: 24px;
	}
}

.mm-story .mm-promise__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	border: 1px solid rgb(185 216 225 / 0.5);
	border-radius: var(--wp--custom--radius--pill, 9999px);
	color: var(--wp--preset--color--accent-glacier, #b9d8e1);
}

.mm-story .mm-promise__title {
	margin: 0 0 4px;
	color: var(--wp--preset--color--white, #fff);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.3;
}

.mm-story .mm-promise__text {
	margin: 0;
	color: rgb(255 255 255 / 0.75);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* "Read our story" is a single-item Navigation so that it hides with its page; an empty one must not leave a landmark behind. */
.mm-story .mm-story__link {
	margin-top: 32px;
}

.mm-story .mm-story__link:not(:has(.wp-block-navigation-item)) {
	display: none;
}

.mm-story .mm-story__link .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent-glacier, #b9d8e1);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: underline;
	text-transform: none;
	text-underline-offset: 3px;
}

.mm-story .mm-story__link .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--white, #fff);
}
