/* =========================================================
   Joshua Light - design system
   Navy + gold, Cormorant Garamond (display) + Source Sans 3 (text)
   ========================================================= */
:root {
	/* Exact colours from the BBI logo */
	--jl-navy: #102A43;
	--jl-navy-2: #17344F;
	--jl-navy-3: #21425F;
	--jl-gold: #BFA477;
	--jl-gold-light: #D3BE96;
	--jl-gold-deep: #8C7446;
	--jl-mist: #F4F1EA;
	--jl-ivory: #F4F1EA;
	--jl-white: #FFFFFF;
	--jl-ink: #1B2230;
	--jl-slate: #566173;
	--jl-line: #D9DFE7;
	--jl-on-dark: #C5CFDC;
	--jl-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--jl-sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--jl-wrap: 1200px;
}

body.jl-site {
	font-family: var(--jl-sans);
	font-size: 18px;
	line-height: 1.65;
	color: var(--jl-ink);
	background: var(--jl-white);
}
.jl-site h1, .jl-site h2, .jl-site h3, .jl-site h4,
.jl-site .entry-title {
	font-family: var(--jl-serif);
	font-weight: 600;
	line-height: 1.12;
	color: var(--jl-navy);
}
.jl-site a { color: var(--jl-gold-deep); }
.jl-site :focus-visible { outline: 2px solid var(--jl-gold); outline-offset: 3px; }
.jl-site ::selection { background: var(--jl-gold); color: var(--jl-navy); }

/* ---------- Buttons ---------- */
.jl-btn,
.jl-site .jl-btn-gold .elementor-button,
.jl-site .jl-btn-line .elementor-button,
.jl-site .jl-btn-navy .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--jl-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	padding: 15px 28px;
	border: 1px solid transparent;
	border-radius: 2px;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.jl-site .jl-btn--gold,
.jl-site .jl-btn-gold .elementor-button { background: var(--jl-gold); color: var(--jl-navy); }
.jl-site .jl-btn--gold:hover, .jl-site .jl-btn--gold:focus,
.jl-site .jl-btn-gold .elementor-button:hover,
.jl-site .jl-btn-gold .elementor-button:focus { background: var(--jl-gold-light); color: var(--jl-navy); }

