/*
Theme Name: Love Fellowship
Theme URI: https://example.com/
Author: Chris Jones
Description: A vibrant theme for Love Fellowship Bible Church in Kansas City. Full-photo hero, service schedule, Facebook live stream, the pastor's YouTube teaching, news and events with flyers, giving and payments, and a message form. Every section is editable under Appearance > Customize.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lfbc
*/

/* ---------- Fonts (hosted with the theme, SIL Open Font License) ---------- */
@font-face { font-family: "Gloock"; src: url("assets/fonts/gloock.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

/* ---------- Tokens. The four base colors can be changed in Customize > Colors. ---------- */
:root {
	--coral: #f04a5d;   /* the seal's lettering, turned up */
	--amber: #ffb43c;   /* firelight */
	--plum: #1b0518;    /* the seal's ground */
	--mint: #a8d5b5;    /* the baptistry */
	--robe: #fbf7f9;    /* baptism-robe white */

	--coral-deep: #b02a3b;
	--coral-deep: color-mix(in srgb, var(--coral) 70%, #2a0010);
	--plum-soft: #34102c;
	--plum-soft: color-mix(in srgb, var(--plum) 86%, var(--coral));
	--amber-soft: #fff0d4;
	--amber-soft: color-mix(in srgb, var(--amber) 24%, #fff);
	--mint-soft: #e2f1e6;
	--mint-soft: color-mix(in srgb, var(--mint) 36%, #fff);
	--muted: #513a4e;
	--line: rgba(27, 5, 24, 0.16);
	--line-light: rgba(251, 247, 249, 0.24);
	--fire: linear-gradient(105deg, var(--coral) 0%, var(--amber) 100%);

	--display: "Gloock", "Georgia", "Times New Roman", serif;
	--body: "Figtree", "Helvetica Neue", Arial, sans-serif;

	--wrap: 76rem;
	--gap: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(3.5rem, 9vw, 7rem);
	--radius: 1rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--robe); color: var(--plum); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }

img, iframe, video { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.08; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3, .lf-h3 { font-family: var(--body); font-weight: 700; font-size: 1.25rem; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1.1em; }

a { color: var(--coral-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--plum); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.lf-wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.lf-narrow { max-width: 46rem; }
.lf-section { padding-block: var(--section); }

.lf-skip, .screen-reader-text { position: absolute; left: -999rem; top: 0; }
.lf-skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--robe); color: var(--plum); padding: 0.6rem 1rem; border-radius: 0.5rem; }

/* ---------- Buttons ---------- */
.lf-btn {
	display: inline-block; padding: 0.85rem 1.7rem;
	border: 2px solid var(--coral); border-radius: 999px;
	background: var(--coral); color: #fff;
	font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.lf-btn:hover { background: var(--plum); border-color: var(--plum); color: #fff; transform: translateY(-2px); }
.lf-btn--small { padding: 0.55rem 1.15rem; font-size: 0.95rem; }
.lf-btn--big { padding: 1.05rem 2.1rem; font-size: 1.125rem; }
.lf-btn--glow { background: var(--amber); border-color: var(--amber); color: var(--plum); }
.lf-btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.lf-btn--ghost:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.lf-btn--dark { background: var(--plum); border-color: var(--plum); color: #fff; }
.lf-btn--dark:hover { background: #fff; border-color: #fff; color: var(--plum); }
.lf-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* On dark sections the hover state flips to white instead of plum. */
.lf-hero .lf-btn:hover, .lf-watch:not(.lf-watch--page) .lf-btn:hover, .lf-pagehead .lf-btn:hover, .lf-header .lf-btn:hover { background: #fff; border-color: #fff; color: var(--plum); }

/* ---------- Live bar ---------- */
.lf-livebar { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.65rem var(--gap); background: var(--fire); color: var(--plum); font-weight: 700; text-decoration: none; }
.lf-livebar[hidden] { display: none; }
.lf-livebar__dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--plum); animation: lf-pulse 1.4s ease-in-out infinite; }
@keyframes lf-pulse { 50% { opacity: 0.25; } }

/* ---------- Header ---------- */
.lf-header { background: var(--plum); color: #fff; position: sticky; top: 0; z-index: 50; }
.lf-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.lf-brand { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; font-weight: 700; line-height: 1.2; }
.lf-brand:hover { color: var(--amber); }
.lf-brand img { width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.lf-nav { display: flex; align-items: center; gap: 1.5rem; }
.lf-menu { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.lf-menu a { color: #fff; text-decoration: none; font-weight: 600; }
.lf-menu a:hover, .lf-menu .current-menu-item a { color: var(--amber); }
.lf-navtoggle { display: none; }

@media (max-width: 60rem) {
	.lf-header__row { flex-wrap: wrap; }
	.lf-brand span { max-width: 11rem; }
	.lf-navtoggle { display: inline-block; padding: 0.5rem 1rem; background: transparent; color: #fff; border: 2px solid var(--line-light); border-radius: 999px; font: 600 1rem var(--body); cursor: pointer; }
	.lf-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; padding-block: 0.5rem 1rem; }
	.lf-nav.is-open { display: flex; }
	.lf-menu { flex-direction: column; gap: 0.25rem; width: 100%; }
	.lf-menu a { display: block; padding: 0.6rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line-light); }
}

/* ---------- Hero: the church photo fills the whole backdrop, words in front ---------- */
.lf-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(88vh, 54rem); background: var(--plum); color: #fff; overflow: hidden; }
.lf-hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 78% 22%; }
/* Firelight: the photo is tinted coral-to-amber, then darkened on the left so the words stay readable. */
.lf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fire); mix-blend-mode: multiply; opacity: 0.85; }
.lf-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(0deg, color-mix(in srgb, var(--plum) 90%, transparent) 0%, transparent 45%),
		linear-gradient(100deg, color-mix(in srgb, var(--plum) 97%, transparent) 0%, color-mix(in srgb, var(--plum) 80%, transparent) 34%, color-mix(in srgb, var(--plum) 22%, transparent) 66%, transparent 100%);
}
.lf-hero__inner { padding-block: clamp(5rem, 12vw, 9rem) clamp(4.5rem, 9vw, 7rem); }
.lf-hero__seal { width: 5.5rem; height: 5.5rem; border-radius: 50%; margin-bottom: 1.5rem; box-shadow: 0 0 0 3px var(--amber); }
.lf-hero h1 { font-size: clamp(3.4rem, 10.5vw, 8.75rem); line-height: 0.92; margin-bottom: 0.3em; max-width: 9ch; text-wrap: balance; }
.lf-hero__text { font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.45; max-width: 34rem; font-weight: 500; }

@media (max-width: 52rem) {
	.lf-hero::after {
		background: linear-gradient(0deg, color-mix(in srgb, var(--plum) 97%, transparent) 0%, color-mix(in srgb, var(--plum) 80%, transparent) 48%, color-mix(in srgb, var(--coral) 40%, transparent) 100%);
	}
	.lf-hero__photo { object-position: 70% 0; }
}

/* ---------- Service times ---------- */
.lf-times { background: var(--fire); padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.lf-times--flat { background: var(--amber-soft); }
.lf-times__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--gap); align-items: center; }
.lf-times h2 { margin-bottom: 0.25em; }
.lf-times__head p { margin: 0; font-weight: 600; }
.lf-times__head a { color: var(--plum); }

.lf-schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.lf-schedule li { display: grid; grid-template-columns: 10.5rem 1fr; gap: 1.25rem; align-items: center; padding: 1.1rem 1.4rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0.6rem 1.6rem rgba(27, 5, 24, 0.14); }
.lf-schedule__when { margin: 0; line-height: 1.1; }
.lf-schedule__when strong { display: block; font: 400 1.9rem/1 var(--display); }
.lf-schedule__when span { display: block; margin-top: 0.3rem; font-weight: 700; color: var(--coral-deep); }
.lf-schedule h3 { margin: 0 0 0.15rem; }
.lf-schedule div p { margin: 0; color: var(--muted); }

@media (max-width: 52rem) {
	.lf-times__grid { grid-template-columns: 1fr; }
	.lf-schedule li { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------- Welcome and pastor ---------- */
.lf-about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.lf-about h2 { max-width: 14ch; }
.lf-about h3 { margin-top: 2rem; }

.lf-checks { list-style: none; margin: 0; padding: 0; }
.lf-checks li { position: relative; padding: 0.75rem 0 0.75rem 2.1rem; border-top: 1px solid var(--line); font-weight: 500; }
.lf-checks li::before { content: "✦"; position: absolute; left: 0.2rem; color: var(--coral); }

.lf-pastor { margin: 0 1.25rem 0 0; }
.lf-pastor img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 14rem 14rem var(--radius) var(--radius); box-shadow: 1.25rem 1.25rem 0 var(--amber); }
.lf-pastor figcaption { margin-top: 2.25rem; }
.lf-pastor strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin-bottom: 0.4rem; }
.lf-pastor span { color: var(--muted); }

@media (max-width: 52rem) {
	.lf-about__grid { grid-template-columns: 1fr; }
}

/* ---------- Live stream ---------- */
.lf-watch { color: #fff; background: radial-gradient(52rem 30rem at 88% 0%, color-mix(in srgb, var(--coral) 60%, transparent), transparent 70%), radial-gradient(40rem 26rem at 0% 100%, color-mix(in srgb, var(--amber) 26%, transparent), transparent 70%), var(--plum); }
.lf-watch__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lf-watch__copy > p { font-size: 1.15rem; }
.lf-watch a:not(.lf-btn) { color: var(--amber); }
.lf-watch--page { background: var(--robe); color: var(--plum); }
.lf-watch--page .lf-watch__grid { grid-template-columns: 1.5fr 1fr; align-items: start; }
.lf-watch--page a:not(.lf-btn) { color: var(--coral-deep); }
.lf-watch--page .lf-schedule li { box-shadow: none; border: 1px solid var(--line); }

.lf-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1.25rem 3rem rgba(27, 5, 24, 0.3); }
.lf-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lf-fbfeed { max-width: 500px; margin-inline: auto; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1.25rem 3rem rgba(27, 5, 24, 0.3); }
.lf-fbfeed iframe { display: block; width: 100%; height: 640px; border: 0; }
.lf-player__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; margin: 0.9rem 0 0; }
.lf-player__caption strong:empty { display: none; }
.lf-stage { max-width: 60rem; margin: 0 auto 3rem; }
.lf-watch__grid--solo { grid-template-columns: 1fr !important; max-width: 60rem; }
.lf-band--mint { background: var(--mint-soft); }
.lf-band--amber { background: var(--amber-soft); }
.lf-gapabove { margin-top: 3.5rem; }

@media (max-width: 52rem) {
	.lf-watch__grid, .lf-watch--page .lf-watch__grid { grid-template-columns: 1fr; }
}

/* ---------- Pastor's YouTube teaching ---------- */
.lf-word { background: var(--amber-soft); }
.lf-word__intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem var(--gap); margin-bottom: 2.25rem; }
.lf-word__intro > div:first-child { max-width: 42rem; }
.lf-word__intro h2, .lf-word__intro p { margin-bottom: 0.3em; }
.lf-word__intro .lf-actions { margin-top: 0; }
.lf-word > .lf-wrap > .lf-video { max-width: 56rem; }

.lf-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 2rem 1.5rem; }
.lf-word .lf-videos { margin-top: 0; }
.lf-videos a { display: block; color: var(--plum); text-decoration: none; }
.lf-videos__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--plum); margin-bottom: 0.75rem; }
.lf-videos__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.lf-videos__thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 -1.75rem; border-radius: 50%; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 60% no-repeat; }
.lf-videos__blank { display: grid; place-items: end start; width: 100%; height: 100%; padding: 0.8rem 1rem; background: var(--fire); color: var(--plum); font-weight: 700; }
.lf-videos a:hover img { transform: scale(1.05); }
.lf-videos a:hover strong { text-decoration: underline; }
.lf-videos strong { font-size: 1.1rem; line-height: 1.3; }
.lf-videos .is-playing .lf-videos__thumb { outline: 4px solid var(--coral); outline-offset: 2px; }

