﻿/*
Theme Name: Church Theme
Theme URI: https://www.riveroflifebc.com
Description: A modern, coastal child theme of GeneratePress built for River of Life BC. Designed as a reusable starting point for church websites â€” brand tokens, hero sections, service-time bars, cards and CTAs. Duplicate this theme and re-skin the CSS variables in :root to launch a new church site.
Author: Moveupster
Author URI: https://www.riveroflifebc.com
Template: generatepress
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: church-theme
Tags: church, non-profit, generatepress-child
*/

/* =====================================================================
   1. BRAND TOKENS
   Re-skin a new church by changing ONLY the values in this block.
   ===================================================================== */
:root {
	/* Core palette â€” coastal / ocean */
	--rl-navy:      #0C3B5E; /* primary â€” deep ocean navy   */
	--rl-navy-dark: #082A44; /* darker navy for footers      */
	--rl-teal:      #2F9BE0; /* secondary accent â€” brand blue (from logo) */
	--rl-teal-dark: #1F7FBE;
	--rl-brand:     #2F9BE0; /* River of Life brand blue (wordmark) */
	--rl-brand-dark:#1F7FBE;
	--rl-icon:      #38B6FF; /* brighter blue from the logo icon (hover) */
	--rl-amber:     #F2994A; /* warm CTA â€” sunset            */
	--rl-amber-dark:#E07E2E;

	/* Neutrals */
	--rl-ink:       #1A2A36; /* body text                    */
	--rl-muted:     #5A6B77; /* secondary text               */
	--rl-line:      #E3E9ED; /* borders / dividers           */
	--rl-cream:     #F7F9FA; /* light section background     */
	--rl-sand:      #F1ECE3; /* warm alt section background  */
	--rl-white:     #FFFFFF;

	/* Typography */
	--rl-font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rl-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Shape */
	--rl-radius:    16px;
	--rl-radius-sm: 10px;
	--rl-shadow:    0 18px 40px -18px rgba(12, 59, 94, 0.28);
	--rl-shadow-sm: 0 8px 24px -12px rgba(12, 59, 94, 0.22);
	--rl-maxw:      1180px;
}

/* =====================================================================
   2. BASE TYPOGRAPHY
   ===================================================================== */
body {
	font-family: var(--rl-font-body);
	color: var(--rl-ink);
	-webkit-font-smoothing: antialiased;
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.site-title {
	font-family: var(--rl-font-head);
	color: var(--rl-navy);
	line-height: 1.15;
	letter-spacing: -0.01em;
	font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 600; } /* section titles semibold site-wide (Dima 2026-11-30) */
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; } /* sub-titles semibold site-wide (Dima 2026-11-30) */

a { color: var(--rl-teal-dark); text-decoration: none; }
a:hover { color: var(--rl-navy); }

/* Small eyebrow / kicker label above headings */
.rl-eyebrow {
	display: inline-block;
	font-family: var(--rl-font-head);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rl-teal);
	margin-bottom: 0.6rem;
}

/* =====================================================================
   3. BUTTONS  (add class in the block "Additional CSS class" field)
   ===================================================================== */
.rl-btn,
.wp-block-button__link.rl-btn,
.wp-block-button.rl-btn > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--rl-font-head);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.85em 1.9em;
	border-radius: 999px;
	background: var(--rl-brand);
	color: #fff !important;
	border: 2px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-shadow: var(--rl-shadow-sm);
	cursor: pointer;
}
.rl-btn:hover {
	background: var(--rl-icon);
	color: #fff !important;
	transform: translateY(-2px);
}

/* Beat GeneratePress's default grey block-button style
   (its selector a.wp-block-button__link:not(.has-background) has specificity
   0-2-1; we use body + the same to win). Makes every button brand-blue. */
body a.wp-block-button__link:not(.has-background) {
	background-color: var(--rl-brand);
	color: #fff;
	border-color: transparent;
}
body a.wp-block-button__link:not(.has-background):hover,
body a.wp-block-button__link:not(.has-background):focus {
	background-color: var(--rl-icon);
	color: #fff;
}
.rl-btn--navy   { background: var(--rl-navy); }
.rl-btn--navy:hover { background: var(--rl-navy-dark); }
.rl-btn--teal   { background: var(--rl-teal); }
.rl-btn--teal:hover { background: var(--rl-teal-dark); }
.rl-btn--ghost  {
	background: transparent;
	color: var(--rl-navy) !important;
	border-color: var(--rl-line);
	box-shadow: none;
}
.rl-btn--ghost:hover { border-color: var(--rl-navy); background: var(--rl-cream); }
/* Ghost button on dark backgrounds */
.rl-btn--outline-light {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255,255,255,0.5);
	box-shadow: none;
}
.rl-btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* Inline icons on specific CTA buttons. Matched by href so no block markup edits
   are needed; drawn with mask + currentColor so the glyph tracks the button's
   text colour in every state. Buttons are already inline-flex with a gap. */
.rl-btn[href*="youtube"]::before,
.rl-btn[href$="/give"]::before,
.rl-btn[href$="/im-new"]::before,
.rl-btn[href$="/about"]::before,
.rl-btn[href*="maps.app.goo.gl"]::before,
.rl-btn[href*="google.com/maps"]::before,
.rl-btn[href$="/staff"]::before,
.rl-btn[href$="/prayer-ministry"]::before,
.rl-btn[type="submit"]::before {
	content: "";
	display: inline-block;
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	-webkit-mask-position: center;
	        mask-position: center;
	-webkit-mask-size: contain;
	        mask-size: contain;
}
.rl-btn[href*="youtube"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8zM9.5 15.6V8.4l6.4 3.6-6.4 3.6z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8zM9.5 15.6V8.4l6.4 3.6-6.4 3.6z'/%3E%3C/svg%3E");
}
.rl-btn[href$="/give"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}
/* Plan Your Visit → location pin */
.rl-btn[href$="/im-new"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}
/* Our Story → open book */
.rl-btn[href$="/about"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zm0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5v11.5z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zm0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5v11.5z'/%3E%3C/svg%3E");
}
/* Get Directions → navigation arrow */
.rl-btn[href*="maps.app.goo.gl"]::before,
.rl-btn[href*="google.com/maps"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.41 10.59l-7.99-8c-.78-.78-2.05-.78-2.83 0l-8 8c-.78.78-.78 2.05 0 2.83l8 8c.78.78 2.05.78 2.83 0l7.99-8c.79-.79.79-2.05 0-2.83zM13.5 14.5V12H10v3H8v-4c0-.55.45-1 1-1h4.5V7.5L17 11l-3.5 3.5z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.41 10.59l-7.99-8c-.78-.78-2.05-.78-2.83 0l-8 8c-.78.78-.78 2.05 0 2.83l8 8c.78.78 2.05.78 2.83 0l7.99-8c.79-.79.79-2.05 0-2.83zM13.5 14.5V12H10v3H8v-4c0-.55.45-1 1-1h4.5V7.5L17 11l-3.5 3.5z'/%3E%3C/svg%3E");
}
/* Staff links → people icon; the bio-page "Back to Staff" overrides to a back arrow */
.rl-btn[href$="/staff"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}
.rl-bio-actions .rl-btn[href$="/staff"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z'/%3E%3C/svg%3E");
}
/* Prayer Ministry → praying hands (two hands pressed together, tips up) */
.rl-btn[href$="/prayer-ministry"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.4 4.2c-.4-.9-1.6-.8-2 .1L7 9.8c-.2.5-.5.9-.9 1.2L4.6 12.3c-.7.6-1.1 1.5-1.1 2.5V18c0 1.1.9 2 2 2h4.9c.5 0 .9-.4.9-.9V5.4c0-.4-.1-.8-.3-1.2zM12.9 4.3c.4-.9 1.6-.8 2 .1L17.3 9.8c.2.5.5.9.9 1.2l1.5 1.3c.7.6 1.1 1.5 1.1 2.5V18c0 1.1-.9 2-2 2h-4.9c-.5 0-.9-.4-.9-.9V5.4c0-.4.1-.8.3-1.2z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.4 4.2c-.4-.9-1.6-.8-2 .1L7 9.8c-.2.5-.5.9-.9 1.2L4.6 12.3c-.7.6-1.1 1.5-1.1 2.5V18c0 1.1.9 2 2 2h4.9c.5 0 .9-.4.9-.9V5.4c0-.4-.1-.8-.3-1.2zM12.9 4.3c.4-.9 1.6-.8 2 .1L17.3 9.8c.2.5.5.9.9 1.2l1.5 1.3c.7.6 1.1 1.5 1.1 2.5V18c0 1.1-.9 2-2 2h-4.9c-.5 0-.9-.4-.9-.9V5.4c0-.4.1-.8.3-1.2z'/%3E%3C/svg%3E");
}
/* Send Message (any rl-btn form submit, all pages) → envelope */
.rl-btn[type="submit"]::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

/* =====================================================================
   4. HEADER / NAVIGATION
   ===================================================================== */
.main-navigation .main-nav ul li a {
	font-family: var(--rl-font-head);
	font-weight: 500;
	letter-spacing: 0.01em;
}
/* Turn the last menu item into a pill CTA â€” give it class "menu-cta" */
.main-navigation .main-nav ul li.menu-cta a {
	background: var(--rl-brand);
	color: #fff;
	border-radius: 999px;
	margin: 0 0 0 0.5rem;
	padding-left: 1.4em;
	padding-right: 1.4em;
}
.main-navigation .main-nav ul li.menu-cta a:hover {
	background: var(--rl-icon);
	color: #fff;
}
/* Sticky nav shadow */
.main-navigation.is_stuck {
	box-shadow: var(--rl-shadow-sm);
}

/* Header logo lockup (icon + wordmark) */
.rl-logo a { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.rl-logo-icon { width: 52px; height: auto; flex: none; }
.rl-logo-text { display: flex; flex-direction: column; line-height: 1; }
.rl-logo-line1 {
	font-family: var(--rl-font-head);
	font-weight: 700;
	font-size: 1.4rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--rl-brand);
}
.rl-logo-line2 {
	font-family: var(--rl-font-head);
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--rl-brand);
	margin-top: 4px;
}
/* Hide GeneratePress default text title/tagline â€” the lockup replaces them */
.main-title,
.site-description {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
@media (max-width: 480px) {
	.rl-logo-line1 { font-size: 1.15rem; }
	.rl-logo-icon { width: 44px; }
}

/* "Skip to content" link: keep it for keyboard users (it reveals on Tab), but
   don't let it flash as a grey rounded box in the top-left when clicking there
   with a mouse. Re-hide it whenever it's focused WITHOUT keyboard navigation. */
.skip-link:focus:not(:focus-visible) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* =====================================================================
   4b. OFF-CANVAS NAV (ALL WIDTHS)
   Turn GeneratePress's toggled menu into a full-height drawer that slides
   in from the right, over a dimmed page overlay. GP still drives the
   open/close (adds .toggled to #site-navigation and .mobile-menu-open to
   <html>); we only restyle those states and add the overlay + scroll lock.
   ===================================================================== */

/* Dim overlay behind the drawer (element injected via functions.php). */
.rl-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(8, 42, 68, 0.55);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
html.mobile-menu-open .rl-nav-overlay {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s ease;
}
/* Reserve the scrollbar gutter at all times so locking scroll (drawer or
   modal open) doesn't remove the scrollbar and shift the page/header sideways.
   No effect on mobile overlay scrollbars (they reserve 0 width). */
html { scrollbar-gutter: stable; }
/* Lock the page behind the open drawer. */
html.mobile-menu-open,
html.mobile-menu-open body { overflow: hidden; }
/* The drawer only exists at mobile widths — never let it show on desktop. */
/* The dim overlay is used at every width now that the drawer is universal,
   so it is no longer hidden above a breakpoint. */

@media (max-width: 99999px) {
	/* The sliding panel — GP's .main-nav (#primary-menu) becomes the drawer. */
	.main-navigation .main-nav {
		position: fixed;
		top: 0;
		right: 0;
		/* !important beats GeneratePress's full-width mobile menu rule so the
		   drawer stays a right-side panel (page visible behind) on phones too. */
		width: min(360px, 84vw) !important;
		height: 100vh;
		height: 100dvh;
		background: linear-gradient(160deg, var(--rl-brand) 0%, var(--rl-brand-dark) 100%);
		box-shadow: -14px 0 44px rgba(8, 42, 68, 0.32);
		z-index: 9999;
		padding: 5.25rem 0 2rem;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.34s;
	}
	.main-navigation.toggled .main-nav {
		transform: translateX(0);
		visibility: visible;
		transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
	}

	/* Stack the links vertically inside the drawer. */
	.main-navigation .main-nav ul {
		display: block;
		list-style: none;
		margin: 0;
		padding: 0;
		width: 100%;
	}
	.main-navigation .main-nav ul li {
		position: relative;
		margin: 0;
		float: none;
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}
	.main-navigation .main-nav ul li a {
		display: block;
		padding: 0.9rem 4rem 0.9rem 1.6rem;
		color: #fff;
		font-family: var(--rl-font-head);
		font-weight: 700;
		font-size: 1.25rem;
		line-height: 1.25;
		letter-spacing: 0.02em;
		text-transform: uppercase;
	}
	.main-navigation .main-nav ul li a:hover,
	.main-navigation .main-nav ul li a:focus {
		background: rgba(255, 255, 255, 0.12);
		color: #fff;
	}
	/* "Give" CTA becomes a plain drawer row like the others. The extra
	   .toggled qualifier out-specifies the desktop header pill refinement
	   (which otherwise shrinks Give to 0.9rem inside the drawer). */
	.main-navigation.toggled .main-nav ul li.menu-cta a {
		background: none;
		border-radius: 0;
		margin: 0;
		min-height: 0;
		font-size: 1.25rem;
		line-height: 1.25;
		padding: 0.9rem 4rem 0.9rem 1.6rem;
	}

	/* Plain page → arrow indicator (top-level items without a sub-menu). */
	.main-navigation .main-nav > ul > li:not(.menu-item-has-children) > a::after {
		content: "\2192";
		position: absolute;
		right: 1.5rem;
		top: 50%;
		transform: translateY(-50%);
		font-weight: 600;
		color: #fff;
	}

	/* Has-submenu → down-arrow chevron toggle (rotates up when expanded). */
	.main-navigation .main-nav .dropdown-menu-toggle {
		position: absolute;
		top: 0;
		right: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 60px;
		height: 3.35rem;
		font-size: 1.05rem;
		color: #fff;
	}
	.main-navigation .main-nav .dropdown-menu-toggle .gp-icon {
		display: inline-flex;
	}
	.main-navigation .main-nav .dropdown-menu-toggle .gp-icon svg {
		width: 1em;
		height: 1em;
		fill: #fff;
		transition: transform 0.2s ease;
	}
	.main-navigation .main-nav .dropdown-menu-toggle[aria-expanded="true"] .gp-icon svg {
		transform: rotate(180deg);
	}

	/* Sub-menus (About, Ministries, Events) — inset, sentence case. */
	.main-navigation .main-nav .sub-menu {
		position: static;
		width: 100%;
		background: rgba(0, 0, 0, 0.16);
		box-shadow: none;
		opacity: 1;
		visibility: visible;
	}
	.main-navigation .main-nav .sub-menu li a {
		padding: 0.7rem 1.6rem 0.7rem 2.6rem;
		font-size: 1.02rem;
		font-weight: 600;
		text-transform: none;
		letter-spacing: 0;
		color: rgba(255, 255, 255, 0.92);
	}

	/* Close (X) button — injected into the drawer via functions.php so it sits
	   inside the drawer's stacking context (above the overlay). */
	.rl-drawer-close {
		display: block;
		position: absolute;
		top: 0.9rem;
		right: 1rem;
		width: 44px;
		height: 44px;
		padding: 0;
		margin: 0;
		border: none;
		background: transparent;
		cursor: pointer;
		z-index: 2;
	}
	.rl-drawer-close::before,
	.rl-drawer-close::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 24px;
		height: 3px;
		background: #fff;
		border-radius: 2px;
	}
	.rl-drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
	.rl-drawer-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
}