.jl-site .jl-btn-line .elementor-button { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.jl-site .jl-btn-line .elementor-button:hover,
.jl-site .jl-btn-line .elementor-button:focus { border-color: var(--jl-gold); color: var(--jl-gold); background: transparent; }

.jl-site .jl-btn-navy .elementor-button { background: var(--jl-navy); color: #fff; }
.jl-site .jl-btn-navy .elementor-button:hover,
.jl-site .jl-btn-navy .elementor-button:focus { background: var(--jl-navy-3); color: #fff; }

.jl-site .jl-link .elementor-button {
	background: none;
	color: var(--jl-navy);
	padding: 0 0 3px;
	border-radius: 0;
	border-bottom: 1px solid var(--jl-gold);
	font-size: 16px;
	font-weight: 600;
}
.jl-site .jl-link .elementor-button:hover,
.jl-site .jl-link .elementor-button:focus { color: var(--jl-gold-deep); background: none; }
.jl-site .jl-on-dark .jl-link .elementor-button { color: #fff; }

/* ---------- Header ---------- */
.jl-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--jl-navy);
	border-bottom: 1px solid rgba(198,161,91,.22);
	transition: box-shadow .25s;
}
.admin-bar .jl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .jl-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .jl-header { top: 0; } }
.jl-header.is-scrolled { box-shadow: 0 8px 28px rgba(6,12,24,.35); }
.jl-header__inner {
	max-width: var(--jl-wrap);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.jl-brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.jl-brand__name {
	font-family: var(--jl-serif);
	font-size: 32px;
	font-weight: 600;
	color: #fff;
	letter-spacing: .015em;
}
.jl-brand__title {
	margin-top: 7px;
	font-family: var(--jl-sans);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .12em;
	color: var(--jl-gold);
}
.jl-brand__logo { display: block; max-height: 58px; width: auto; }

.jl-nav { display: flex; align-items: center; gap: 26px; }
.jl-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.jl-menu a, .jl-nav__cta { white-space: nowrap; }
.jl-site .jl-nav__cta { padding: 12px 20px; font-size: 15px; }
.jl-menu li { position: relative; margin: 0; }
.jl-menu a {
	display: block;
	padding: 10px 0;
	color: #E4EAF2;
	font-family: var(--jl-sans);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .2s;
}
.jl-menu a:hover,
.jl-menu a:focus,
.jl-menu .current-menu-item > a,
.jl-menu .current-menu-ancestor > a,
.jl-menu .current_page_item > a { color: var(--jl-gold); }

.jl-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: 100%;
	left: -18px;
	min-width: 240px;
	background: var(--jl-navy-2);
	border-top: 2px solid var(--jl-gold);
	box-shadow: 0 14px 30px rgba(6,12,24,.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.jl-menu li:hover > .sub-menu,
.jl-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.jl-menu .sub-menu a { padding: 9px 18px; font-size: 13px; letter-spacing: .08em; }

.jl-burger {
	display: none;
	position: relative;
	z-index: 1001;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	background: none;
	border: 0;
	cursor: pointer;
}
.jl-burger span:not(.screen-reader-text) {
	display: block;
	width: 26px;
	height: 2px;
	background: #fff;
	transition: transform .2s, opacity .2s;
}
.jl-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jl-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jl-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.jl-burger { display: flex; }
	.jl-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(360px, 88vw);
		z-index: 1000;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 96px 28px 32px;
		background: var(--jl-navy);
		border-left: 1px solid rgba(198,161,91,.25);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .28s ease, visibility .28s;
	}
	.jl-nav.is-open { transform: none; visibility: visible; box-shadow: -20px 0 50px rgba(0,0,0,.4); }
	.jl-menu { flex-direction: column; gap: 0; }
	.jl-menu a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.jl-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		padding: 0 0 0 16px;
		background: none;
		border: 0;
		box-shadow: none;
	}
	.jl-nav__cta { margin-top: 24px; }
	.jl-brand__name { font-size: 27px; }
	.jl-brand__title { font-size: 11px; }
}
body.jl-menu-open { overflow: hidden; }

/* ---------- Elementor type classes ---------- */
.elementor .jl-kicker .elementor-heading-title {
	font-family: var(--jl-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .16em;
	color: var(--jl-gold);
}
.elementor .jl-display .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: clamp(60px, 9vw, 124px);
	font-weight: 600;
	line-height: .92;
	letter-spacing: -.015em;
	color: #fff;
}
.elementor .jl-h2 .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: clamp(38px, 4.4vw, 56px);
	font-weight: 600;
	line-height: 1.06;
	color: var(--jl-navy);
}
.elementor .jl-h3 .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--jl-navy);
}
.elementor .jl-on-dark .jl-h2 .elementor-heading-title,
.elementor .jl-on-dark .jl-h3 .elementor-heading-title { color: #fff; }

.elementor .jl-lead { font-size: 21px; line-height: 1.6; color: var(--jl-slate); }
.elementor .jl-body { font-size: 18px; line-height: 1.7; color: var(--jl-slate); }
.elementor .jl-lead p, .elementor .jl-body p { max-width: 62ch; }
.elementor .jl-on-dark .jl-lead,
.elementor .jl-on-dark .jl-body { color: var(--jl-on-dark); }
.elementor .jl-center .jl-lead p,
.elementor .jl-center .jl-body p { margin-left: auto; margin-right: auto; }
.elementor .jl-org-line {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--jl-gold-deep);
	padding-left: 14px;
	border-left: 2px solid var(--jl-gold);
}

