/*
Theme Name: Faith Outbound
Theme URI: https://example.com/faith-outbound
Author: MichF
Author URI: https://iammichf.com
Description: A warm, travel-journal themed WordPress theme for missions and outreach sites, built to work with Elementor (free and Pro). Includes a boarding-pass hero, scripture banner, trip and story cards, a postcard newsletter block, and a one-click starter import that builds the home page with native Elementor containers and widgets.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faith-outbound
Tags: custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready, one-column, two-columns, accessibility-ready
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
	--fo-parchment: #EFECE4;
	--fo-ivory: #F8F6F0;
	--fo-green: #163B32;
	--fo-terracotta: #B84A27;
	--fo-gold: #C89B4B;
	--fo-ink: #1D221E;
	--fo-muted: #5C615C;
	--fo-border: #DCD7CA;
	--fo-border-dark: #B8B3A6;
	--fo-sand: #E4DFD3;

	--fo-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--fo-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
	--fo-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--fo-width: 1160px;
	--fo-gutter: 24px;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.fo-theme {
	margin: 0;
	background-color: var(--fo-parchment);
	color: var(--fo-ink);
	font-family: var(--fo-sans);
	font-size: 16px;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.fo-theme img { max-width: 100%; height: auto; }
.fo-theme a { color: inherit; }
.fo-theme :focus-visible { outline: 2px solid var(--fo-terracotta); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}
.fo-skip:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed; top: 8px; left: 8px; z-index: 100000;
	background: var(--fo-ink); color: var(--fo-ivory); padding: 10px 16px;
	font-family: var(--fo-mono); font-size: 12px; text-decoration: none;
}

/* ==========================================================================
   3. BUTTONS  (a.fo-btn = theme PHP markup, .fo-button = Elementor Button widget)
   ========================================================================== */
.fo-theme a.fo-btn,
.fo-theme .fo-button .elementor-button {
	display: inline-block;
	font-family: var(--fo-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: normal;
	padding: 12px 20px;
	border: 0;
	border-radius: 2px;
	box-shadow: none;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}

.fo-theme a.fo-btn--primary,
.fo-theme .fo-button--primary .elementor-button {
	background-color: var(--fo-green);
	color: var(--fo-ivory);
}
.fo-theme a.fo-btn--primary:hover,
.fo-theme .fo-button--primary .elementor-button:hover,
.fo-theme .fo-button--primary .elementor-button:focus {
	background-color: var(--fo-terracotta);
	color: var(--fo-ivory);
}

.fo-theme a.fo-btn--outline,
.fo-theme .fo-button--outline .elementor-button {
	background-color: transparent;
	border: 1px solid var(--fo-ink);
	padding: 14px 22px;
	color: var(--fo-ink);
}
.fo-theme a.fo-btn--outline:hover,
.fo-theme .fo-button--outline .elementor-button:hover,
.fo-theme .fo-button--outline .elementor-button:focus {
	background-color: transparent;
	border-color: var(--fo-terracotta);
	color: var(--fo-terracotta);
}

.fo-theme a.fo-btn--gold,
.fo-theme .fo-button--gold .elementor-button {
	background-color: var(--fo-gold);
	color: var(--fo-ink);
	font-weight: 700;
	padding: 10px 18px;
}
.fo-theme a.fo-btn--gold:hover,
.fo-theme .fo-button--gold .elementor-button:hover,
.fo-theme .fo-button--gold .elementor-button:focus {
	background-color: var(--fo-ivory);
	color: var(--fo-ink);
}

.fo-theme a.fo-btn--sm { padding: 12px 20px; }
.fo-theme .fo-hero-actions .fo-button--primary .elementor-button { padding: 15px 22px; }

.fo-theme .fo-button--block .elementor-button { display: block; width: 100%; }
.fo-theme .fo-button--block .elementor-button-content-wrapper { justify-content: center; }

/* ==========================================================================
   4. HEADER  (theme PHP; replaced automatically by an Elementor Pro header template)
   ========================================================================== */
/* The header is fixed to the top and shrinks once the page scrolls. .site-header itself is a
   same-height placeholder (its height is measured by theme.js), so the page does not jump. */
.fo-theme .site-header { height: var(--fo-header-h, 77px); }
.fo-theme .site-header__bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: var(--fo-parchment);
	transition: background-color .25s ease, box-shadow .25s ease;
}
body.admin-bar .site-header__bar { top: 32px; }

