/* Single blog content based on the supplied KEO88 article reference. */
.mkeo-single-page {
	background: #111;
	box-sizing: border-box;
	color: #b6b9b7;
	max-width: 100%;
	min-height: 520px;
	overflow: hidden;
	padding: 16px 18px 22px;
	width: 100%;
}

.mkeo-single-article { margin: 0; max-width: 100%; min-width: 0; }

.mkeo-single-header {
	border-bottom: 1px solid #242724;
	margin-bottom: 12px;
	padding-bottom: 10px;
}

.mkeo-single-page .mkeo-single-header h1 {
	background: linear-gradient(180deg, #fff7d3 35.4%, #ffc800 76.47%);
	background-repeat: repeat-y;
	background-size: 100% 1.35em;
	color: #f1d34c;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: anywhere;
	text-transform: uppercase;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.mkeo-single-content {
	color: #b6b9b7;
	font-size: 14px !important;
	line-height: 1.62;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 0;
}

.mkeo-single-content > :first-child { margin-top: 0; }
.mkeo-single-content > :last-child { margin-bottom: 0; }

.mkeo-single-content p,
.mkeo-single-content ul,
.mkeo-single-content ol { margin: 0 0 12px; }

.mkeo-single-content ul,
.mkeo-single-content ol { padding-left: 20px; }

.mkeo-single-content li { margin-bottom: 3px; }
.mkeo-single-content strong { color: #d7dad8; }

.mkeo-single-page .mkeo-single-content h2,
.mkeo-single-page .mkeo-single-content h3,
.mkeo-single-page .mkeo-single-content h4 {
	color: #d9dcda;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
}

.mkeo-single-page .mkeo-single-content h2 {
	font-size: 16px;
	margin: 18px 0 7px;
}

.mkeo-single-page .mkeo-single-content h3 {
	font-size: 14px;
	margin: 16px 0 6px;
}

.mkeo-single-page .mkeo-single-content h4 {
	font-size: 13px;
	margin: 14px 0 5px;
}

.mkeo-single-content a {
	color: var(--mkeo-green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mkeo-single-content figure,
.mkeo-single-content .wp-block-image {
	margin: 15px 0;
	max-width: 100%;
}

.mkeo-single-content img {
	border-radius: 0;
	display: block;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.mkeo-single-content figcaption,
.mkeo-single-content .wp-caption-text {
	color: #777d79;
	font-size: 10px;
	font-style: italic;
	line-height: 1.4;
	margin: 5px 0 0;
	text-align: center;
}

.mkeo-single-content blockquote {
	background: #181b19;
	border-left: 3px solid var(--mkeo-green);
	color: #c7cbc8;
	font-size: 13px;
	margin: 16px 0;
	padding: 12px 14px;
}

.mkeo-single-content table {
	border-color: #343834;
	color: #c3c7c4;
	font-size: 12px;
	margin: 15px 0;
}

.mkeo-single-content th {
	background: #202421;
	color: #f0f1f0;
}

.mkeo-single-content td,
.mkeo-single-content th { border-color: #343834; }

.mkeo-single-pages {
	display: flex;
	gap: 6px;
	margin-top: 18px;
}

.mkeo-single-related {
	border-top: 1px solid #292c29;
	margin-top: 24px;
	min-width: 0;
	padding-top: 14px;
}

.mkeo-single-page .mkeo-single-related > h2 {
	color: #d8dbd9;
	font-size: 16px;
	margin: 0 0 11px;
	text-transform: uppercase;
}

.mkeo-single-related__list { display: grid; gap: 10px; }

.mkeo-single-related__item {
	display: grid;
	gap: 12px;
	grid-template-columns: 170px minmax(0, 1fr);
	margin: 0;
	max-width: 100%;
	min-width: 0;
}

.mkeo-single-related__media {
	background: linear-gradient(135deg, #183522, #101b14);
	display: block;
	height: 94px;
	overflow: hidden;
}

.mkeo-single-related__media img {
	height: 100%;
	object-fit: cover;
	transition: transform .25s;
	width: 100%;
}

.mkeo-single-related__media span {
	align-items: center;
	color: var(--mkeo-green);
	display: flex;
	font-size: 18px;
	font-weight: 700;
	height: 100%;
	justify-content: center;
}

.mkeo-single-related__item:hover .mkeo-single-related__media img { transform: scale(1.035); }
.mkeo-single-related__content { min-width: 0; padding: 3px 0; }

.mkeo-single-page .mkeo-single-related__content h3 {
	font-size: 16px;
	line-height: 1.35;
	margin: 0 0 3px;
	text-transform: none;
}

.mkeo-single-related__content h3 a { color: #d9dcda; }
.mkeo-single-related__content h3 a:hover { color: var(--mkeo-green); }
.mkeo-single-related__content time { color: #717773; display: block; font-size: 10px; margin-bottom: 4px; }
.mkeo-single-related__content p { color: #939894; font-size: 14px !important; line-height: 1.4; margin: 0; }

.mkeo-single-page a.mkeo-single-related__more {
	align-items: center;
	background: var(--mkeo-green);
	border-radius: 3px;
	color: #06170e;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	justify-content: center;
	margin: 17px auto 0;
	min-height: 31px;
	padding: 7px 13px;
	width: fit-content;
}

.mkeo-single-page a.mkeo-single-related__more:hover {
	background: #f4fff9;
	color: #06170e;
}

.mkeo-single-related__more span { font-size: 18px; line-height: 0; }

@media (max-width: 720px) {
	.mkeo-single-page { padding: 14px 12px 20px; }
	.mkeo-single-related__list { gap: 18px; margin: 0 -5px; }
	.mkeo-single-related__item { display: block; }
	.mkeo-single-related__media { aspect-ratio: 2 / 1; height: auto; }
	.mkeo-single-related__media img { display: block; }
	.mkeo-single-related__content { padding: 6px 0 0; }
	.mkeo-single-page .mkeo-single-related__content h3 { color: #f3f3f3; display: block; font-size: 16px; line-height: 1.45; margin: 0 0 3px; overflow: visible; }
	.mkeo-single-related__content h3 a { color: #f3f3f3; }
	.mkeo-single-related__content time { color: #777d79; font-size: 11px; margin-bottom: 3px; }
	.mkeo-single-related__content p { color: #a5aaa7; display: -webkit-box; font-size: 12px !important; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
}