/* ---------- Hero ---------- */
.jl-hero { position: relative; overflow: hidden; }
.jl-hero::after {
	content: "";
	position: absolute;
	top: -25%;
	right: -12%;
	width: 72%;
	height: 150%;
	background: radial-gradient(closest-side, rgba(198,161,91,.20), rgba(198,161,91,0));
	pointer-events: none;
}
.jl-hero > .e-con-inner { position: relative; z-index: 1; }
.jl-beam {
	position: relative;
}
.jl-beam::before {
	content: "";
	position: absolute;
	top: -12%;
	bottom: -12%;
	left: -28px;
	width: 1px;
	background: linear-gradient(to bottom, rgba(198,161,91,0), var(--jl-gold) 35%, var(--jl-gold) 65%, rgba(198,161,91,0));
	opacity: .7;
}
.jl-portrait {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: linear-gradient(160deg, var(--jl-navy-3), var(--jl-navy-2));
}
.jl-portrait .elementor-widget-image,
.jl-portrait .elementor-widget-image .elementor-widget-container,
.jl-portrait img { width: 100%; height: 100%; }
.jl-portrait img { object-fit: cover; object-position: center top; display: block; }

@media (prefers-reduced-motion: no-preference) {
	.jl-hero .jl-rise {
		animation: jlRise .9s cubic-bezier(.2,.7,.2,1) both;
	}
	.jl-hero .jl-rise:nth-child(2) { animation-delay: .08s; }
	.jl-hero .jl-rise:nth-child(3) { animation-delay: .18s; }
	.jl-hero .jl-rise:nth-child(4) { animation-delay: .28s; }
	.jl-hero .jl-portrait { animation: jlFade 1.2s ease .2s both; }
}
@keyframes jlRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes jlFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 767px) {
	.jl-beam::before { display: none; }
	.jl-portrait { aspect-ratio: 4 / 4.4; }
}

/* ---------- Start here (four ways) ---------- */
.jl-way { border-top: 2px solid var(--jl-gold); padding-top: 22px !important; }

