/* Custom styles that theme.json can't express. Keep this small. */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

:is(.ml-page-hero:not(.ml-page-hero--light, .ml-page-hero--photo), .rc-process, .rc-story, .rc-footer, .rc-videos__hero, .rc-case-listing__card, .rc-gated-download--hero, .ml-cta-card, .ml-side-cta, .rc-dropdown__panel--navy) {
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}

img {
	max-width: 100%;
	object-fit: contain;
}

.routectrl-logo {
	display: inline-flex;
	line-height: 0;
	color: inherit;
	text-decoration: none;
}

.routectrl-logo:hover {
	color: inherit;
	text-decoration: none;
}

.routectrl-logo img {
	height: 32px;
	width: auto;
}

.routectrl-logo__text {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.rc-container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}

@media (min-width: 344px) and (max-width: 373px) {

	.rc-container {
		width: 99%;
	}
}

@media (min-width: 640px) {

	.rc-container {
		width: 90%;
		max-width: 640px;
	}
}

@media (min-width: 768px) {

	.rc-container {
		width: 95%;
		max-width: 768px;
	}
}

@media (min-width: 1024px) {

	.rc-container {
		width: 80%;
		max-width: 1024px;
	}
}

@media (min-width: 1250px) {

	.rc-container {
		width: 90%;
	}
}

@media (min-width: 1280px) {

	.rc-container {
		max-width: 1280px;
	}
}

@media (min-width: 1535px) {

	.rc-container {
		width: 80%;
	}
}

@media (min-width: 1536px) {

	.rc-container {
		max-width: 1536px;
	}
}

/* Pages that open with a full-width section start right under the header. */
.wp-site-blocks > .rc-under-header,
.wp-site-blocks > .rc-under-header-full {
	margin-block-start: 0;
}

/* Full-width page sections stack with no gap between them. */
.wp-block-post-content.rc-sections > *,
.wp-site-blocks > .rc-under-header > *,
.wp-site-blocks > .rc-under-header-full > * {
	margin-block: 0;
}
