/**
 * Utility Pages Stylesheet
 * Types of Churches, Contact, MOU, 404
 *
 * @package flavor23
 */

/* ==============================
   Shared: Interior Hero (Light)
   ============================== */

.interior-hero {
	background: #F7F8FA;
	padding: 6rem 1.5rem 5rem;
	text-align: center;
}

.interior-hero__content {
	position: relative;
}

.interior-hero .section__eyebrow,
.interior-hero__title,
.interior-hero__subtitle {
	opacity: 0;
	animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.interior-hero .section__eyebrow { animation-delay: 0.15s; }
.interior-hero__title            { animation-delay: 0.35s; }
.interior-hero__subtitle         { animation-delay: 0.55s; }

.interior-hero__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin-bottom: 1.25rem;
}

.interior-hero__subtitle {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	max-width: 600px;
	margin: 0 auto;
}

/* When the interior hero is layered over a dark background image overlay,
   flip the title and subtitle to light treatments so they remain readable. */
.interior-hero.has-bg-image .interior-hero__title {
	color: #fff;
}

.interior-hero.has-bg-image .interior-hero__subtitle {
	color: rgba(255, 255, 255, 0.78);
}

/* ==============================
   Shared: Editor Content Wrapper
   ============================== */

.editor-content {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.editor-content h2 {
	font-size: 1.75rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.editor-content h3 {
	font-size: 1.375rem;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.editor-content h4 {
	font-size: 1.125rem;
	margin-top: 1.75rem;
	margin-bottom: 0.5rem;
}

.editor-content p {
	margin-bottom: 1.25rem;
	color: var(--wp--preset--color--body-text, #1A1A2E);
}

.editor-content ul,
.editor-content ol {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.editor-content li {
	margin-bottom: 0.5rem;
	line-height: 1.7;
}

.editor-content blockquote {
	border-left: 4px solid var(--wp--preset--color--accent, #DD9F33);
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	font-style: italic;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	background: #F7F8FA;
	border-radius: 0 4px 4px 0;
}

.editor-content hr {
	border: none;
	height: 1px;
	background: rgba(93, 121, 146, 0.15);
	margin: 2.5rem 0;
}

/* ==============================
   Shared: Simple Footer CTA
   ============================== */

.simple-cta {
	text-align: center;
	padding: 3.5rem 0 1rem;
	border-top: 1px solid rgba(93, 121, 146, 0.15);
	margin-top: 3rem;
}

.simple-cta__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin-bottom: 1.5rem;
}

.simple-cta__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ==============================
   Types of Churches
   ============================== */

.toc-intro {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2rem;
}

.toc-body {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin-bottom: 1.5rem;
}

.toc-qualities {
	max-width: 720px;
	margin: 0 auto;
}

.toc-quality {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem;
	background: #F7F8FA;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.toc-quality__marker {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(93, 121, 146, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--wp--preset--color--primary, #5D7992);
}

.toc-quality__text h3 {
	font-size: 1rem;
	margin-bottom: 0.25rem;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
}

.toc-quality__text p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--wp--preset--color--secondary-text, #6B7280);
}

/* ==============================
   Contact Page
   ============================== */

.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 4rem;
	align-items: start;
}

.contact-info__message {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin-bottom: 2rem;
}

.contact-info__item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.contact-info__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F7F8FA;
	border-radius: 8px;
	color: var(--wp--preset--color--primary, #5D7992);
}

.contact-info__detail h3 {
	font-family: 'Inter', sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin-bottom: 0.25rem;
}

.contact-info__detail p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}

.contact-info__detail a {
	color: var(--wp--preset--color--primary, #5D7992);
}

.contact-info__detail a:hover {
	color: var(--wp--preset--color--primary-mid, #4A5F72);
}

.contact-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.contact-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #F7F8FA;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-social__link:hover {
	background: var(--wp--preset--color--primary-dark, #2A2F42);
	color: #fff;
}

.contact-form {
	background: #F7F8FA;
	border-radius: 8px;
	padding: 2.5rem;
}

.contact-form h2 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

/* ==============================
   MOU Pages
   ============================== */

.mou-doc {
	background: #fff;
	border: 1px solid rgba(93, 121, 146, 0.15);
	border-radius: 8px;
	padding: 3rem 2.5rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.mou-doc .editor-content h2:first-child {
	margin-top: 0;
}

.mou-track-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.35rem 1rem;
	border-radius: 20px;
	margin-bottom: 1.5rem;
}

.mou-track-badge--church-plant {
	background: rgba(47, 173, 193, 0.12);
	color: var(--wp--preset--color--church-plant, #2FADC1);
}

.mou-track-badge--sabbatical {
	background: rgba(126, 114, 175, 0.12);
	color: var(--wp--preset--color--sabbatical, #7E72AF);
}

/* ==============================
   Enhanced 404 Page
   ============================== */

.error-page {
	text-align: center;
	padding: 5rem 0 3rem;
}

.error-page__number {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: clamp(6rem, 15vw, 10rem);
	font-weight: 700;
	color: var(--wp--preset--color--accent, #DD9F33);
	line-height: 1;
	margin: 0 0 1rem;
	opacity: 0.85;
}

.error-page__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin-bottom: 1rem;
}

.error-page__message {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	max-width: 480px;
	margin: 0 auto 2.5rem;
}

.error-page__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-bottom: 3rem;
}

.error-page__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.25rem;
	background: #F7F8FA;
	border-radius: 6px;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	font-weight: 500;
	font-size: 0.9375rem;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.error-page__link:hover {
	background: rgba(93, 121, 146, 0.15);
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	transform: translateY(-1px);
}

.error-page__link svg {
	flex-shrink: 0;
	opacity: 0.6;
}

.error-page__divider {
	width: 48px;
	height: 3px;
	background: var(--wp--preset--color--accent, #DD9F33);
	border-radius: 2px;
	margin: 0 auto 2rem;
}

.error-page__search-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin-bottom: 0.75rem;
}

.error-page .search-form {
	max-width: 420px;
	margin: 0 auto;
}

/* ==============================
   Search Results
   Hero shares the .interior-hero pattern; the body below is a list of
   clickable cards. Excerpts are pre-cleaned in search.php so legacy
   page-builder shortcodes never reach this template.

   NOTE: WordPress adds a `.search-results` class to <body> on these pages,
   so the section class is intentionally `.search-results-section` to avoid
   accidentally padding the entire body.
   ============================== */

.search-results-section {
	padding-top: 4rem;
	padding-bottom: 5rem;
}

.search-results__list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 760px;
	display: grid;
	gap: 1rem;
}

.search-result {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(42, 47, 66, 0.05);
	transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
	            box-shadow 0.2s ease;
}

.search-result:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(42, 47, 66, 0.09);
}

.search-result__link {
	display: block;
	padding: 1.75rem 1.875rem;
	color: inherit;
	text-decoration: none;
}

.search-result__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.625rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.search-result__type {
	color: var(--wp--preset--color--accent, #DD9F33);
}

.search-result__date {
	color: var(--wp--preset--color--secondary-text, #6B7280);
	letter-spacing: 0.04em;
	text-transform: none;
	font-weight: 500;
}

.search-result__date::before {
	content: "·";
	margin-right: 0.75rem;
	color: rgba(42, 47, 66, 0.25);
}

.search-result__type:only-child + .search-result__date::before,
.search-result__meta > :first-child.search-result__date::before {
	content: "";
	margin: 0;
}

.search-result__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0 0 0.625rem;
	letter-spacing: -0.005em;
	transition: color 0.2s ease;
}

.search-result__link:hover .search-result__title,
.search-result__link:focus-visible .search-result__title {
	color: var(--wp--preset--color--primary, #5D7992);
}

.search-result__excerpt {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin: 0 0 1rem;
}

.search-result__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary, #5D7992);
	transition: color 0.2s ease, transform 0.2s ease;
}

.search-result__link:hover .search-result__cta,
.search-result__link:focus-visible .search-result__cta {
	color: var(--wp--preset--color--accent, #DD9F33);
}

.search-result__link:hover .search-result__cta svg,
.search-result__link:focus-visible .search-result__cta svg {
	transform: translateX(3px);
}

.search-result__cta svg {
	transition: transform 0.2s ease;
}

/* Pagination */
.search-results__pagination {
	margin: 3rem auto 0;
	max-width: 760px;
}

.search-results__pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.search-results__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.875rem;
	border-radius: 999px;
	background: #fff;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	font-family: 'Inter', sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(42, 47, 66, 0.08);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.search-results__pagination .page-numbers:hover,
.search-results__pagination .page-numbers:focus-visible {
	background: var(--wp--preset--color--primary, #5D7992);
	color: #fff;
	transform: translateY(-1px);
}

.search-results__pagination .page-numbers.current {
	background: var(--wp--preset--color--primary-dark, #2A2F42);
	color: #fff;
}

.search-results__pagination .page-numbers.dots {
	background: transparent;
	box-shadow: none;
	color: var(--wp--preset--color--secondary-text, #6B7280);
}

.search-results__pagination .page-numbers.dots:hover {
	background: transparent;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	transform: none;
}

/* Empty / no-results state */
.search-empty {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
	background: #fff;
	border-radius: 20px;
	padding: 3rem 2.5rem;
	box-shadow: 0 2px 16px rgba(42, 47, 66, 0.05);
}

.search-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(221, 159, 51, 0.12);
	color: var(--wp--preset--color--accent, #DD9F33);
	margin: 0 auto 1.25rem;
}

.search-empty__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0 0 0.625rem;
	letter-spacing: -0.005em;
}

.search-empty__body {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin: 0 0 1rem;
}

.search-empty__form .search-form {
	margin: 0 auto;
}

.search-empty__divider {
	width: 48px;
	height: 3px;
	background: var(--wp--preset--color--accent, #DD9F33);
	border-radius: 2px;
	margin: 2rem auto 1.25rem;
}

.search-empty__suggest-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin: 0 0 1rem;
}

.search-empty .error-page__links {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.search-results-section {
		padding-top: 3rem;
		padding-bottom: 4rem;
	}

	.search-result__link {
		padding: 1.5rem 1.375rem;
	}

	.search-result__title {
		font-size: 1.1875rem;
	}

	.search-empty {
		padding: 2.25rem 1.5rem;
	}
}

/* ==============================
   Responsive — Tablet
   ============================== */

@media (max-width: 768px) {
	.interior-hero {
		padding: 5rem 1.5rem 4rem;
	}

	.contact-layout {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.contact-form {
		padding: 2rem 1.5rem;
	}

	.mou-doc {
		padding: 2rem 1.5rem;
	}

	.error-page__links {
		gap: 0.5rem;
	}

	.error-page__link {
		font-size: 0.875rem;
		padding: 0.5rem 1rem;
	}
}

/* ==============================
   Responsive — Mobile
   ============================== */

@media (max-width: 480px) {
	.interior-hero {
		padding: 4rem 1.25rem 3rem;
	}

	.interior-hero__title {
		font-size: 1.75rem;
	}

	.mou-doc {
		padding: 1.5rem 1.25rem;
		border-radius: 6px;
	}

	.contact-form {
		padding: 1.5rem 1.25rem;
	}

	.simple-cta__actions {
		flex-direction: column;
		align-items: center;
	}

	.error-page {
		padding: 3rem 0 2rem;
	}

	.error-page__link {
		width: 100%;
		justify-content: center;
	}
}

/* ==============================
   Reduced Motion
   ============================== */

@media (prefers-reduced-motion: reduce) {
	.interior-hero .section__eyebrow,
	.interior-hero__title,
	.interior-hero__subtitle {
		opacity: 1;
		transform: none;
		animation: none !important;
	}
}

/* ==============================
   MOU — Church Planters Page
   Teal-accented informational layout: our promise + your part.
   ============================== */

/* ==============================
   Legal Pages (Privacy Policy, future legal docs)
   ============================== */

.legal-hero,
.legal-hero .cp-hero__content {
	text-align: center;
}

.legal-hero .cp-hero__content {
	margin: 0 auto;
}

.legal-hero .cp-hero__title {
	text-align: center;
}

.legal-hero .cp-hero__subtitle {
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
}

.legal-doc-section {
	padding-top: 4rem;
	padding-bottom: 5rem;
}

.legal-doc {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--wp--preset--color--body-text, #1A1A2E);
}

.legal-doc__meta {
	display: inline-block;
	font-size: 0.875rem;
	font-family: 'Inter', sans-serif;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	background: #F5F1EC;
	border-radius: 999px;
	padding: 0.4rem 1rem;
	margin: 0 0 2rem;
}

.legal-doc__meta strong {
	color: var(--wp--preset--color--primary-dark, #2A2F42);
}

.legal-doc__intro {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--wp--preset--color--body-text, #1A1A2E);
	margin: 0 0 1.25rem;
}

.legal-doc h2 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 3rem 0 1rem;
	letter-spacing: -0.005em;
	scroll-margin-top: 5rem;
}

.legal-doc h3 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 1.75rem 0 0.625rem;
}

.legal-doc p {
	margin: 0 0 1.125rem;
	color: var(--wp--preset--color--body-text, #1A1A2E);
}

.legal-doc ul {
	margin: 0 0 1.5rem;
	padding-left: 1.25rem;
}

.legal-doc li {
	margin: 0 0 0.625rem;
	line-height: 1.7;
}

.legal-doc li::marker {
	color: var(--wp--preset--color--accent, #DD9F33);
}

.legal-doc a {
	color: var(--wp--preset--color--primary, #5D7992);
	text-decoration: none;
	border-bottom: 1px solid rgba(93, 121, 146, 0.4);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-doc a:hover {
	color: var(--wp--preset--color--primary-mid, #4A5F72);
	border-bottom-color: var(--wp--preset--color--primary-mid, #4A5F72);
}

.legal-doc__address {
	font-style: normal;
	background: #F5F1EC;
	border-left: 4px solid var(--wp--preset--color--accent, #DD9F33);
	padding: 1.25rem 1.5rem;
	border-radius: 0 8px 8px 0;
	line-height: 1.7;
	margin: 1rem 0 0;
}

@media (max-width: 768px) {
	.legal-doc-section {
		padding-top: 3rem;
		padding-bottom: 3.5rem;
	}

	.legal-doc {
		font-size: 0.9375rem;
	}

	.legal-doc h2 {
		font-size: 1.3125rem;
		margin-top: 2.5rem;
	}

	.legal-doc h3 {
		font-size: 1.0625rem;
	}
}

/* Force the hero block to center and enough vertical rhythm. */
.mou-planters-hero,
.mou-planters-hero .cp-hero__content,
.mou-sabbaticals-hero,
.mou-sabbaticals-hero .sab-hero__content {
	text-align: center;
}

.mou-planters-hero .cp-hero__content,
.mou-sabbaticals-hero .sab-hero__content {
	margin: 0 auto;
}

.mou-planters-hero .cp-hero__title,
.mou-sabbaticals-hero .sab-hero__title {
	text-align: center;
}

.mou-planters-hero .cp-hero__subtitle,
.mou-sabbaticals-hero .sab-hero__subtitle {
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
}

/* Track badge on the dark hero — slightly brighter teal text + tinted fill. */
.mou-track-badge--on-dark {
	background: rgba(47, 173, 193, 0.18);
	color: #7FD2DE;
	margin-bottom: 1.5rem;
	opacity: 0;
	animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

/* ---- Page-wide teal accent overrides ----
   WordPress exposes body.page-mou-planters for this page. Use it to
   replace the default amber eyebrow + amber title underline with the
   church-plant teal across every section. */
body.page-mou-planters .section__eyebrow {
	color: var(--wp--preset--color--church-plant, #2FADC1) !important;
}

body.page-mou-planters .section__title::after {
	background: var(--wp--preset--color--church-plant, #2FADC1) !important;
}

/* Sabbatical MOU — same pattern, purple. */
body.page-mou-sabbaticals .section__eyebrow {
	color: var(--wp--preset--color--sabbatical, #7E72AF) !important;
}

body.page-mou-sabbaticals .section__title::after {
	background: var(--wp--preset--color--sabbatical, #7E72AF) !important;
}

/* Track badge on the dark hero — purple variant. */
.mou-track-badge--sabbatical.mou-track-badge--on-dark {
	background: rgba(126, 114, 175, 0.22);
	color: #C8BEEC;
}

/* Sabbatical MOU hero — match the church-plant MOU's vertical rhythm.
   custom.css applies padding-top:140px / padding-bottom:100px with
   !important to every interior hero. The sabbatical MOU hero needs a
   bit more top/bottom breathing room to read like the church-plant
   MOU; the badge-to-title gap stays on the base 1.5rem rule so the
   internal rhythm matches. Scoped tightly so it can't leak into
   /sabbaticals/ or any other sab-hero usage. */
.mou-sabbaticals-hero {
	padding-top: 140px !important;
	padding-bottom: 100px !important;
}

/* Sabbatical MOU body accents — flip the church-plant teal accents
   that bleed in from the shared MOU rules. Covers: the icon tile in
   "Our Promise to You" cards, the Roman-numeral group numbers, the
   per-card eyebrow labels (Stewardship / Formation & Care / etc.),
   the checkmark bullets in each list, and inline link color. Scoped
   to body.page-mou-sabbaticals so the church-plant MOU is untouched. */
body.page-mou-sabbaticals .mou-promise__icon {
	background: rgba(126, 114, 175, 0.12);
	color: var(--wp--preset--color--sabbatical, #7E72AF);
}

body.page-mou-sabbaticals .mou-group__num,
body.page-mou-sabbaticals .mou-group__label {
	color: var(--wp--preset--color--sabbatical, #7E72AF);
}

body.page-mou-sabbaticals .mou-list li::before {
	background-color: rgba(126, 114, 175, 0.14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237E72AF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

body.page-mou-sabbaticals .mou-list a {
	color: var(--wp--preset--color--sabbatical, #7E72AF);
}

body.page-mou-sabbaticals .mou-list a:hover {
	color: #6A5F96;
}

/* Reflect / "Before You Apply" CTA card — kicker text and the small
   accent stripe at the top of the dark card both use hardcoded teal in
   the base rules; flip both to the on-dark purple. */
body.page-mou-sabbaticals .mou-reflect__card::before {
	background: linear-gradient(90deg, #7E72AF 0%, #C8BEEC 100%);
}

body.page-mou-sabbaticals .mou-reflect__kicker {
	color: #C8BEEC;
}

/* ---- Intro block ---- */
.mou-intro {
	padding-top: 4.5rem;
	padding-bottom: 3.5rem;
}

.mou-intro__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.mou-intro__lead {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--wp--preset--color--body-text, #1A1A2E);
	margin: 0 0 1.25rem;
}

.mou-intro__lead:last-child {
	margin-bottom: 0;
}

/* ---- Shared section header ---- */
.mou-section-header {
	text-align: center;
	margin: 0 auto 3rem;
}

.mou-section-header--compact {
	margin-bottom: 2rem;
}

/* ---- Our Promise — compact 3-up list, light rhythm, no heavy cards ---- */
.mou-promise-section {
	background: #F7FAFB;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}

.mou-promise {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	width: 100%;
}

.mou-promise__item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	padding: 0;
	margin: 0;
}

.mou-promise__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(47, 173, 193, 0.12);
	color: var(--wp--preset--color--church-plant, #2FADC1);
	margin-top: 0.125rem;
}

.mou-promise__body {
	min-width: 0;
}

.mou-promise__body h3 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0 0 0.25rem;
	letter-spacing: -0.005em;
}

.mou-promise__body p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--wp--preset--color--secondary-text, #6B7280);
}

@media (max-width: 820px) {
	.mou-promise {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		max-width: 520px;
		margin: 0 auto;
	}
}

/* ---- Our Promise — 3-card grid ---- */
.mou-commitment {
	background: #F7FAFB;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.mou-commitment .section__title::after {
	background: var(--wp--preset--color--church-plant, #2FADC1);
}

.mou-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
}

.mou-card {
	position: relative;
	background: #fff;
	border: 1px solid rgba(47, 173, 193, 0.12);
	border-radius: 16px;
	padding: 2.5rem 2rem 2rem;
	box-shadow: 0 1px 2px rgba(30, 45, 61, 0.04), 0 12px 28px -22px rgba(30, 45, 61, 0.18);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	overflow: hidden;
}

.mou-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 2rem;
	width: 48px;
	height: 3px;
	background: var(--wp--preset--color--church-plant, #2FADC1);
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

.mou-card:hover {
	transform: translateY(-2px);
	border-color: rgba(47, 173, 193, 0.25);
	box-shadow: 0 1px 2px rgba(30, 45, 61, 0.04), 0 20px 36px -20px rgba(47, 173, 193, 0.35);
}

.mou-card__num {
	display: block;
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: var(--wp--preset--color--church-plant, #2FADC1);
	margin: 0 0 1rem;
}

.mou-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(47, 173, 193, 0.1);
	color: var(--wp--preset--color--church-plant, #2FADC1);
	margin-bottom: 1.25rem;
}

.mou-card__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
}

.mou-card__body {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin: 0;
}

/* ---- Your Part — grouped checklists ---- */
.mou-expectations {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.mou-expectations .section__title::after {
	background: var(--wp--preset--color--church-plant, #2FADC1);
}

.mou-groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	max-width: 1040px;
	margin: 0 auto;
}

.mou-group {
	background: #fff;
	border: 1px solid rgba(47, 173, 193, 0.14);
	border-radius: 16px;
	padding: 2.25rem 2rem 2rem;
	box-shadow: 0 1px 2px rgba(30, 45, 61, 0.03);
}

.mou-group__head {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding-bottom: 1.25rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid rgba(47, 173, 193, 0.15);
}

.mou-group__num {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--church-plant, #2FADC1);
	min-width: 2.25rem;
}

.mou-group__label {
	font-family: 'Inter', sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--church-plant, #2FADC1);
	margin: 0 0 0.25rem;
}

.mou-group__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0;
	letter-spacing: -0.005em;
}

.mou-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mou-list li {
	position: relative;
	padding: 0 0 1rem 2rem;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--wp--preset--color--body-text, #1A1A2E);
}

.mou-list li:last-child {
	padding-bottom: 0;
}

.mou-list li::before {
	content: "";
	position: absolute;
	top: 0.4rem;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(47, 173, 193, 0.14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232FADC1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
}

.mou-list a {
	color: var(--wp--preset--color--church-plant, #2FADC1);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: color 0.15s ease;
}

.mou-list a:hover {
	color: #1E8B9C;
}

/* ---- Self-reflection / CTA card ---- */
.mou-reflect {
	padding-top: 4rem;
	padding-bottom: 5.5rem;
}

.mou-reflect__card {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	padding: 3.5rem 3rem;
	border-radius: 20px;
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(47, 173, 193, 0.22), transparent 55%),
		radial-gradient(120% 120% at 100% 100%, rgba(221, 159, 51, 0.08), transparent 50%),
		linear-gradient(155deg, #243349 0%, #18202F 100%);
	color: #fff;
	text-align: center;
	box-shadow:
		0 30px 60px -30px rgba(13, 18, 36, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.mou-reflect__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 64px;
	height: 3px;
	background: linear-gradient(90deg, #2FADC1 0%, #7FD2DE 100%);
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

.mou-reflect__kicker {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #7FD2DE;
	margin: 0 0 0.75rem;
}

.mou-reflect__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 1rem;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.mou-reflect__body {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	margin: 0 auto 2rem;
	max-width: 560px;
}

.mou-reflect__actions {
	display: flex;
	gap: 0.875rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.mou-cards {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.mou-groups {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.mou-reflect__card {
		padding: 2.75rem 1.75rem;
	}
}

@media (max-width: 640px) {
	body.page-mou-planters .site-main .container-wide,
	body.page-mou-sabbaticals .site-main .container-wide {
		padding-left: 0;
		padding-right: 0;
	}

	.mou-commitment,
	.mou-expectations {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.mou-card {
		padding: 2.25rem 1.5rem 1.75rem;
	}

	.mou-card::before {
		left: 1.5rem;
	}

	.mou-group {
		padding: 2rem 1.5rem 1.5rem;
	}

	.mou-reflect__actions .btn {
		width: 100%;
		max-width: 320px;
	}
}

/* ==================================================================
   Types of Churches — shared by Church Planting + Sabbatical tracks
   Uses the home palette (navy + amber) and only lights up track colors
   on the dual-track cards near the bottom.
   ================================================================== */

/* ---- Hero ---- */
.toc-hero,
.toc-hero .cp-hero__content {
	text-align: center;
}

.toc-hero .cp-hero__content {
	margin: 0 auto;
}

.toc-hero .cp-hero__title,
.toc-hero .cp-hero__subtitle {
	text-align: center;
}

.toc-hero .cp-hero__subtitle {
	max-width: 660px;
	margin: 0 auto;
}

.toc-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 0.4rem 1rem;
	border-radius: 20px;
	background: rgba(221, 159, 51, 0.16);
	color: #F2C077;
	margin-bottom: 1.5rem;
	opacity: 0;
	animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

/* ---- Intro ---- */
body.page-types-of-churches .mou-intro__inner {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

/* ---- Core Convictions ---- */
.toc-convictions {
	background: #F6F3EE;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.toc-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
	align-items: stretch;
}

.toc-group {
	position: relative;
	background: #fff;
	border: 1px solid rgba(42, 47, 66, 0.08);
	border-radius: 16px;
	padding: 2.25rem 2rem 2rem;
	box-shadow: 0 1px 2px rgba(30, 45, 61, 0.03), 0 14px 32px -26px rgba(30, 45, 61, 0.2);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
}

.toc-group::before {
	content: "";
	position: absolute;
	top: 0;
	left: 2rem;
	width: 48px;
	height: 3px;
	background: var(--wp--preset--color--accent, #DD9F33);
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

.toc-group:hover {
	transform: translateY(-2px);
	border-color: rgba(221, 159, 51, 0.28);
	box-shadow: 0 1px 2px rgba(30, 45, 61, 0.04), 0 20px 36px -20px rgba(221, 159, 51, 0.3);
}

.toc-group--wide {
	grid-column: 1 / -1;
}

.toc-group__head {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding-bottom: 1.25rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid rgba(42, 47, 66, 0.08);
}

.toc-group__num {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--accent, #DD9F33);
	min-width: 2.25rem;
}

.toc-group__titles {
	min-width: 0;
	flex: 1;
}

.toc-group__label {
	font-family: 'Inter', sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent, #DD9F33);
	margin: 0 0 0.25rem;
}

.toc-group__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0;
	letter-spacing: -0.005em;
}

.toc-group__body {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--wp--preset--color--body-text, #1A1A2E);
	margin: 0 0 1rem;
}

.toc-group__body:last-child {
	margin-bottom: 0;
}

.toc-group__ref {
	font-family: 'Source Serif 4', Georgia, serif;
	font-style: italic;
	font-size: 0.875rem;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin: auto 0 0;
	padding-top: 0.75rem;
}

.toc-group__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 0.5rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--accent, #DD9F33);
	text-decoration: none;
	transition: color 0.15s ease, gap 0.15s ease;
}

.toc-group__link:hover {
	color: #B57822;
	gap: 0.6rem;
	text-decoration: none;
}

/* Tier list inside conviction IV */
.toc-tiers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.toc-tier {
	padding: 0;
	background: transparent;
	border: 0;
}

.toc-tier__label {
	font-family: 'Inter', sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--wp--preset--color--accent, #DD9F33);
	margin: 0 0 0.5rem;
}

.toc-tier__body {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--wp--preset--color--body-text, #1A1A2E);
	margin: 0 0 1rem;
}

.toc-tier__ref {
	font-family: 'Source Serif 4', Georgia, serif;
	font-style: italic;
	font-size: 0.875rem;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin: 0;
}

/* Pillars inside conviction V */
.toc-pillars {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.toc-pillar {
	padding: 0;
	background: transparent;
	border: 0;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.toc-pillar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(221, 159, 51, 0.14);
	color: var(--wp--preset--color--accent, #DD9F33);
	margin-bottom: 0.875rem;
}

.toc-pillar__title {
	font-family: 'Inter', sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--wp--preset--color--accent, #DD9F33);
	margin: 0 0 0.5rem;
}

.toc-pillar__body {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--wp--preset--color--body-text, #1A1A2E);
	margin: 0 0 1rem;
	flex: 1;
}

.toc-pillar__ref {
	font-family: 'Source Serif 4', Georgia, serif;
	font-style: italic;
	font-size: 0.875rem;
	color: var(--wp--preset--color--secondary-text, #6B7280);
}

/* ---- Partnership Traits (checklist) ---- */
.toc-qualities-section {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.toc-traits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.875rem;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.toc-trait {
	display: flex;
	align-items: flex-start;
	gap: 1.125rem;
	padding: 1.5rem 1.75rem;
	background: #FAF7F2;
	border-radius: 14px;
	border: 1px solid rgba(221, 159, 51, 0.14);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.toc-trait:hover {
	transform: translateX(2px);
	border-color: rgba(221, 159, 51, 0.35);
	box-shadow: 0 10px 24px -20px rgba(221, 159, 51, 0.55);
}

.toc-trait__mark {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent, #DD9F33);
	color: #fff;
	margin-top: 0.125rem;
}

.toc-trait__body h3 {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0 0 0.375rem;
}

.toc-trait__body p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wp--preset--color--secondary-text, #6B7280);
}

/* ---- Track-specific criteria (dual color cards) ---- */
.toc-tracks-section {
	background: #F6F3EE;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.toc-tracks-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem;
	max-width: 1040px;
	margin: 0 auto;
}

.toc-track {
	position: relative;
	background: #fff;
	border-radius: 18px;
	padding: 2.5rem 2rem 2.25rem;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(30, 45, 61, 0.04), 0 18px 40px -28px rgba(30, 45, 61, 0.3);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.toc-track:hover {
	transform: translateY(-3px);
}

.toc-track::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
}

.toc-track--planting::before {
	background: linear-gradient(90deg, var(--wp--preset--color--church-plant, #2FADC1) 0%, #7FD2DE 100%);
}

.toc-track--sabbatical::before {
	background: linear-gradient(90deg, var(--wp--preset--color--sabbatical, #7E72AF) 0%, #B4A9D5 100%);
}

.toc-track .mou-track-badge {
	margin-bottom: 1.25rem;
}

.toc-track__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
}

.toc-track__body {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--wp--preset--color--body-text, #1A1A2E);
	margin: 0 0 1.5rem;
}

.toc-track__meta {
	padding: 1rem 1.25rem;
	border-radius: 10px;
	background: #F6F3EE;
	font-size: 0.875rem;
	line-height: 1.6;
}

.toc-track--planting .toc-track__meta {
	background: rgba(47, 173, 193, 0.08);
}

.toc-track--sabbatical .toc-track__meta {
	background: rgba(126, 114, 175, 0.08);
}

.toc-track__meta-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	display: block;
	margin-bottom: 0.25rem;
}

.toc-track--planting .toc-track__meta-label {
	color: var(--wp--preset--color--church-plant, #2FADC1);
}

.toc-track--sabbatical .toc-track__meta-label {
	color: var(--wp--preset--color--sabbatical, #7E72AF);
}

.toc-track__meta-body {
	color: var(--wp--preset--color--body-text, #1A1A2E);
}

/* ---- Reflect / CTA card (navy gradient w/ amber hairline) ---- */
.toc-reflect {
	padding-top: 4.5rem;
	padding-bottom: 5.5rem;
}

.toc-reflect__card {
	position: relative;
	max-width: 780px;
	margin: 0 auto;
	padding: 3.5rem 3rem;
	border-radius: 20px;
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(221, 159, 51, 0.18), transparent 55%),
		radial-gradient(120% 120% at 100% 100%, rgba(93, 121, 146, 0.18), transparent 50%),
		linear-gradient(155deg, #243349 0%, #18202F 100%);
	color: #fff;
	text-align: center;
	box-shadow:
		0 30px 60px -30px rgba(13, 18, 36, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.toc-reflect__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 64px;
	height: 3px;
	background: linear-gradient(90deg, var(--wp--preset--color--accent, #DD9F33) 0%, #F2C077 100%);
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

.toc-reflect__card .mou-reflect__kicker {
	color: #F2C077;
}

.toc-reflect__card .mou-reflect__title {
	color: #fff;
	margin: 0 0 1rem;
}

.toc-reflect__card .mou-reflect__body {
	color: rgba(255, 255, 255, 0.8);
}

/* ---- MOU links (track-colored) ---- */
.toc-mou-section {
	padding-top: 5rem;
	padding-bottom: 5.5rem;
}

.toc-mou-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem;
	max-width: 1040px;
	margin: 0 auto;
}

.toc-mou-card {
	position: relative;
	background: #fff;
	border-radius: 18px;
	padding: 2.5rem 2rem;
	text-align: center;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(30, 45, 61, 0.04), 0 16px 36px -28px rgba(30, 45, 61, 0.3);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.toc-mou-card:hover {
	transform: translateY(-3px);
}

.toc-mou-card--planting {
	border: 1px solid rgba(47, 173, 193, 0.18);
}

.toc-mou-card--sabbatical {
	border: 1px solid rgba(126, 114, 175, 0.18);
}

.toc-mou-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	margin-bottom: 1.25rem;
}

.toc-mou-card--planting .toc-mou-card__icon {
	background: rgba(47, 173, 193, 0.1);
	color: var(--wp--preset--color--church-plant, #2FADC1);
}

.toc-mou-card--sabbatical .toc-mou-card__icon {
	background: rgba(126, 114, 175, 0.1);
	color: var(--wp--preset--color--sabbatical, #7E72AF);
}

.toc-mou-card__track {
	font-family: 'Inter', sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 0.375rem;
}

.toc-mou-card--planting .toc-mou-card__track {
	color: var(--wp--preset--color--church-plant, #2FADC1);
}

.toc-mou-card--sabbatical .toc-mou-card__track {
	color: var(--wp--preset--color--sabbatical, #7E72AF);
}

.toc-mou-card__title {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--wp--preset--color--primary-dark, #2A2F42);
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
}

.toc-mou-card__body {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wp--preset--color--secondary-text, #6B7280);
	margin: 0 0 1.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
	.toc-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.toc-pillars {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.toc-tiers {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.toc-convictions,
	.toc-qualities-section,
	.toc-tracks-section,
	.toc-mou-section {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.toc-groups {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.toc-tracks-grid,
	.toc-mou-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.toc-pillars {
		grid-template-columns: 1fr;
	}

	.toc-group {
		padding: 2rem 1.5rem 1.75rem;
	}

	.toc-group::before {
		left: 1.5rem;
	}

	.toc-trait {
		padding: 1.25rem 1.25rem;
	}

	.toc-track {
		padding: 2.25rem 1.5rem 2rem;
	}

	.toc-reflect__card {
		padding: 2.75rem 1.5rem;
	}

	.toc-mou-card {
		padding: 2.25rem 1.5rem;
	}
}

@media (max-width: 640px) {
	body.page-types-of-churches .site-main .container-wide {
		padding-left: 0;
		padding-right: 0;
	}

	.mou-reflect__actions .btn,
	.toc-reflect__card .mou-reflect__actions .btn {
		width: 100%;
		max-width: 320px;
	}
}