/* ---------- Lists ---------- */
.jl-list { list-style: none; margin: 0; padding: 0; }
.jl-list li {
	position: relative;
	padding: 14px 0 14px 30px;
	border-bottom: 1px solid var(--jl-line);
	color: var(--jl-ink);
	font-size: 19px;
}
.jl-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 27px;
	width: 16px;
	height: 1px;
	background: var(--jl-gold);
}
.jl-on-dark .jl-list li { color: #fff; border-color: rgba(255,255,255,.12); }

/* ---------- Posts grid ([jl_latest_posts]) ---------- */
.jl-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
@media (max-width: 960px) { .jl-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .jl-posts { grid-template-columns: 1fr; } }
.jl-post { display: flex; flex-direction: column; }
.jl-post__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	margin-bottom: 18px;
	background: var(--jl-navy-2);
}
.jl-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.jl-post__media:hover img { transform: scale(1.03); }
.jl-post__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-family: var(--jl-serif);
	font-size: 64px;
	color: var(--jl-gold);
}
.jl-post__meta { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--jl-gold-deep); }
.jl-post__title { margin: 0 0 10px; font-size: 28px; }
.jl-site .jl-post__title a { color: var(--jl-navy); text-decoration: none; }
.jl-site .jl-post__media, .jl-site .jl-post__more { text-decoration: none; }
.jl-post__title a:hover { color: var(--jl-gold-deep); }
.jl-post__excerpt { margin: 0 0 16px; font-size: 17px; color: var(--jl-slate); }
.jl-post__more {
	margin-top: auto;
	align-self: flex-start;
	font-weight: 600;
	color: var(--jl-navy);
	text-decoration: none;
	border-bottom: 1px solid var(--jl-gold);
	padding-bottom: 2px;
}
.jl-empty { margin: 0; padding: 28px; border: 1px dashed var(--jl-line); color: var(--jl-slate); }
.jl-pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.jl-pagination .page-numbers {
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--jl-line);
	color: var(--jl-navy);
	text-decoration: none;
	font-weight: 600;
}
.jl-pagination .page-numbers.current { background: var(--jl-navy); border-color: var(--jl-navy); color: #fff; }

/* ---------- Social ---------- */
.jl-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.jl-social a {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 50%;
	color: #fff;
	transition: color .2s, border-color .2s;
}
.jl-social a:hover, .jl-social a:focus { color: var(--jl-gold); border-color: var(--jl-gold); }
.jl-social svg { width: 18px; height: 18px; }

/* ---------- WooCommerce ---------- */
.jl-site.woocommerce ul.products li.product .woocommerce-loop-product__title,
.jl-site .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--jl-serif);
	font-size: 25px;
	font-weight: 600;
	color: var(--jl-navy);
}
.jl-site .woocommerce ul.products li.product .price,
.jl-site.woocommerce ul.products li.product .price { color: var(--jl-gold-deep); font-weight: 600; font-size: 18px; }
.jl-site .woocommerce a.button,
.jl-site .woocommerce button.button,
.jl-site .woocommerce input.button,
.jl-site.woocommerce a.button,
.jl-site.woocommerce button.button,
.jl-site.woocommerce-page a.button,
.jl-site.woocommerce-page button.button,
.jl-site .woocommerce a.button.alt,
.jl-site .woocommerce button.button.alt {
	background: var(--jl-navy);
	color: #fff;
	border-radius: 2px;
	font-family: var(--jl-sans);
	font-weight: 600;
	padding: 13px 24px;
}
.jl-site .woocommerce a.button:hover,
.jl-site .woocommerce button.button:hover,
.jl-site.woocommerce a.button:hover,
.jl-site.woocommerce button.button:hover,
.jl-site.woocommerce-page a.button:hover,
.jl-site.woocommerce-page button.button:hover { background: var(--jl-gold); color: var(--jl-navy); }
.jl-site .woocommerce span.onsale,
.jl-site.woocommerce span.onsale { background: var(--jl-gold); color: var(--jl-navy); }

/* ---------- Forms (Fluent Forms) ---------- */
.jl-site .fluentform .ff-el-input--label label { font-weight: 600; color: var(--jl-navy); }
.jl-site .fluentform .ff-el-form-control {
	border: 1px solid var(--jl-line);
	border-radius: 2px;
	padding: 13px 14px;
	font-size: 17px;
}
.jl-site .fluentform .ff-el-form-control:focus { border-color: var(--jl-gold); box-shadow: 0 0 0 3px rgba(198,161,91,.2); }
.jl-site .fluentform .ff-btn-submit {
	background: var(--jl-navy) !important;
	color: #fff !important;
	border-radius: 2px;
	padding: 15px 30px;
	font-weight: 600;
	font-size: 16px;
}
.jl-site .fluentform .ff-btn-submit:hover { background: var(--jl-gold) !important; color: var(--jl-navy) !important; }

/* ---------- Single teaching (blog post) ---------- */
.jl-site.single-post .entry-content { font-size: 19px; line-height: 1.75; }
.jl-site.single-post .entry-content p,
.jl-site.single-post .entry-content li { max-width: 68ch; }
.jl-site.single-post .entry-content blockquote {
	border-left: 3px solid var(--jl-gold);
	font-family: var(--jl-serif);
	font-size: 26px;
	line-height: 1.4;
	color: var(--jl-navy);
}