/* The injected close button is drawer-only — never show it on the desktop bar. */
/* The drawer's ✕ button is shown at every width now that the drawer is
   universal, so it is no longer hidden above a breakpoint. */

/* =====================================================================
   4c. DESKTOP DROPDOWN SUB-MENUS — INACTIVE
   The site now uses the hamburger at every width, so there is no desktop
   menu bar and this block's (min-width: 1101px) query can never match. Kept
   deliberately: restoring a real breakpoint in functions.php and section 4b
   brings the desktop menu — and these dropdown colours — straight back.
   ===================================================================== */
@media (min-width: 1101px) {
	#site-navigation .main-nav ul ul {
		background: linear-gradient(160deg, var(--rl-brand) 0%, var(--rl-brand-dark) 100%);
	}
	#site-navigation .main-nav ul ul li {
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}
	#site-navigation .main-nav ul ul li:first-child { border-top: none; }
	#site-navigation .main-nav ul ul a {
		color: #fff;
	}
	#site-navigation .main-nav ul ul li:hover > a,
	#site-navigation .main-nav ul ul a:hover,
	#site-navigation .main-nav ul ul a:focus,
	#site-navigation .main-nav ul ul li.sfHover > a {
		background: rgba(255, 255, 255, 0.12);
		color: #fff;
	}
}

/* =====================================================================
   5. SECTIONS & LAYOUT HELPERS
   ===================================================================== */
.rl-section        { padding-block: clamp(3.5rem, 7vw, 6rem); }
.rl-section--cream { background: var(--rl-cream); }
.rl-section--sand  { background: var(--rl-sand); }
.rl-section--navy  { background: var(--rl-navy); color: #E8EEF3; }
.rl-section--navy h1,
.rl-section--navy h2,
.rl-section--navy h3 { color: #fff; }
.rl-section--navy .rl-eyebrow { color: var(--rl-amber); }

/* Parallax image band (home "Our Church"). The photo is pinned to the viewport
   (background-attachment: fixed) so it appears to scroll WITHIN the section; a
   navy overlay keeps the text legible. Touch devices fall back to a static
   cover — fixed attachment is janky/broken on iOS. Swap the photo by editing
   the url() below. */
.rl-section--parallax {
	background-image:
		linear-gradient( rgba(12, 59, 94, 0.72), rgba(12, 59, 94, 0.72) ),
		url('assets/images/i-m-new.avif');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: #E8EEF3;
}
.rl-section--parallax h1,
.rl-section--parallax h2,
.rl-section--parallax h3 { color: #fff; }
.rl-section--parallax p:not(.rl-eyebrow) { color: rgba(255, 255, 255, 0.92); }
.rl-section--parallax .rl-eyebrow { color: var(--rl-amber); }
/* The "Our Story" button stays the site's solid brand-blue CTA (matches the
   hero); it reads well on the navy-overlaid photo, so no override needed. */
@media (max-width: 768px) {
	.rl-section--parallax { background-attachment: scroll; }
}

/* Video slot (home "First Time?" right column). The wrapper holds a fixed 16:9
   frame with rounded corners + shadow. When Alex's clip is ready, replace the
   inner .rl-video-embed__inner with a <video>/<iframe> and KEEP the wrapper —
   it already sizes and clips the media. */
.rl-video-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--rl-radius);
	overflow: hidden;
	box-shadow: var(--rl-shadow);
	background: var(--rl-navy);
}
.rl-video-embed > video,
.rl-video-embed > iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}
/* Placeholder-only treatment (drop this modifier once the video is in). */
.rl-video-embed--placeholder {
	background: linear-gradient( 135deg, var(--rl-navy) 0%, var(--rl-teal-dark) 100% );
}
.rl-video-embed__inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	color: rgba(255, 255, 255, 0.92);
}
.rl-video-embed__play {
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.7);
	display: grid;
	place-items: center;
}
.rl-video-embed__play::before {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 11px 0 11px 19px;
	border-color: transparent transparent transparent #fff;
	margin-left: 5px; /* optically centre the triangle */
}
.rl-video-embed__label {
	font-family: var(--rl-font-head);
	font-weight: 600;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
}

/* Keep page content close to the hero (or to the top menu when there's no
   hero). The first section otherwise inherits the full section top padding
   (~90px), leaving a big empty band right under the hero image. Per-page
   overrides below still win where a page has been hand-tuned. */
.rl-hero + .rl-section,
.rl-pagebanner + .rl-section,
.entry-content > .rl-section:first-child {
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
}
/* The first section also carries ~80px of group block-padding (two nested
   .wp-block-group__inner-container wrappers at 40px each) on top of that, which
   pushed content well below the hero. Zero the TOP of those wrappers for the
   first section only — later sections keep their normal spacing. */
.rl-hero + .rl-section > .wp-block-group__inner-container,
.rl-pagebanner + .rl-section > .wp-block-group__inner-container,
.entry-content > .rl-section:first-child > .wp-block-group__inner-container,
.rl-hero + .rl-section .rl-inner > .wp-block-group__inner-container,
.rl-pagebanner + .rl-section .rl-inner > .wp-block-group__inner-container,
.entry-content > .rl-section:first-child .rl-inner > .wp-block-group__inner-container {
	padding-top: 0;
}
/* Also drop the top margin of the very first element (eyebrow/heading) in that
   first section, so the text block sits tight under the hero. */
.rl-hero + .rl-section .rl-inner > .wp-block-group__inner-container > :first-child,
.rl-pagebanner + .rl-section .rl-inner > .wp-block-group__inner-container > :first-child,
.entry-content > .rl-section:first-child .rl-inner > .wp-block-group__inner-container > :first-child {
	margin-top: 0;
}
/* Prayer (52) & Wednesdays (119) set their own taller section padding, which
   otherwise wins over the rule above. Pull their first section tight too. */
.page-id-52 .rl-pagebanner + .rl-section,
.page-id-119 .rl-pagebanner + .rl-section {
	padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.rl-inner { max-width: var(--rl-maxw); margin-inline: auto; padding-inline: 1.25rem; }

/* =====================================================================
   6. HERO
   Wrap a Cover/Group block and give it class "rl-hero".
   ===================================================================== */
.rl-hero {
	position: relative;
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	color: #fff;
	padding-block: 3rem;
	/* Layers (topâ†’bottom): navy overlay Â· congregation photo Â· gradient fallback.
	   Drop the photo at assets/images/hero-worship.jpg and it appears automatically. */
	background:
		linear-gradient(115deg, rgba(8,42,68,0.88) 0%, rgba(12,59,94,0.55) 55%, rgba(47,155,224,0.30) 100%),
		url('assets/images/hero-worship.webp') center/cover no-repeat,
		radial-gradient(120% 130% at 12% 10%, #17709E 0%, #0C3B5E 45%, #082A44 100%);
	background-position: center;
}
.rl-hero h1 { color: #fff; max-width: 18ch; margin-inline: auto; }
.rl-hero p  { font-size: 1.2rem; max-width: 52ch; color: #E8EEF3; margin-inline: auto; }
.rl-hero .rl-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; justify-content: center; }
/* "Sundays" label above the hero service times */
.rl-hero-times-label {
	font-family: var(--rl-font-head);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.95rem;
	color: var(--rl-amber);
	margin: 2.25rem 0 0.25rem;
}
/* White service times inside the hero */
.rl-hero .rl-times { margin: 0.5rem auto 0.5rem; }
.rl-hero .rl-time-num { color: #fff; }
.rl-hero .rl-time-label { color: rgba(255,255,255,0.82); }
.rl-hero .rl-time-divider { background: rgba(255,255,255,0.4); }
/* Hero CTA buttons â€” logo wordmark blue, brighter icon blue on hover */
.rl-hero .rl-btn,
.rl-hero .wp-block-button__link.rl-btn {
	background: var(--rl-brand) !important;
	color: #fff !important;
	border-color: transparent !important;
}
.rl-hero .rl-btn:hover,
.rl-hero .wp-block-button__link.rl-btn:hover {
	background: var(--rl-icon) !important;
	color: #fff !important;
}

/* Hide the redundant "Home" page title on the static front page (hero is the headline) */
.home .entry-header { display: none; }

/* Front page: sit the hero flush under the header (kill the separate-containers grey gap) */
.home #content.site-content,
.home #primary.content-area,
.home #main.site-main,
.home .site-main > article,
.home .inside-article {
	padding-top: 0;
	margin-top: 0;
}

/* =====================================================================
   7. SERVICE-TIMES BAR
   A horizontal strip of "when & where". Class "rl-servicebar".
   ===================================================================== */
.rl-servicebar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1px;
	background: var(--rl-line);
	border-radius: var(--rl-radius);
	overflow: hidden;
	box-shadow: var(--rl-shadow-sm);
}
.rl-servicebar > * {
	background: #fff;
	padding: 1.6rem 1.4rem;
	text-align: center;
}
.rl-servicebar .rl-servicebar-label {
	font-family: var(--rl-font-head);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rl-teal);
	font-weight: 600;
}
.rl-servicebar .rl-servicebar-value {
	font-family: var(--rl-font-head);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rl-navy);
	margin-top: 0.25rem;
}

/* Service-times feature block (big Sundays layout) */
.rl-times {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.5rem, 6vw, 3.75rem);
	margin: 1.75rem 0 2.25rem;
	flex-wrap: wrap;
}
.rl-time { text-align: center; }
.rl-time-num {
	display: block;
	font-family: var(--rl-font-head);
	font-weight: 700;
	font-size: clamp(2.2rem, 6vw, 3.4rem);
	color: var(--rl-brand);
	line-height: 1;
}
.rl-time-label {
	display: block;
	font-family: var(--rl-font-head);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.85rem;
	color: var(--rl-muted);
	margin-top: 0.65rem;
}
.rl-time-divider {
	width: 2px;
	align-self: stretch;
	min-height: 76px;
	background: var(--rl-line);
}
.rl-times-actions { margin-top: 0.5rem; }
@media (max-width: 480px) {
	.rl-time-divider { display: none; }
}