.fo-theme .site-header__inner {
	max-width: var(--fo-width);
	margin: 0 auto;
	padding: 18px var(--fo-gutter);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	border-bottom: 1px solid var(--fo-border);
	transition: padding .25s ease, border-color .25s ease;
}
.fo-theme .site-header .brand-name,
.fo-theme .site-header .brand-tagline,
.fo-theme .site-header .custom-logo,
.fo-theme .site-header .primary-nav ul,
.fo-theme .site-header a.site-header__cta { transition: font-size .25s ease, max-height .25s ease, gap .25s ease, padding .25s ease; }

/* Scrolled (compact) state */
.fo-theme .site-header.is-scrolled .site-header__bar {
	background-color: rgba(239, 236, 228, 0.94);
	box-shadow: 0 8px 24px rgba(29, 34, 30, 0.08);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.fo-theme .site-header.is-scrolled .site-header__bar {
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}
}
.fo-theme .site-header.is-scrolled .site-header__inner { padding-top: 8px; padding-bottom: 8px; border-bottom-color: transparent; }
.fo-theme .site-header.is-scrolled .brand-name { font-size: 16px; }
.fo-theme .site-header.is-scrolled .brand-tagline { font-size: 9px; }
.fo-theme .site-header.is-scrolled .custom-logo { max-height: 30px; }
.fo-theme .site-header.is-scrolled .primary-nav ul { gap: 20px; }
.fo-theme .site-header.is-scrolled a.site-header__cta { padding: 8px 16px; }

/* Open mobile menu: solid background so the links stay readable */
.fo-theme .site-header.is-menu-open .site-header__bar {
	background-color: var(--fo-parchment);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

@media (prefers-reduced-motion: reduce) {
	.fo-theme .site-header__bar,
	.fo-theme .site-header__inner,
	.fo-theme .site-header .brand-name,
	.fo-theme .site-header .brand-tagline,
	.fo-theme .site-header .custom-logo,
	.fo-theme .site-header .primary-nav ul,
	.fo-theme .site-header a.site-header__cta { transition: none; }
}

.fo-theme .brand-group {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}
.fo-theme .brand-name {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fo-ink);
	text-decoration: none;
}
.fo-theme .brand-tagline {
	font-family: var(--fo-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fo-terracotta);
}
.fo-theme .custom-logo { display: block; max-height: 44px; width: auto; }

.fo-theme .primary-nav ul {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--fo-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.fo-theme .primary-nav a {
	color: var(--fo-ink);
	text-decoration: none;
	transition: color .2s;
}
.fo-theme .primary-nav a:hover,
.fo-theme .primary-nav .current-menu-item > a { color: var(--fo-terracotta); }

.fo-theme .fo-nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--fo-ink);
	border-radius: 2px;
	color: var(--fo-ink);
	font-family: var(--fo-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 11px 14px;
	cursor: pointer;
}

/* ==========================================================================
   5. ELEMENTOR PAGE FRAME
   Every top-level container the starter creates carries .fo-section. It spans the
   full viewport (so backgrounds can bleed) and centres its content by padding.
   ========================================================================== */
.fo-theme .fo-section {
	width: 100%;
	max-width: none;
	margin: 0;
	gap: 0;
	padding-top: 72px;
	padding-bottom: 72px;
	padding-left: max(var(--fo-gutter), calc((100% - var(--fo-width)) / 2 + var(--fo-gutter)));
	padding-right: max(var(--fo-gutter), calc((100% - var(--fo-width)) / 2 + var(--fo-gutter)));
}
.fo-theme .fo-section--tight-top { padding-top: 0; }
.fo-theme .fo-section--hero { padding-top: 56px; padding-bottom: 64px; }
.fo-theme .fo-section--divider { padding-top: 0; padding-bottom: 48px; }

/* Neutralise Elementor's default widget spacing inside our sections; spacing is set per component. */
.fo-theme .fo-section .elementor-widget:not(:last-child),
.fo-theme .fo-scripture .elementor-widget:not(:last-child),
.fo-theme .fo-disclosure .elementor-widget:not(:last-child) { margin-block-end: 0; margin-bottom: 0; }

.fo-theme .fo-section :where(h1, h2, h3, h4, h5, h6, p, blockquote, figure) { margin: 0; }

/* Layout helpers */
.fo-theme .fo-grid {
	display: grid;
	width: 100%;
	max-width: none;
	padding: 0;
	gap: 24px;
}
.fo-theme .fo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fo-theme .fo-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.fo-theme .fo-row {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	width: 100%;
	max-width: none;
	padding: 0;
	gap: 16px;
	margin-bottom: 16px;
}