/* ---------- Light text on dark sections (widget-level, always wins) ---------- */
.elementor .jl-light .elementor-heading-title { color: #fff; }
.elementor .jl-kicker.jl-light .elementor-heading-title { color: var(--jl-gold); }
.elementor .jl-light.elementor-widget-text-editor,
.elementor .jl-light.elementor-widget-text-editor p { color: var(--jl-on-dark); }
.elementor .jl-light .jl-list li { color: #fff; border-color: rgba(255,255,255,.14); }
.jl-site .jl-light.jl-link .elementor-button { color: #fff; }

/* ---------- Ghost button (on photos) ---------- */
.jl-site .jl-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.jl-site .jl-btn--ghost:hover, .jl-site .jl-btn--ghost:focus { border-color: var(--jl-gold); color: var(--jl-gold-light); }

/* ---------- Hero with rotating portraits ---------- */
.jl-hero2 {
	position: relative;
	min-height: min(88vh, 860px);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--jl-navy);
	isolation: isolate;
}
.jl-hero2__slides { position: absolute; inset: 0; z-index: -2; }
.jl-hero2__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: var(--pos, center top);
	opacity: 0;
	transform: scale(1.02);
	transition: opacity 1.6s ease, transform 7s ease;
}
.jl-hero2__slide.is-active { opacity: 1; transform: scale(1); }
.jl-hero2__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(19,40,73,.94) 0%, rgba(19,40,73,.80) 34%, rgba(19,40,73,.25) 62%, rgba(19,40,73,0) 80%);
}
.jl-hero2--nophoto .jl-hero2__shade {
	background: radial-gradient(ellipse at 78% 40%, rgba(191,167,122,.18), rgba(191,167,122,0) 55%);
}
.jl-hero2__inner { width: 100%; max-width: var(--jl-wrap); margin: 0 auto; padding: 100px 24px; }
.jl-hero2__content { max-width: 600px; }
.jl-hero2__kicker {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .16em;
	color: var(--jl-gold-light);
}
.jl-site .jl-hero2__name {
	margin: 0;
	font-family: var(--jl-serif);
	font-size: clamp(58px, 8.4vw, 116px);
	font-weight: 600;
	line-height: .92;
	letter-spacing: -.015em;
	color: #fff;
}
.jl-hero2__tagline {
	margin: 24px 0 0;
	font-family: var(--jl-serif);
	font-size: clamp(24px, 2.4vw, 32px);
	font-style: italic;
	font-weight: 500;
	line-height: 1.3;
	color: #fff;
}
.jl-hero2__role {
	margin: 16px 0 0;
	padding-left: 14px;
	border-left: 2px solid var(--jl-gold);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .03em;
	color: #D9E0EA;
}
.jl-hero2__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

@media (prefers-reduced-motion: no-preference) {
	.jl-hero2__content > * { animation: jlRise .9s cubic-bezier(.2,.7,.2,1) both; }
	.jl-hero2__content > *:nth-child(2) { animation-delay: .08s; }
	.jl-hero2__content > *:nth-child(3) { animation-delay: .16s; }
	.jl-hero2__content > *:nth-child(4) { animation-delay: .24s; }
	.jl-hero2__content > *:nth-child(5) { animation-delay: .32s; }
}
@media (prefers-reduced-motion: reduce) {
	.jl-hero2__slide { transition: none; transform: none; }
}
@media (max-width: 767px) {
	.jl-hero2 { min-height: 92vh; align-items: flex-end; }
	.jl-hero2__slide { background-position: var(--pos-m, center top); }
	.jl-hero2__shade {
		background: linear-gradient(0deg, rgba(19,40,73,.96) 0%, rgba(19,40,73,.85) 38%, rgba(19,40,73,.15) 70%, rgba(19,40,73,0) 100%);
	}
	.jl-hero2__inner { padding: 40px 20px 48px; }
}