/* =====================================================================
   8. CARDS  (events, ministries, next steps). Class "rl-card".
   ===================================================================== */
.rl-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
}
@media (max-width: 640px) {
	.rl-cards { grid-template-columns: 1fr; }
}
.rl-card {
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	overflow: hidden;
	box-shadow: var(--rl-shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}
.rl-card:hover { transform: translateY(-4px); box-shadow: var(--rl-shadow); }
.rl-card img { display: block; width: 100%; height: 210px; object-fit: cover; }
.rl-card .rl-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.rl-card h3 { margin: 0 0 0.5rem; }
.rl-card p  { color: var(--rl-muted); margin: 0 0 1.1rem; }
.rl-card .rl-btn { margin-top: auto; align-self: flex-start; }

/* ---------------------------------------------------------------------
   Ministry link-cards (rl-mcard): image fills the card edge-to-edge, the
   whole card is a single link, no button. Used on Home + Ministries.
   --------------------------------------------------------------------- */
.rl-mgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
}
.rl-mcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	overflow: hidden;
	box-shadow: var(--rl-shadow-sm);
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.rl-mcard:hover,
.rl-mcard:focus-visible {
	transform: translateY(-5px);
	box-shadow: var(--rl-shadow);
	color: inherit;
}
.rl-mcard-img {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
	margin: 0;
}
.rl-mcard-body {
	display: block;
	padding: 0.95rem 1.1rem 1.1rem;
}
.rl-mcard-title {
	display: block;
	font-family: var(--rl-font-head);
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--rl-navy);
	margin-bottom: 0.35rem;
}
.rl-mcard-title::after {
	content: " \2192";
	color: var(--rl-brand);
	opacity: 0;
	transition: opacity 0.18s ease, transform 0.18s ease;
	display: inline-block;
}
.rl-mcard:hover .rl-mcard-title::after,
.rl-mcard:focus-visible .rl-mcard-title::after {
	opacity: 1;
	transform: translateX(3px);
}
.rl-mcard-text {
	display: block;
	color: var(--rl-muted);
	font-size: 0.94rem;
	line-height: 1.55;
}
@media (max-width: 980px) {
	.rl-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.rl-mgrid { grid-template-columns: 1fr; }
}

/* Tighter section padding around the ministry cards. */
.home .rl-section--sand {
	padding-block: clamp(2rem, 4vw, 3rem);
}
.page-id-8 .rl-ministries-overview {
	padding-block: clamp(1.5rem, 3.5vw, 2.75rem);
}

/* =====================================================================
   9. FOOTER
   ===================================================================== */
