
/* Layout: Elevation-style streaming shell. Full-width bands alternate black and gray; content sits in a 1320px column; cards are rounded #232323 panels. */
:root {
	--black: #0A0A0A;   /* primary band */
	--gray: #161616;    /* alternate band */
	--card: #232323;    /* panels and cards */
	--card-2: #2C2C2C;  /* hover / inputs */
	--line: #333333;
	--text: #FFFFFF;
	--soft: #D6D6D6;
	--muted: #A1A1A1;
	--red: #9AC93B;     /* Echo lime: subscribe, live, current line (name kept for compatibility) */
	--on-red: #0B0B0B; /* text on the lime accent */
	--font: "DM Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
	--r: 20px;
	--max: 1320px;
	color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--black); }
body { margin: 0; background: var(--black); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(16px, 4vw, env(safe-area-inset-left, 0px)); padding-right: max(16px, 4vw, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
.xl { font-size: clamp(3rem, 8.4vw, 7rem); letter-spacing: -.04em; line-height: .95; }
.l { font-size: clamp(2.3rem, 5.2vw, 4.3rem); letter-spacing: -.035em; }
.m { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
.s { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--soft); max-width: 40em; }
.muted { color: var(--muted); }
.meta { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band.gray { background: var(--gray); }
.band.tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.head.center { flex-direction: column; align-items: center; text-align: center; }
.head p { margin-top: .7rem; }
.stack > * + * { margin-top: 1rem; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .cols-2 { grid-template-columns: 1fr; } }

/* buttons: Elevation pills */
.btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; border: 0; font: 700 1rem/1 var(--font); letter-spacing: .005em; text-decoration: none; cursor: pointer; background: #3A3A3A; color: var(--text); transition: background .2s, transform .15s; white-space: nowrap; }
.btn:hover { background: #474747; }
.btn:active { transform: scale(.97); }
.btn.white { background: #fff; color: #111; }
.btn.white:hover { background: #E8E8E8; }
/* Subscribe buttons use YouTube red; everything else uses the lime accent. */
.btn.red { background: #FF0000; color: #fff; }
.btn.red:hover { background: #E00000; }
.btn.red:hover { background: #F04A40; }
.btn.line { background: transparent; box-shadow: inset 0 0 0 1.5px #5A5A5A; }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px #fff; background: transparent; }
.btn.sm { min-height: 40px; padding: .55rem 1.05rem; font-size: .92rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 80; background: rgba(10,10,10,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #1F1F1F; }
.hdr .wrap { display: flex; align-items: center; gap: 1.1rem; height: 70px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: #222; }
.icon-btn svg { width: 22px; height: 22px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav > a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 1rem; color: #E8E8E8; padding-block: .4rem; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { color: #fff; box-shadow: 0 2px 0 var(--red); }
.nav .btns { gap: .5rem; }
.live { display: inline-flex; align-items: center; gap: .45rem; background: var(--red); color: var(--on-red); border-radius: 999px; padding: .35rem .75rem; font: 700 .82rem var(--font); text-decoration: none; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blip 1.5s infinite; }
@keyframes blip { 50% { opacity: .25; } }
@media (max-width: 1100px) { .nav > a:not(.btn) { display: none; } }
@media (max-width: 560px) { .nav .sub-txt { display: none; } .nav .btn.sm { padding: .55rem .85rem; } .logo img { height: 34px; } .hdr .wrap { gap: .5rem; } }

/* menu drawer */
.drawer { position: fixed; inset: 0; z-index: 95; background: var(--black); overflow-y: auto; padding: calc(env(safe-area-inset-top, 0px) + .75rem) max(16px, 4vw, env(safe-area-inset-right, 0px)) 3rem max(16px, 4vw, env(safe-area-inset-left, 0px)); }
.drawer-top { display: flex; align-items: center; gap: 1rem; height: 56px; margin-bottom: 2rem; max-width: var(--max); margin-inline: auto; }
.drawer-grid { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.drawer h4 { font-size: 1.3rem; color: var(--muted); font-weight: 700; letter-spacing: -.01em; margin-bottom: 1rem; }
.drawer h4 a { text-decoration: none; color: var(--red); }
/* section tabs */
.subnav { background: var(--gray); border-bottom: 1px solid #222; }
.subnav .wrap { display: flex; align-items: center; gap: .45rem; overflow-x: auto; scrollbar-width: none; min-height: 60px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav .sec { font-weight: 700; margin-right: .6rem; white-space: nowrap; color: var(--muted); text-decoration: none; }
.subnav .sec:hover { color: #fff; }
.subnav a.chip { text-decoration: none; background: transparent; box-shadow: inset 0 0 0 1px #3A3A3A; }
.subnav a.chip:hover { background: #2A2A2A; }
.subnav a.chip[aria-current="page"] { background: #fff; color: #111; box-shadow: none; }
.drawer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.drawer li a { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.drawer li a:hover { color: var(--muted); }
@media (max-width: 800px) { .drawer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- hero carousel (Elevation) ---------- */
.hero { position: relative; }
.slides { position: relative; overflow: hidden; background: #111; width: 100%; height: calc(100svh - 70px - env(safe-area-inset-top, 0px)); min-height: 560px; max-height: 1100px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; display: grid; align-items: end; isolation: isolate; }
.slide.on { opacity: 1; z-index: 1; }
.slide .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 38%, rgba(0,0,0,0) 62%), linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,0) 55%); }
.slide-body { width: 100%; max-width: var(--max); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 2rem; padding: 0 max(16px, 4vw, env(safe-area-inset-right, 0px)) clamp(4.5rem, 9vh, 6.5rem) max(16px, 4vw, env(safe-area-inset-left, 0px)); }
.slide-body h1, .slide-body h2 { font-size: clamp(2.8rem, 7.4vw, 6.6rem); letter-spacing: -.045em; line-height: .95; }
.slide-body p { color: var(--soft); margin-top: .6rem; font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 34em; }
.dots { position: absolute; left: 0; right: 0; bottom: clamp(1.5rem, 3.5vh, 2.5rem); z-index: 3; display: flex; justify-content: center; gap: .5rem; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 26px; background: #fff; }
.slide-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(40,40,40,.7); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; }
.slide-nav svg { width: 20px; height: 20px; }
.slide-nav.prev { left: 1rem; } .slide-nav.next { right: 1rem; }
@media (max-width: 700px) { .slides { min-height: 520px; } .slide-nav { display: none; } .slide::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,0) 75%); } }

/* ---------- gradient tiles ---------- */
.gtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gtile { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); aspect-ratio: 1 / 1.08; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.gtile:hover { transform: translateY(-4px); }
.gtile::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 80% 15%, rgba(255,255,255,.28), transparent 45%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.gtile .ic { width: 64px; height: 64px; }
.gtile h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.gtile p { color: rgba(255,255,255,.85); margin-top: .4rem; font-size: .98rem; }
.g1 { background: linear-gradient(140deg, #9AC93B 0%, #5E8F22 50%, #24470F 100%); }
.g2 { background: linear-gradient(140deg, #8B5CF6 0%, #4F46E5 55%, #1E2A8A 100%); }
.g3 { background: linear-gradient(140deg, #22C1A6 0%, #1A8FD6 60%, #1B3E8F 100%); }
.g4 { background: linear-gradient(140deg, #FFC24B 0%, #F2742B 55%, #B83A18 100%); }
.g5 { background: linear-gradient(140deg, #F45BA5 0%, #A62BC2 60%, #4E1A86 100%); }
.g6 { background: linear-gradient(140deg, #4A4A4A 0%, #262626 60%, #141414 100%); }
@media (max-width: 960px) { .gtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gtiles.g3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gtiles.g3col .gtile { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .gtiles.g3col { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gtiles.g3col .gtile { aspect-ratio: 1 / 1.08; } }
@media (max-width: 460px) { .gtile { aspect-ratio: 1 / 1.15; padding: 1.1rem; } .gtile .ic { width: 48px; height: 48px; } }

/* ---------- image cards (ministries) ---------- */
.icards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.icard { text-decoration: none; display: grid; gap: .9rem; align-content: start; }
.icard .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--card); }
.icard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.icard:hover .ph img { transform: scale(1.05); }
.icard h3 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; }
.icard p { color: var(--muted); margin-top: .35rem; }
@media (max-width: 900px) { .icards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .icards { grid-template-columns: 1fr !important; } }

/* ---------- Elevation-style gray cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gcard { background: var(--card); border-radius: 24px; padding: clamp(1.75rem, 3vw, 2.5rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.gcard > .btn:last-child { margin-top: auto; }
.gcard .ic { width: 64px; height: 64px; color: #fff; }
.gcard h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.gcard p { color: #B5B5B5; font-size: 1.05rem; line-height: 1.5; max-width: 26em; }
.gcard .btn { margin-top: .6rem; width: 100%; max-width: 22rem; }
.gcard.left { text-align: left; align-items: flex-start; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- sermon cards / rail ---------- */
.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.75rem 1.25rem; }
.scard { display: grid; gap: .7rem; text-decoration: none; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; min-width: 0; }
.thumb { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--card); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.scard:hover .thumb img { transform: scale(1.04); }
.thumb .dur { position: absolute; right: .55rem; bottom: .55rem; background: rgba(0,0,0,.8); border-radius: 6px; padding: .1rem .4rem; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.thumb .now { position: absolute; left: .55rem; top: .55rem; background: var(--red); color: var(--on-red); border-radius: 999px; padding: .2rem .6rem; font-size: .78rem; font-weight: 700; }
.scard h3 { font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.25; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 320px); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #2A2A2A; display: grid; place-items: center; cursor: pointer; }
.round:hover { background: #3A3A3A; }
.round svg { width: 20px; height: 20px; }

/* featured message */
.feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.feature .thumb { border-radius: 22px; }
.feature .playbig { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.feature .playbig svg { width: 28px; height: 28px; margin-left: 4px; }
.chiprow { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: #2A2A2A; color: var(--text); border-radius: 999px; padding: .42rem .85rem; font: 600 .86rem var(--font); cursor: pointer; white-space: nowrap; }
.chip:hover { background: #383838; }
.chip[aria-pressed="true"] { background: #fff; color: #111; }
.chip.red { background: color-mix(in oklab, var(--red) 28%, #222); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* photo bands */
.photo-band { position: relative; isolation: isolate; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 50%, rgba(10,10,10,.35) 100%); }
.facts { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2.25rem; }
.facts b { display: block; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; }
.facts span { font-size: .92rem; color: var(--muted); }
.facts a { text-decoration: none; } .facts a:hover b { text-decoration: underline; text-underline-offset: .15em; }

.photo { border-radius: 24px; overflow: hidden; background: var(--card); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* inner page hero */
.phero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(360px, 52vh, 560px); display: grid; align-items: end; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--black) 2%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.2) 100%); }
.phero .wrap { width: 100%; padding-block: 6rem 2.5rem; }
.phero .lede { margin-top: 1rem; }
.phero.grad::after { background: linear-gradient(0deg, var(--black) 0%, rgba(10,10,10,0) 60%); }

/* lists & accordions */
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.15rem 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { display: grid; place-items: center; min-width: 46px; height: 46px; border-radius: 12px; background: var(--card); font-size: .95rem; font-variant-numeric: tabular-nums; }
.acc summary::after { content: "+"; font-weight: 300; font-size: 1.8rem; line-height: 1; transition: rotate .25s; }
.acc details[open] summary::after { rotate: 45deg; }
.acc .body { padding: 0 0 1.5rem calc(46px + 1rem); color: var(--soft); max-width: 52em; display: grid; gap: 1rem; }
.acc .body .refs { color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { .acc .body { padding-left: 0; } }
.values summary { font-size: clamp(1.5rem, 3.2vw, 2.4rem); letter-spacing: -.03em; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.step { background: var(--card); border-radius: 24px; padding: 1.75rem; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; font-weight: 800; margin-bottom: 1.2rem; }
.step p { margin-top: .6rem; color: #B5B5B5; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.group { border-radius: 24px; padding: 1.75rem; display: grid; gap: .3rem; align-content: start; min-height: 230px; }
.group .day { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: auto; }
.group b { font-size: 1.15rem; margin-top: 1.5rem; }
.group span { color: rgba(255,255,255,.85); }

.partner { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: center; background: var(--card); border-radius: 24px; padding: 1.25rem; }
.partner img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 16px; background: #fff; }
.partner p { color: #B5B5B5; margin-top: .5rem; }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; } }

.verse { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; max-width: 30em; }
.verse cite { display: block; margin-top: 1rem; font-size: 1rem; color: var(--muted); font-style: normal; font-weight: 600; letter-spacing: 0; }

/* ---------- sermon player page ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-top: 1.5rem; }
.player { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.player iframe, .player > img, .player #ytp { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player .big { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: #fff; color: #111; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.45); transition: transform .2s, opacity .2s; z-index: 2; }
.player .big svg { width: 30px; height: 30px; margin-left: 5px; }
.player .big:hover { transform: scale(1.06); }
.player.playing .big { opacity: 0; pointer-events: none; }
.player .bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.5rem 1rem .75rem; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); display: flex; align-items: center; gap: .7rem; font-size: .85rem; font-variant-numeric: tabular-nums; }
.player .bar button { border: 0; background: none; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; flex: none; }
.player .bar button:hover { background: rgba(255,255,255,.14); }
.player .bar svg { width: 18px; height: 18px; }
.scrub { position: relative; flex: 1; height: 28px; display: flex; align-items: center; }
.scrub .track { position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); }
.scrub .fill { position: absolute; left: 0; height: 4px; border-radius: 4px; background: var(--red); }
.scrub input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; margin: 0; }
.w-info { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 1.5rem; align-items: start; }
.w-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.035em; }
.w-info .meta { margin-top: .5rem; }
.w-desc { color: #B5B5B5; margin-top: 1rem; max-width: 52em; }
.sim-note { margin-top: .75rem; font-size: .85rem; color: var(--muted); }

.ms-panel { background: var(--card); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 86px); height: calc(100vh - 110px); max-height: 860px; min-height: 480px; }
.ms-top { padding: 1.25rem 1.25rem .9rem; border-bottom: 1px solid #333; display: grid; gap: .85rem; }
.ms-top .row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ms-top h2 { font-size: 1.35rem; letter-spacing: -.02em; display: flex; align-items: center; gap: .55rem; }
.ms-top h2 .dot { width: 9px; height: 9px; border-radius: 50%; background: #555; }
.ms-top h2 .dot.on { background: var(--red); animation: blip 1.5s infinite; }
.ms-tools { display: flex; gap: .35rem; }
.ms-tools button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #2F2F2F; cursor: pointer; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.ms-tools button:hover { background: #3C3C3C; }
.ms-tools button[aria-pressed="true"] { background: #fff; color: #111; }
.ms-tools svg { width: 17px; height: 17px; }
.ms-find { display: flex; align-items: center; gap: .5rem; height: 40px; padding: 0 .85rem; background: #1A1A1A; border-radius: 12px; }
.ms-find svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.ms-find input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 .95rem var(--font); }
.ms-find span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.chaps { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; }
.chaps::-webkit-scrollbar { display: none; }
.chaps .chip { font-size: .8rem; padding: .38rem .75rem; }
.chaps .chip.on { background: #fff; color: #111; }
.ms-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem 40vh; scroll-behavior: smooth; overscroll-behavior: contain; font-size: var(--ms-size, 1.12rem); line-height: 1.75; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.ms-body h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; margin: 2rem 0 .75rem; scroll-margin-top: 1rem; }
.ms-body h3 small { display: block; font-size: .78rem; font-weight: 700; color: var(--red); letter-spacing: .01em; margin-bottom: .35rem; }
.ms-body section:first-child h3 { margin-top: 0; }
.ms-body p { margin-bottom: 1.1em; }
.ln { cursor: pointer; border-radius: 5px; color: #9C9C9C; transition: color .3s, background-color .3s; }
.ln:hover { color: #E6E6E6; }
.following .ln.past { color: #CFCFCF; }
.ln.now { color: #fff; background: color-mix(in oklab, var(--red) 34%, transparent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--red) 34%, transparent); }
.ln mark { background: #FFD84D; color: #111; border-radius: 3px; }
.back-to { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; z-index: 3; }
.ms-panel { position: sticky; }
.ms-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ms-foot { padding: .7rem 1.25rem; border-top: 1px solid #333; font-size: .78rem; color: var(--muted); }
@media (max-width: 1000px) {
	.watch { grid-template-columns: 1fr; }
	.watch .stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 70px); z-index: 6; background: var(--black); margin-inline: calc(max(16px, 4vw) * -1); padding: .6rem max(16px, 4vw) .6rem; }
	.watch .stage .player { border-radius: 16px; }
	.w-info { margin-top: 1rem; }
	.w-actions { margin-top: 1.1rem; margin-bottom: 1.5rem; }
	.ms-panel { position: relative; top: 0; height: 62vh; min-height: 420px; }
}
.w-info.mobile { display: none; }
.lib-tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.75rem; }
.lib-search { flex: 1 1 18rem; display: flex; align-items: center; gap: .6rem; height: 52px; padding: 0 1.15rem; background: var(--card); border-radius: 999px; }
.lib-search svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.lib-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 1rem var(--font); }
.hit { font-size: .85rem; color: var(--soft); background: #1C1C1C; border-radius: 10px; padding: .5rem .65rem; display: flex; gap: .5rem; }
.hit b { color: var(--red); font-variant-numeric: tabular-nums; flex: none; }
.hit mark { background: #FFD84D; color: #111; border-radius: 2px; }

/* footer */
.ftr { background: var(--gray); padding-block: 4rem 2.5rem; }
.f-grid { display: grid; grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); gap: 2rem; }
.f-grid h4 { font-size: .88rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: .9rem; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.f-grid a { text-decoration: none; color: #E2E2E2; } .f-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: #2A2A2A; display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2A2A2A; font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-grid > :first-child { grid-column: 1 / -1; } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .ms-body { scroll-behavior: auto; } }

/* ===== WordPress additions ===== */
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: #111; padding: .6rem 1rem; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.admin-bar .hdr { top: calc(var(--wp-admin--admin-bar--height, 32px) + env(safe-area-inset-top, 0px)); }
.drawer h4 a { color: var(--red); text-decoration: none; }
.drawer h4 a:hover { text-decoration: underline; }
.f-grid h4 a { color: var(--muted); text-decoration: none; }
.subnav { background: var(--gray); border-bottom: 1px solid #222; }
.subnav .wrap { display: flex; align-items: center; gap: .45rem; overflow-x: auto; scrollbar-width: none; min-height: 60px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav .sec { font-weight: 700; margin-right: .6rem; white-space: nowrap; color: var(--muted); text-decoration: none; }
.subnav .sec:hover { color: #fff; }
.subnav a.chip { text-decoration: none; background: transparent; box-shadow: inset 0 0 0 1px #3A3A3A; }
.subnav a.chip:hover { background: #2A2A2A; }
.subnav a.chip[aria-current="page"] { background: #fff; color: #111; box-shadow: none; }
.phero.plain { min-height: 0; }
.phero.plain .wrap { padding-block: clamp(4rem, 9vw, 7rem) 2rem; }
.phero > img { object-position: center; }
.content > :first-child.band:not(.gray) { padding-top: clamp(2.5rem, 5vw, 4rem); }
.wrap .wp-block-group:empty { display: none; }
.content p:empty { display: none; }
/* block buttons look like the design's pills */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; font: 700 1rem/1 var(--font); text-decoration: none; background: #3A3A3A; color: #fff; transition: background .2s, transform .15s; }
.wp-block-button__link:hover { background: #474747; color: #fff; }
.wp-block-button.white .wp-block-button__link { background: #fff; color: #111; }
.wp-block-button.white .wp-block-button__link:hover { background: #E8E8E8; }
.wp-block-button.red .wp-block-button__link { background: var(--red); color: var(--on-red); }
.wp-block-button.line .wp-block-button__link { background: transparent; box-shadow: inset 0 0 0 1.5px #5A5A5A; }
/* block images */
.wp-block-image { margin: 0; }
.wp-block-image.photo { border-radius: 24px; overflow: hidden; background: var(--card); }
.wp-block-image.photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.wp-block-image.photo.tall img { aspect-ratio: 4 / 5; max-height: 720px; object-position: 50% 30%; }
.wp-block-image.photo.square img { aspect-ratio: 1; }
.photo-band > .band-bg { position: absolute; inset: 0; z-index: -2; }
.photo-band > .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-band .narrow { max-width: 42rem; }
.wp-block-image.masthead { max-width: 1040px; margin: 0 auto 2rem; background: #111; border-radius: 24px; overflow: hidden; }
.wp-block-image.masthead img { width: 100%; height: auto; }
.wp-block-image.kids-logo img { height: 110px; width: auto; }
.lede.center { text-align: center; margin: 0 auto 2rem; }
p.chip { display: inline-flex; margin: 0; }
.stack > .wp-block-buttons { margin-top: .5rem; }
.cols-2.top { align-items: start; }
.lede-stack > * + * { margin-top: 1.1rem; }
.cards3.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .cards3.two { grid-template-columns: 1fr; } }
.gtiles.tall .gtile, .gtiles .gtile:not([href]) { aspect-ratio: auto; min-height: 260px; }
.gtiles.values-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.gtile .tile-num { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.gtiles:not(.g3col):not(.values-tiles) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.cols-2 > .gtile { aspect-ratio: auto; min-height: 340px; }
.cols-2 > .gtile h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
/* accordions from Details blocks */
.acc .wp-block-details { border-top: 1px solid var(--line); margin: 0; }
.acc .wp-block-details:last-child { border-bottom: 1px solid var(--line); }
.acc .wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.015em; }
.acc .wp-block-details summary::-webkit-details-marker { display: none; }
.acc .wp-block-details summary::after { content: "+"; font-weight: 300; font-size: 1.8rem; line-height: 1; transition: rotate .25s; }
.acc .wp-block-details[open] summary::after { rotate: 45deg; }
.acc .wp-block-details > p { color: var(--soft); max-width: 52em; margin: 0 0 1.4rem; }
.acc.numbered { counter-reset: n; }
.acc.numbered .wp-block-details summary { justify-content: flex-start; counter-increment: n; }
.acc.numbered .wp-block-details summary::before { content: counter(n); display: grid; place-items: center; min-width: 46px; height: 46px; border-radius: 12px; background: var(--card); font-size: .95rem; }
.acc.numbered .wp-block-details summary::after { margin-left: auto; }
.acc.numbered .wp-block-details > p { padding-left: calc(46px + 1rem); }
/* steps */
.steps > .step { margin: 0; }
.steps .step h3 { margin: 0; }
/* partners */
.partners { display: grid; gap: 1.25rem; }
.partner { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: center; background: var(--card); border-radius: 24px; padding: 1.25rem; }
.partner .logo-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 16px; background: #fff; }
.partner p { color: #B5B5B5; margin-top: .4rem; }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; } }
/* quote */
.wp-block-quote.verse { margin: 0; border: 0; padding: 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; }
.wp-block-quote.verse cite { display: block; margin-top: 1rem; font-size: 1rem; color: var(--muted); font-style: normal; font-weight: 600; }
/* invite */
.invite-text { color: #fff; font-size: 1.15rem; }
/* gray card inside content */
.gcard.left h3 { font-size: 1.3rem; }
/* 1689 Confession plugin, restyled dark */
.echo-conf-plugin .echo-confession { --echo-ink: #fff; --echo-muted: #A1A1A1; --echo-line: #333; --echo-accent: #E3342B; width: 100%; max-width: 980px; }
.echo-conf-plugin .echo-confession__header { display: none; }
.echo-conf-plugin .echo-confession__chapter summary { font-size: clamp(1.1rem, 1.7vw, 1.35rem); letter-spacing: -.015em; }
.echo-conf-plugin .echo-confession__number { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--card); color: #fff; }
.echo-conf-plugin .echo-confession__content p { color: var(--soft); font-size: 1.02rem; }
.echo-conf-plugin a { color: #fff; }
/* sermon page bits */
.ms-empty { display: grid; justify-items: center; align-content: center; text-align: center; gap: .9rem; height: 100%; padding: 2rem; }
.ms-empty .ic { width: 56px; height: 56px; color: var(--muted); }
/* posts, search */
.list { display: grid; gap: 1rem; }
.list-item { display: block; background: var(--card); border-radius: 20px; padding: 1.5rem; text-decoration: none; }
.prose { max-width: 46rem; font-size: 1.1rem; line-height: 1.75; }
.prose a { color: #fff; }
.prose-img { border-radius: 20px; margin-bottom: 2rem; }

/* Safety net if a plugin restores the Group inner wrapper. */
.wp-block-group__inner-container { display: contents; }

/* Sermon page (desktop): buttons under the description, manuscript panel the same height as the video column. */
.w-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.ms-body { position: relative; }
@media (min-width: 1001px) {
	.watch { align-items: stretch; }
	.ms-panel { position: relative; top: auto; height: auto; max-height: none; min-height: 520px; contain: size; }
}

/* Menu: the header stays put and the ✕ sits exactly where the ☰ button is. */
.hdr { z-index: 96; }
.drawer { z-index: 100; top: 70px; padding-top: 2rem; }
.admin-bar .drawer { top: calc(var(--wp-admin--admin-bar--height, 32px) + 70px); }
body:has(#drawer:not([hidden])) #menuBtn { visibility: hidden; }
.drawer-top { height: 0; margin: 0; }
#closeMenu { position: fixed; z-index: 101; top: 13px; left: calc(max(0px, (100vw - 1320px) / 2) + max(16px, 4vw)); background: var(--black); }
.admin-bar #closeMenu { top: calc(var(--wp-admin--admin-bar--height, 32px) + 13px); }

/* Quotable moments inside the manuscript */
.ms-body .pull { margin: 1.6rem 0 1.9rem; padding: .2rem 0 .2rem 1.1rem; border-left: 4px solid var(--red); cursor: pointer; }
.ms-body .pull p { margin: 0; font-size: calc(var(--ms-size, 1.12rem) * 1.55); line-height: 1.28; font-weight: 700; font-style: italic; letter-spacing: -.02em; color: #fff; }
.ms-body .pull cite { display: block; margin-top: .6rem; font-size: .8rem; font-style: normal; font-weight: 600; color: var(--red); }
.ms-body .pull cite span { color: var(--muted); font-weight: 500; }
.ms-body .pull:hover p { color: #F2FFD9; }
.ms-body .pull:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }

/* Manuscript section headings: larger than the reading text, in the logo green. */
.ms-body h3 { font-size: calc(var(--ms-size, 1.12rem) * 1.75); color: var(--red); line-height: 1.15; letter-spacing: -.025em; }
.ms-body h3 small { font-size: calc(var(--ms-size, 1.12rem) * 1.05); color: var(--red); opacity: .85; letter-spacing: 0; margin-bottom: .3rem; }
/* Room at the end so the last lines can scroll to the top, without forcing the panel taller. */
.ms-body { padding-bottom: 1.5rem; }
.ms-body::after { content: ""; display: block; height: 40vh; }

/* The line being read: solid logo green with black text, like a highlighter. */
.ln.now { color: #0B0B0B; background: var(--red); box-shadow: 0 0 0 3px var(--red); }

/* Quotes chip: shows just the quotable moments; tap one to play from there. */
.chaps .qchip { color: var(--red); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--red) 55%, transparent); background: transparent; }
.chaps .qchip svg { width: 14px; height: 14px; }
.chaps .qchip[aria-pressed="true"] { background: var(--red); color: #0B0B0B; box-shadow: none; }
.ms-body.quotes-only section > :not(.pull) { display: none; }
.ms-body.quotes-only .pull { margin: 0 0 1.75rem; }
.ms-body.quotes-only::after { height: 0; }

/* HD player: YouTube draws at 1920×1080 and is scaled to fit; our controls sit on top. */
.player.hd iframe { position: absolute; inset: 0 auto auto 0; width: 1920px !important; height: 1080px !important; max-width: none; transform-origin: 0 0; pointer-events: none; }
.player .hit { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; padding: 0; }
.player .bar { opacity: 0; transition: opacity .25s; pointer-events: none; color: #fff; }
.player.ui .bar, .player:not(.playing) .bar { opacity: 1; pointer-events: auto; }
.player .bar .tm { white-space: nowrap; min-width: 6.5em; }
.player .bar button svg { width: 20px; height: 20px; }
.player .scrub .fill { background: var(--red); }
.player .scrub input { height: 28px; }
.player.pfs { position: fixed; inset: 0; z-index: 300; border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100dvh; }
.player:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }
@media (max-width: 560px) { .player .bar { gap: .3rem; padding: 2rem .5rem .45rem; font-size: .78rem; } .player .bar [data-back], .player .bar [data-fwd] { display: none; } .player .bar .tm { min-width: 0; } }

/*
 * Sermon page on phones and tablets: video pinned at the top, then the title,
 * then the manuscript filling the rest of the screen. Description and buttons
 * come after the manuscript.
 */
@media (max-width: 1000px) {
	.watch { gap: 0; padding-top: .25rem; }
	.watch > div:first-child { display: contents; }
	.watch .stage { order: 1; top: var(--hdr-b, 70px); }
	.watch .w-info { order: 2; margin: .5rem 0 .85rem; }
	.watch .w-info h1 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
	.watch .w-info .meta { margin-top: .25rem; font-size: .85rem; }
	.watch .ms-panel { order: 3; position: relative; top: 0; height: calc(100dvh - var(--hdr-b, 70px) - var(--stage-h, 240px) - 10px); min-height: 300px; max-height: none; scroll-margin-top: calc(var(--hdr-b, 70px) + var(--stage-h, 240px)); }
	.watch .w-desc { order: 4; margin-top: 1.5rem; }
	.watch .w-actions { order: 5; margin: 1.1rem 0 0; }
	.watch .ms-top { padding: .85rem 1rem .7rem; gap: .6rem; }
	.watch .ms-body { padding-inline: 1.1rem; }
	.watch .ms-foot { display: none; }
}

/* Phones and tablets, take two: details tucked behind a button, manuscript pinned under the video. */
.w-more { display: none; }
@media (max-width: 1000px) {
	.watch .w-info { flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .75rem; }
	.w-more { display: inline-flex; flex: none; border: 0; border-radius: 999px; background: #2A2A2A; color: #fff; font: 600 .8rem var(--font); padding: .5rem .8rem; cursor: pointer; }
	.watch .w-desc { order: 3; display: none; margin: 0 0 .75rem; }
	.watch .w-actions { order: 4; display: none; margin: 0 0 1rem; }
	.watch.more-open .w-desc { display: block; }
	.watch.more-open .w-actions { display: flex; }
	.watch .ms-panel { order: 5; position: sticky; top: calc(var(--hdr-b, 70px) + var(--stage-h, 240px)); z-index: 4; }
}

/*
 * YouTube chooses picture quality from the player's size, and Safari is stingy about it.
 * Draw the player at twice its size and shrink it to fit, so YouTube streams HD.
 * YouTube's own controls (including the quality gear) stay usable, just a bit smaller.
 */
.player.x2 iframe:fullscreen { width: 100% !important; height: 100% !important; transform: none; }
.player.x2 iframe:-webkit-full-screen { width: 100% !important; height: 100% !important; transform: none; }

/* Footer: statement, address and service time on their own lines. */
.f-about { margin-top: 1rem; display: grid; gap: .3rem; }
.f-about a { color: inherit; text-decoration: none; }
.f-about a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }


/* Video plugin player inside the sermon frame */
.player .arve, .player .arve-inner, .player .arve-embed { position: absolute; inset: 0; margin: 0 !important; max-width: none !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; }
.player .arve-ar { display: none; }
.player .arve iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }

/* Own HD stream player */
.player video.hd-video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }

/* Footer on iPad: four menu columns in one row, contact details on one line below. */
@media (min-width: 601px) and (max-width: 1000px) {
	.f-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
	.f-grid > :first-child, .f-grid > :last-child { grid-column: 1 / -1; }
	.f-grid > :last-child ul { display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
}

/* 1689 artwork: give it room inside its box so nothing is cut off. */
.wp-block-image.masthead { padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 5vw, 3.5rem); background: #111; box-sizing: border-box; }
.wp-block-image.masthead img { width: 100%; height: auto; object-fit: contain; border-radius: 0; }

/* Footer section headings look clickable: logo green, bold, with an arrow. */
.f-grid h4 a { color: var(--red) !important; font-size: 1.05rem; font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.f-grid h4 a::after { content: "→"; transition: transform .2s; }
.f-grid h4 a:hover { text-decoration: underline; text-underline-offset: .25em; }
.f-grid h4 a:hover::after { transform: translateX(3px); }
.drawer h4 a { display: inline-flex; align-items: center; gap: .4rem; }
.drawer h4 a::after { content: "→"; transition: transform .2s; }
.drawer h4 a:hover::after { transform: translateX(3px); }

/* Footer on phones: one section per row, links flowing side by side. */
@media (max-width: 600px) {
	.f-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
	.f-grid > :first-child { padding-bottom: 1.5rem; }
	.f-grid > div:not(:first-child) { padding: 1.1rem 0; border-top: 1px solid #2a2a2a; }
	.f-grid h4 { margin-bottom: .6rem; }
	.f-grid > div:not(:first-child) ul { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; }
	.f-grid > div:not(:first-child) li, .f-grid > div:not(:first-child) li a { font-size: 1rem; }
}

/* Quotes are the real lines, so they light up as he preaches. */
.ms-body .pull .ln, .following .pull .ln.past { color: #fff; }
.ms-body .pull p { line-height: 1.38; }
/* In big quotes the words turn green instead of getting a box, so letters aren't cut off. */
.ms-body .pull .ln.now { color: var(--red); background: none; box-shadow: none; }
.ms-body .pull { cursor: default; }

/* Everywhere in the manuscript: the line being preached turns logo green (no box). */
.ms-body .ln.now { color: var(--red); background: none; box-shadow: none; }

/* Chapter chip row arrows */
.chaps-wrap { position: relative; min-width: 0; }
.ms-top > * { min-width: 0; }
.chaps-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #2a2a2a; color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 2; padding: 0; }
.chaps-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chaps-arrow.prev { left: -6px; }
.chaps-arrow.next { right: -6px; }
.chaps-wrap.can-prev .chaps-arrow.prev, .chaps-wrap.can-next .chaps-arrow.next { opacity: 1; pointer-events: auto; }
.chaps-wrap.can-next .chaps { mask-image: linear-gradient(90deg, #000 calc(100% - 64px), transparent); }
.chaps-wrap.can-prev .chaps { mask-image: linear-gradient(90deg, transparent, #000 64px); }
.chaps-wrap.can-prev.can-next .chaps { mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); }
.chaps-arrow:hover { background: #3a3a3a; }

/* Sermon library: three across, gray panel on hover */
.scards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.75rem; }
@media (max-width: 900px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .scards { grid-template-columns: 1fr; } }
.scard { padding: 14px; margin: -14px; border-radius: 24px; transition: background .2s, box-shadow .2s; }
.scard:hover, .scard:focus-visible { background: #1f1f1f; box-shadow: inset 0 0 0 2px #333; }
.scard:hover .thumb img { transform: none; }
.thumb .dur { display: none; }