/* ---------- Content blocks ---------- */
.elementor .jl-statement .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 500;
	line-height: 1.25;
	color: var(--jl-navy);
}
.elementor .jl-scripture .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: clamp(32px, 3.8vw, 50px);
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
	color: #fff;
}
.elementor .jl-cite .elementor-heading-title {
	font-family: var(--jl-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .14em;
	color: var(--jl-gold-light);
}
.elementor .jl-kicker-dark .elementor-heading-title {
	font-family: var(--jl-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .16em;
	color: var(--jl-gold-deep);
}
.elementor .jl-tagline .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: 28px;
	font-style: italic;
	font-weight: 500;
	color: var(--jl-gold-deep);
}
.jl-photo { overflow: hidden; background: linear-gradient(160deg, var(--jl-navy-3), var(--jl-navy-2)); }
.jl-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.jl-photo--tall { aspect-ratio: 4 / 5; }
.jl-photo--wide { aspect-ratio: 4 / 3; }
.jl-photo .elementor-widget-image,
.jl-photo .elementor-widget-container { width: 100%; height: 100%; }

/* Faith grid */
.jl-faith-item { border-top: 1px solid var(--jl-line); padding-top: 22px !important; }
.elementor .jl-faith-item .jl-h3 .elementor-heading-title { font-size: 28px; }

/* Credentials */
.jl-cred { border-left: 2px solid var(--jl-gold); padding-left: 26px !important; }
.jl-site .jl-checks { list-style: none; margin: 0; padding: 0; }
.jl-site .jl-checks li { position: relative; padding: 0 0 12px 22px; color: var(--jl-slate); }
.jl-site .jl-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	width: 10px;
	height: 1px;
	background: var(--jl-gold-deep);
}

/* Posts section (auto-hidden when empty) */
.jl-posts-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.jl-site .jl-posts-section__title { margin: 0; font-size: clamp(38px, 4.4vw, 56px); }
.jl-site .jl-text-link { color: var(--jl-navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--jl-gold); padding-bottom: 2px; }
.jl-wrap-posts:has(.jl-posts-section) { padding: 104px 24px !important; }