.site-footer,
.footer-widgets {
	background: var(--rl-navy-dark);
	color: #B9C6D1;
}
.site-footer a,
.footer-widgets a { color: #DCE5EC; }
.site-footer a:hover,
.footer-widgets a:hover { color: #fff; }
.footer-widgets .widget-title { color: #fff; font-family: var(--rl-font-head); }
.site-info {
	background: var(--rl-brand-dark);
	color: rgba(255,255,255,0.85);
	text-align: center;
}
.site-info a {
	color: var(--rl-amber);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.site-info a:hover { color: #fff; }

/* Custom church footer (rendered via generate_before_footer) */
.rl-footer {
	background: #2585CB; /* brand blue, a touch darker for the footer */
	color: rgba(255,255,255,0.9);
	padding-block: clamp(1.6rem, 3vw, 2.6rem); /* slimmer band — client asked for a shorter footer */
}
.rl-footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.25fr;
	gap: 2.5rem;
	align-items: start;
}
.rl-footer-heading {
	color: #fff;
	font-family: var(--rl-font-head);
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 1.1rem;
}
.rl-footer-brand { color: #fff; margin: 0 0 0.8rem; }
/* White logo lockup for the (blue) footer */
.rl-logo--footer { margin-bottom: 1.15rem; }
.rl-logo--footer .rl-logo-icon { width: 46px; filter: brightness(0) invert(1); }
.rl-logo--footer .rl-logo-line1,
.rl-logo--footer .rl-logo-line2 { color: #fff; }
.rl-footer-logo { max-width: 210px; height: auto; margin-bottom: 1rem; }
.rl-footer-tagline { color: rgba(255,255,255,0.78); margin: 0 0 1.3rem; max-width: 42ch; font-size: 0.85rem; line-height: 1.6; }
.rl-footer-col p { margin: 0 0 0.55rem; }
.rl-footer a { color: #fff; }
.rl-footer a:hover { color: rgba(255,255,255,0.72); }
.rl-footer-address { color: rgba(255,255,255,0.82); }
/* Footer phone number → smartphone icon (inherits the white link color) */
.rl-footer-phone { display: inline-flex; align-items: center; gap: 0.5rem; }
.rl-footer-phone::before {
	content: "";
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 1.01 7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 1.01 7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.rl-footer-menu { list-style: none; margin: 0; padding: 0; }
.rl-footer-menu li { margin: 0 0 0.6rem; }
.rl-footer-menu a { font-family: var(--rl-font-head); font-weight: 500; }

/* Service times */
.rl-schedule { list-style: none; margin: 0; padding: 0; }
.rl-schedule li { margin: 0 0 0.9rem; }
.rl-schedule-day {
	display: block;
	font-family: var(--rl-font-head);
	font-weight: 600;
	color: #fff;
}
.rl-schedule-time { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.rl-watch-live {
	display: inline-block;
	margin-top: 0.3rem;
	font-family: var(--rl-font-head);
	font-weight: 600;
	border-bottom: 2px solid rgba(255,255,255,0.55);
	padding-bottom: 2px;
}

/* Social icons */
.rl-social { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.rl-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	background: rgba(255,255,255,0.16);
	color: #fff;
	transition: background 0.2s, color 0.2s, transform 0.15s;
}
.rl-social a:hover { background: #fff; color: var(--rl-brand); transform: translateY(-2px); }

/* Map — sits inside the "Visit Us" column */
.rl-footer-map {
	margin-top: 1.15rem;
	line-height: 0;
}
.rl-footer-map iframe {
	display: block;
	width: 100%;
	height: 190px;
	border-radius: var(--rl-radius-sm);
	border: 3px solid rgba(255,255,255,0.22);
	box-shadow: var(--rl-shadow-sm);
}

/* Divider between the info row and the sitemap nav */
.rl-footer-divider {
	border: 0;
	height: 1px;
	background: rgba(255,255,255,0.22);
	margin: 2.75rem 0 2.25rem;
}

/* Lower sitemap — three link columns */
.rl-footer-nav {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.rl-footer-navcol .rl-footer-menu li { margin: 0 0 0.55rem; }

@media (max-width: 900px) {
	.rl-footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.rl-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.rl-footer-top { grid-template-columns: 1fr; }
	.rl-footer-nav { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* =====================================================================
   11. INNER PAGES â€” banner, quote, map, contact form
   ===================================================================== */

/* Page banner (photo header on inner pages) */
.rl-pagebanner {
	position: relative;
	min-height: 42vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	color: #fff;
	padding-block: 3.5rem;
	background-size: cover;
	background-position: center;
}
.rl-pagebanner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(8,42,68,0.85) 0%, rgba(12,59,94,0.55) 60%, rgba(47,155,224,0.30) 100%);
}
.rl-pagebanner > * { position: relative; z-index: 1; }
.rl-pagebanner h1 { color: #fff; }
.rl-pagebanner .rl-eyebrow { color: var(--rl-amber); }
.rl-pagebanner p { color: #E8EEF3; }

/* Pull-quote / culture line */
.rl-quote {
	font-family: var(--rl-font-head);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--rl-navy);
	border-left: 4px solid var(--rl-brand);
	padding-left: 1.25rem;
	margin: 1.75rem 0;
}

/* Embedded map card */
.rl-map { margin-top: 1.5rem; line-height: 0; }
.rl-map iframe {
	width: 100%;
	height: 320px;
	border: 0;
	border-radius: var(--rl-radius);
	box-shadow: var(--rl-shadow-sm);
}

/* Contact form */
.rl-form { max-width: 680px; margin: 1.75rem auto 0; text-align: left; }
.rl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.rl-form-field { margin-bottom: 1.15rem; display: flex; flex-direction: column; }
.rl-form-field label {
	font-family: var(--rl-font-head);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--rl-navy);
	margin-bottom: 0.4rem;
}
.rl-req { color: var(--rl-amber); }
.rl-form input,
.rl-form select,
.rl-form textarea {
	font-family: var(--rl-font-body);
	font-size: 1rem;
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-sm);
	background: #fff;
	color: var(--rl-ink);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.rl-form input:focus,
.rl-form select:focus,
.rl-form textarea:focus {
	outline: none;
	border-color: var(--rl-brand);
	box-shadow: 0 0 0 3px rgba(47,155,224,0.15);
}
.rl-form textarea { resize: vertical; }
.rl-date-field {
	position: relative;
	display: flex;
	align-items: center;
}
.rl-date-field input[type="date"] {
	padding-right: 3.2rem;
	color-scheme: light;
}
.rl-date-field input[type="date"]::-webkit-calendar-picker-indicator {
	opacity: 0;
	cursor: pointer;
}
.rl-date-picker-button {
	position: absolute;
	right: 0.45rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--rl-brand);
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.rl-date-picker-button:hover,
.rl-date-picker-button:focus {
	background: rgba(47,155,224,0.12);
	color: var(--rl-navy);
	outline: none;
}

.rl-form .rl-btn { margin-top: 0.5rem; border: none; cursor: pointer; }
.rl-field-error { color: #C0392B; font-size: 0.85rem; margin-top: 0.35rem; }
.rl-form-error-global {
	background: #FDECEA;
	color: #C0392B;
	padding: 0.8rem 1rem;
	border-radius: var(--rl-radius-sm);
	margin-bottom: 1rem;
}
.rl-form-success {
	max-width: 680px;
	margin: 1.75rem auto 0;
	background: #EAF7EF;
	color: #1E7A46;
	border: 1px solid #BEE6CD;
	padding: 1.25rem 1.5rem;
	border-radius: var(--rl-radius);
	text-align: center;
	font-size: 1.05rem;
}

/* Form confirmation modal — revealed by JS after a successful submit (PRG).
   The .rl-form-success banner above is the no-JS fallback. */
.rl-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(8, 42, 68, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.rl-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease;
}
.rl-modal {
	position: relative;
	width: 100%;
	max-width: 460px;
	background: #fff;
	border-radius: var(--rl-radius);
	padding: 2.75rem 2rem 2rem;
	text-align: center;
	box-shadow: 0 30px 70px rgba(8, 42, 68, 0.35);
	transform: translateY(14px) scale(0.97);
	transition: transform 0.25s ease;
}
.rl-modal-overlay.is-open .rl-modal { transform: none; }
.rl-modal:focus { outline: none; }
.rl-modal-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	margin: 0 auto 1.1rem;
	border-radius: 50%;
	background: #EAF7EF;
	color: #1E7A46;
}
.rl-modal-icon svg { width: 34px; height: 34px; }
.rl-modal-title {
	font-family: var(--rl-font-head);
	color: var(--rl-navy);
	font-size: 1.6rem;
	margin: 0 0 0.6rem;
}
.rl-modal-text {
	color: var(--rl-ink);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0 0 1.6rem;
}
.rl-modal .rl-modal-dismiss {
	border: none;
	cursor: pointer;
}
.rl-modal-close {
	position: absolute;
	top: 0.6rem;
	right: 0.7rem;
	width: 40px;
	height: 40px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 1.9rem;
	line-height: 1;
	color: var(--rl-muted);
	border-radius: 8px;
}
.rl-modal-close:hover,
.rl-modal-close:focus { color: var(--rl-navy); background: var(--rl-cream); }
html.rl-modal-open { overflow: hidden; }
@media (max-width: 560px) {
	.rl-form-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   10. RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
	.rl-hero { min-height: 56vh; text-align: center; }
	.rl-hero .rl-hero-actions { justify-content: center; }
}

/* I'm New page layout refinements */
.page-id-6 #page.grid-container,
.page-id-6 .site.grid-container {
	max-width: none;
}
.page-id-6 #content.site-content,
.page-id-6 #primary.content-area,
.page-id-6 #main.site-main,
.page-id-6 .site-main > article,
.page-id-6 .inside-article {
	padding: 0;
	margin: 0;
}
.page-id-6 .entry-header {
	display: none;
}
.page-id-6 .entry-content {
	margin-top: 0;
}
.page-id-6 .rl-pagebanner {
	min-height: clamp(300px, 38vw, 440px);
	padding-block: clamp(3rem, 7vw, 5rem);
	margin-inline: 0;
	background-size: cover;
	background-position: center;
}
.page-id-6 .rl-section {
	padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
}
.page-id-6 .rl-section--cream {
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.page-id-6 .rl-section--sand {
	padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}
/* I'm New: the intro's bottom and the contact form's top each stacked the
   section padding (~57px) on top of ~80px of nested group block-padding.
   Trim the intro bottom and the form top so the sections aren't so far apart. */
.page-id-6 .rl-pagebanner + .rl-section {
	padding-bottom: clamp(1rem, 2vw, 1.5rem);
}
.page-id-6 .rl-pagebanner + .rl-section > .wp-block-group__inner-container,
.page-id-6 .rl-pagebanner + .rl-section .rl-inner > .wp-block-group__inner-container {
	padding-bottom: 0;
}
.page-id-6 .rl-section:has(#rl-form) {
	padding-top: clamp(1rem, 2vw, 1.5rem);
}
.page-id-6 .rl-section:has(#rl-form) > .wp-block-group__inner-container,
.page-id-6 .rl-section:has(#rl-form) .rl-inner > .wp-block-group__inner-container {
	padding-top: 0;
}
.page-id-6 .rl-servicebar > * {
	padding: 0.85rem 1rem;
}
.page-id-6 .rl-servicebar .rl-servicebar-label {
	margin-bottom: 0.55rem;
}
.page-id-6 .rl-servicebar .rl-servicebar-value {
	font-size: 1.2rem;
	margin: 0;
}
.page-id-6 .rl-map {
	margin-top: 1rem;
}
.page-id-6 .rl-map iframe {
	height: 180px;
}
@media (max-width: 640px) {
	.page-id-6 .rl-map iframe {
		height: 160px;
	}
}
.page-id-6 .rl-service-times-section {
	padding-block: clamp(1.25rem, 2.5vw, 2rem);
}
.page-id-6 .rl-service-times-section .rl-inner {
	--wp--style--block-gap: 0.6rem;
}
.page-id-6 .rl-service-times-section .rl-eyebrow,
.page-id-6 .rl-service-times-section h2 {
	margin-bottom: 0.35rem;
}
.page-id-6 .rl-service-times-section .wp-block-spacer {
	height: 0.25rem !important;
}
.page-id-6 .rl-service-times-section .rl-servicebar {
	margin-top: 0.35rem;
}
.page-id-6 .rl-service-times-section > .wp-block-group__inner-container {
	padding-block: 0 !important;
}

/* Ministry detail pages */
.rl-ministry-hero {
	min-height: clamp(340px, 44vw, 520px);
}
.rl-ministry-hero h1 {
	max-width: 16ch;
	margin-inline: auto;
}
.rl-ministry-hero p:not(.rl-eyebrow) {
	max-width: 58ch;
	margin-inline: auto;
	font-size: 1.12rem;
}
.rl-ministry-detail h2 {
	text-align: center;
	margin-bottom: 1rem;
}
.rl-ministry-detail > .rl-inner > p {
	text-align: center;
	max-width: 70ch;
	margin-inline: auto;
}
.rl-ministry-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 2rem 0;
}
.rl-ministry-list > div {
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-sm);
	padding: 1.25rem;
	box-shadow: var(--rl-shadow-sm);
}
.rl-ministry-list h3 {
	margin: 0 0 0.55rem;
	font-size: 1.12rem;
}
.rl-ministry-list p {
	margin: 0.45rem 0 0;
	color: var(--rl-muted);
}
@media (max-width: 720px) {
	.rl-ministry-list,
	.rl-ministry-list--two {
		grid-template-columns: 1fr;
	}
}

/* Full-width hero treatment for Ministries pages */
.page-id-8 #page.grid-container,
.page-id-8 .site.grid-container,
.page-id-27 #page.grid-container,
.page-id-27 .site.grid-container,
.page-id-28 #page.grid-container,
.page-id-28 .site.grid-container,
.page-id-29 #page.grid-container,
.page-id-29 .site.grid-container,
.page-id-30 #page.grid-container,
.page-id-30 .site.grid-container {
	max-width: none;
}
.page-id-8 #content.site-content,
.page-id-8 #primary.content-area,
.page-id-8 #main.site-main,
.page-id-8 .site-main > article,
.page-id-8 .inside-article,
.page-id-27 #content.site-content,
.page-id-27 #primary.content-area,
.page-id-27 #main.site-main,
.page-id-27 .site-main > article,
.page-id-27 .inside-article,
.page-id-28 #content.site-content,
.page-id-28 #primary.content-area,
.page-id-28 #main.site-main,
.page-id-28 .site-main > article,
.page-id-28 .inside-article,
.page-id-29 #content.site-content,
.page-id-29 #primary.content-area,
.page-id-29 #main.site-main,
.page-id-29 .site-main > article,
.page-id-29 .inside-article,
.page-id-30 #content.site-content,
.page-id-30 #primary.content-area,
.page-id-30 #main.site-main,
.page-id-30 .site-main > article,
.page-id-30 .inside-article {
	padding: 0;
	margin: 0;
}
.page-id-8 .entry-header,
.page-id-27 .entry-header,
.page-id-28 .entry-header,
.page-id-29 .entry-header,
.page-id-30 .entry-header {
	display: none;
}
.page-id-8 .entry-content,
.page-id-27 .entry-content,
.page-id-28 .entry-content,
.page-id-29 .entry-content,
.page-id-30 .entry-content {
	margin-top: 0;
}
.page-id-8 .rl-pagebanner,
.page-id-27 .rl-pagebanner,
.page-id-28 .rl-pagebanner,
.page-id-29 .rl-pagebanner,
.page-id-30 .rl-pagebanner {
	width: 100%;
	min-height: clamp(340px, 44vw, 520px);
	padding-block: clamp(3.25rem, 7vw, 5.5rem);
	margin-inline: 0;
	background-size: cover;
	background-position: center;
}

/* Home page polish */
.home #page.grid-container,
.home .site.grid-container {
	max-width: none;
	margin-top: 0;
}
.home #content.site-content,
.home #primary.content-area,
.home #main.site-main,
.home .site-main > article,
.home .inside-article {
	padding: 0;
	margin: 0;
}
.home .entry-content {
	margin-top: 0;
}
.home .rl-hero {
	margin-top: 0;
}
.home .rl-section--sand .rl-inner {
	max-width: min(1180px, calc(100vw - 2.5rem));
}
.home .rl-section--sand .rl-cards {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem;
}
.home .rl-section--sand .rl-card img {
	height: 150px;
}
.home .rl-section--sand .rl-card .rl-card-body {
	padding: 1.1rem;
}
.home .rl-section--sand .rl-card h3 {
	font-size: 1.05rem;
}
.home .rl-section--sand .rl-card p {
	font-size: 0.92rem;
	line-height: 1.55;
}
.home .rl-section--sand .rl-card .rl-btn {
	font-size: 0.88rem;
	padding: 0.65em 1.25em;
}
@media (max-width: 980px) {
	.home .rl-section--sand .rl-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 620px) {
	.home .rl-section--sand .rl-cards {
		grid-template-columns: 1fr;
	}
}
.home .rl-section--sand .rl-cards > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem;
}
@media (max-width: 980px) {
	.home .rl-section--sand .rl-cards > .wp-block-group__inner-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 620px) {
	.home .rl-section--sand .rl-cards > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}
}
.home .rl-section--sand .rl-cards {
	display: block;
}
.home .rl-section--sand .rl-cards > .wp-block-group__inner-container {
	width: 100%;
}

/* Header Give button refinement */
.main-navigation .main-nav ul li.menu-cta a {
	font-size: 0.9rem;
	line-height: 1;
	padding: 0.55em 1.05em;
	border-radius: 18px;
	min-height: 0;
}

/* About and Staff pages */
.rl-staff-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
	margin: 2rem 0 3rem;
}
/* Staff: the leadership cards are now the first block in the section (the
   redundant "Our Staff" heading was removed), so pull them up tight to the
   hero — drop the group block-padding and the grid's leading margin. */
.page-id-35 .rl-staff-section > .wp-block-group__inner-container,
.page-id-35 .rl-staff-section .rl-inner > .wp-block-group__inner-container {
	padding-top: 0;
}
.page-id-35 .rl-staff-grid--featured {
	margin-top: 0;
}
.rl-staff-card,
.rl-person-card {
	--rl-card-pad: 1.1rem;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-sm);
	box-shadow: var(--rl-shadow-sm);
	padding: var(--rl-card-pad);
	overflow: hidden;
	text-align: center;
	color: var(--rl-ink);
}
.rl-staff-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.rl-staff-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--rl-shadow);
}
.rl-staff-card img {
	width: calc(100% + var(--rl-card-pad) * 2);
	max-width: none;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
	margin: calc(var(--rl-card-pad) * -1) calc(var(--rl-card-pad) * -1) 0.9rem;
}
.rl-staff-card span {
	font-family: var(--rl-font-head);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rl-brand);
	margin-bottom: 0.25rem;
}
.rl-staff-card strong,
.rl-person-card strong {
	display: block;
	font-family: var(--rl-font-head);
	font-size: 1.15rem;
	color: var(--rl-navy);
}
.rl-person-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rl-brand), var(--rl-navy));
	color: #fff;
	font-family: var(--rl-font-head);
	font-weight: 700;
	font-size: 1.35rem;
	margin-bottom: 0.9rem;
}
.rl-bio-section h2,
.rl-beliefs h2 {
	margin-top: 1.4rem;
}
@media (max-width: 820px) {
	.rl-staff-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.rl-staff-grid {
		grid-template-columns: 1fr;
	}
}

/* Home Ministries 2x2 card layout */
.home .rl-section--sand .rl-cards > .wp-block-group__inner-container {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
.home .rl-section--sand .rl-card img {
	height: 220px;
}
.home .rl-section--sand .rl-card .rl-card-body {
	padding: 1.45rem;
}
.home .rl-section--sand .rl-card h3 {
	font-size: 1.25rem;
}
.home .rl-section--sand .rl-card p {
	font-size: 1rem;
	line-height: 1.6;
}
.home .rl-section--sand .rl-card .rl-btn {
	font-size: 0.95rem;
	padding: 0.75em 1.45em;
	white-space: nowrap;
}
@media (max-width: 720px) {
	.home .rl-section--sand .rl-cards > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}
}

/* Full-width hero treatment for About and Staff pages */
.page-id-7 #page.grid-container,
.page-id-7 .site.grid-container,
.page-id-35 #page.grid-container,
.page-id-35 .site.grid-container,
.page-id-36 #page.grid-container,
.page-id-36 .site.grid-container,
.page-id-37 #page.grid-container,
.page-id-37 .site.grid-container,
.page-id-38 #page.grid-container,
.page-id-38 .site.grid-container {
	max-width: none;
}
.page-id-7 #content.site-content,
.page-id-7 #primary.content-area,
.page-id-7 #main.site-main,
.page-id-7 .site-main > article,
.page-id-7 .inside-article,
.page-id-35 #content.site-content,
.page-id-35 #primary.content-area,
.page-id-35 #main.site-main,
.page-id-35 .site-main > article,
.page-id-35 .inside-article,
.page-id-36 #content.site-content,
.page-id-36 #primary.content-area,
.page-id-36 #main.site-main,
.page-id-36 .site-main > article,
.page-id-36 .inside-article,
.page-id-37 #content.site-content,
.page-id-37 #primary.content-area,
.page-id-37 #main.site-main,
.page-id-37 .site-main > article,
.page-id-37 .inside-article,
.page-id-38 #content.site-content,
.page-id-38 #primary.content-area,
.page-id-38 #main.site-main,
.page-id-38 .site-main > article,
.page-id-38 .inside-article {
	padding: 0;
	margin: 0;
}
.page-id-7 .entry-header,
.page-id-35 .entry-header,
.page-id-36 .entry-header,
.page-id-37 .entry-header,
.page-id-38 .entry-header {
	display: none;
}
.page-id-7 .entry-content,
.page-id-35 .entry-content,
.page-id-36 .entry-content,
.page-id-37 .entry-content,
.page-id-38 .entry-content {
	margin-top: 0;
}
.page-id-7 .rl-pagebanner,
.page-id-35 .rl-pagebanner,
.page-id-36 .rl-pagebanner,
.page-id-37 .rl-pagebanner,
.page-id-38 .rl-pagebanner {
	width: 100%;
	min-height: clamp(340px, 44vw, 520px);
	padding-block: clamp(3.25rem, 7vw, 5.5rem);
	margin-inline: 0;
	background-size: cover;
	background-position: center;
}

/* Ministries hero: show the TOP of the photo (heads/faces), not the middle. */
.page-id-8 .rl-pagebanner {
	background-position: center top;
}

/* Ministries overview compact 2x2 card layout */
.page-id-8 .rl-ministries-grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.35rem;
}
.page-id-8 .rl-ministries-grid .rl-card {
	border-radius: 18px;
	overflow: hidden;
	min-height: 0;
}
.page-id-8 .rl-ministries-grid .rl-card img,
.page-id-8 .rl-ministries-grid .rl-card .rl-card-img {
	width: 100%;
	height: 245px;
	margin: 0;
	padding: 0;
	object-fit: cover;
}
.page-id-8 .rl-ministries-grid .rl-card .rl-card-body {
	padding: 1.35rem 1.45rem 1.45rem;
}
.page-id-8 .rl-ministries-grid .rl-card h3 {
	font-size: 1.35rem;
	margin-bottom: 0.45rem;
}
.page-id-8 .rl-ministries-grid .rl-card p {
	font-size: 0.98rem;
	line-height: 1.55;
	margin-bottom: 1rem;
}
.page-id-8 .rl-ministries-grid .rl-card .rl-btn {
	font-size: 0.92rem;
	padding: 0.7em 1.25em;
	white-space: nowrap;
}
@media (max-width: 760px) {
	.page-id-8 .rl-ministries-grid > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}
	.page-id-8 .rl-ministries-grid .rl-card img,
	.page-id-8 .rl-ministries-grid .rl-card .rl-card-img {
		height: 210px;
	}
}

