/*
Theme Name: Wings of Grace
Theme URI: https://wingsofgrace.help
Author: Wings of Grace
Description: Custom block theme for Wings of Grace, a faith-based 501(c)(3) nonprofit serving Greater Cleveland, Ohio.
Version: 1.0.4
Requires at least: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wings-of-grace
*/

:root {
	--wog-navy: #0f2a44;
	--wog-navy-deep: #0a1c2e;
	--wog-gold: #e0a43a;
	--wog-gold-dark: #8a5a07;
	--wog-sky: #eaf2f8;
	--wog-cream: #faf7f1;
	--wog-ink: #1c2631;
	--wog-muted: #53606d;
	--wog-line: #e3ded4;
	--wog-radius: 14px;
	--wog-shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
	--wog-shadow-lg: 0 24px 60px rgba(15, 42, 68, 0.16);
	--wog-section: clamp(3.5rem, 8vw, 6.5rem);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
::selection { background: var(--wog-gold); color: var(--wog-navy-deep); }
:focus-visible { outline: 3px solid var(--wog-gold); outline-offset: 3px; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
main { margin-block-start: 0 !important; }

/* ---------- Header ---------- */
.wog-topbar {
	background: var(--wog-navy-deep);
	color: #cfdbe6;
	font-size: 0.85rem;
	padding-top: 0.45rem;
	padding-bottom: 0.45rem;
}
.wog-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.35rem 1.5rem; align-items: center; }
.wog-topbar a { color: #fff; text-decoration: none; }
.wog-topbar a:hover { color: var(--wog-gold); }
.wog-topbar__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.wog-topbar__links span { opacity: 0.6; }

.wog-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--wog-line);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}
.admin-bar .wog-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wog-header { top: 0; } }
.wog-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wog-brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--wog-navy); }
.wog-brand img { width: 58px; height: auto; display: block; }
.wog-brand__name { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.35rem; line-height: 1; letter-spacing: -0.01em; }
.wog-brand__tag { display: block; font-family: var(--wp--preset--font-family--body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wog-gold-dark); margin-top: 0.3rem; }
.wog-brand:hover { color: var(--wog-navy); }

.wog-header__nav { display: flex; align-items: center; gap: 1.25rem; }
.wog-header .wp-block-navigation { font-size: 0.97rem; font-weight: 500; gap: 1.4rem; }
.wog-header .wp-block-navigation a { color: var(--wog-ink); text-decoration: none; }
.wog-header .wp-block-navigation a:hover,
.wog-header .wp-block-navigation .current-menu-item > a { color: var(--wog-gold-dark); }
.wog-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--wog-line) !important;
	border-radius: 12px;
	box-shadow: var(--wog-shadow-lg);
	padding: 0.5rem 0 !important;
	min-width: 250px !important;
}
.wog-header .wp-block-navigation__submenu-container a { padding: 0.55rem 1.1rem !important; }
.wog-header .wp-block-button__link { padding: 0.7rem 1.35rem; font-size: 0.95rem; }
.wog-header .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem 1.5rem; }
.wog-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1rem; font-size: 1.15rem; }
.wog-header .wp-block-navigation__responsive-container-open svg,
.wog-header .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
@media (max-width: 599px) {
	.wog-brand img { width: 46px; }
	.wog-brand__name { font-size: 1.15rem; }
	.wog-brand__tag { display: none; }
	.wog-header .wog-header__donate .wp-block-button__link { padding: 0.55rem 1rem; font-size: 0.88rem; }
}
@media (max-width: 1100px) and (min-width: 600px) {
	.wog-header .wp-block-navigation { gap: 1rem; font-size: 0.92rem; }
}