.lf-series { background: var(--mint-soft); }
.lf-series__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 2rem; }
.lf-series__grid h3 { margin: 0.9rem 0 0; }

/* ---------- Church life ---------- */
.lf-life { background: var(--mint-soft); }
.lf-life__intro { max-width: 40rem; margin-bottom: 2.5rem; }
.lf-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-areas: "a a b" "d c c"; gap: 1.5rem; }
.lf-mosaic__item { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.lf-mosaic__item--1 { grid-area: a; }
.lf-mosaic__item--2 { grid-area: b; }
.lf-mosaic__item--3 { grid-area: c; }
.lf-mosaic__item--4 { grid-area: d; }
.lf-mosaic img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.lf-mosaic__item--1 img, .lf-mosaic__item--3 img { aspect-ratio: 16 / 9; }
.lf-mosaic__item--2 img, .lf-mosaic__item--4 img { flex: 1 1 0; min-height: 0; height: 0; object-position: 50% 25%; }
.lf-mosaic figcaption { padding-top: 0.65rem; font-weight: 600; }

@media (max-width: 52rem) {
	.lf-mosaic { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b d" "c c"; gap: 1rem; }
	.lf-mosaic__item--2 img, .lf-mosaic__item--4 img { flex: none; height: auto; aspect-ratio: 1; }
}

/* ---------- News and events ---------- */
.lf-eventgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 2.25rem 1.75rem; }
.lf-event { display: flex; flex-direction: column; }
.lf-event__flyer { position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--fire); box-shadow: 0 0.8rem 2rem rgba(27, 5, 24, 0.16); }
.lf-event__flyer img { width: 100%; height: 100%; object-fit: cover; }
.lf-event__noflyer { display: grid; place-items: center; height: 100%; padding: 1.5rem; text-align: center; color: var(--plum); font: 400 2rem/1.1 var(--display); }
.lf-event__flyer time { position: absolute; left: 0.9rem; top: 0.9rem; min-width: 4rem; padding: 0.5rem 0.6rem; background: #fff; color: var(--plum); border-radius: 0.75rem; text-align: center; line-height: 1; }
.lf-event__flyer time span { display: block; font-weight: 700; color: var(--coral-deep); }
.lf-event__flyer time strong { display: block; font: 400 2rem/1.05 var(--display); }
.lf-event__body { padding-top: 1rem; }
.lf-event h3 { margin: 0 0 0.2rem; font-size: 1.4rem; }
.lf-event h3 a { color: inherit; text-decoration: none; }
.lf-event h3 a:hover { text-decoration: underline; }
.lf-event p { margin: 0; color: var(--muted); }
.lf-event .lf-actions { margin-top: 0.9rem; }
.lf-event__cost { display: inline-block; margin-top: 0.5rem !important; padding: 0.2rem 0.7rem; background: var(--amber); color: var(--plum) !important; border-radius: 999px; font-weight: 700; }
.lf-event__cost--big { font-size: 1.2rem; padding: 0.35rem 1rem; margin: 0 0 1rem !important; }

.lf-eventpage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lf-eventpage .lf-h3 { margin-top: 2.5rem; }
.lf-flyer { display: block; color: var(--coral-deep); font-weight: 600; text-align: center; }
.lf-flyer img { width: 100%; border-radius: var(--radius); box-shadow: 0 1rem 2.5rem rgba(27, 5, 24, 0.2); margin-bottom: 0.75rem; }

.lf-news { background: var(--amber-soft); }
.lf-newslist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem 1.75rem; }
.lf-newslist img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 0.9rem; }
.lf-newslist h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.lf-newslist h3 a { color: inherit; text-decoration: none; }
.lf-newslist h3 a:hover { text-decoration: underline; }
.lf-newslist p { margin-bottom: 0.3rem; }