/* Contact page */
.page-id-11 #page.grid-container,
.page-id-11 .site.grid-container {
	max-width: none;
}
.page-id-11 #content.site-content,
.page-id-11 #primary.content-area,
.page-id-11 #main.site-main,
.page-id-11 .site-main > article,
.page-id-11 .inside-article {
	padding: 0;
	margin: 0;
}
.page-id-11 .entry-header {
	display: none;
}
.page-id-11 .entry-content {
	margin-top: 0;
}
.page-id-11 .rl-pagebanner {
	width: 100%;
	min-height: clamp(340px, 44vw, 520px);
	padding-block: clamp(3.25rem, 7vw, 5.5rem);
	margin-inline: 0;
	background-size: cover;
	background-position: center;
}
/* Let the layout use more of the row than the theme's narrow content width. */
.rl-contact-layout {
	max-width: 1240px;
	margin-inline: auto;
}
/* The two panels are direct children of the group's inner-container, so the
   grid must live there — not on .rl-contact-layout itself (which wraps a single
   inner-container). Fall back gracefully if the wrapper is ever absent. */
.rl-contact-layout > .wp-block-group__inner-container,
.rl-contact-layout:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 1.75rem;
	align-items: start;
}
.rl-contact-panel {
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: 18px;
	padding: 1.4rem 1.6rem;
	box-shadow: var(--rl-shadow-sm);
}
.rl-contact-panel h2,
.rl-contact-panel h3 {
	margin-top: 0;
}
.rl-contact-list {
	display: grid;
	gap: 0.9rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}
.rl-contact-list strong {
	display: block;
	color: var(--rl-navy);
	font-family: var(--rl-font-head);
	margin-bottom: 0.2rem;
}
.rl-contact-list a {
	color: var(--rl-brand);
	font-weight: 700;
	text-decoration: none;
}
.rl-contact-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.15rem;
}
.rl-contact-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	background: var(--rl-soft);
	color: var(--rl-navy);
	font-weight: 700;
	text-decoration: none;
}
.rl-contact-social a:hover {
	background: var(--rl-brand);
	color: #fff;
}
.rl-contact-form-card .rl-form {
	max-width: none;
	margin-top: 0;
}
.rl-contact-map {
	margin-top: 1.25rem;
}
.rl-contact-map iframe {
	width: 100%;
	height: 360px;
	border-radius: 14px;
}
@media (max-width: 900px) {
	.rl-contact-layout > .wp-block-group__inner-container,
	.rl-contact-layout:not(:has(> .wp-block-group__inner-container)) {
		grid-template-columns: 1fr;
	}
}

/* Watch (id 9) & Contact (id 11): strip GeneratePress's content-wrapper padding
   so the sections own their spacing (same pattern as the other inner pages) —
   this removes the large empty gap at the top. */
.page-id-9 #content.site-content,
.page-id-9 #primary.content-area,
.page-id-9 #main.site-main,
.page-id-9 .site-main > article,
.page-id-9 .inside-article,
.page-id-11 #content.site-content,
.page-id-11 #primary.content-area,
.page-id-11 #main.site-main,
.page-id-11 .site-main > article,
.page-id-11 .inside-article {
	padding: 0;
	margin: 0;
}
.page-id-9 .entry-content,
.page-id-11 .entry-content {
	margin-top: 0;
}

/* Watch (id 9): hide the redundant "Watch" page title — the section already
   carries a "Watch" eyebrow — and tighten section spacing. */
.page-id-9 .entry-header {
	display: none;
}
.page-id-9 .rl-section {
	margin-top: 0;
	padding-block: clamp(1rem, 2.5vw, 2rem);
}
/* Sermons: drop the group block-padding above the video so it sits close to
   the top menu (no hero on this page). */
.page-id-9 .rl-section > .wp-block-group__inner-container,
.page-id-9 .rl-section .rl-inner > .wp-block-group__inner-container {
	padding-top: 0;
}
/* Sermons: white page background — no grey gutters down the sides. */
body.page-id-9 { background-color: #fff; }

/* Contact (id 11): trim the gap above the info/form panels. */
.page-id-11 .rl-contact-section {
	margin-top: 0;
	padding-block: clamp(0.75rem, 1.6vw, 1.4rem);
}

/* Staff bio pages: portrait beside text, no hero crop */
.page-id-36 .rl-staff-bio-page,
.page-id-37 .rl-staff-bio-page,
.page-id-38 .rl-staff-bio-page {
	background: var(--rl-soft);
	padding-block: clamp(3rem, 6vw, 5rem);
}
.rl-bio-layout {
	display: grid;
	grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}
.rl-bio-photo {
	margin: 0;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: 18px;
	padding: 0.8rem;
	box-shadow: var(--rl-shadow-sm);
}
.rl-bio-photo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 430px;
	object-fit: cover;
	border-radius: 12px;
}
.rl-bio-content {
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: 18px;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	box-shadow: var(--rl-shadow-sm);
}
.rl-bio-content h1 {
	margin-top: 0;
	margin-bottom: 0.75rem;
}
.rl-bio-content h2 {
	margin-top: 1.6rem;
	margin-bottom: 0.55rem;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}
.rl-bio-intro {
	color: var(--rl-muted);
	font-size: 1.08rem;
	line-height: 1.7;
}
@media (max-width: 760px) {
	.rl-bio-layout {
		grid-template-columns: 1fr;
	}
	.rl-bio-photo {
		max-width: 360px;
	}
}

/* Wider responsive staff bio layout */
.page-id-36 .rl-staff-bio-page .rl-inner,
.page-id-37 .rl-staff-bio-page .rl-inner,
.page-id-38 .rl-staff-bio-page .rl-inner {
	width: min(1320px, calc(100vw - 48px));
	max-width: min(1320px, calc(100vw - 48px)) !important;
}
.page-id-36 .rl-bio-layout,
.page-id-37 .rl-bio-layout,
.page-id-38 .rl-bio-layout {
	grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
}
.page-id-36 .rl-bio-photo,
.page-id-37 .rl-bio-photo,
.page-id-38 .rl-bio-photo {
	width: 100%;
	max-width: none;
}
.page-id-36 .rl-bio-photo img,
.page-id-37 .rl-bio-photo img,
.page-id-38 .rl-bio-photo img {
	aspect-ratio: 4 / 5;
	height: auto;
	max-height: none;
	object-fit: cover;
	object-position: center top;
}
.page-id-36 .rl-bio-content,
.page-id-37 .rl-bio-content,
.page-id-38 .rl-bio-content {
	padding: clamp(1.75rem, 3.5vw, 3rem);
}
.page-id-36 .rl-bio-content p,
.page-id-37 .rl-bio-content p,
.page-id-38 .rl-bio-content p {
	max-width: 74ch;
}
@media (max-width: 980px) {
	.page-id-36 .rl-staff-bio-page .rl-inner,
	.page-id-37 .rl-staff-bio-page .rl-inner,
	.page-id-38 .rl-staff-bio-page .rl-inner {
		width: min(1000px, calc(100vw - 36px));
		max-width: min(1000px, calc(100vw - 36px)) !important;
	}
	.page-id-36 .rl-bio-layout,
	.page-id-37 .rl-bio-layout,
	.page-id-38 .rl-bio-layout {
		grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
		gap: 1.5rem;
	}
}
@media (max-width: 760px) {
	.page-id-36 .rl-staff-bio-page .rl-inner,
	.page-id-37 .rl-staff-bio-page .rl-inner,
	.page-id-38 .rl-staff-bio-page .rl-inner {
		width: min(100%, calc(100vw - 28px));
		max-width: min(100%, calc(100vw - 28px)) !important;
	}
	.page-id-36 .rl-bio-layout,
	.page-id-37 .rl-bio-layout,
	.page-id-38 .rl-bio-layout {
		grid-template-columns: 1fr;
	}
	.page-id-36 .rl-bio-photo,
	.page-id-37 .rl-bio-photo,
	.page-id-38 .rl-bio-photo {
		max-width: 420px;
	}
}


/* Staff bio Gutenberg inner grid fix */
.page-id-36 .rl-staff-bio-page,
.page-id-37 .rl-staff-bio-page,
.page-id-38 .rl-staff-bio-page {
	padding-inline: 0;
}
.page-id-36 .rl-staff-bio-page > .wp-block-group__inner-container,
.page-id-37 .rl-staff-bio-page > .wp-block-group__inner-container,
.page-id-38 .rl-staff-bio-page > .wp-block-group__inner-container {
	width: 100%;
}
.page-id-36 .rl-staff-bio-page .rl-inner,
.page-id-37 .rl-staff-bio-page .rl-inner,
.page-id-38 .rl-staff-bio-page .rl-inner,
.page-id-36 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container,
.page-id-37 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container,
.page-id-38 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container {
	width: min(1320px, calc(100vw - 48px));
	max-width: min(1320px, calc(100vw - 48px)) !important;
	margin-inline: auto;
}
.page-id-36 .rl-bio-layout,
.page-id-37 .rl-bio-layout,
.page-id-38 .rl-bio-layout,
.page-id-36 .rl-bio-layout > .wp-block-group__inner-container,
.page-id-37 .rl-bio-layout > .wp-block-group__inner-container,
.page-id-38 .rl-bio-layout > .wp-block-group__inner-container {
	width: 100%;
	max-width: none !important;
}
.page-id-36 .rl-bio-layout > .wp-block-group__inner-container,
.page-id-37 .rl-bio-layout > .wp-block-group__inner-container,
.page-id-38 .rl-bio-layout > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}
@media (max-width: 980px) {
	.page-id-36 .rl-staff-bio-page .rl-inner,
	.page-id-37 .rl-staff-bio-page .rl-inner,
	.page-id-38 .rl-staff-bio-page .rl-inner,
	.page-id-36 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container,
	.page-id-37 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container,
	.page-id-38 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container {
		width: min(1000px, calc(100vw - 36px));
		max-width: min(1000px, calc(100vw - 36px)) !important;
	}
	.page-id-36 .rl-bio-layout > .wp-block-group__inner-container,
	.page-id-37 .rl-bio-layout > .wp-block-group__inner-container,
	.page-id-38 .rl-bio-layout > .wp-block-group__inner-container {
		grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
		gap: 1.5rem;
	}
}
@media (max-width: 760px) {
	.page-id-36 .rl-staff-bio-page .rl-inner,
	.page-id-37 .rl-staff-bio-page .rl-inner,
	.page-id-38 .rl-staff-bio-page .rl-inner,
	.page-id-36 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container,
	.page-id-37 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container,
	.page-id-38 .rl-staff-bio-page .rl-inner > .wp-block-group__inner-container {
		width: min(100%, calc(100vw - 28px));
		max-width: min(100%, calc(100vw - 28px)) !important;
	}
	.page-id-36 .rl-bio-layout > .wp-block-group__inner-container,
	.page-id-37 .rl-bio-layout > .wp-block-group__inner-container,
	.page-id-38 .rl-bio-layout > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}
}

/* Staff bio clean two-column layout */
.page-id-36 .entry-header,
.page-id-37 .entry-header,
.page-id-38 .entry-header {
	display: none;
}
.page-id-36 .inside-article,
.page-id-37 .inside-article,
.page-id-38 .inside-article {
	padding: 0;
}
.page-id-36 .entry-content,
.page-id-37 .entry-content,
.page-id-38 .entry-content {
	margin-top: 0;
}
.rl-staff-bio-clean {
	background: #fff;
	padding: clamp(3rem, 6vw, 5.5rem) 24px;
}
.rl-bio-shell {
	display: grid;
	grid-template-columns: clamp(280px, 28vw, 420px) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4.5rem);
	align-items: start;
	width: min(1180px, 100%);
	margin: 0 auto;
}
.rl-bio-portrait {
	margin: 0;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: 18px;
	padding: 0.75rem;
	box-shadow: var(--rl-shadow-sm);
}
.rl-bio-portrait img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	object-position: center top;
	border-radius: 12px;
}
.rl-bio-text {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: 18px;
	padding: clamp(1.75rem, 3.2vw, 3rem);
	box-shadow: var(--rl-shadow-sm);
}
.rl-bio-text h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2.25rem, 4vw, 4rem);
	line-height: 1.05;
}
.rl-bio-text h2 {
	margin: 1.65rem 0 0.55rem;
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	line-height: 1.15;
}
.rl-bio-text p {
	max-width: 76ch;
	font-size: 1.02rem;
	line-height: 1.75;
}
.rl-bio-text .rl-bio-intro {
	color: var(--rl-muted);
	font-size: 1.12rem;
}
.rl-bio-actions {
	margin-top: 1.5rem;
}
@media (max-width: 900px) {
	.rl-bio-shell {
		grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
		gap: 1.5rem;
	}
	.rl-bio-text h1 {
		font-size: clamp(2rem, 5vw, 3rem);
	}
}
@media (max-width: 700px) {
	.rl-staff-bio-clean {
		padding-inline: 16px;
	}
	.rl-bio-shell {
		grid-template-columns: 1fr;
	}
	.rl-bio-portrait {
		max-width: 420px;
	}
}


