/*
Theme Name: Zeen Ministry
Description: Original editorial content styling for Ministry Guide, using the privately installed Zeen parent.
Template: zeen
Version: 1.0.0
Text Domain: zeen-ministry
*/

body.mg-owned-page {
	--mg-ink: #20251f;
	--mg-paper: #fcfaf4;
	--mg-accent: #e5ed88;
	--mg-rule: #c2c5b6;
	background: var(--mg-paper);
	color: var(--mg-ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mg-owned-page .font-1,
.mg-owned-page .font-2,
.mg-owned-page .font-3 {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mg-owned-page .mg-content {
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}
.mg-owned-page .mg-page-heading {
	border-top: 5px solid var(--mg-ink);
	padding: 2rem 0 1rem;
}
.mg-owned-page .mg-page-heading h1 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 5.5vw, 5.4rem);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1.04;
	max-width: 18ch;
	text-wrap: balance;
}
.mg-owned-page .mg-feature {
	background: var(--mg-accent);
	border: 1px solid var(--mg-ink);
	padding: clamp(1.25rem, 3vw, 2.75rem);
}
.mg-owned-page .mg-feature:nth-child(2) {
	background: #e6ebe4;
}
.mg-owned-page .mg-feature h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1.12;
	letter-spacing: -.025em;
}
.mg-owned-page .mg-category-grid h3 {
	border-top: 3px solid var(--mg-ink);
	padding-top: 1rem;
}
.mg-owned-page .mg-trust {
	border-top: 5px solid var(--mg-ink);
	margin-top: 4rem;
	padding-top: 1.5rem;
}
.mg-mobile-home-link {
	display: inline-flex;
	align-items: center;
	min-width: 7rem;
	min-height: 44px;
	padding: 0 .75rem;
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.2;
}
.mg-skip-link {
	position: fixed;
	left: 1rem;
	top: -10rem;
	z-index: 100000;
	padding: 1rem 1.5rem;
	color: #fff;
	background: #20251f;
}
.mg-skip-link:focus {
	top: 1rem;
}
.mg-mobile-guide-nav { display: none; }
.mg-owned-page :focus-visible,
.mg-skip-link:focus-visible {
	outline: 3px solid #265ec4;
	outline-offset: 4px;
}
#to-top-a {
	align-items: center;
	box-sizing: border-box;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: .75rem 1rem;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	overflow: visible;
	width: auto;
	height: auto;
}
#to-top-a span {
	display: inline-block;
	height: auto;
	line-height: 1.2;
	white-space: nowrap;
	width: auto;
	overflow: visible;
}
@media (max-width: 1023px) {
	.mg-mobile-guide-nav { display: block; margin-bottom: 1rem; }
	.mg-mobile-guide-nav summary { padding: .8rem; border: 1px solid #20251f; cursor: pointer; }
	.mg-mobile-guide-nav ul { list-style: none; margin: 0; padding: .5rem; }
	.mg-mobile-guide-nav a { display: block; padding: .7rem; text-decoration: underline; }
}