.lf-pastlist { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.lf-pastlist li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.lf-pastlist a { font-weight: 600; }
.lf-pastlist span { color: var(--muted); white-space: nowrap; }

.lf-empty { font-size: 1.2rem; max-width: 36rem; }
.lf-adminhint { padding: 0.75rem 1rem; background: #fff6d6; border: 1px dashed var(--amber); border-radius: 0.5rem; font-size: 0.95rem; max-width: 40rem; }

@media (max-width: 52rem) {
	.lf-eventpage { grid-template-columns: 1fr; }
}

/* ---------- Give ---------- */
.lf-give { background: var(--fire); }
.lf-give__grid { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); flex-wrap: wrap; }
.lf-give h2 { font-size: clamp(2.8rem, 7.5vw, 5.75rem); margin-bottom: 0.25em; }
.lf-give p { max-width: 38rem; margin: 0 0 1.25rem; font-size: 1.2rem; font-weight: 500; }

.lf-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lf-chips li { padding: 0.35rem 1rem; border: 2px solid var(--plum); border-radius: 999px; font-weight: 700; }

.lf-givegrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lf-givebox { padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; border: 2px solid var(--plum); border-radius: var(--radius); box-shadow: 0.6rem 0.6rem 0 var(--amber); margin-bottom: 2.5rem; }
.lf-givebox h2 { font-size: 2.1rem; }
.lf-giveembed { margin-bottom: 2.5rem; }
.lf-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--gap); margin-bottom: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.lf-ways h3 { margin-bottom: 0.3rem; }