/* Static render (built-in home / fallback content): the basic container layout Elementor would supply. */
:where(.fo-built) .e-con { display: flex; flex-direction: column; position: relative; box-sizing: border-box; }
:where(.fo-built) .elementor-widget { position: relative; }
:where(.fo-built) .elementor-heading-title { margin: 0; padding: 0; }
:where(.fo-built) .elementor-button-wrapper { display: block; }

/* Widgets inside row-layout containers size to their content (Elementor gives widgets 100% width by default). */
.fo-theme :is(.fo-row, .fo-hero-actions, .fo-trip-head, .fo-trip-meta, .fo-story-foot, .fo-guide-foot) > .elementor-widget {
	width: auto;
	max-width: none;
	flex: 0 1 auto;
}
.fo-theme .fo-trip-head > .elementor-widget { flex: none; }

/* ==========================================================================
   6. TYPE ELEMENTS
   ========================================================================== */
.fo-theme .fo-eyebrow .elementor-heading-title,
.fo-theme .fo-eyebrow.fo-eyebrow--plain {
	font-family: var(--fo-mono);
	font-size: 11px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fo-terracotta);
}
.fo-theme .fo-eyebrow .elementor-heading-title a { color: inherit; text-decoration: none; }
.fo-theme .fo-eyebrow--gold .elementor-heading-title { color: var(--fo-gold); }
.fo-theme .fo-eyebrow.elementor-widget:not(:last-child) { margin-block-end: 8px; }
.fo-theme .fo-eyebrow.fo-mb-10.elementor-widget:not(:last-child) { margin-block-end: 10px; }
.fo-theme .fo-eyebrow.fo-mb-0.elementor-widget { margin-block-end: 0; }

.fo-theme .fo-h1 .elementor-heading-title,
.fo-theme h1.fo-h1 {
	font-family: var(--fo-sans);
	font-size: 56px;
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -1px;
	text-transform: uppercase;
	color: var(--fo-ink);
}
.fo-theme .fo-h1 span { color: var(--fo-terracotta); }

.fo-theme .fo-h2 .elementor-heading-title {
	font-family: var(--fo-sans);
	font-size: 36px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.5px;
	text-transform: uppercase;
	color: var(--fo-ink);
}
.fo-theme .fo-h2.elementor-widget:not(:last-child) { margin-block-end: 16px; }
.fo-theme .fo-h2.fo-mb-0.elementor-widget { margin-block-end: 0; }

.fo-theme .fo-desc,
.fo-theme .fo-sub {
	font-family: var(--fo-serif);
	line-height: 1.55;
	color: var(--fo-muted);
}
.fo-theme .fo-desc p,
.fo-theme .fo-sub p { font-family: var(--fo-serif); line-height: 1.55; color: var(--fo-muted); }
.fo-theme .fo-desc { font-size: 18px; max-width: 560px; }
.fo-theme .fo-desc p { font-size: 18px; }
.fo-theme .fo-desc.elementor-widget:not(:last-child) { margin-block-end: 36px; }
.fo-theme .fo-desc.fo-mb-0.elementor-widget { margin-block-end: 0; }
.fo-theme .fo-sub { font-size: 19px; max-width: 480px; }
.fo-theme .fo-sub p { font-size: 19px; }

.fo-theme .fo-card-title .elementor-heading-title {
	font-family: var(--fo-sans);
	font-size: 26px;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
	color: var(--fo-ink);
}
.fo-theme .fo-card-title.elementor-widget:not(:last-child) { margin-block-end: 12px; }
.fo-theme .fo-card-title.fo-mb-0.elementor-widget { margin-block-end: 0; }

.fo-theme .fo-card-text,
.fo-theme .fo-card-text p {
	font-family: var(--fo-serif);
	font-size: 16px;
	line-height: 1.55;
	color: var(--fo-muted);
}

.fo-theme .fo-meta .elementor-heading-title,
.fo-theme .fo-meta {
	font-family: var(--fo-mono);
	font-size: 11px;
	font-weight: 400;
	line-height: normal;
	color: var(--fo-muted);
	text-transform: none;
	letter-spacing: 0;
}

/* ==========================================================================
   7. COMPONENTS
   ========================================================================== */

/* ---- Hero: boarding pass ---- */
.fo-theme .fo-hero-card {
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	width: 100%;
	max-width: none;
	padding: 0;
	background-color: var(--fo-ivory);
	border: 1px solid var(--fo-border);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(29, 34, 30, 0.08);
	overflow: hidden;
}
.fo-theme .fo-hero-main {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	max-width: none;
	padding: 48px;
	gap: 24px;
	justify-content: space-between;
	align-items: flex-start;
}
.fo-theme .fo-hero-actions {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 14px;
	width: auto;
	max-width: none;
	padding: 0;
}

