/* Imported feature articles retain their content within a scoped layout. */
.mk-feature-article {
	min-width: 0;
	overflow-wrap: anywhere;
	line-height: 1.95;
}

.mk-feature-article > :first-child { margin-top: 0; }
.mk-feature-article h2 {
	margin: 2.25em 0 1em;
	padding-bottom: .65em;
	border-bottom: 2px solid var(--color-green);
	color: var(--color-green);
	font-size: clamp(23px, 2.7vw, 32px);
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.6;
}
.mk-feature-article h3 {
	margin: 1.8em 0 .7em;
	color: var(--color-green);
	font-size: clamp(20px, 2.2vw, 25px);
	font-weight: 600;
	line-height: 1.65;
}
.mk-feature-article h4,
.mk-feature-article h5,
.mk-feature-article h6 {
	margin: 1.6em 0 .65em;
	color: var(--color-green-dark);
	font-size: clamp(18px, 1.8vw, 21px);
	line-height: 1.7;
}
.mk-feature-article p { margin: 0 0 1.25em; }
.mk-feature-article ul,
.mk-feature-article ol { padding-left: 1.6em; }
.mk-feature-article li + li { margin-top: .35em; }
.mk-feature-article a:not(.button) {
	color: var(--color-green-dark);
	text-decoration: underline;
	text-underline-offset: .18em;
}
.mk-feature-article a:focus-visible {
	outline: 3px solid var(--color-green);
	outline-offset: 5px;
}
.mk-feature-article img {
	display: block;
	max-width: 100%;
	height: auto;
}
.mk-feature-article figure {
	max-width: 100%;
	margin: 0 0 1.5em;
}
.mk-feature-article figcaption {
	margin-top: .5em;
	font-size: .9em;
	line-height: 1.7;
}
.mk-feature-article .mk-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: clamp(18px, 3vw, 32px);
	margin: 1.5em 0 2.25em;
}
.mk-feature-article .mk-feature-column { min-width: 0; }
.mk-feature-article .mk-feature-column > :first-child { margin-top: 0; }
.mk-feature-article .mk-feature-table {
	max-width: 100%;
	margin: 1.5em 0 2em;
	overflow-x: auto;
	overscroll-behavior-x: contain;
}
.mk-feature-article table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
	font-size: .94em;
	line-height: 1.8;
	text-align: left;
}
.mk-feature-article .mk-feature-table table { margin-bottom: 0; }
.mk-feature-article th,
.mk-feature-article td {
	padding: .8em 1em;
	border: 1px solid var(--color-line);
	vertical-align: top;
}
.mk-feature-article th {
	background: var(--color-beige);
	color: var(--color-green-dark);
	font-weight: 600;
}
.mk-feature-article iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}
.mk-feature-article iframe:not([src*="google.com/maps"]) {
	height: auto;
	aspect-ratio: 16 / 9;
}
.single-entry__feature-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: clamp(36px, 5vw, 64px);
}
.single-entry__feature-links .button { min-width: 0; max-width: 100%; }

@media (max-width: 600px) {
	.mk-feature-article { font-size: 16px; }
	/* Legacy plan tables mix an image and prose; stack those layout cells only. */
	.mk-plan-article table:has(> tbody > tr > td:first-child img),
	.mk-plan-article table:has(> tbody > tr > td:first-child img) > tbody,
	.mk-plan-article table:has(> tbody > tr > td:first-child img) > tbody > tr {
		display: block;
		width: 100%;
	}
	.mk-plan-article table:has(> tbody > tr > td:first-child img) > tbody > tr > td,
	.mk-plan-article table:has(> tbody > tr > td:first-child img) > tbody > tr > th {
		display: block;
		width: auto;
		min-width: 0;
	}
	.mk-feature-article .mk-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.mk-feature-article th,
	.mk-feature-article td { padding: .65em .7em; }
	.single-entry__feature-links { flex-direction: column; align-items: center; }
}