/* ---------- Sections ---------- */
.wog-section { padding-top: var(--wog-section); padding-bottom: var(--wog-section); }
.wog-section.is-tight { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.is-cream { background: var(--wog-cream); }
.is-sky { background: var(--wog-sky); }
.is-navy { background: var(--wog-navy); color: #dbe5ee; }
.is-navy h1, .is-navy h2, .is-navy h3, .is-navy h4 { color: #fff; }
.is-navy a:not(.wp-block-button__link) { color: #fff; }
.is-navy .wog-eyebrow { color: var(--wog-gold); }

.wog-eyebrow {
	font-size: 0.8rem !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wog-gold-dark);
	margin-bottom: 0.5rem !important;
}
.wog-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.6; color: var(--wog-muted); }
.is-navy .wog-lead { color: #cdd9e4; }
.wog-center { text-align: center; }
.wog-center .wp-block-buttons { justify-content: center; }
.wog-narrow { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.wog-muted { color: var(--wog-muted); }
.wog-small { font-size: 0.9rem; }

/* ---------- Hero ---------- */
.wog-hero {
	position: relative;
	color: #fff;
	background-color: var(--wog-navy);
	background-size: cover;
	background-position: center;
	padding-top: clamp(5rem, 14vw, 10rem);
	padding-bottom: clamp(5rem, 13vw, 9rem);
	isolation: isolate;
}
.wog-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(10, 28, 46, 0.94) 0%, rgba(10, 28, 46, 0.78) 45%, rgba(10, 28, 46, 0.35) 100%);
}
.wog-hero h1, .wog-hero h2 { color: #fff; max-width: 15ch; }
.wog-hero .wog-eyebrow { color: var(--wog-gold); }
.wog-hero .wog-lead { color: #e3ebf2; max-width: 58ch; }
.wog-hero__inner > * { margin-left: 0; margin-right: 0; }
.wog-hero__inner > * + * { margin-top: 1.25rem; }
.wog-hero__inner > .wog-eyebrow + h1 { margin-top: 0.5rem; }
.wog-hero--page { padding-top: clamp(4rem, 9vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 5.5rem); }
.wog-hero--page h1 { max-width: 22ch; }
.wog-hero--plain { background-image: none !important; }
.wog-bg-rebuild { background-image: url(assets/img/hero-rebuild.webp); }
.wog-bg-eagle { background-image: url(assets/img/eagle-sky.webp); background-position: 70% 40%; }
.wog-bg-water { background-image: url(assets/img/eagle-water.webp); }
.wog-bg-community { background-image: url(assets/img/community.webp); }
.wog-bg-flood { background-image: url(assets/img/relief-flood.webp); background-position: center 30%; }
.wog-bg-fire { background-image: url(assets/img/relief-fire.webp); background-position: center 30%; }
.wog-bg-family { background-image: url(assets/img/family-home.webp); background-position: center 25%; }
.wog-bg-groceries { background-image: url(assets/img/family-groceries.webp); background-position: center 25%; }
.wog-bg-tech { background-image: url(assets/img/tech-support.webp); background-position: center 30%; }
.wog-bg-vehicle { background-image: url(assets/img/vehicle.webp); background-position: center 60%; }
.wog-bg-tornado { background-image: url(assets/img/relief-tornado.webp); background-position: center 35%; }

.wog-hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.6rem;
	margin-top: 2.25rem !important;
	padding: 0;
	list-style: none;
	font-size: 0.92rem;
	color: #d5e0ea;
}
.wog-hero-trust li { display: flex; align-items: center; gap: 0.5rem; }
.wog-hero-trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wog-gold); }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10, 28, 46, 0.18); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: var(--wog-navy);
	padding: calc(0.85rem - 2px) calc(1.6rem - 2px);
}
.wog-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.is-navy .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(224, 164, 58, 0.14); color: inherit; }
.wp-block-button.wog-btn-navy > .wp-block-button__link { background: var(--wog-navy); color: #fff; }
.wp-block-button.wog-btn-navy > .wp-block-button__link:hover { background: var(--wog-navy-deep); color: #fff; }
.wog-link-arrow a, a.wog-link-arrow { font-weight: 600; text-decoration: none; color: var(--wog-navy); }
.wog-link-arrow a::after, a.wog-link-arrow::after { content: " \2192"; transition: margin 0.15s; }
.wog-link-arrow a:hover::after, a.wog-link-arrow:hover::after { margin-left: 0.25rem; }

/* ---------- Cards ---------- */
.wog-cards { gap: 1.5rem !important; }
.wog-cards > .wp-block-column { display: flex; }
.wog-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--wog-line);
	border-radius: var(--wog-radius);
	box-shadow: var(--wog-shadow);
	padding: 2rem 1.75rem 1.75rem;
	width: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wog-card > * { margin-top: 0; }
.wog-card > * + * { margin-top: 0.75rem; }
.wog-card h3 { font-size: 1.3rem; margin-bottom: 0; }
.wog-card p { color: var(--wog-muted); }
.wog-card.is-link:hover { transform: translateY(-4px); box-shadow: var(--wog-shadow-lg); }
.wog-card .wog-link-arrow { margin-top: 1rem; }
.is-cream .wog-card, .is-sky .wog-card { border-color: transparent; }
.is-navy .wog-card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.is-navy .wog-card p { color: #c9d6e2; }

.wog-card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.wog-card--photo .wp-block-image { margin: 0; }
.wog-card--photo .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; }
.wog-card--photo .wog-card__body { padding: 1.5rem 1.6rem 1.75rem; }
.wog-card--photo .wog-card__body > * + * { margin-top: 0.7rem; }

/* Icons */
[class*="wog-ic-"] { --ic-size: 54px; }
.wog-card[class*="wog-ic-"] { padding-top: calc(2rem + var(--ic-size) + 1rem); }
.wog-card[class*="wog-ic-"]::before,
.wog-card[class*="wog-ic-"]::after {
	content: "";
	position: absolute;
	left: 1.75rem;
	top: 2rem;
	width: var(--ic-size);
	height: var(--ic-size);
	border-radius: 14px;
}
.wog-card[class*="wog-ic-"]::before { background: linear-gradient(135deg, #fdf1dc, #f6e1b8); }
.wog-card[class*="wog-ic-"]::after {
	background: var(--wog-navy);
	-webkit-mask: var(--ic) center / 28px 28px no-repeat;
	mask: var(--ic) center / 28px 28px no-repeat;
}
.is-navy .wog-card[class*="wog-ic-"]::before { background: rgba(224, 164, 58, 0.18); }
.is-navy .wog-card[class*="wog-ic-"]::after { background: var(--wog-gold); }
.wog-center .wog-card[class*="wog-ic-"]::before,
.wog-center .wog-card[class*="wog-ic-"]::after { left: 50%; transform: translateX(-50%); }

.wog-ic-home { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/></svg>"); }
.wog-ic-heart { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.2a4.3 4.3 0 0 1 7.5 2.6C19.5 15.4 12 20 12 20z'/></svg>"); }
.wog-ic-laptop { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='12' rx='2'/><path d='M8 20h8M12 16v4'/></svg>"); }
.wog-ic-pray { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a8.5 8.5 0 0 1-12.3 7.6L3.5 21l1.4-5A8.5 8.5 0 1 1 21 12z'/><path d='M12 15.5s-3.5-2-3.5-4.6A1.9 1.9 0 0 1 12 9.7a1.9 1.9 0 0 1 3.5 1.2c0 2.6-3.5 4.6-3.5 4.6z'/></svg>"); }
.wog-ic-car { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 16v-3.5L6.2 7h11.6L20 12.5V16H4z'/><circle cx='7.5' cy='16.5' r='2'/><circle cx='16.5' cy='16.5' r='2'/><path d='M4 12.5h16'/></svg>"); }
.wog-ic-users { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3.5'/><path d='M2.5 20a6.5 6.5 0 0 1 13 0'/><path d='M16 4.6a3.5 3.5 0 0 1 0 6.8M18 14.2a6.5 6.5 0 0 1 3.5 5.8'/></svg>"); }
.wog-ic-shield { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 4.5 6v6c0 4.4 3.2 7.9 7.5 9 4.3-1.1 7.5-4.6 7.5-9V6z'/><path d='m9 12 2 2 4-4'/></svg>"); }
.wog-ic-gift { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='8' width='18' height='4' rx='1'/><path d='M5 12v8h14v-8M12 8v12M12 8C10 8 7.5 7 8 5s3.5-1 4 3zm0 0c2 0 4.5-1 4-3s-3.5-1-4 3z'/></svg>"); }
.wog-ic-phone { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M5 3h3.5l2 5-2.4 1.5a11 11 0 0 0 6.4 6.4L16 13.5l5 2V19a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/></svg>"); }
.wog-ic-mail { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3.5 6.5 8.5 6 8.5-6'/></svg>"); }
.wog-ic-pin { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/><circle cx='12' cy='9.5' r='2.5'/></svg>"); }
.wog-ic-tool { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14.5 6.5a4 4 0 0 0 5 5l-8.8 8.8a2.1 2.1 0 0 1-3-3l8.8-8.8z'/><path d='M14.5 6.5 17 4l3 3-2.5 2.5'/></svg>"); }
.wog-ic-drop { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3s6.5 6.6 6.5 11.2a6.5 6.5 0 0 1-13 0C5.5 9.6 12 3 12 3z'/></svg>"); }
.wog-ic-flame { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3c.8 3.8 5.5 5.6 5.5 10.5a5.5 5.5 0 0 1-11 0c0-2.6 1.4-4.3 2.6-5.3.2 2 1.3 3.2 2.4 3.3-.9-3.2.2-6.2.5-8.5z'/></svg>"); }
.wog-ic-wind { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 5h18M5 9h14M7.5 13h10M9.5 17h6M11.5 21h2'/></svg>"); }
.wog-ic-book { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 19.5V5a2 2 0 0 1 2-2h14v15H6a2 2 0 0 0-2 2 2 2 0 0 0 2 2h14'/><path d='M12 7v6M9 10h6'/></svg>"); }
.wog-ic-clock { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3.5 2'/></svg>"); }
.wog-ic-church { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2v4M10 4h4M6 21V11l6-5 6 5v10M3 21h18M10 21v-4a2 2 0 0 1 4 0v4'/></svg>"); }
.wog-ic-chart { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 20V4M4 20h16M8 16v-4M12 16V8M16 16v-6'/></svg>"); }
.wog-ic-hand { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 14h3l4 3h5a1.5 1.5 0 0 0 0-3h-3'/><path d='M7 14l3-2h4l6-3a1.6 1.6 0 0 1 1.5 2.7L15 17H9'/><path d='M14 8.5s-2.5-1.5-2.5-3.3A1.4 1.4 0 0 1 14 4.4a1.4 1.4 0 0 1 2.5.8c0 1.8-2.5 3.3-2.5 3.3z'/></svg>"); }
.wog-ic-truck { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 6h11v10H2zM13 9h4.5l3.5 3.5V16h-8'/><circle cx='6' cy='17.5' r='1.8'/><circle cx='17' cy='17.5' r='1.8'/></svg>"); }

/* ---------- Images / splits ---------- */
.wog-img img, .wog-split .wp-block-image img { border-radius: 18px; box-shadow: var(--wog-shadow-lg); width: 100%; object-fit: cover; display: block; }
.wog-img--tall img { aspect-ratio: 4 / 5; }
.wog-img--wide img { aspect-ratio: 3 / 2; }
.wog-split { gap: clamp(2rem, 5vw, 4.5rem) !important; align-items: center; }
.wog-split .wp-block-image { margin: 0; }

/* ---------- Lists ---------- */
.wog-checks { list-style: none; padding-left: 0; }
.wog-checks li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
.wog-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--wog-gold) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1c2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12.5 4 4 8-9'/></svg>") center / 0.8rem no-repeat;
}
.wog-checks li strong { color: var(--wog-navy); }
.is-navy .wog-checks li strong { color: #fff; }

/* ---------- Steps ---------- */
.wog-steps { counter-reset: wogstep; gap: 1.5rem !important; }
.wog-steps > .wp-block-column {
	counter-increment: wogstep;
	position: relative;
	background: #fff;
	border-radius: var(--wog-radius);
	padding: 4.4rem 1.6rem 1.6rem;
	box-shadow: var(--wog-shadow);
}
.wog-steps > .wp-block-column::before {
	content: counter(wogstep);
	position: absolute;
	top: 1.4rem;
	left: 1.6rem;
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 50%;
	background: var(--wog-navy);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	display: grid;
	place-items: center;
}
.wog-steps h3 { font-size: 1.15rem; margin-top: 0; }
.wog-steps p { color: var(--wog-muted); font-size: 0.97rem; }

/* ---------- Quote / scripture ---------- */
.wog-quote {
	border: 0 !important;
	padding: 0 !important;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 860px;
}
.wog-quote p {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.5rem, 3.2vw, 2.3rem);
	line-height: 1.3;
	color: inherit;
}
.wog-quote cite { display: block; margin-top: 1.25rem; font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; color: var(--wog-gold); }
.wog-quote::before {
	content: "";
	display: block;
	width: 110px;
	height: 58px;
	margin: 0 auto 1.25rem;
	background: url(assets/img/emblem-gold.png) center / contain no-repeat;
}

/* ---------- Info / facts ---------- */
.wog-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.wog-facts li { background: #fff; border-radius: 12px; padding: 1.1rem 1.25rem; border: 1px solid var(--wog-line); }
.wog-facts li strong { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wog-gold-dark); margin-bottom: 0.25rem; }
.is-navy .wog-facts li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.is-navy .wog-facts li strong { color: var(--wog-gold); }

.wog-notice {
	background: #fff8ea;
	border-left: 4px solid var(--wog-gold);
	border-radius: 10px;
	padding: 1.1rem 1.35rem !important;
	font-size: 0.97rem;
}
.wog-notice.is-urgent { background: #fdeeee; border-left-color: #b42318; }

/* ---------- CTA band ---------- */
.wog-cta {
	background: linear-gradient(120deg, var(--wog-navy) 0%, #183c5e 100%);
	color: #dbe5ee;
	border-radius: 22px;
	padding: clamp(2.25rem, 5vw, 3.75rem) !important;
	position: relative;
	overflow: hidden;
}
.wog-cta::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -30px;
	width: 300px;
	height: 160px;
	background: url(assets/img/emblem-white.png) center / contain no-repeat;
	opacity: 0.07;
	pointer-events: none;
}
.wog-cta h2 { color: #fff; }
.wog-cta .wog-lead { color: #cfdbe6; }
.wog-cta .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }

/* ---------- FAQ ---------- */
.wp-block-details.wog-faq {
	background: #fff;
	border: 1px solid var(--wog-line);
	border-radius: 12px;
	padding: 1.1rem 1.4rem;
	margin-top: 0.85rem;
}
.wp-block-details.wog-faq summary { font-weight: 600; color: var(--wog-navy); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details.wog-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.wog-faq summary::after { content: "+"; position: absolute; right: 0; top: -0.15rem; font-size: 1.5rem; color: var(--wog-gold-dark); line-height: 1; }
.wp-block-details.wog-faq[open] summary::after { content: "\2013"; }
.wp-block-details.wog-faq > :not(summary) { color: var(--wog-muted); margin-top: 0.75rem; }

/* ---------- Forms (Contact Form 7) ---------- */
.wog-form {
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--wog-shadow-lg);
	padding: clamp(1.5rem, 4vw, 2.5rem) !important;
	border: 1px solid var(--wog-line);
}
.wpcf7 form p { margin: 0 0 1rem; }
.wpcf7 label { display: block; font-weight: 600; font-size: 0.93rem; color: var(--wog-navy); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.75rem 0.9rem;
	font: inherit;
	font-weight: 400;
	color: var(--wog-ink);
	background: var(--wog-cream);
	border: 1px solid #d6d0c4;
	border-radius: 10px;
	box-sizing: border-box;
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--wog-navy); background: #fff; box-shadow: 0 0 0 3px rgba(224, 164, 58, 0.35); }
.wpcf7 .wpcf7-list-item { margin: 0.25rem 1rem 0.25rem 0; font-weight: 400; }
.wpcf7 input[type="submit"] {
	background: var(--wog-gold);
	color: var(--wog-navy-deep);
	border: 0;
	border-radius: 999px;
	padding: 0.9rem 2rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: #f0b85a; }
.wpcf7 .wog-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .wpcf7 .wog-row { grid-template-columns: 1fr; } }
.wpcf7 .wog-fine { font-size: 0.85rem; color: var(--wog-muted); font-weight: 400; }
.wpcf7-response-output { border-radius: 10px; margin: 1rem 0 0 !important; }

/* ---------- Embeds ---------- */
.wog-zeffy { position: relative; width: 100%; height: 1000px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: var(--wog-shadow-lg); }
.wog-zeffy iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wog-zeffy__fallback { font-size: 0.9rem; color: var(--wog-muted); text-align: center; margin-top: 0.85rem; }
.wog-map { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; box-shadow: var(--wog-shadow); }
.wog-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contact cards ---------- */
.wog-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.wog-contact-list li { position: relative; padding-left: 3.75rem; min-height: 48px; }
.wog-contact-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #fdf1dc, #f6e1b8); }
.wog-contact-list li::after { content: ""; position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; background: var(--wog-navy); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.wog-contact-list li strong { display: block; color: var(--wog-navy); }

/* ---------- Page (default template) ---------- */
.wog-page-head { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); background: var(--wog-sky); }
.wog-page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.wog-prose { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.wog-prose h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.wog-prose h3 { margin-top: 1.75rem; }

/* ---------- News ---------- */
.wog-post-card {
	background: #fff;
	border: 1px solid var(--wog-line);
	border-radius: var(--wog-radius);
	overflow: hidden;
	height: 100%;
	box-shadow: var(--wog-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wog-post-card:hover { transform: translateY(-4px); box-shadow: var(--wog-shadow-lg); }
.wog-post-card .wp-block-post-featured-image { margin: 0; }
.wog-post-card .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.wog-post-card__body { padding: 1.35rem 1.5rem 1.6rem; }
.wog-post-card__body > * + * { margin-top: 0.55rem; }
.wog-post-card .wp-block-post-title { font-size: 1.2rem; line-height: 1.3; }
.wog-post-card .wp-block-post-title a { text-decoration: none; color: var(--wog-navy); }
.wog-post-card .wp-block-post-date { font-size: 0.82rem; color: var(--wog-gold-dark); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.wog-post-card .wp-block-post-excerpt { color: var(--wog-muted); font-size: 0.97rem; }
.wog-post-card .wp-block-post-excerpt__more-text { margin-top: 0.75rem; }
.wog-post-card .wp-block-post-excerpt__more-link { font-weight: 600; text-decoration: none; }
.wp-block-query-pagination { margin-top: 2.5rem; justify-content: center; gap: 1rem; }

.wog-article-head { background: var(--wog-sky); padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(2rem, 5vw, 3rem); }
.wog-article-head .wp-block-post-title { font-size: clamp(2rem, 4.5vw, 3rem); }
.wog-article-meta { color: var(--wog-muted); font-size: 0.92rem; }
.wog-article-image img { border-radius: 18px; box-shadow: var(--wog-shadow-lg); max-height: 520px; object-fit: cover; width: 100%; }
.wog-article .wp-block-post-content h2 { margin-top: 2.25rem; font-size: 1.6rem; }
.wog-article .wp-block-post-content h3 { margin-top: 1.75rem; }

/* ---------- Footer ---------- */
.wog-footer { background: var(--wog-navy-deep); color: #b9c7d4; font-size: 0.95rem; padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: 1.5rem; }
.wog-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .wog-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wog-footer__grid { grid-template-columns: 1fr; } }
.wog-footer h2 { color: #fff; font-family: var(--wp--preset--font-family--body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 700; }
.wog-footer ul { list-style: none; margin: 0; padding: 0; }
.wog-footer li { margin-bottom: 0.55rem; }
.wog-footer a { color: #e3ebf2; text-decoration: none; }
.wog-footer a:hover { color: var(--wog-gold); text-decoration: underline; }
.wog-footer__brand img { width: 150px; height: auto; margin-bottom: 1rem; }
.wog-footer__brand p { margin: 0 0 0.9rem; line-height: 1.6; }
.wog-footer address { font-style: normal; line-height: 1.7; }
.wog-footer__legal {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	font-size: 0.85rem;
	color: #8fa2b4;
}
.wog-footer__legal a { color: #b9c7d4; }
.wog-footer .wog-footer__btn { display: inline-block; margin-top: 0.5rem; background: var(--wog-gold); color: var(--wog-navy-deep); font-weight: 700; padding: 0.65rem 1.25rem; border-radius: 999px; }
.wog-footer .wog-footer__btn:hover { background: #f0b85a; color: var(--wog-navy-deep); text-decoration: none; }

/* ---------- 404 ---------- */
.wog-404 { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.wog-split.is-reversed-mobile { flex-direction: column-reverse; }
	.wog-hero::before { background: linear-gradient(180deg, rgba(10, 28, 46, 0.86) 0%, rgba(10, 28, 46, 0.9) 100%); }
	.wog-zeffy { height: 1100px; }
	.wog-topbar__inner > div:first-child,
	.wog-topbar__links a[href^="mailto"],
	.wog-topbar__links span { display: none; }
	.wog-topbar__links { width: 100%; justify-content: center; gap: 1.5rem; }
	.wog-header__nav { gap: 0.75rem; }
	.wog-header__nav .wp-block-navigation { order: 2; }
}

/* Four-card rows wrap to two-by-two on tablets */
@media (max-width: 1100px) and (min-width: 782px) {
	.wog-cards:has(> .wp-block-column:nth-child(4)) { flex-wrap: wrap !important; }
	.wog-cards:has(> .wp-block-column:nth-child(4)) > .wp-block-column { flex-basis: calc(50% - 0.75rem) !important; flex-grow: 0; }
}
.wog-cards + .wog-cards { margin-top: 1.5rem; }
.wog-img-plain img { max-width: 320px; margin: 0 auto; display: block; }