.fo-theme .fo-route {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	font-family: var(--fo-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--fo-muted);
}
.fo-theme .fo-route__line { flex: 1; border-bottom: 1px dotted var(--fo-border-dark); }

.fo-theme .fo-hero-stub {
	flex: 0 0 320px;
	width: 320px;
	max-width: 320px;
	padding: 44px 32px;
	gap: 24px;
	justify-content: space-between;
	align-items: stretch;
	position: relative;
	background-color: var(--fo-green);
	color: var(--fo-ivory);
	border-left: 2px dashed rgba(248, 246, 240, 0.35);
}
.fo-theme .fo-hero-stub::before,
.fo-theme .fo-hero-stub::after {
	content: "";
	display: block;
	position: absolute;
	left: -13px;
	right: auto;
	width: 24px;
	height: 24px;
	background: var(--fo-parchment);
	border-radius: 50%;
	opacity: 1;
	transform: none;
	z-index: 5;
}
.fo-theme .fo-hero-stub::before { top: -12px; bottom: auto; }
.fo-theme .fo-hero-stub::after { bottom: -12px; top: auto; }

.fo-theme .fo-stub-items { gap: 22px; padding: 0; width: 100%; max-width: none; }
.fo-theme .fo-stub-item { gap: 4px; padding: 0; width: 100%; max-width: none; }
.fo-theme .fo-stub-label .elementor-heading-title {
	font-family: var(--fo-mono);
	font-size: 10px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--fo-gold);
}
.fo-theme .fo-stub-val .elementor-heading-title {
	font-family: var(--fo-mono);
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	color: var(--fo-ivory);
}
.fo-theme .fo-barcode {
	height: 34px;
	width: 100%;
	margin-top: 24px;
	background: repeating-linear-gradient(90deg, var(--fo-ivory) 0 2px, transparent 2px 5px, var(--fo-ivory) 5px 6px, transparent 6px 9px, var(--fo-ivory) 9px 12px, transparent 12px 15px);
}

/* ---- Scripture banner ---- */
.fo-theme .fo-scripture {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 76px var(--fo-gutter);
	gap: 18px;
	align-items: center;
	text-align: center;
	background-color: var(--fo-green);
}
.fo-theme .fo-scripture .elementor-widget { width: 100%; max-width: 680px; }
.fo-theme .fo-scripture :where(blockquote, p) { margin: 0; }
.fo-theme .fo-scripture-quote,
.fo-theme .fo-scripture-quote blockquote,
.fo-theme .fo-scripture-quote p {
	font-family: var(--fo-serif);
	font-style: italic;
	font-size: 34px;
	line-height: 1.32;
	color: var(--fo-ivory);
	margin: 0;
	padding: 0;
	border: 0;
}
.fo-theme .fo-scripture-ref .elementor-heading-title {
	line-height: normal;
	font-family: var(--fo-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fo-gold);
}

/* ---- Cards ---- */
.fo-theme .fo-card {
	flex-direction: column;
	justify-content: space-between;
	width: auto;
	max-width: none;
	min-width: 0;
	gap: 0;
	padding: 32px;
	background-color: var(--fo-ivory);
	border: 1px solid var(--fo-border);
	border-radius: 6px;
}
.fo-theme .fo-card-group { gap: 0; padding: 0; width: 100%; max-width: none; }