/* Staff hero — anchor background to top so the speaker's head stays in frame */
.rl-pagebanner.rl-staff-hero {
	background-position: center top;
}

/* Staff page: keep Jerry Russell's face visible in the cropped card photo */
.rl-staff-grid--featured .rl-staff-card[href="/jerry-russell"] img {
	object-position: center top;
}

/* Staff page: lower Pastor Micheal's card photo crop so the full head is visible */
.rl-staff-grid--featured .rl-staff-card[href="/pastor-micheal"] img {
	object-position: center 18%;
}

/* =====================================================================
   PRAYER MINISTRY PAGE (id 52)
   ===================================================================== */
.page-id-52 #content.site-content,
.page-id-52 #primary.content-area,
.page-id-52 #main.site-main,
.page-id-52 .site-main > article,
.page-id-52 .inside-article {
	padding: 0;
	margin: 0;
}
.page-id-52 .entry-header { display: none; }
.page-id-52 .entry-content { margin-top: 0; }
.page-id-52 .rl-pagebanner {
	width: 100%;
	min-height: clamp(320px, 40vw, 480px);
	padding-block: clamp(3rem, 7vw, 5rem);
	margin-inline: 0;
	background-size: cover;
	background-position: center;
}

/* Prayer content lists */
.rl-prayer-list {
	list-style: none;
	margin: 1.25rem auto 0;
	padding: 0;
	max-width: 780px;
	display: grid;
	gap: 0.85rem;
}
.rl-prayer-list li {
	position: relative;
	padding-left: 1.65rem;
	line-height: 1.6;
	color: var(--rl-ink);
}
.rl-prayer-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--rl-brand);
}
.rl-prayer-list strong { color: var(--rl-navy); }

.rl-prayer-cols { gap: 2.5rem; }
.rl-prayer-cols .rl-prayer-list { margin-top: 0.75rem; max-width: none; }

/* "Ways you can pray with us" cards */
.rl-prayer-ways {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
	max-width: 900px;
	margin-inline: auto;
}
.rl-prayer-way {
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-sm);
	padding: 1.15rem 1.3rem;
	box-shadow: var(--rl-shadow-sm);
}
.rl-prayer-way h3 {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
	color: var(--rl-navy);
}
.rl-prayer-way p {
	margin: 0;
	color: var(--rl-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}
@media (max-width: 600px) {
	.rl-prayer-ways { grid-template-columns: 1fr; }
}

/* Kill WordPress's inter-block gap in the content on these pages so the
   hero sits tight against the first section (section padding controls spacing). */
.page-id-9 .entry-content > *,
.page-id-11 .entry-content > *,
.page-id-52 .entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}
/* Prayer page: tighter, more even section rhythm. */
.page-id-52 .rl-section {
	padding-block: clamp(2rem, 4vw, 3.25rem);
}

/* Contact/Prayer: zero any inherited top spacing on the section's inner
   wrappers so only the section's own (small) top padding remains. */
.page-id-11 .rl-contact-section > .wp-block-group__inner-container,
.page-id-11 .rl-contact-section .rl-inner,
.page-id-11 .rl-contact-section .rl-inner > .wp-block-group__inner-container,
.page-id-11 .rl-contact-layout,
.page-id-11 .rl-contact-layout > .wp-block-group__inner-container,
.page-id-52 .rl-prayer-form-section .rl-contact-layout,
.page-id-52 .rl-prayer-form-section .rl-contact-layout > .wp-block-group__inner-container {
	margin-top: 0;
	padding-top: 0;
}

/* =====================================================================
   GIVE (id 10) & EVENTS (id 114) + full-bleed for these + Prayer (52)
   ===================================================================== */
/* Let sections span the full screen width (background highlight edge-to-edge). */
.page-id-10 #page.grid-container,  .page-id-10 .site.grid-container,
.page-id-52 #page.grid-container,  .page-id-52 .site.grid-container,
.page-id-114 #page.grid-container, .page-id-114 .site.grid-container {
	max-width: none;
}
.page-id-10 #content.site-content,  .page-id-10 #primary.content-area,  .page-id-10 #main.site-main,  .page-id-10 .site-main > article,  .page-id-10 .inside-article,
.page-id-114 #content.site-content, .page-id-114 #primary.content-area, .page-id-114 #main.site-main, .page-id-114 .site-main > article, .page-id-114 .inside-article {
	padding: 0;
	margin: 0;
}
.page-id-10 .entry-header,
.page-id-114 .entry-header { display: none; }
.page-id-10 .entry-content,
.page-id-114 .entry-content { margin-top: 0; }
.page-id-10 .entry-content > *,
.page-id-114 .entry-content > * { margin-top: 0; margin-bottom: 0; }

.page-id-10 .rl-pagebanner,
.page-id-114 .rl-pagebanner {
	width: 100%;
	min-height: clamp(320px, 40vw, 470px);
	padding-block: clamp(3rem, 7vw, 5rem);
	margin-inline: 0;
	background-size: cover;
	background-position: center;
}

/* Give: three "ways to give" cards */
.rl-give-ways {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 1080px;
	margin-inline: auto;
}
.rl-give-way {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	padding: 1.75rem;
	box-shadow: var(--rl-shadow-sm);
}
.rl-give-way h3 { margin: 0 0 0.6rem; color: var(--rl-navy); }
.rl-give-way p { margin: 0 0 1.15rem; color: var(--rl-muted); line-height: 1.6; }
.rl-give-way .rl-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 820px) { .rl-give-ways { grid-template-columns: 1fr; } }

/* Give: scripture verse (inside navy section) */
.rl-give-verse {
	font-family: var(--rl-font-head);
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	line-height: 1.5;
	max-width: 840px;
	margin: 0 auto 0.75rem;
}
.rl-give-verse-ref {
	font-family: var(--rl-font-head);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 0.9rem;
	color: var(--rl-amber);
}

/* Events cards */
.rl-events {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 1120px;
	margin-inline: auto;
}
.rl-event {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	overflow: hidden;
	box-shadow: var(--rl-shadow-sm);
}
.rl-event-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
	background-color: var(--rl-navy);
}
.rl-event-media--plain {
	background-image: linear-gradient(135deg, var(--rl-navy), var(--rl-brand));
}
.rl-event-date {
	position: absolute;
	left: 0.9rem;
	bottom: 0.9rem;
	background: var(--rl-navy);
	color: #fff;
	font-family: var(--rl-font-head);
	font-weight: 600;
	font-size: 0.85rem;
	padding: 0.32rem 0.8rem;
	border-radius: 999px;
	box-shadow: var(--rl-shadow-sm);
}
.rl-event-body { display: block; padding: 1.1rem 1.25rem 1.35rem; }
.rl-event-body h3 { margin: 0 0 0.4rem; font-size: 1.2rem; color: var(--rl-navy); }
.rl-event-body p { margin: 0; color: var(--rl-muted); font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 900px) { .rl-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rl-events { grid-template-columns: 1fr; } }

/* Tighter section rhythm on Give & Events. */
.page-id-10 .rl-section,
.page-id-114 .rl-section {
	padding-block: clamp(2rem, 4vw, 3.25rem);
}

/* =====================================================================
   WEDNESDAY NIGHT PAGE (id 119)
   ===================================================================== */
.page-id-119 #page.grid-container, .page-id-119 .site.grid-container { max-width: none; }
.page-id-119 #content.site-content, .page-id-119 #primary.content-area, .page-id-119 #main.site-main, .page-id-119 .site-main > article, .page-id-119 .inside-article { padding: 0; margin: 0; }
.page-id-119 .entry-header { display: none; }
.page-id-119 .entry-content { margin-top: 0; }
.page-id-119 .entry-content > * { margin-top: 0; margin-bottom: 0; }
.page-id-119 .rl-pagebanner {
	width: 100%;
	min-height: clamp(320px, 40vw, 470px);
	padding-block: clamp(3rem, 7vw, 5rem);
	margin-inline: 0;
	background-size: cover;
	background-position: center;
}
.page-id-119 .rl-section { padding-block: clamp(2rem, 4vw, 3.25rem); }

/* "resume in August" callout */
.rl-wed-callout {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 1.75rem;
	background: color-mix(in srgb, var(--rl-amber) 15%, transparent);
	color: var(--rl-navy);
	font-family: var(--rl-font-head);
	font-weight: 600;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--rl-amber) 45%, transparent);
}

/* Bible study course cards (image left, text right) */
.rl-studies {
	display: grid;
	gap: 1.5rem;
	max-width: 1000px;
	margin-inline: auto;
}
.rl-study {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	overflow: hidden;
	box-shadow: var(--rl-shadow-sm);
}
.rl-study-media {
	display: block;
	min-height: 210px;
	background-size: cover;
	background-position: center;
	background-color: var(--rl-navy);
}
.rl-study-body { display: block; padding: 1.5rem 1.75rem; }
.rl-study-body h3 { margin: 0 0 0.15rem; color: var(--rl-navy); font-size: 1.3rem; }
.rl-study-author {
	display: block;
	color: var(--rl-brand);
	font-family: var(--rl-font-head);
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 0.5rem;
}
.rl-study-lead {
	display: block;
	color: var(--rl-muted);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.7rem;
}
.rl-study-body p { margin: 0; color: var(--rl-ink); line-height: 1.6; }
@media (max-width: 720px) {
	.rl-study { grid-template-columns: 1fr; }
	.rl-study-media { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Events (114): pull the calendar button + cards tight under the hero. */
.page-id-114 .rl-section > .wp-block-group__inner-container,
.page-id-114 .rl-section .rl-inner,
.page-id-114 .rl-section .rl-inner > .wp-block-group__inner-container {
	margin-top: 0;
	padding-top: 0;
}
.page-id-114 .rl-section { padding-top: clamp(1.25rem, 2.5vw, 2rem); }

/* =====================================================================
   CONTACT REDESIGN (id 11): one clean block — info left, form right,
   no card panels, social shown as icon circles.
   ===================================================================== */
.page-id-11 .rl-contact-panel {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}
.page-id-11 .rl-contact-layout {
	max-width: 1200px;
}
.page-id-11 .rl-contact-layout > .wp-block-group__inner-container,
.page-id-11 .rl-contact-layout:not(:has(> .wp-block-group__inner-container)) {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 4.5rem);
}
/* subtle divider between info and form on wide screens */
@media (min-width: 901px) {
	.page-id-11 .rl-contact-form-card {
		padding-left: clamp(2rem, 4vw, 3.5rem);
		border-left: 1px solid var(--rl-line);
	}
}

/* Social icons as circles (anchors now hold inline SVGs) */
.rl-contact-social {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.4rem;
	flex-wrap: wrap;
}
.rl-contact-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	background: var(--rl-navy);
	color: #fff;
	transition: background 0.2s ease, transform 0.15s ease;
}
.rl-contact-social a:hover {
	background: var(--rl-brand);
	color: #fff;
	transform: translateY(-2px);
}
.rl-contact-social a svg { width: 20px; height: 20px; }

/* =====================================================================
   MOBILE REFINEMENTS
   ===================================================================== */