@media (max-width: 52rem) {
	.lf-givegrid { grid-template-columns: 1fr; }
}

/* ---------- Visit and form ---------- */
.lf-visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.lf-visit__details { margin-top: 2rem; }
.lf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.25rem var(--gap); margin: 0 0 1.5rem; }
.lf-facts dt { font-size: 0.9rem; font-weight: 700; color: var(--coral-deep); margin-bottom: 0.15rem; }
.lf-facts dd { margin: 0; font-weight: 600; font-size: 1.1rem; line-height: 1.4; }
.lf-map { display: block; width: 100%; height: 19rem; border: 0; border-radius: var(--radius); }
.lf-visit .lf-checks { margin-bottom: 0.5rem; }

.lf-form { padding: clamp(1.25rem, 4vw, 2.25rem); background: #fff; border: 2px solid var(--plum); border-radius: var(--radius); box-shadow: 0.6rem 0.6rem 0 var(--coral); }
.lf-form p { margin: 0 0 1rem; }
.lf-form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.lf-form input, .lf-form select, .lf-form textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid rgba(27, 5, 24, 0.4); border-radius: 0.6rem; background: var(--robe); color: var(--plum); font: inherit; }
.lf-form input:focus, .lf-form select:focus, .lf-form textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--plum); }
.lf-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lf-form__hint { font-size: 0.95rem; color: var(--muted); margin-top: 1rem; }
.lf-form__topic { padding: 0.6rem 0.9rem; background: var(--amber-soft); border-radius: 0.6rem; }
.lf-hp { position: absolute; left: -999rem; }
.lf-note { padding: 0.9rem 1.1rem; border-radius: 0.6rem; font-weight: 600; }
.lf-note--ok { background: var(--mint-soft); border: 1px solid var(--mint); }
.lf-note--error { background: #fde8ea; border: 1px solid var(--coral); }

@media (max-width: 52rem) {
	.lf-visit__grid { grid-template-columns: 1fr; }
	.lf-form__pair { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Inner pages ---------- */
.lf-pagehead { color: #fff; padding-block: clamp(3rem, 8vw, 5.5rem); background: radial-gradient(46rem 26rem at 92% 0%, color-mix(in srgb, var(--coral) 70%, transparent), transparent 70%), var(--plum); }
.lf-pagehead h1 { max-width: 18ch; margin-bottom: 0.35em; }
.lf-pagehead p { max-width: 40rem; font-size: 1.25rem; margin: 0; }
.lf-pagehead--give, .lf-pagehead--word { background: var(--fire); color: var(--plum); }
.lf-pagehead--give p, .lf-pagehead--word p { font-weight: 500; }
.lf-pagehead .lf-chips { margin-top: 1.5rem; }
.lf-metalist { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; list-style: none; margin: 0; padding: 0; color: var(--amber); font-weight: 700; font-size: 1.15rem; }

.lf-prose { margin-block: 1.5rem; }
.lf-prose > *:first-child { margin-top: 0; }
.lf-prose h2 { font-size: 2rem; margin-top: 1.6em; }
.lf-prose img { border-radius: var(--radius); }
.lf-prose blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 4px solid var(--coral); font-family: var(--display); font-size: 1.35rem; line-height: 1.35; }
.lf-feature { width: 100%; border-radius: var(--radius); margin-bottom: 1.5rem; }
.lf-meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.lf-post { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.lf-post h2 { font-size: 1.8rem; margin-bottom: 0.2em; }
.lf-post h2 a { color: inherit; text-decoration: none; }
.lf-post h2 a:hover { text-decoration: underline; }

.lf-sermons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 2rem 1.5rem; }
.lf-sermons a { color: inherit; text-decoration: none; }
.lf-sermons img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.lf-sermons__blank { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--plum); border-radius: var(--radius); }
.lf-sermons__blank img { width: 40%; aspect-ratio: 1; border-radius: 50%; }
.lf-sermons h2 { font-size: 1.5rem; margin: 0.8rem 0 0.2rem; }
.lf-sermons a:hover h2 { text-decoration: underline; }

.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.nav-links .page-numbers { padding: 0.4rem 0.9rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--plum); font-weight: 600; }
.nav-links .current { background: var(--plum); color: #fff; border-color: var(--plum); }

.alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.lf-footer { background: var(--plum); color: rgba(251, 247, 249, 0.88); padding-block: clamp(3rem, 7vw, 5rem) 1.5rem; border-top: 0.5rem solid var(--coral); }
.lf-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 0.9fr; gap: var(--gap); }
.lf-footer h2 { font: 700 1rem/1.3 var(--body); color: var(--amber); margin-bottom: 0.6rem; }
.lf-footer a { color: #fff; }
.lf-footer a:hover { color: var(--amber); }
.lf-footer__brand img { width: 7.5rem; height: 7.5rem; border-radius: 50%; }
.lf-footer__motto { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; color: #fff; margin-top: 1rem; }
.lf-footer__links, .lf-social { list-style: none; margin: 0; padding: 0; }
.lf-footer__links li { margin-bottom: 0.35rem; }
.lf-social { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.lf-footer__legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); font-size: 0.9rem; }
.lf-footer__legal p { margin: 0; }

@media (max-width: 52rem) {
	.lf-footer__grid { grid-template-columns: 1fr 1fr; }
	.lf-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
	.lf-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.lf-livebar__dot { animation: none; }
	.lf-btn, .lf-videos__thumb img { transition: none; }
	.lf-btn:hover { transform: none; }
}

/* Keep the sticky header below the WordPress toolbar when logged in. */
.admin-bar .lf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lf-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .lf-header { top: 0; } }