/* Contact section */
.jl-site .jl-email { color: var(--jl-navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--jl-gold); }
.jl-form-card { background: #fff; padding: 40px !important; border: 1px solid var(--jl-line); }
@media (max-width: 767px) { .jl-form-card { padding: 24px !important; } }

/* ---------- Compact footer ---------- */
.jl-footer { background: var(--jl-navy); color: #AEB9C9; font-size: 15px; }
.jl-footer__inner {
	max-width: var(--jl-wrap);
	margin: 0 auto;
	padding: 36px 24px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
}
.jl-brand--footer .jl-brand__name { font-size: 26px; }
.jl-brand--footer .jl-brand__logo { max-height: 46px; }
.jl-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.jl-footer__menu li { margin: 0; }
.jl-site .jl-footer__menu a { color: #D7DEE8; text-decoration: none; font-size: 15px; }
.jl-site .jl-footer__menu a:hover, .jl-site .jl-footer__menu a:focus { color: var(--jl-gold-light); }
.jl-footer .jl-social { margin: 0; }
.jl-footer .jl-social a { width: 38px; height: 38px; }
.jl-footer__bottom {
	max-width: var(--jl-wrap);
	margin: 0 auto;
	padding: 16px 24px 22px;
	border-top: 1px solid rgba(255,255,255,.09);
	font-size: 13.5px;
	color: #95A2B5;
}
.jl-footer__bottom p { margin: 0; }
@media (max-width: 900px) {
	.jl-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   v1.2 — wireframe layout + typography scale from client notes
   ========================================================= */

/* Heading scale: page headings 42–48 / 36–42 / 30–36 */
.elementor .jl-h1 .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: 46px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: .02em;
	color: var(--jl-navy);
}
.elementor .jl-h2 .elementor-heading-title,
.jl-site .jl-posts-section__title {
	font-size: 40px;
	font-weight: 600;
	letter-spacing: .02em;
}
.elementor .jl-h3 .elementor-heading-title { font-size: 28px; letter-spacing: .01em; }
.elementor .jl-sub .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--jl-gold-deep);
}
.elementor .jl-statement .elementor-heading-title { font-size: 30px; line-height: 1.35; }
@media (max-width: 1024px) {
	.elementor .jl-h1 .elementor-heading-title { font-size: 40px; }
	.elementor .jl-h2 .elementor-heading-title, .jl-site .jl-posts-section__title { font-size: 34px; }
	.elementor .jl-statement .elementor-heading-title { font-size: 26px; }
}
@media (max-width: 767px) {
	.elementor .jl-h1 .elementor-heading-title { font-size: 32px; }
	.elementor .jl-h2 .elementor-heading-title, .jl-site .jl-posts-section__title { font-size: 28px; }
	.elementor .jl-h3 .elementor-heading-title { font-size: 24px; }
	.elementor .jl-sub .elementor-heading-title { font-size: 23px; }
	.elementor .jl-statement .elementor-heading-title { font-size: 22px; }
}

/* Header brand: logo + name */
.jl-brand { flex-direction: row; align-items: center; gap: 12px; }
.jl-brand__name { font-size: 28px; }
.jl-site .jl-brand, .jl-site .jl-brand:hover { text-decoration: none; }

/* Buttons */
.jl-site .jl-btn { text-decoration: none; }
.jl-site .jl-btn--navy { background: var(--jl-navy); color: #fff; }
.jl-site .jl-btn--navy:hover, .jl-site .jl-btn--navy:focus { background: var(--jl-navy-3); color: #fff; }

/* Hero: photo frame + statement */
.jl-hs { background: #fff; }
.jl-hs__inner {
	max-width: var(--jl-wrap);
	margin: 0 auto;
	padding: 80px 24px 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.jl-hs__media {
	position: relative;
	aspect-ratio: 4 / 3.4;
	overflow: hidden;
	background: linear-gradient(160deg, var(--jl-navy-3), var(--jl-navy));
}
.jl-hs__media .jl-hero2__slides { z-index: 0; }
.jl-site .jl-hs__lead {
	margin: 0;
	font-family: var(--jl-serif);
	font-size: 36px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: .005em;
	color: var(--jl-navy);
}
.jl-hs__body { margin: 22px 0 0; font-size: 19px; line-height: 1.7; color: var(--jl-slate); max-width: 46ch; }
.jl-hs__tagline {
	max-width: var(--jl-wrap);
	margin: 0 auto;
	padding: 28px 24px 72px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-family: var(--jl-sans);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--jl-gold-deep);
	text-align: center;
}
.jl-hs__sep { color: var(--jl-gold); font-weight: 400; }
@media (max-width: 900px) {
	.jl-hs__inner { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 24px; }
	.jl-site .jl-hs__lead { font-size: 28px; }
	.jl-hs__media .jl-hero2__slide { background-position: var(--pos-m, center top); }
	.jl-hs__tagline { font-size: 14px; letter-spacing: .12em; padding: 16px 20px 52px; }
}
@media (max-width: 560px) {
	.jl-hs__sep { display: none; }
	.jl-hs__tagline { flex-direction: column; gap: 6px; }
}

/* Social text links (YouTube • Facebook) */
.jl-site .jl-social-text a { color: var(--jl-navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--jl-gold); }
.jl-site .jl-social-text a:hover { color: var(--jl-gold-deep); }
.jl-social-text .jl-dot { color: var(--jl-gold); margin: 0 10px; }

/* Linked cards (Books & Resources / Speaking & Booking) */
.jl-card {
	background: var(--jl-ivory);
	border: 1px solid var(--jl-line);
	padding: 56px 32px !important;
	text-align: center;
	text-decoration: none;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.jl-card:hover { border-color: var(--jl-gold); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(19,40,73,.08); }
.elementor .jl-card .elementor-widget-text-editor { color: var(--jl-slate); }

/* Divider inside teachings block */
.jl-rule { border-top: 1px solid var(--jl-line); padding-top: 48px !important; }

/* Contact reveal */
#contact { scroll-margin-top: 96px; }
.jl-reveal { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.jl-reveal__panel { width: 100%; max-width: 680px; text-align: left; }
.jl-reveal__email { text-align: center; margin: 0 0 22px; font-size: 18px; }
.jl-site .jl-reveal__email a { color: var(--jl-navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--jl-gold); }
.jl-reveal__form { background: #fff; border: 1px solid var(--jl-line); padding: 36px; }
@media (max-width: 767px) { .jl-reveal__form { padding: 22px; } }
.jl-reveal__btn.is-open { background: var(--jl-navy-3); }

/* Category list (Bible Teachings) */
.jl-site .jl-cat-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
}
.jl-site .jl-cat-grid li {
	padding: 18px 0 18px 26px;
	border-bottom: 1px solid var(--jl-line);
	position: relative;
	font-family: var(--jl-serif);
	font-size: 23px;
	font-weight: 600;
	color: var(--jl-navy);
}
.jl-site .jl-cat-grid li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 33px;
	width: 12px;
	height: 1px;
	background: var(--jl-gold-deep);
}
@media (max-width: 680px) { .jl-site .jl-cat-grid { grid-template-columns: 1fr; } }

/* Coming soon */
.elementor .jl-soon .elementor-heading-title {
	font-family: var(--jl-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--jl-gold-deep);
}

/* Statement of Faith cross */
.jl-cross-panel {
	background: var(--jl-navy);
	aspect-ratio: 3 / 4;
	display: flex;
	align-items: center;
	justify-content: center;
}
.jl-cross-panel .elementor-widget-html, .jl-cross-panel .elementor-widget-container { display: flex; justify-content: center; width: 100%; }
.jl-cross { width: 34%; max-width: 120px; height: auto; color: var(--jl-gold); }

/* Footer: centered, compact (wireframe) */
.jl-footer__inner {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 40px 24px 30px;
	text-align: center;
}
.jl-footer__menu { justify-content: center; gap: 6px 0; }
.jl-footer__menu li + li::before { content: "|"; color: rgba(255,255,255,.28); margin: 0 14px; }
.jl-site .jl-footer__menu a { font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.jl-footer__copy { margin: 4px 0 0; font-size: 13.5px; color: #95A2B5; }
.jl-footer__bottom { display: none; }
@media (max-width: 600px) {
	.jl-footer__menu li + li::before { display: none; }
	.jl-footer__menu { gap: 4px 18px; }
}


/* ---------- v1.3 BBI logo ---------- */
.jl-header__inner { padding-top: 12px; padding-bottom: 12px; }
.jl-brand__logo { max-height: 62px; width: auto; }
.jl-footer__logo { display: block; height: auto; width: 150px; max-width: 60vw; }
@media (max-width: 1080px) { .jl-brand__logo { max-height: 50px; } }
@media (max-width: 480px)  { .jl-brand__logo { max-height: 42px; } }

/* ---------- v1.4 Hero & Contact built with Elementor containers ---------- */
.jl-hs-media { overflow: hidden; background-color: var(--jl-navy-2); }
.elementor .jl-hs-lead .elementor-heading-title {
	font-family: var(--jl-serif);
	font-size: 36px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--jl-navy);
}
.elementor .jl-hs-body { font-size: 19px; line-height: 1.7; color: var(--jl-slate); }
.elementor .jl-hs-tag .elementor-heading-title {
	font-family: var(--jl-sans);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--jl-gold-deep);
}
@media (max-width: 767px) {
	.elementor .jl-hs-lead .elementor-heading-title { font-size: 28px; }
	.elementor .jl-hs-tag .elementor-heading-title { font-size: 13.5px; letter-spacing: .1em; }
}

/* Contact details stay hidden until "Send a Message" (always visible inside the Elementor editor) */
body:not(.elementor-editor-active) .jl-reveal-panel:not(.is-open) { display: none !important; }
.jl-reveal-panel { width: 100%; margin-top: 18px; }
.elementor .jl-reveal-email a {
	color: var(--jl-navy);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--jl-gold);
}
@media (prefers-reduced-motion: no-preference) {
	.jl-reveal-panel.is-open { animation: jlRise .5s ease both; }
}