/* ---- Stamps ---- */
.fo-theme .fo-stamp {
	position: relative;
	flex-shrink: 0;
	width: 68px;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1.5px solid var(--fo-terracotta);
	border-radius: 50%;
	font-family: var(--fo-mono);
	font-size: 9px;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fo-terracotta);
	transform: rotate(-12deg);
}
.fo-theme .fo-stamp::after {
	content: "";
	position: absolute;
	inset: 3px;
	border: 1px dashed var(--fo-terracotta);
	border-radius: 50%;
}
.fo-theme .fo-stamp--muted {
	width: 74px;
	height: 74px;
	font-size: 8px;
	border-color: #8A8578;
	color: var(--fo-muted);
	transform: rotate(8deg);
}
.fo-theme .fo-stamp--muted::after { border-color: #8A8578; }

/* ---- Trip cards ---- */
.fo-theme .fo-trip-head {
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	max-width: none;
	padding: 0;
	margin-bottom: 12px;
}
.fo-theme .fo-trip-titles { gap: 0; padding: 0 0 12px; width: auto; max-width: none; flex: 1 1 auto; min-width: 0; }
.fo-theme .fo-trip-meta {
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	width: 100%;
	max-width: none;
	margin: 20px 0;
	padding: 14px 0 0;
	border-top: 1px dotted var(--fo-border-dark);
}

/* ---- Story cards (Elementor) ---- */
.fo-theme .fo-story {
	flex-direction: column;
	gap: 0;
	padding: 0;
	width: auto;
	max-width: none;
	min-width: 0;
	background-color: var(--fo-ivory);
	border: 1px solid var(--fo-border);
	border-radius: 6px;
	overflow: hidden;
}
.fo-theme .fo-story-img {
	position: relative;
	height: 180px;
	width: 100%;
	max-width: none;
	padding: 0;
	gap: 0;
	background-color: var(--fo-green);
	overflow: hidden;
	flex: none;
}
.fo-theme .fo-story-img .elementor-widget-image,
.fo-theme .fo-story-img .elementor-widget-image .elementor-widget-container { height: 100%; width: 100%; }
.fo-theme .fo-story-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
	transition: transform .3s ease;
}
.fo-theme .fo-story:hover .fo-story-img img { transform: scale(1.03); }
.fo-theme .fo-badge.elementor-widget {
	position: absolute;
	bottom: 14px;
	left: 18px;
	width: auto;
	max-width: calc(100% - 36px);
	z-index: 2;
}
.fo-theme .fo-badge .elementor-heading-title,
.fo-theme .fo-post-card__badge {
	display: inline-block;
	font-family: var(--fo-mono);
	font-size: 11px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fo-ivory);
	background: rgba(22, 59, 50, 0.85);
	padding: 4px 10px;
	border-radius: 2px;
}
.fo-theme .fo-story-body {
	flex: 1 1 auto;
	width: 100%;
	max-width: none;
	padding: 24px;
	gap: 0;
	justify-content: space-between;
}
.fo-theme .fo-story-title .elementor-heading-title {
	font-family: var(--fo-sans);
	font-size: 21px;
	font-weight: 400;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--fo-ink);
}
.fo-theme .fo-story-title.elementor-widget:not(:last-child) { margin-block-end: 12px; }
.fo-theme .fo-story-text,
.fo-theme .fo-story-text p {
	font-family: var(--fo-sans);
	font-size: 16px;
	line-height: normal;
	color: var(--fo-ink);
}
.fo-theme .fo-story-foot {
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	width: 100%;
	max-width: none;
	margin-top: 20px;
	padding: 12px 0 0;
	border-top: 1px dotted var(--fo-border-dark);
}

/* ---- Pills ---- */
.fo-theme .fo-pill .elementor-heading-title {
	display: inline-block;
	font-family: var(--fo-mono);
	font-size: 10px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fo-terracotta);
	border: 1px solid var(--fo-border-dark);
	border-radius: 99px;
	padding: 3px 12px;
}
.fo-theme .fo-pill.elementor-widget:not(:last-child) { margin-block-end: 14px; }
.fo-theme .fo-card-action { margin-top: 24px; padding: 0; width: 100%; max-width: none; gap: 0; }

/* ---- Donation disclosure ---- */
.fo-theme .fo-disclosure {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 22px var(--fo-gutter);
	gap: 0;
	align-items: center;
	text-align: center;
	background-color: var(--fo-sand);
	border-top: 1px solid var(--fo-border);
	border-bottom: 1px solid var(--fo-border);
}
.fo-theme .fo-disclosure .elementor-widget { width: 100%; max-width: 640px; }
.fo-theme .fo-disclosure :where(p) { margin: 0; }
.fo-theme .fo-disclosure-text,
.fo-theme .fo-disclosure-text p {
	font-family: var(--fo-mono);
	font-size: 11px;
	line-height: 1.6;
	color: var(--fo-muted);
}

/* ---- Image banner ---- */
.fo-theme .fo-banner {
	position: relative;
	height: auto;
	min-height: 280px;
	width: 100%;
	max-width: none;
	padding: 28px 32px;
	gap: 0;
	justify-content: flex-end;
	align-items: flex-start;
	overflow: hidden;
	background-color: var(--fo-green);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid var(--fo-border);
	border-radius: 6px;
}
.fo-theme .fo-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(to top, rgba(22, 59, 50, 0.85) 0%, rgba(22, 59, 50, 0.2) 60%, transparent 100%), rgba(22, 59, 50, 0.28);
}
.fo-theme .fo-banner > * { position: relative; z-index: 1; }
.fo-theme .fo-banner-ref .elementor-heading-title {
	line-height: normal;
	font-family: var(--fo-mono);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fo-gold);
}
.fo-theme .fo-banner-ref.elementor-widget:not(:last-child) { margin-block-end: 6px; }
.fo-theme .fo-banner-quote,
.fo-theme .fo-banner-quote p {
	font-family: var(--fo-serif);
	font-style: italic;
	font-size: 21px;
	line-height: 1.4;
	color: var(--fo-ivory);
}
.fo-theme .fo-banner-quote { max-width: 620px; }

