/* Resource page styles. Loaded by /resources/*/index.php. */

.mm-resource-header.mm-case-section.mm-case-section.mm-case-section {
	padding-top: 110px !important;
	padding-bottom: 0 !important;
}

.mm-resource-header + .mm-case-section.mm-case-section.mm-case-section {
	padding-top: 0 !important;
}

/* Lede/subheading override on resource pages: 26px. */
.mm-resource-page .mm-lede,
.mm-resource-page .mm-lede-lg {
	font-size: 26px !important;
}

.mm-glossary {
	margin: 0;
	padding: 0;
}

.mm-glossary dt {
	font-family: var(--mm-font-headline, inherit);
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	margin: 32px 0 8px;
	line-height: 1.3;
	scroll-margin-top: 100px;
}

.mm-glossary dt:first-child {
	margin-top: 40px;
}

.mm-glossary dd {
	margin: 0;
	padding: 0;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.82);
}

.mm-glossary dd a {
	color: var(--mm-accent, #4ea3ff);
	text-decoration: underline;
}

.mm-glossary dd a:hover {
	color: #fff;
}

/* Resource list (ordered + plain). Used by the 50 Questions template etc. */
.mm-resource-list,
.mm-resource-list-plain,
.mm-resource-steps,
.mm-bullets.mm-bullets--body {
	font-size: 20px;
	font-weight: 300;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.85);
	padding-left: 64px;
}

/* Body-variant bullets inherit the resource-list font weight (300) too. */
.mm-bullets.mm-bullets--body li {
	font-weight: 300;
}

.mm-resource-list li,
.mm-resource-list-plain li,
.mm-resource-steps li {
	margin-bottom: 10px;
}

.mm-resource-list-plain {
	list-style: disc;
}

/* Chip-style inline tokens inside resource lists. Blue outline, blue text, square. */
.mm-resource-list code,
.mm-resource-steps code {
	background: transparent;
	color: var(--mm-accent, #4ea3ff);
	border: 1px solid var(--mm-accent, #4ea3ff);
	padding: 6px 12px;
	font-size: 16px;
	font-family: inherit;
	font-weight: 500;
	border-radius: 0;
	letter-spacing: 0;
	line-height: 1;
	display: inline-block;
}

.mm-resource-steps li strong,
.mm-resource-list-plain li strong {
	color: #fff;
}

.mm-resource-list-plain a,
.mm-resource-steps a {
	color: var(--mm-accent, #4ea3ff);
	text-decoration: underline;
}

/* "Keep reading" related list in the final CTA row: smaller heading + bullets. */
.mm-related-heading {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 18px;
	color: #fff;
}

.mm-related-list {
	font-size: 16px;
	line-height: 1.3;
}

.mm-related-list a {
	color: var(--mm-accent, #4ea3ff);
	text-decoration: underline;
}