/* Contrasty burger: solid blue button with a white icon */
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus,
.has-inline-mobile-toggle #site-navigation.toggled {
	background-color: var(--rl-brand);
	color: #fff;
}
.mobile-menu-control-wrapper .menu-toggle {
	border-radius: 10px;
	margin: 0.45rem 0;
	padding: 0.5em 0.75em;
}
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus {
	background-color: var(--rl-icon);
	color: #fff;
}
.menu-toggle .gp-icon,
.menu-toggle .gp-icon svg { color: #fff; fill: currentColor; }

@media (max-width: 600px) {
	/* Wider content — trim the big side gutters */
	.rl-inner { padding-inline: 1rem; }
	.home .rl-section--sand .rl-inner { max-width: 100%; }
	.rl-mgrid { max-width: 100%; gap: 1rem; }

	/* Tighter vertical rhythm — less empty space above/below blocks */
	.rl-section,
	.rl-section--cream,
	.rl-section--sand,
	.rl-section--navy,
	.home .rl-section--sand { padding-block: 2rem; }

	/* Footer: no horizontal overflow + compact map */
	.rl-footer-col { min-width: 0; }
	.rl-footer-address { overflow-wrap: break-word; }
	.rl-footer-map iframe { height: 160px; max-width: 100%; }
	.rl-footer-nav { gap: 1.25rem 1rem; }
}

/* Mobile header: GeneratePress already wraps the nav to a full-width 2nd row;
   keep the logo compact so the burger always fits on row 1 at its right. */
@media (max-width: 768px) {
	/* clip (not hidden) so it doesn't break the sticky header */
	body { overflow-x: clip; }
	.has-inline-mobile-toggle .inside-header { align-items: center; max-width: 100%; }
	.has-inline-mobile-toggle .site-branding-container { flex: 0 1 auto; min-width: 0; }
	.has-inline-mobile-toggle .mobile-menu-control-wrapper { flex: 0 0 auto; margin-left: 0.75rem; }
}
@media (max-width: 480px) {
	.rl-logo-icon { width: 40px; }
	.rl-logo-line1 { font-size: 1.05rem; white-space: nowrap; }
	.rl-logo-line2 { font-size: 0.6rem; letter-spacing: 0.14em; white-space: nowrap; }
}

/* Contact: force a single column on tablet/mobile (redesign rule was too specific).
   Raised from 820px to 1024px — between those widths the two columns still left
   the map at 334px and the First/Last Name fields at 149px, which is too tight
   for the older visitors this form is mainly for. */
@media (max-width: 1024px) {
	.page-id-11 .rl-contact-layout > .wp-block-group__inner-container,
	.page-id-11 .rl-contact-layout:not(:has(> .wp-block-group__inner-container)) {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
	.page-id-11 .rl-contact-form-card {
		border-left: 0;
		padding-left: 0;
	}
}

/* =====================================================================
   FOOTER POLISH: distinct column headings, wednesdays link, white credit
   ===================================================================== */
/* Make column headings clearly read as labels, not links.
   Pale "ice blue" reads well on the footer's brand blue — far better contrast
   than the old mid-orange, while staying coastal/on-brand. */
.rl-footer-heading {
	color: #CFE6FF;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	opacity: 1;
}
/* Footer links: white at rest → tint to the heading's ice-blue on hover,
   no underline (matches .rl-footer-heading color for a cohesive look). */
.rl-footer-menu a,
.rl-schedule-time a {
	color: #fff;
	text-decoration: none;
}
.rl-footer-menu a:hover,
.rl-schedule-time a:hover {
	color: #CFE6FF;
	text-decoration: underline;
	text-underline-offset: 3px;
}
/* The "Wednesdays" schedule value is now a link — hint it */
.rl-schedule-time a {
	text-decoration: underline;
	text-decoration-color: rgba(255,255,255,0.4);
	text-underline-offset: 3px;
}
/* Moveupster credit link → white, no underline; hover tints to heading ice-blue */
.rl-credit-link,
.site-info .rl-credit-link {
	color: #fff;
	text-decoration: none;
}
.rl-credit-link:hover,
.site-info .rl-credit-link:hover {
	color: #CFE6FF;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Mobile menu styling lives in the "4b. MOBILE OFF-CANVAS NAV" section near
   the top of this file (a single right-side drawer, used at every width). */

/* Mobile: bigger staff photos + a touch more content width on inner pages */
@media (max-width: 600px) {
	.rl-inner { padding-inline: 0.9rem; }
}
@media (max-width: 560px) {
	.rl-staff-grid { gap: 1.1rem; }
	.rl-staff-card,
	.rl-person-card { --rl-card-pad: 0.75rem; }
	.rl-staff-card img { aspect-ratio: 3 / 2; margin-bottom: 0.75rem; }
}
/* Desktop: give the three real staff photos a bit more presence */
.rl-staff-grid--featured .rl-staff-card img { aspect-ratio: 3 / 2; }

/* =====================================================================
   MOBILE BURGER — edge-to-edge square button that fills the header height
   and sits flush right. Applies at every width, since the drawer is universal, so
   the tablet header matches the phone header.
   ===================================================================== */
@media (max-width: 99999px) {

	/* The menu is a fixed off-canvas drawer, so #site-navigation must take no
	   room in the header. GeneratePress gives it a top margin when toggled
	   (for its default drop-down menu), which grew the header ~25px on open. */
	.has-inline-mobile-toggle #site-navigation { margin: 0 !important; }

	/* --- Burger: square, full header height, flush right; logo close to left --- */
	.has-inline-mobile-toggle .inside-header {
		position: relative;
		padding-top: 0;
		padding-bottom: 0;
		padding-left: 14px; /* logo closer to the edge */
		padding-right: 80px; /* room for the button */
		min-height: 64px;
	}
	.site-branding-container { padding-block: 0.6rem; }
	.has-inline-mobile-toggle .mobile-menu-control-wrapper {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		margin: 0;
	}
	.mobile-menu-control-wrapper .menu-toggle,
	.mobile-menu-control-wrapper .menu-toggle:hover,
	.mobile-menu-control-wrapper .menu-toggle:focus {
		height: 100%;
		width: 64px;
		margin: 0;
		padding: 0;
		border-radius: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.menu-toggle .gp-icon svg { width: 1.5em; height: 1.5em; }

	/* Open-state panel, item visuals, indicators, ✕ and overlay are all defined
	   once in the "4b. MOBILE OFF-CANVAS NAV" section (single right-side drawer). */
}

/* =====================================================================
   STICKY HEADER + SCROLL-TO-TOP + menu item colour lock
   ===================================================================== */
/* Sticky logo+menu block on all screens (no drop shadow) */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
}

/* Mobile: drop GeneratePress's extra 30px block padding so content uses the
   full width (the .rl-inner gutter already provides the side spacing). */
@media (max-width: 600px) {
	.site-main .wp-block-group__inner-container {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Drawer menu items stay white on hover/focus (no dark flash). The
   #site-navigation ID out-specifies GeneratePress's own navy nav-hover rule
   (.sfHover > a { color: var(--accent) }) and the global `a:hover` navy. */
@media (max-width: 99999px) {
	#site-navigation .main-nav ul li a:hover,
	#site-navigation .main-nav ul li a:focus,
	#site-navigation .main-nav ul li:hover > a,
	#site-navigation .main-nav ul li:focus > a,
	#site-navigation .main-nav ul li.sfHover > a,
	#site-navigation .main-nav ul li[class*="current-menu-"] > a,
	#site-navigation .main-nav .sub-menu li a:hover,
	#site-navigation .main-nav .sub-menu li a:focus,
	#site-navigation .main-nav .sub-menu li.sfHover > a {
		color: #fff;
	}
	/* Guard (Dima, 2026-11-30: "always light colors, never dark"): top-level
	   drawer links are white in EVERY state — header transparent or solid,
	   visited or not, any screen width. The ID beats every class-only rule. */
	#site-navigation .main-nav > ul > li > a,
	#site-navigation .main-nav > ul > li > a:visited {
		color: #fff;
	}
	#site-navigation .main-nav ul li:hover > a,
	#site-navigation .main-nav ul li a:hover {
		background: rgba(255,255,255,0.12);
	}
}

/* Scroll-to-top button */
.rl-to-top {
	position: fixed;
	right: 1.1rem;
	bottom: 1.1rem;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 50%;
	background: var(--rl-brand);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--rl-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
	z-index: 190;
}
.rl-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.rl-to-top:hover,
.rl-to-top:focus { background: var(--rl-icon); color: #fff; }

/* =====================================================================
   12. TRANSPARENT OVERLAY HEADER
   The hero photo runs to the very top of the page and the logo + menu
   float on top of it; once the hero has scrolled past, the header fades
   to solid white with the normal navy menu.

   Mechanics: .site-header is already `position: sticky; top: 0` (see the
   STICKY HEADER section above) and stays in normal flow, so rather than
   switching it to fixed we pull the hero UP underneath it with a negative
   margin and pad the hero's content back down to clear the menu. Pages
   with no hero never get .rl-has-hero, so their header is untouched.
   ===================================================================== */

/* Header height, used for both the pull-up and the clearance padding.
   The header is just the logo lockup plus the burger at every width, so its
   height is constant until the logo itself shrinks at 480px. Both values are
   measured from the rendered masthead (79.6px / 67.6px) — if they drift from
   it the hero is pulled up by the wrong amount and a sliver of the photo is
   clipped off the top. */
:root                     { --rl-header-h: 92px; }
@media (max-width: 480px) { :root { --rl-header-h: 78px; } }

/* Pull the hero up under the header and pad its content back down.
   Only padding-TOP is set, so each page's own `padding-block` keeps
   governing the bottom. Both hero classes centre with flexbox and the
   per-page min-heights still apply, so nothing else has to change. */
.rl-has-hero .rl-hero {
	margin-top: calc(var(--rl-header-h) * -1);
	padding-top: calc(var(--rl-header-h) + 3rem);
}
.rl-has-hero .rl-pagebanner {
	margin-top: calc(var(--rl-header-h) * -1);
	padding-top: calc(var(--rl-header-h) + 3.25rem);
}

/* --- Transparent state: header sitting on the photo --- */
.rl-has-hero .site-header {
	background: transparent;
	box-shadow: none;
	transition: background-color 0.32s ease, box-shadow 0.32s ease;
}
/* Legibility scrim. Hero photos vary a lot across the site — some, like the
   red brick on I'm New, are light enough that plain white menu text on the
   photo drops below the 4.5:1 contrast minimum. A soft top-down gradient
   guarantees the logo and menu stay readable on every page, and is invisible
   against the darker heroes. It fades out with the solid state. */
.rl-has-hero .site-header::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: calc(var(--rl-header-h) + 60px);
	background: linear-gradient(to bottom, rgba(8, 42, 68, 0.55), rgba(8, 42, 68, 0));
	pointer-events: none;
	z-index: 0;
	transition: opacity 0.32s ease;
}
/* Keep the real header content above the scrim. */
.rl-has-hero .site-header > * { position: relative; z-index: 1; }
.rl-has-hero.rl-header-solid .site-header::after { opacity: 0; }

/* The nav carries its own white background, which would otherwise show as a
   white slab across the photo. Clear it in both states and let .site-header
   supply the background. The mobile drawer is .main-nav (not .main-navigation)
   and keeps its blue gradient. */
.rl-has-hero .site-header .main-navigation,
.rl-has-hero .site-header .inside-navigation,
.rl-has-hero .site-header .inside-header {
	background: transparent;
}
.rl-has-hero .site-header .rl-logo-icon {
	/* Flatten the blue mark to pure white — it's a single-colour logo. */
	filter: brightness(0) invert(1);
	transition: filter 0.32s ease;
}
.rl-has-hero .site-header .rl-logo-line1,
.rl-has-hero .site-header .rl-logo-line2 {
	color: #fff;
	transition: color 0.32s ease;
}
/* The burger keeps its blue button over the photo too — see the
   "BURGER BUTTON" block at the end of this file. */

/* --- Solid state: the hero has scrolled past (class set in functions.php) --- */
.rl-has-hero.rl-header-solid .site-header {
	background: var(--rl-white);
	box-shadow: var(--rl-shadow-sm);
}
.rl-has-hero.rl-header-solid .site-header .rl-logo-icon { filter: none; }
.rl-has-hero.rl-header-solid .site-header .rl-logo-line1,
.rl-has-hero.rl-header-solid .site-header .rl-logo-line2 { color: var(--rl-brand); }
/* No menu-link colour here: the only menu is the blue drawer, whose links are
   white in every state. A former ≥1101px rule painted them dark ink once the
   header turned solid — invisible on the blue drawer (fixed 2026-11-30). */
/* (The burger button is styled once, for both states, at the end of this file.) */

/* =====================================================================
   13. HEADER BAR — LOGO + BURGER
   Matches the client's reference: a large logo tight to the left edge and
   a big solid blue square burger filling the right corner. The header runs
   edge to edge rather than sitting inside GeneratePress's centred container.
   ===================================================================== */

/* Full-bleed header bar. GP wraps the header in .grid-container (max 1200px,
   auto margins), which floated the logo inwards; we take it edge to edge and
   pad only the left, so the burger square can sit flush in the corner. */
.site-header .inside-header {
	max-width: none;
	width: 100%;
	min-height: var(--rl-header-h);
	align-items: center;
	padding-left: clamp(16px, 2.5vw, 36px);
	padding-right: 0;
}

/* Bigger logo lockup. The footer sets its own icon size, so it is unaffected. */
.site-header .rl-logo-icon { width: 64px; }
.site-header .rl-logo-line1 { font-size: 1.75rem; }
.site-header .rl-logo-line2 { font-size: 0.86rem; letter-spacing: 0.3em; }

/* Burger: a big square flush in the top-right corner, exactly as tall as the
   header so it reads as part of the bar rather than a floating button. */
.has-inline-mobile-toggle .mobile-menu-control-wrapper {
	display: flex;
	align-items: stretch;
	right: 0;
}
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus {
	width: var(--rl-header-h);
	height: var(--rl-header-h);
	padding: 0;
	border-radius: 0;
	background-color: var(--rl-brand);
	color: #fff;
	box-shadow: none;
	transition: background-color 0.2s ease;
}
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus {
	background-color: var(--rl-icon);
}
/* Larger bars inside the bigger square. */
.mobile-menu-control-wrapper .menu-toggle .gp-icon svg {
	width: 1.9em;
	height: 1.9em;
}

/* ONE close control only. GeneratePress swaps the burger's icon to an X while
   the menu is open, which left two X's side by side (the burger at the header's
   right edge and the drawer's own X almost on top of it). The drawer's X wins;
   the burger is hidden for as long as the drawer is open. */
html.mobile-menu-open .mobile-menu-control-wrapper,
.main-navigation.toggled ~ .mobile-menu-control-wrapper,
#site-navigation.toggled .menu-toggle {
	display: none !important;
}

@media (max-width: 480px) {
	.site-header .rl-logo-icon { width: 50px; }
	.site-header .rl-logo-line1 { font-size: 1.3rem; }
	.site-header .rl-logo-line2 { font-size: 0.68rem; letter-spacing: 0.24em; }
}

/* =====================================================================
   14. FOOTER — MINIMAL THREE-COLUMN ROW
   Cut back to the client's reference: name + address, logo, service times
   + socials. The blue band, logo, schedule and social styling all come
   from section 9 and are unchanged — this only re-lays-out the three
   columns and adds the church-name heading.
   ===================================================================== */
.rl-footer-top {
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: clamp(1.75rem, 4vw, 3.5rem);
}

/* Left — church name over the address. */
.rl-footer-name {
	color: #fff;
	font-family: var(--rl-font-head);
	font-weight: 700;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.35;
	margin: 0 0 0.9rem;
}
.rl-footer-about .rl-footer-address {
	margin: 0;
	line-height: 1.8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.92rem;
}

/* Middle — the logo lockup with the social icons centred beneath it. */
.rl-footer-mark {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
}
.rl-footer-mark .rl-logo--footer { margin: 0; }
.rl-footer-mark .rl-logo--footer .rl-logo-icon { width: 58px; }
.rl-footer-mark .rl-social { margin: 0; justify-content: center; }

/* Right — service times, aligned to the outer edge. */
.rl-footer-times { text-align: right; }
.rl-footer-times .rl-schedule li { margin: 0 0 0.7rem; }
.rl-footer-times .rl-schedule li:last-child { margin-bottom: 0; }

/* Tablet: logo drops to its own centred row above the two text columns.
   They start on a common top line here — centring them against each other
   leaves the shorter address block floating oddly beside the taller times. */
@media (max-width: 900px) {
	.rl-footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 2.5rem;
		align-items: start;
	}
	/* All three are placed explicitly. With only the logo pinned, auto-placement
	   pushed the times into a third row instead of sitting beside the address. */
	.rl-footer-mark {
		grid-column: 1 / -1;
		grid-row: 1;
		margin-bottom: 0.5rem;
	}
	.rl-footer-about { grid-column: 1; grid-row: 2; }
	.rl-footer-times { grid-column: 2; grid-row: 2; }
}