/* ---- Postcard newsletter ---- */
.fo-theme .fo-postcard {
	flex-direction: row;
	gap: 0;
	width: 100%;
	max-width: none;
	padding: 0;
	background-color: var(--fo-ivory);
	border: 1px solid var(--fo-border);
	border-radius: 6px;
	overflow: hidden;
}
.fo-theme .fo-postcard-left {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
	max-width: none;
	padding: 44px;
	gap: 0;
}
.fo-theme .fo-postcard-right {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
	max-width: none;
	padding: 44px;
	gap: 28px;
	justify-content: space-between;
	border-left: 1.5px dashed #D6D1C4;
}
.fo-theme .fo-postcard-right .fo-stamp-wrap { display: flex; justify-content: flex-end; width: 100%; }

.fo-theme .fo-nl-form {
	display: flex;
	border: 1px solid var(--fo-ink);
	background: #FFFFFF;
	margin: 0;
}
.fo-theme .fo-nl-form input[type="email"] {
	flex: 1;
	min-width: 0;
	border: none;
	padding: 13px 16px;
	font-family: var(--fo-mono);
	font-size: 12px;
	outline: none;
	background: transparent;
	color: var(--fo-ink);
	border-radius: 0;
	box-shadow: none;
}
.fo-theme .fo-nl-form input[type="email"]:focus-visible { outline: 2px solid var(--fo-terracotta); outline-offset: -2px; }
.fo-theme .fo-nl-form button {
	background: var(--fo-ink);
	color: var(--fo-ivory);
	border: none;
	border-radius: 0;
	padding: 13px 22px;
	font-family: var(--fo-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s;
}
.fo-theme .fo-nl-form button:hover { background: var(--fo-terracotta); }
.fo-theme .fo-nl-form .fo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fo-theme .fo-nl-notice {
	margin: 0;
	padding: 14px 16px;
	font-family: var(--fo-mono);
	font-size: 12px;
	line-height: 1.5;
	color: var(--fo-green);
	border: 1px solid var(--fo-green);
	background: #FFFFFF;
}
.fo-theme .fo-nl-notice--error { color: var(--fo-terracotta); border-color: var(--fo-terracotta); }

/* ---- Guides ---- */
.fo-theme .fo-guide {
	flex-direction: column;
	justify-content: space-between;
	width: auto;
	max-width: none;
	min-width: 0;
	gap: 28px;
	padding: 30px 28px;
	background-color: var(--fo-green);
	color: var(--fo-ivory);
	border-radius: 6px;
}
.fo-theme .fo-guide .fo-card-group { gap: 0; }
.fo-theme .fo-guide-title .elementor-heading-title {
	font-family: var(--fo-sans);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--fo-ivory);
}
.fo-theme .fo-guide-title.elementor-widget:not(:last-child) { margin-block-end: 12px; }
.fo-theme .fo-guide-text,
.fo-theme .fo-guide-text p {
	font-family: var(--fo-serif);
	font-size: 16px;
	line-height: 1.55;
	color: rgba(248, 246, 240, 0.82);
}
.fo-theme .fo-guide-foot {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: none;
	padding: 18px 0 0;
	border-top: 1px solid rgba(248, 246, 240, 0.16);
}
.fo-theme .fo-guide-free,
.fo-theme .fo-guide-free p {
	font-family: var(--fo-serif);
	font-size: 16px;
	color: var(--fo-ivory);
}
.fo-theme .fo-guide-foot .elementor-widget { width: auto; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.fo-theme .site-footer {
	max-width: var(--fo-width);
	margin: 0 auto;
	padding: 48px var(--fo-gutter) 40px;
	border-top: 1px solid var(--fo-border);
}
.fo-theme .site-footer__top {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 36px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--fo-border);
}
.fo-theme .site-footer__about { max-width: 340px; }
.fo-theme .site-footer__about .brand-group { margin-bottom: 12px; }
.fo-theme .site-footer__about p {
	margin: 0 0 12px;
	font-family: var(--fo-serif);
	font-size: 15px;
	line-height: 1.55;
	color: var(--fo-muted);
}
.fo-theme .site-footer__about p:last-child { margin-bottom: 0; }
.fo-theme .footer-links-group {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	font-family: var(--fo-mono);
	font-size: 12px;
}
.fo-theme .footer-col { display: flex; flex-direction: column; gap: 10px; }
.fo-theme .footer-col__title {
	margin-bottom: 4px;
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--fo-terracotta);
}
.fo-theme .footer-col ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fo-theme .footer-col a { color: var(--fo-ink); text-decoration: none; }
.fo-theme .footer-col a:hover { color: var(--fo-terracotta); }
.fo-theme .site-footer__bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 20px;
	font-family: var(--fo-mono);
	font-size: 11px;
	color: var(--fo-muted);
}

