/* Site-scoped presentation refinements loaded after the child theme. */
.mts-hero {
	padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
	padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.mts-hero h1 {
	font-size: clamp(2.05rem, 3.5vw, 3rem);
	margin-bottom: 0.55rem;
}

.mts-hero > p:not(.mts-kicker) {
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	margin-bottom: 0.55rem;
	margin-top: 0.55rem;
}

.mts-hero .betterdocs-searchform {
	margin-top: 1rem;
}

.mts-hero .mts-actions {
	margin-top: 0.9rem;
}

body.error404 .content-area {
	margin: clamp(1.5rem, 4vw, 3rem) auto;
	max-width: 1180px;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

body.error404 .site-main {
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(18, 43, 66, 0.08);
	padding: clamp(1.5rem, 4vw, 3rem);
}

body.error404 .page-header,
body.error404 .page-content {
	margin: 0;
}

body.error404 .page-header {
	margin-bottom: 1.25rem;
}

body.error404 .search-form {
	margin-top: 1.25rem;
}

.betterdocs-single-content .mts-doc-screenshot {
	background: #f7fafc;
	border: 1px solid #d8e2ee;
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(18, 43, 66, 0.08);
	margin: 1.5rem 0 2rem;
	overflow: hidden;
	padding: 0;
}

.betterdocs-single-content .mts-doc-screenshot img {
	display: block;
	height: auto;
	margin: 0;
	width: 100%;
}

.betterdocs-single-content .mts-doc-screenshot figcaption {
	border-top: 1px solid #d8e2ee;
	color: #52657a;
	font-size: 0.9rem;
	line-height: 1.5;
	padding: 0.75rem 1rem;
}

@media (max-width: 767px) {
	.mts-hero {
		padding-bottom: 1.75rem;
		padding-top: 1.75rem;
	}

	body.error404 .content-area {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.betterdocs-single-content .mts-doc-screenshot {
		border-radius: 8px;
		margin-bottom: 1.5rem;
		margin-top: 1.25rem;
	}
}
