.mm-home-hero {
	--hero-height: clamp(330px, 28.5vw, 455px);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #e8f0fa;
	border-bottom: 1px solid #d7e3f1;
}

.mm-home-hero__image {
	position: absolute;
	z-index: -2;
	inset: 0 0 0 auto;
	width: min(78%, calc(var(--hero-height) * 2.5));
	height: 100%;
	object-fit: cover;
	object-position: right center;
	mask-image: linear-gradient(90deg, transparent, #000 25%);
}

.mm-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #eef4fc 0%, rgb(238 244 252 / 70%) 34%, transparent 59%);
}

.mm-home-hero__inner {
	display: grid;
	align-items: center;
	min-height: var(--hero-height);
	padding-block: 34px;
}

.mm-home-hero__copy { max-width: min(710px, 60%); }

.mm-home-hero__copy h1 {
	max-width: none;
	margin: 0;
	color: #132f50;
	font: 700 clamp(36px, 4vw, 62px)/1.06 Georgia, "Times New Roman", serif;
	letter-spacing: -.036em;
}

.mm-home-hero__copy h1 span { display: block; }

.mm-home-hero__copy p {
	max-width: 46ch;
	margin: 16px 0 22px;
	color: #314b68;
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.55;
}

.mm-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.mm-home-hero__actions a { min-height: 44px; }
.mm-home-hero__actions .button--outline { background: rgb(255 255 255 / 85%); }
.mm-home-publication { padding-block: 24px 14px; }

.mm-home-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 10px;
	margin-bottom: 12px;
}

.mm-home-heading h2 {
	margin: 0;
	color: #132f50;
	font: 700 clamp(23px, 2.4vw, 33px)/1.2 Georgia, "Times New Roman", serif;
	letter-spacing: -.02em;
}

.mm-home-heading p { margin: 0; color: #526b86; font-size: 12px; }
.mm-home-heading a, .mm-home-watch a { color: #184eae; font-size: 13px; font-weight: 750; }

.mm-home-pulse__quotes, .mm-home-stories, .mm-home-tools__links {
	display: grid;
	gap: 12px;
}

.mm-home-pulse__quotes { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mm-home-pulse__quotes a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px 10px;
	padding: 10px 13px;
	border: 1px solid #d7e3f1;
	border-radius: 9px;
	background: #f5f8fc;
	color: #132f50;
	font-variant-numeric: tabular-nums;
}

.mm-home-pulse__quotes a > :last-child { text-align: right; }
.mm-home-pulse__quotes strong { display: block; font-size: 14px; }
.mm-home-pulse__quotes small { display: block; color: #526b86; font-size: 11px; }
.mm-home-pulse__quotes b { display: block; font-size: 12px; }
.mm-home-pulse__quotes .is-down { color: #aa3449; }
.mm-home-pulse__quotes .is-up { color: #176655; }

.mm-home-publication__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(290px, .38fr);
	align-items: start;
	gap: 22px;
}

.mm-home-pulse + .mm-home-publication__grid { margin-top: 25px; }
.mm-home-stories, .mm-home-tools__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mm-home-story, .mm-home-tools__links a, .mm-home-watch {
	overflow: hidden;
	border: 1px solid #d7e3f1;
	border-radius: 10px;
	background: #fff;
}

.mm-home-story > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: #132f50;
	text-decoration: none;
}

.mm-home-story > a:focus-visible { outline-offset: -4px; }
.mm-home-story:hover, .mm-home-pulse__quotes a:hover, .mm-home-tools__links a:hover { border-color: #a6c3e9; }
.mm-home-story__image { aspect-ratio: 1.76; background: #eaf2fd; overflow: hidden; }
.mm-home-story__image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mm-home-story__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: start;
	padding: 14px;
}

.mm-home-story__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	color: #526b86;
	font-size: 11px;
}

.mm-home-story__meta > span {
	color: #184eae;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.mm-home-story h3 {
	margin: 7px 0;
	font: 700 clamp(19px, 1.75vw, 25px)/1.15 Georgia, "Times New Roman", serif;
	letter-spacing: -.015em;
}

.mm-home-story p, .mm-home-watch p {
	margin: 0 0 13px;
	color: #314b68;
	font-size: 13px;
	line-height: 1.55;
}

.mm-home-story__more { margin-top: auto; color: #184eae; font-size: 12px; font-weight: 750; }
.mm-home-tools { grid-column: 1 / -1; }
.mm-home-tools__links a, .mm-home-watch { padding: 12px 14px; background: #f5f8fc; }
.mm-home-tools__links strong { display: block; color: #184eae; font-size: 14px; }
.mm-home-tools__links span { display: block; margin-top: 4px; color: #314b68; font-size: 12px; }
.mm-home-watch { margin-top: 14px; }
.mm-home-watch h2 { margin: 0 0 6px; font-size: 17px; }
body .portal-home .mm-home-publication__rail .living-viewport { width: 100%; max-width: none; background: #f7faff; }
body .portal-home .mm-home-publication__rail .living-viewport .living-chart { min-width: 0; width: 100%; }

@media (min-width: 1100px) {
	.mm-home-hero__image {
		right: max(min(150px, calc(42px + (100% - 1100px) / 3)), calc((100% - 1336px) / 2 - 24px));
		mask-image: linear-gradient(90deg, transparent, #000 25%, #000 calc(100% - 28px), rgb(0 0 0 / 75%) calc(100% - 19px), rgb(0 0 0 / 25%) calc(100% - 8px), transparent);
	}
}

@media (max-width: 1020px) {
	.mm-home-publication__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
	.mm-home-hero__copy { max-width: 58%; }
	.mm-home-pulse__quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mm-home-stories, .mm-home-tools__links { grid-template-columns: minmax(0, 1fr); }
	.mm-home-story__image { aspect-ratio: 2.05; }
}

@media (max-width: 585px) {
	.mm-home-hero { display: flex; flex-direction: column; }
	.mm-home-hero::before { display: none; }
	.mm-home-hero__image { position: static; order: 1; width: 100%; height: 165px; object-position: 91% 43%; mask-image: none; }
	.mm-home-hero__inner { min-height: 0; padding-block: 23px 19px; }
	.mm-home-hero__copy { max-width: none; }
	.mm-home-hero__copy h1 { font-size: clamp(31px, 7.5vw, 42px); }
	.mm-home-hero__copy p { margin: 11px 0 15px; }
	.mm-home-hero__actions .button { padding-inline: 10px; font-size: 12px; }
	.mm-home-pulse__quotes a { padding: 8px 9px; }
}