/* ==========================================================================
   9. BLOG, PAGES AND CONTENT (non-Elementor templates)
   ========================================================================== */
.fo-theme .fo-main { display: block; }
.fo-theme .fo-wrap {
	max-width: var(--fo-width);
	margin: 0 auto;
	padding: 56px var(--fo-gutter) 72px;
}
.fo-theme .fo-page-head { margin-bottom: 36px; }
.fo-theme .fo-page-head .fo-eyebrow--plain { margin: 0 0 8px; }
.fo-theme .fo-page-title {
	margin: 0 0 16px;
	font-family: var(--fo-sans);
	font-size: 44px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.5px;
	text-transform: uppercase;
	color: var(--fo-ink);
}
.fo-theme .fo-page-intro {
	margin: 0;
	max-width: 560px;
	font-family: var(--fo-serif);
	font-size: 18px;
	line-height: 1.55;
	color: var(--fo-muted);
}

.fo-theme .fo-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.fo-theme .fo-post-card {
	display: flex;
	flex-direction: column;
	background: var(--fo-ivory);
	border: 1px solid var(--fo-border);
	border-radius: 6px;
	overflow: hidden;
}
.fo-theme .fo-post-card__img {
	position: relative;
	height: 180px;
	background: var(--fo-green);
	overflow: hidden;
}
.fo-theme .fo-post-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
	transition: transform .3s ease;
}
.fo-theme .fo-post-card:hover .fo-post-card__img img { transform: scale(1.03); }
.fo-theme .fo-post-card__badge { position: absolute; bottom: 14px; left: 18px; }
.fo-theme .fo-post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
	padding: 24px;
}
.fo-theme .fo-post-card__cat {
	margin: 0 0 8px;
	font-family: var(--fo-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fo-terracotta);
}
.fo-theme .fo-post-card__title {
	margin: 0 0 12px;
	font-family: var(--fo-sans);
	font-size: 21px;
	font-weight: 400;
	line-height: 1.25;
	text-transform: uppercase;
}
.fo-theme .fo-post-card__title a { color: var(--fo-ink); text-decoration: none; }
.fo-theme .fo-post-card__title a:hover { color: var(--fo-terracotta); }
.fo-theme .fo-post-card__excerpt {
	margin: 0;
	font-family: var(--fo-sans);
	font-size: 16px;
	line-height: normal;
	color: var(--fo-ink);
}
.fo-theme .fo-post-card__foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
	padding-top: 12px;
	border-top: 1px dotted var(--fo-border-dark);
	font-family: var(--fo-mono);
	font-size: 11px;
	color: var(--fo-muted);
}

.fo-theme .fo-entry { max-width: 720px; margin: 0 auto; }
.fo-theme .fo-entry__meta {
	margin: 0 0 20px;
	font-family: var(--fo-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fo-muted);
}
.fo-theme .fo-entry__hero { margin: 0 0 32px; border-radius: 6px; overflow: hidden; border: 1px solid var(--fo-border); }
.fo-theme .fo-entry__hero img { display: block; width: 100%; }
.fo-theme .entry-content {
	font-family: var(--fo-serif);
	font-size: 19px;
	line-height: 1.7;
	color: var(--fo-ink);
}
.fo-theme .entry-content > * + * { margin-top: 1.2em; }
.fo-theme .entry-content h2,
.fo-theme .entry-content h3,
.fo-theme .entry-content h4 {
	margin-top: 1.8em;
	font-family: var(--fo-sans);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.3px;
}
.fo-theme .entry-content h2 { font-size: 30px; }
.fo-theme .entry-content h3 { font-size: 24px; }
.fo-theme .entry-content a { color: var(--fo-terracotta); text-underline-offset: 3px; }
.fo-theme .entry-content blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--fo-gold);
	font-style: italic;
	color: var(--fo-muted);
}
.fo-theme .entry-content img { border-radius: 4px; }
.fo-theme .entry-content .alignwide,
.fo-theme .entry-content .alignfull { max-width: none; }