/* Phone: one centred column — right-alignment reads as broken at this width. */
@media (max-width: 600px) {
	.rl-footer-top {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;
	}
	/* The ≤900px block above still matches here, and its explicit placements
	   would force a second (implicit) column — which squeezed the address into
	   a six-line ribbon. Hand all three back to auto-placement. */
	.rl-footer-mark,
	.rl-footer-about,
	.rl-footer-times {
		grid-column: auto;
		grid-row: auto;
	}
	.rl-footer-times { text-align: center; }
	.rl-footer-times .rl-social { justify-content: center; }
}

/* =====================================================================
   15. CONTACT PAGE WIDTH + FORM LEGIBILITY
   The congregation skews older, so fields need a clearly visible outline
   and a comfortably large hit area. This also recovers the page width
   that nested Gutenberg wrappers were quietly eating.
   ===================================================================== */

/* Every .wp-block-group__inner-container adds 40px of side padding. Stacked
   three deep on the Contact page they took 200px off the layout: at a 950px
   viewport the map was squeezed to 217px and the First/Last Name fields to
   88px each. .rl-inner already supplies the page gutter, so the inner
   wrappers keep none of their own. */
.rl-contact-section > .wp-block-group__inner-container,
.rl-contact-section .rl-inner > .wp-block-group__inner-container,
.rl-contact-layout > .wp-block-group__inner-container,
.rl-prayer-form-section > .wp-block-group__inner-container,
.rl-prayer-form-section .rl-inner > .wp-block-group__inner-container {
	padding-inline: 0;
}

/* Field outline colours. The old --rl-line (#E3E9ED) is a hairline divider
   tone — fine for separating blocks, far too faint to read as an input box. */
:root {
	--rl-field-line:        #8CA0AD; /* resting outline  */
	--rl-field-line-strong: #5A6B77; /* hover / darker   */
}

.rl-form input,
.rl-form select,
.rl-form textarea {
	font-size: 1.05rem;
	padding: 0.9rem 1.05rem;
	border: 2px solid var(--rl-field-line);
}
.rl-form input:hover,
.rl-form select:hover,
.rl-form textarea:hover {
	border-color: var(--rl-field-line-strong);
}
.rl-form input:focus,
.rl-form select:focus,
.rl-form textarea:focus {
	border-color: var(--rl-brand);
	/* Wider focus ring than the default — easier to spot which field is active. */
	box-shadow: 0 0 0 4px rgba(47, 155, 224, 0.22);
}
.rl-form-field label { font-size: 1rem; }
.rl-form textarea { min-height: 170px; }

/* Keep First/Last Name on one line only while there is room for both to stay
   comfortably wide; stack them sooner than the old 560px cut-off. */
@media (max-width: 760px) {
	.rl-form-row { grid-template-columns: 1fr; }
}

/* NOTE: the tablet single-column switch lives with the other .page-id-11 rules
   further up (search "redesign rule was too specific"). A generic
   .rl-contact-layout rule here would lose to it on specificity. */

/* =====================================================================
   ABOUT — "Who We Are" (Vision / Mission cards). Added 2026-11-30.
   Layout only: the copy is unchanged. Markup (page 7):
   .rl-beliefs > .rl-inner > h2 + .rl-who-grid > .rl-who-card ×2
   (each: p.rl-who-statement + blockquote) + p.rl-quote.rl-who-tagline + buttons
   ===================================================================== */
.rl-beliefs { background: var(--rl-cream); }
.rl-beliefs h2 { text-align: center; margin-bottom: 2.25rem; }

.rl-who-grid > .wp-block-group__inner-container,
.rl-who-grid:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem;
}
.rl-who-card {
	background: var(--rl-white);
	border-radius: var(--rl-radius);
	box-shadow: var(--rl-shadow-sm);
	border-top: 4px solid var(--rl-brand);
	padding: clamp(1.6rem, 3vw, 2.4rem);
	height: 100%;
	box-sizing: border-box;
}
.rl-who-card > .wp-block-group__inner-container,
.rl-who-grid > .wp-block-group__inner-container {
	padding: 0;
	max-width: none;
}
.rl-who-card > .wp-block-group__inner-container { height: 100%; display: flex; flex-direction: column; }

/* "Vision:" / "Mission:" become a small eyebrow; the statement a heading. */
.rl-who-statement {
	font-family: var(--rl-font-head);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.35;
	color: var(--rl-navy);
	margin: 0 0 1.5rem;
}
.rl-who-statement strong {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rl-brand);
	margin-bottom: 0.65rem;
}
.rl-who-colon { display: none; }

/* Scripture: decorative opening mark instead of the grey side bar. */
.rl-who-card .wp-block-quote {
	position: relative;
	margin: auto 0 0;
	padding: 1.5rem 0 0 0;
	border: 0;
	border-top: 1px solid var(--rl-line);
}
.rl-who-card .wp-block-quote::before {
	content: "\201C";
	position: absolute;
	top: 0.35rem;
	left: -0.15rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 4.25rem;
	line-height: 1;
	color: var(--rl-brand);
	opacity: 0.22;
	pointer-events: none;
}
.rl-who-card .wp-block-quote p {
	position: relative;
	font-family: var(--rl-font-body);
	font-size: 1rem;
	font-style: normal;
	line-height: 1.75;
	color: var(--rl-muted);
	margin: 0;
	padding-left: 1.6rem;
}
.rl-who-card .wp-block-quote cite {
	display: block;
	margin-top: 1rem;
	padding-left: 1.6rem;
	font-family: var(--rl-font-head);
	font-style: normal;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--rl-navy);
}
.rl-who-card .wp-block-quote cite::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 2px;
	margin-right: 0.6rem;
	vertical-align: middle;
	background: var(--rl-brand);
}

/* Closing line, centred, with a short amber accent. */
.rl-beliefs .rl-quote.rl-who-tagline {
	border: 0;
	padding: 0;
	margin: 3.25rem auto 1.75rem;
	text-align: center;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	font-weight: 600;          /* same (lighter) weight as the section h2 — Dima 2026-11-30 */
	letter-spacing: -0.01em;   /* same tracking as the h2 */
	line-height: 1.3;
}
.rl-beliefs .rl-quote.rl-who-tagline::before {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin: 0 auto 1.1rem;
	border-radius: 2px;
	background: var(--rl-amber);
}

@media (max-width: 860px) {
	.rl-who-grid > .wp-block-group__inner-container,
	.rl-who-grid:not(:has(> .wp-block-group__inner-container)) {
		grid-template-columns: 1fr;
	}
}


/* =====================================================================
   Eyebrow alignment (site-wide, 2026-11-30): as a block it takes the same
   constrained width/margins as the heading below it, so a left eyebrow
   lines up with its h2 and a centred one stays centred.
   ===================================================================== */
.rl-eyebrow { display: block; }

/* =====================================================================
   I'M NEW (page 6) — layout refresh 2026-11-30. Copy unchanged.
   ===================================================================== */
.rl-im-card > .wp-block-group__inner-container,
.rl-im-expect-grid > .wp-block-group__inner-container,
.rl-im-kids > .wp-block-group__inner-container,
.rl-im-location > .wp-block-group__inner-container,
.rl-im-location-text > .wp-block-group__inner-container,
.rl-im-form-card > .wp-block-group__inner-container {
	padding: 0;
	max-width: none;
}

/* Welcome — centred intro */
.rl-im-welcome .rl-eyebrow,
.rl-im-welcome h2,
.rl-im-welcome p { text-align: center; }
.rl-im-welcome p:not(.rl-eyebrow) { max-width: 680px; margin-inline: auto; }

/* What to expect — two cards + kids grid */
.rl-im-expect h2 { margin-bottom: 2.25rem; }
.rl-im-expect-grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1.75rem;
}
.rl-im-card {
	height: 100%;
	box-sizing: border-box;
	background: var(--rl-white);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	box-shadow: var(--rl-shadow-sm);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.rl-im-card h3 { font-size: 1.3rem; margin: 0 0 0.9rem; }
.rl-im-card p { margin: 0 0 0.6rem; }
.rl-im-steps {
	list-style: none;
	counter-reset: rl-step;
	margin: 1.1rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
}
.rl-im-steps li {
	counter-increment: rl-step;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0;
	padding: 0.7rem 0.9rem;
	background: var(--rl-cream);
	border-radius: var(--rl-radius-sm);
	font-family: var(--rl-font-head);
	font-weight: 500;
	color: var(--rl-navy);
}
.rl-im-steps li::before {
	content: counter(rl-step);
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--rl-brand);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
}
.rl-im-card--culture {
	background: linear-gradient(150deg, var(--rl-navy) 0%, var(--rl-navy-dark) 100%);
	border-color: transparent;
}
.rl-im-card--culture > .wp-block-group__inner-container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.rl-im-card--culture h3 { color: #fff; }
.rl-im-card--culture .rl-quote {
	color: #fff;
	border-left-color: var(--rl-amber);
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	line-height: 1.45;
	margin: 0.4rem 0 0;
}
.rl-im-kids { margin-top: 3.25rem; }
.rl-im-kids h3 { margin: 0 0 1.5rem; }
.rl-im-kids .rl-age-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1rem;
	margin: 0;
}
.rl-im-kids .rl-age-list p {
	margin: 0;
	padding: 1rem 1.15rem;
	background: var(--rl-white);
	border: 1px solid var(--rl-line);
	border-top: 3px solid var(--rl-brand);
	border-radius: var(--rl-radius-sm);
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--rl-muted);
}
.rl-im-kids .rl-age-list strong {
	display: block;
	margin-bottom: 0.3rem;
	font-family: var(--rl-font-head);
	font-weight: 600;
	color: var(--rl-navy);
}
.rl-im-kids .rl-age-list strong + br { display: none; }

/* Location — text left, map right */
.rl-im-location > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: center;
}
.rl-im-location .rl-map { margin-top: 0; }
.rl-im-location .rl-map iframe { height: 360px; box-shadow: var(--rl-shadow); }

/* Contact — centred header, form in a white card */
.rl-im-contact .rl-eyebrow,
.rl-im-contact h2 { text-align: center; }
.rl-im-form-card {
	margin-top: 2rem;
	background: var(--rl-white);
	border-radius: var(--rl-radius);
	box-shadow: var(--rl-shadow-sm);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 860px) {
	.rl-im-expect-grid > .wp-block-group__inner-container,
	.rl-im-location > .wp-block-group__inner-container { grid-template-columns: 1fr; }
	.rl-im-location .rl-map iframe { height: 300px; }
}
@media (max-width: 480px) {
	.rl-im-steps { grid-template-columns: 1fr; }
}