.fo-theme .fo-pagination { margin-top: 40px; }
.fo-theme .fo-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--fo-mono); font-size: 12px; }
.fo-theme .fo-pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--fo-border-dark);
	border-radius: 2px;
	color: var(--fo-ink);
	text-decoration: none;
}
.fo-theme .fo-pagination .page-numbers.current,
.fo-theme .fo-pagination .page-numbers:hover { background: var(--fo-green); border-color: var(--fo-green); color: var(--fo-ivory); }

.fo-theme .fo-search-form { display: flex; max-width: 480px; border: 1px solid var(--fo-ink); background: #fff; margin-top: 24px; }
.fo-theme .fo-search-form input[type="search"] {
	flex: 1; min-width: 0; border: 0; padding: 13px 16px; background: transparent;
	font-family: var(--fo-mono); font-size: 12px; outline: none;
}
.fo-theme .fo-search-form button {
	border: 0; background: var(--fo-ink); color: var(--fo-ivory); padding: 13px 22px;
	font-family: var(--fo-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}

/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
	.fo-theme .fo-grid--3,
	.fo-theme .fo-post-grid { grid-template-columns: 1fr; }
	.fo-theme .fo-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.fo-theme .fo-hero-card,
	.fo-theme .fo-postcard { flex-direction: column; }

	.fo-theme .fo-hero-main { padding: 32px 24px; }
	.fo-theme .fo-hero-stub {
		flex: none;
		width: 100%;
		max-width: none;
		border-left: none;
		border-top: 2px dashed rgba(248, 246, 240, 0.35);
	}
	.fo-theme .fo-hero-stub::before { left: -12px; top: -13px; }
	.fo-theme .fo-hero-stub::after { left: auto; right: -12px; top: -13px; bottom: auto; }

	.fo-theme .fo-postcard-left,
	.fo-theme .fo-postcard-right { padding: 32px 24px; }
	.fo-theme .fo-postcard-right { border-left: none; border-top: 1.5px dashed #D6D1C4; }

	.fo-theme .fo-h1 .elementor-heading-title,
	.fo-theme h1.fo-h1 { font-size: 38px; }
	.fo-theme .fo-h2 .elementor-heading-title { font-size: 30px; }
	.fo-theme .fo-scripture-quote,
	.fo-theme .fo-scripture-quote blockquote,
	.fo-theme .fo-scripture-quote p { font-size: 26px; }
	.fo-theme .fo-page-title { font-size: 34px; }

	/* mobile menu */
	.fo-theme .site-header { height: var(--fo-header-h, 110px); }
	.fo-theme .site-header__bar { max-height: 100vh; overflow-y: auto; }
	.fo-theme .fo-nav-toggle { display: inline-block; }
	.fo-theme .site-header__inner { align-items: center; }
	.fo-theme .primary-nav { display: none; order: 4; width: 100%; }
	.fo-theme .primary-nav.is-open { display: block; }
	.fo-theme .primary-nav ul { flex-direction: column; gap: 0; }
	.fo-theme .primary-nav li { border-top: 1px solid var(--fo-border); }
	.fo-theme .primary-nav a { display: block; padding: 14px 0; }
	.fo-theme .site-header .brand-group { order: 1; flex: 1 1 auto; }
	.fo-theme .fo-nav-toggle { order: 2; margin-left: auto; }
	.fo-theme a.site-header__cta { order: 3; }
}

@media (max-width: 600px) {
	.fo-theme .fo-grid--4 { grid-template-columns: 1fr; }
	.fo-theme .fo-section { padding-top: 56px; padding-bottom: 56px; }
	.fo-theme .fo-section--tight-top { padding-top: 0; }
	.fo-theme .fo-section--hero { padding-top: 32px; padding-bottom: 48px; }
	.fo-theme .fo-section--divider { padding-top: 0; padding-bottom: 40px; }
	.fo-theme .fo-scripture { padding-top: 56px; padding-bottom: 56px; }
	.fo-theme a.site-header__cta { flex: 1 1 100%; }
	.fo-theme .site-header { height: var(--fo-header-h, 130px); }
	/* compact state on phones: drop the button row, keep brand + menu */
	.fo-theme .site-header.is-scrolled a.site-header__cta { display: none; }
	.fo-theme .site-header .brand-group { flex-direction: column; align-items: flex-start; gap: 4px; }
	.fo-theme .footer-links-group { gap: 36px; }
}

@media (max-width: 782px) { body.admin-bar .site-header__bar { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header__bar { top: 0; } }
