/* Presence Church — design tokens from index.css + utility classes */

:root {
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Inter', sans-serif;
  --background: 40 33% 98%;
  --foreground: 30 10% 12%;
  --card: 40 30% 97%;
  --card-foreground: 30 10% 12%;
  --popover: 40 33% 98%;
  --popover-foreground: 30 10% 12%;
  --primary: 30 8% 18%;
  --primary-foreground: 40 33% 98%;
  --secondary: 40 25% 93%;
  --secondary-foreground: 30 10% 12%;
  --muted: 40 15% 94%;
  --muted-foreground: 30 5% 45%;
  --accent: 36 80% 55%;
  --accent-foreground: 30 10% 12%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 35 15% 88%;
  --input: 35 15% 88%;
  --ring: 36 80% 55%;
  --radius: 0.625rem;
}

*, *::before, *::after { box-sizing: border-box; border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* Semantic color utilities */
.bg-background { background-color: hsl(var(--background)); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-muted { background-color: hsl(var(--muted)); }
.-translate-y-1/2 { transform: translateY(-50%); }
.top-1/2 { top: 50%; }
.left-4 { left: 1rem; }
.absolute { position: absolute; }
.bg-accent { background-color: hsl(var(--accent)); }
.bg-destructive { background-color: hsl(var(--destructive)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-accent { color: hsl(var(--accent)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }
.text-white { color: #fff; }
.text-red-300 { color: #fca5a5; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-orange-700 { color: #c2410c; }
.text-yellow-700 { color: #a16207; }
.text-blue-700 { color: #1d4ed8; }
.text-purple-700 { color: #7e22ce; }
.text-pink-700 { color: #be185d; }
.text-teal-700 { color: #0f766e; }
.text-gray-700 { color: #374151; }
.text-indigo-700 { color: #4338ca; }
.text-green-600 { color: #16a34a; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.border-border { border-color: hsl(var(--border)); }
.border-input { border-color: hsl(var(--input)); }
.border-accent { border-color: hsl(var(--accent)); }
.border-white\/10 { border-color: rgba(255,255,255,.1); }
.border-white\/15 { border-color: rgba(255,255,255,.15); }
.border-white\/20 { border-color: rgba(255,255,255,.2); }
.border-red-200 { border-color: #fecaca; }
.border-red-400 { border-color: #f87171; }
.border-accent\/20 { border-color: hsl(var(--accent) / .2); }
.border-accent\/40 { border-color: hsl(var(--accent) / .4); }
.border-accent\/60 { border-color: hsl(var(--accent) / .6); }
.border-border\/40 { border-color: hsl(var(--border) / .4); }
.border-border\/50 { border-color: hsl(var(--border) / .5); }
.border-border\/60 { border-color: hsl(var(--border) / .6); }
.border-dashed { border-style: dashed; }
.border-2 { border-width: 2px; border-style: solid; }
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-transparent { border-color: transparent; }

.bg-accent\/8 { background-color: hsl(var(--accent) / .08); }
.bg-accent\/10 { background-color: hsl(var(--accent) / .1); }
.bg-accent\/15 { background-color: hsl(var(--accent) / .15); }
.bg-accent\/20 { background-color: hsl(var(--accent) / .2); }
.bg-background\/95 { background-color: hsl(var(--background) / .95); }
.bg-primary\/60 { background-color: hsl(var(--primary) / .6); }
.bg-primary\/90 { background-color: hsl(var(--primary) / .9); }
.bg-secondary\/40 { background-color: hsl(var(--secondary) / .4); }
.bg-secondary\/50 { background-color: hsl(var(--secondary) / .5); }
.bg-muted\/50 { background-color: hsl(var(--muted) / .5); }
.bg-white\/5 { background-color: rgba(255,255,255,.05); }
.bg-white\/10 { background-color: rgba(255,255,255,.1); }
.bg-white\/15 { background-color: rgba(255,255,255,.15); }
.bg-white\/20 { background-color: rgba(255,255,255,.2); }
.bg-white\/90 { background-color: rgba(255,255,255,.9); }
.bg-black\/30 { background-color: rgba(0,0,0,.3); }
.bg-black\/40 { background-color: rgba(0,0,0,.4); }
.bg-black\/85 { background-color: rgba(0,0,0,.85); }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-500 { background-color: #ef4444; }
.bg-orange-500 { background-color: #f97316; }
.bg-yellow-500 { background-color: #eab308; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-purple-500 { background-color: #a855f7; }
.bg-pink-500 { background-color: #ec4899; }
.bg-teal-500 { background-color: #14b8a6; }
.bg-gray-500 { background-color: #6b7280; }
.bg-indigo-500 { background-color: #6366f1; }
.bg-green-500 { background-color: #22c55e; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-accent\/10 { background-color: hsl(var(--accent) / .1); }
.bg-blue-100 { background-color: #dbeafe; }
.bg-pink-100 { background-color: #fce7f3; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-green-100 { background-color: #dcfce7; }
.bg-rose-100 { background-color: #ffe4e6; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-yellow-100 { background-color: #fef9c3; }

/* Layout */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .25rem; }
.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-14 { gap: 3.5rem; }
.gap-16 { gap: 4rem; }
.grid-cols-1 { grid-template-columns: repeat(1,minmax(0,1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-cols-7 { grid-template-columns: repeat(7,minmax(0,1fr)); }
.row-span-2 { grid-row: span 2 / span 2; }
.space-y-1 > * + * { margin-top: .25rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Sizing & spacing */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-3\.5 { width: .875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-52 { width: 13rem; }
.w-80 { width: 20rem; }
.h-full { height: 100%; }
.h-1 { height: .25rem; }
.h-3\.5 { height: .875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-36 { height: 9rem; }
.h-40 { height: 10rem; }
.h-72 { height: 18rem; }
.min-h-screen { min-height: 100vh; }
.min-h-\[56px\] { min-height: 56px; }
.min-h-\[64px\] { min-height: 64px; }
.min-h-\[70vh\] { min-height: 70vh; }
.min-h-\[80vh\] { min-height: 80vh; }
.min-h-\[90vh\] { min-height: 90vh; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-0\.5 { margin-top: .125rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.ml-1 { margin-left: .25rem; }
.ml-auto { margin-left: auto; }
.mr-2 { margin-right: .5rem; }
.-mb-px { margin-bottom: -1px; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-3\.5 { padding-top: .875rem; padding-bottom: .875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-1\.5 { padding-top: .375rem; }
.pt-3 { padding-top: .75rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pt-28 { padding-top: 7rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-safe { padding-bottom: env(safe-area-inset-bottom, 1rem); }
.pr-2 { padding-right: .5rem; }
.pr-3 { padding-right: .75rem; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-5 { top: 1.25rem; }
.top-16 { top: 4rem; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.right-5 { right: 1.25rem; }
.right-6 { right: 1.5rem; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.bottom-20 { bottom: 5rem; }
.ml-auto { margin-left: auto; }
.mt-16 { margin-top: 4rem; }
.left-0 { left: 0; }
.left-4 { left: 1rem; }
.-top-6 { top: -1.5rem; }
.-bottom-6 { bottom: -1.5rem; }
.-left-6 { left: -1.5rem; }
.-right-6 { right: -1.5rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Typography */
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.tracking-wide { letter-spacing: .025em; }
.tracking-wider { letter-spacing: .05em; }
.tracking-widest { letter-spacing: .1em; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-nowrap { white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: .3; }
.opacity-40 { opacity: .4; }
.opacity-50 { opacity: .5; }
.opacity-60 { opacity: .6; }
.opacity-70 { opacity: .7; }
.opacity-75 { opacity: .75; }
.opacity-90 { opacity: .9; }
.opacity-100 { opacity: 1; }

/* Borders & radius */
.rounded { border-radius: .25rem; }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Effects */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.shadow-accent\/10 { box-shadow: 0 10px 15px hsl(var(--accent) / .1); }
.shadow-accent\/20 { box-shadow: 0 10px 15px hsl(var(--accent) / .2); }
.shadow-accent\/25 { box-shadow: 0 10px 15px hsl(var(--accent) / .25); }
.shadow-accent\/30 { box-shadow: 0 10px 15px hsl(var(--accent) / .3); }
.drop-shadow { filter: drop-shadow(0 1px 2px rgba(0,0,0,.1)); }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgba(0,0,0,.04)); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.blur-3xl { filter: blur(64px); }
.transition-all { transition: all .15s ease; }
.transition-colors { transition: color .15s, background-color .15s, border-color .15s; }
.transition-opacity { transition: opacity .15s; }
.transition-transform { transition: transform .15s; }
.transition-shadow { transition: box-shadow .15s; }
.duration-100 { transition-duration: .1s; }
.duration-300 { transition-duration: .3s; }
.duration-500 { transition-duration: .5s; }
.duration-700 { transition-duration: .7s; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.resize-none { resize: none; }
.list-none { list-style: none; padding: 0; margin: 0; }

/* Gradients & overlays */
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-black\/60 { --tw-gradient-from: rgba(0,0,0,.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/65 { --tw-gradient-from: rgba(0,0,0,.65); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/70 { --tw-gradient-from: rgba(0,0,0,.7); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/75 { --tw-gradient-from: rgba(0,0,0,.75); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/80 { --tw-gradient-from: rgba(0,0,0,.8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-primary\/60 { --tw-gradient-from: hsl(var(--primary) / .6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-black\/10 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,0,0,.1), var(--tw-gradient-to, transparent); }
.via-black\/30 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,0,0,.3), var(--tw-gradient-to, transparent); }
.via-black\/40 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,0,0,.4), var(--tw-gradient-to, transparent); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }
.to-black\/30 { --tw-gradient-to: rgba(0,0,0,.3); }
.to-black\/75 { --tw-gradient-to: rgba(0,0,0,.75); }
.to-primary\/90 { --tw-gradient-to: hsl(var(--primary) / .9); }
.to-transparent { --tw-gradient-to: transparent; }

/* Forms */
.presence-input,
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: .625rem .875rem;
  font-size: .875rem;
}
.presence-input:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid hsl(var(--ring) / .5);
  outline-offset: 0;
}
.presence-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  transition: opacity .15s;
}
.presence-btn:hover { opacity: .9; }
.presence-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Navbar */
.site-navbar { transition: background .5s, box-shadow .5s, backdrop-filter .5s; }
.site-navbar.navbar-transparent { background: transparent; }
body.has-hero .site-navbar.navbar-transparent { pointer-events: none; }
body.has-hero .site-navbar.navbar-transparent * { pointer-events: none; }
body.has-hero .site-navbar.navbar-solid { pointer-events: auto; }
body.has-hero .site-navbar.navbar-solid * { pointer-events: auto; }
.site-navbar.navbar-transparent .nav-menu-btn { color: rgba(255,255,255,.8); }
.site-navbar.navbar-transparent .nav-menu-btn:hover { color: #fff; }
.site-navbar.navbar-transparent .nav-chevron { color: currentColor; }
.site-navbar.navbar-solid {
  background: hsl(var(--background) / .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / .5);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.site-navbar.navbar-solid .nav-menu-btn { color: hsl(var(--foreground)); }
.site-navbar.navbar-solid .nav-menu-btn:hover { color: hsl(var(--accent)); }
/* Scrolled white navbar — keep menu vertically aligned with hero-top row */
body.has-hero .site-navbar.navbar-solid .navbar-inner {
  align-items: flex-end;
  padding-bottom: .625rem;
}
@media (min-width: 1024px) {
  body.has-hero .site-navbar.navbar-solid .navbar-inner {
    padding-bottom: .875rem;
  }
}
@media (max-width: 639px) {
  body.has-hero .site-navbar.navbar-solid .navbar-inner {
    height: auto;
    min-height: 4rem;
    padding-bottom: .25rem;
  }
  body.has-hero .site-navbar.navbar-solid .nav-menu-bar {
    margin-top: 2.75rem;
  }
}
.nav-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  padding: .625rem 1rem;
  min-height: 2.75rem;
  line-height: 1;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.nav-menu-bar .nav-menu-btn {
  min-height: 2.75rem;
  padding: .625rem 1rem;
}
.nav-menu-btn .nav-chevron {
  transition: transform .15s ease;
  flex-shrink: 0;
}
.nav-dropdown.hidden { display: none; }
.nav-dropdown:not(.hidden) { display: block; }
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: .5rem;
}
.nav-dropdown-hero {
  background: #fff;
  border-color: rgba(0, 0, 0, .1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}
.nav-chevron.rotate-180 { transform: rotate(180deg); }

/* Language toggle — fixed bottom-right like live site */
.lang-toggle-btn {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.1);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.15), 0 8px 10px -6px rgba(0,0,0,.1);
  transition: opacity .2s, transform .15s;
}
.lang-toggle-btn:hover { opacity: .9; }
.lang-toggle-btn:active { transform: scale(.97); }
@media (max-width: 639px) {
  .lang-toggle-btn {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    right: .75rem;
    max-width: calc(100vw - 1.5rem);
  }
  body.is-home .lang-toggle-btn {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width: 640px) {
  .lang-toggle-btn {
    bottom: 5rem;
    right: 1rem;
  }
}

/* Hero section */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.4) 40%, rgba(0,0,0,.3));
}
.hero-top {
  position: relative; z-index: 60;
  width: 100%;
  min-height: 4rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  overflow: visible;
}
.hero-top-inner {
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}
.hero-top-times {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
}
.nav-menu-hero {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: stretch;
  margin: 0 -.5rem 0 0;
}
.nav-menu-hero .nav-dropdown-wrap {
  display: flex;
  align-items: center;
  align-self: center;
}
.nav-menu-hero .nav-menu-btn,
.nav-menu-hero .nav-menu-btn-hero {
  color: rgba(255,255,255,.8);
  height: 100%;
  min-height: 3rem;
  padding: 0 1.25rem;
}
.nav-menu-hero .nav-menu-btn:hover,
.nav-menu-hero .nav-menu-btn-hero:hover {
  color: #fff;
}
.nav-menu-hero .nav-chevron { color: currentColor; }
body.has-hero .site-navbar.navbar-transparent .nav-menu-bar--hidden {
  display: none;
}
body.has-hero .site-navbar.navbar-solid .nav-menu-bar--hidden {
  display: flex;
}
body.has-hero .nav-menu-hero.nav-menu-hero--hidden {
  display: none;
}
.hero-top-label { color: rgba(255,255,255,.6); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-top-time { color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 500; }
.hero-top-dot { color: rgba(255,255,255,.4); font-size: .75rem; }
.hero-logo-wrap {
  position: relative; z-index: 10; flex: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo { width: min(1100px, 90vw); filter: drop-shadow(0 25px 25px rgba(0,0,0,.25)); }
.hero-actions {
  position: relative; z-index: 20;
  padding: 0 1rem 3rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .625rem;
  max-width: 52rem;
  margin: 0 auto;
  width: 100%;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .625rem 1.125rem;
  border-radius: .75rem;
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .15s;
  white-space: nowrap;
  line-height: 1.25;
}
.hero-link:hover {
  background: rgba(0, 0, 0, 0.52);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.hero-link:active { transform: scale(.98); }

/* Ministries strip carousel */
.ministries-strip-slide { position: absolute; inset: 0; transition: transform .55s cubic-bezier(.32,.72,0,1), opacity .55s; }
.ministries-strip-slide.is-entering-right { transform: translateX(100%); opacity: 0; }
.ministries-strip-slide.is-entering-left { transform: translateX(-100%); opacity: 0; }
.ministries-strip-slide.is-active { transform: translateX(0); opacity: 1; }
.ministries-strip-slide.is-exiting-right { transform: translateX(-100%); opacity: 0; }
.ministries-strip-slide.is-exiting-left { transform: translateX(100%); opacity: 0; }
.ministries-strip-viewport { position: relative; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); height: clamp(340px, 55vw, 620px); }

/* Ministries strip — phone refinements (desktop unchanged) */
@media (max-width: 639px) {
  .ministries-strip-viewport { height: clamp(300px, 66vw, 440px); border-radius: 1.25rem; box-shadow: 0 16px 32px -14px rgba(0,0,0,.3); }
  .ministries-slide-content { padding: 1.25rem 1.25rem 1.4rem; }
  .ministries-slide-content h3 { font-size: 1.75rem; line-height: 1.15; }
  .ministries-slide-content p {
    font-size: .9375rem; margin-top: .5rem; max-width: 22rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .ministries-slide-content a { margin-top: 1rem; }

  /* Thumbnail tabs become a clean edge-to-edge swipe rail with real touch targets */
  .ministries-tabs {
    display: flex; grid-template-columns: none; flex-wrap: nowrap;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
    gap: .625rem; margin: 1rem -1rem 0; padding: .25rem 1rem .75rem; scrollbar-width: none;
  }
  .ministries-tabs::-webkit-scrollbar { display: none; }
  .ministries-tab {
    flex: 0 0 auto; width: 10.5rem; min-height: 4.25rem;
    scroll-snap-align: start; opacity: 1; background: hsl(var(--card));
  }
  .ministries-tab__thumb { width: 3.5rem; align-self: stretch; min-height: 0; }
  .ministries-tab__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .ministries-tab__text { padding: .5rem .625rem .5rem .125rem; }
  .ministries-tab__text span:last-child {
    font-size: .8125rem; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
}

/* Culture gallery masonry */
.culture-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.culture-gallery-grid .gallery-tall { grid-row: span 2; }
@media (min-width: 768px) {
  .culture-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* Page content */
.page-content { padding-top: 5rem; }
.page-hero { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); padding: 4rem 1rem; text-align: center; }
.page-hero--image, .page-hero--vbs { background-size: cover; background-position: center; position: relative; min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-hero--image::before, .page-hero--vbs::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, hsl(var(--primary) / .7), hsl(var(--primary) / .9)); }
.page-hero--image > *, .page-hero--vbs > * { position: relative; z-index: 1; }
.prose { max-width: 65ch; }
.prose p { line-height: 1.625; color: hsl(var(--muted-foreground)); }

/* Ministries tabs */
.ministries-tab-panel.hidden { display: none; }
.ministries-tab.is-active { border-bottom-color: hsl(var(--accent)); color: hsl(var(--foreground)); }
.ministries-tab:not(.is-active) { border-bottom-color: transparent; color: hsl(var(--muted-foreground)); }

/* Venezuela priority accordion */
.priority-accordion-body.hidden { display: none; }

/* Bible reader */
.bible-reader { max-width: 48rem; margin: 0 auto; padding: 5rem 1rem 3rem; }
.bible-verse { margin-bottom: .75rem; line-height: 1.625; }
.bible-verse-num { font-weight: 600; color: hsl(var(--accent)); margin-right: .35rem; font-size: .75rem; vertical-align: super; }
.bible-book-picker.hidden { display: none; }

/* Foundations */
.foundations-app { min-height: 100vh; background: #faf7f1; }
.foundations-progress-bar { height: 4px; background: #e8dfd0; }
.foundations-progress-fill { height: 100%; background: #b08d4f; transition: width .4s; }
.foundations-module-card.locked { opacity: .45; pointer-events: none; }
.foundations-module-card.done { border-color: #b08d4f; }

/* Sermons */
.sermon-card.hidden { display: none; }
.sermon-lang-tab.is-active { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.sermon-outline-drawer { transform: translateX(-100%); transition: transform .3s; }
.sermon-outline-drawer.is-open { transform: translateX(0); }

/* Events calendar */
.event-day.is-selected { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.event-day.is-today:not(.is-selected) { border: 2px solid hsl(var(--accent)); }
.event-dot { width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--accent)); margin-top: 2px; }
.event-day.is-selected .event-dot { background: #fff; }

/* Animations */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .5; } }
.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }

/* Hover states */
.hover\:opacity-80:hover { opacity: .8; }
.hover\:opacity-90:hover { opacity: .9; }
.hover\:text-accent:hover { color: hsl(var(--accent)); }
.hover\:text-white:hover { color: #fff; }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:bg-muted:hover { background: hsl(var(--muted)); }
.hover\:bg-white:hover { background: #fff; }
.hover\:bg-white\/20:hover { background: rgba(255,255,255,.2); }
.hover\:bg-white\/25:hover { background: rgba(255,255,255,.25); }
.hover\:bg-white\/40:hover { background: rgba(255,255,255,.4); }
.hover\:bg-accent\/20:hover { background: hsl(var(--accent) / .2); }
.hover\:border-accent\/30:hover { border-color: hsl(var(--accent) / .3); }
.hover\:border-accent\/40:hover { border-color: hsl(var(--accent) / .4); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:gap-2 { gap: .5rem; }
.group:hover .group-hover\:gap-3 { gap: .75rem; }
.group:hover .group-hover\:text-accent { color: hsl(var(--accent)); }
.group:hover .group-hover\:bg-accent\/20 { background: hsl(var(--accent) / .2); }

/* Responsive sm: 640px */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:gap-3 { gap: .75rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:gap-8 { gap: 2rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:p-14 { padding: 3.5rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-sm { font-size: .875rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:h-96 { height: 24rem; }
  .sm\:w-\[520px\] { width: 520px; }
  .sm\:w-16 { width: 4rem; }
  .sm\:min-h-\[64px\] { min-height: 64px; }
  .sm\:hidden { display: none; }
  .sm\:flex { display: flex; }
  .sm\:inline { display: inline; }
  .sm\:block { display: block; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:py-3 { padding-top: .75rem; padding-bottom: .75rem; }
  .sm\:pr-3 { padding-right: .75rem; }
  .sm\:mt-0 { margin-top: 0; }
  .sm\:mt-0\.5 { margin-top: .125rem; }
  .sm\:w-auto { width: auto; }
  .sm\:flex-row { flex-direction: row; }
  .hero-top { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-actions { padding: 0 2.5rem 3rem; gap: .75rem; }
  .hero-link { padding: .75rem 1.25rem; }
  .hero-logo { width: min(520px, 85vw); }
  #sticky-mobile-cta.hidden { display: none !important; }
  #sticky-give-btn.hidden { display: flex !important; }
}

/* Responsive md: 768px */
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:w-\[720px\] { width: 720px; }
  .hero-logo { width: min(720px, 80vw); }
  .hero-actions { flex-wrap: nowrap; gap: .875rem; }
  .hero-link { padding: .75rem 1.5rem; font-size: .9375rem; }
}

/* Responsive lg: 1024px */
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:text-left { text-align: left; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:h-12 { height: 3rem; }
  .lg\:h-20 { height: 5rem; }
  .lg\:w-auto { width: auto; }
  .lg\:w-\[960px\] { width: 960px; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:top-20 { top: 5rem; }
  .hero-top { min-height: 5rem; padding-left: 2rem; padding-right: 2rem; }
  .hero-logo { width: min(960px, 75vw); }
  .site-navbar.navbar-solid + main,
  body:not(.is-home) .page-content { padding-top: 0; }
}

@media (min-width: 1280px) {
  .xl\:w-\[1100px\] { width: 1100px; }
  .hero-logo { width: min(1100px, 70vw); }
}

/* Mobile sticky CTA visible on small screens */
@media (max-width: 639px) {
  #sticky-mobile-cta:not(.hidden) { display: flex !important; }
  body.is-home #sticky-give-btn { display: none !important; }
  body:not(.is-home) #sticky-give-btn { display: flex !important; }
}

/* Utility: show sticky give on sm+ */
@media (min-width: 640px) {
  body #sticky-give-btn { display: flex !important; }
}

/* 404 page */
.not-found-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: #f8fafc; }

/* Sermons library */
.sermon-card-badge {
  position: absolute;
  left: .75rem;
  top: .75rem;
  padding: .35rem .65rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sermon-lang-tab { background: none; border: none; cursor: pointer; }

/* Per-post language toggle (sermon detail hero) */
.post-lang-toggle {
  display: inline-flex;
  align-items: stretch;
  margin-bottom: 1rem;
  padding: .1875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}
.post-lang-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.75rem;
  padding: .4375rem .875rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: background .2s, color .2s, opacity .2s;
}
.post-lang-toggle__btn.is-active {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.post-lang-toggle__btn.is-disabled {
  opacity: .42;
  cursor: not-allowed;
}
a.post-lang-toggle__btn:not(.is-active):hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Sermon transcript translate CTA */
.sermon-transcript-translate__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border) / .55);
  background: hsl(var(--card));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}
@media (min-width: 640px) {
  .sermon-transcript-translate__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.sermon-transcript-translate__copy {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  min-width: 0;
}
.sermon-transcript-translate__prompt {
  margin: 0;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.45;
}
.sermon-transcript-translate__counterpart {
  margin: .375rem 0 0;
  font-family: var(--font-body);
  font-size: .8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}
.sermon-transcript-translate__counterpart-link {
  color: hsl(var(--accent));
  font-weight: 600;
  text-decoration: none;
}
.sermon-transcript-translate__counterpart-link:hover {
  text-decoration: underline;
}
.sermon-transcript-translate__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .sermon-transcript-translate__actions {
    align-items: flex-end;
  }
}
.sermon-transcript-translate__btn {
  white-space: nowrap;
}
.sermon-transcript-translate__btn:disabled {
  opacity: .65;
  cursor: wait;
}
.sermon-transcript-translate__status {
  margin: 0;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  color: hsl(var(--accent));
  text-align: right;
}
.sermon-transcript-translate__error {
  margin: .75rem 0 0;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  color: hsl(0 72% 46%);
}

.sermon-transcript-body h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: hsl(var(--foreground));
  margin: 0 0 1rem;
}
.sermon-transcript-body p {
  margin: 0 0 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}
.sermon-transcript-body p:last-child { margin-bottom: 0; }
.sermon-player-wrap { max-width: 48rem; margin-left: auto; margin-right: auto; }

/* Sermon detail — video + chapter TOC side by side */
.sermon-media-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sermon-media-row__video,
.sermon-media-row__toc {
  min-width: 0;
}
.sermon-media-row .sermon-player-wrap {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.sermon-toc-card {
  height: 100%;
}
@media (min-width: 768px) {
  .sermon-media-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .sermon-media-row__video {
    flex: 1 1 62%;
  }
  .sermon-media-row__toc {
    flex: 1 1 38%;
  }
}

/* Bible reference links on sermon pages */
.pc-bible-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pc-bible-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .85rem;
  border-radius: 9999px;
  background: hsl(var(--accent) / 0.12);
  color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent) / 0.25);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.pc-bible-chip:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

/* Highlighted verse when arriving from a sermon link */
.bible-verse.is-target {
  background: hsl(var(--accent) / 0.15);
  border-radius: .5rem;
  padding: .35rem .5rem;
  scroll-margin-top: 6rem;
}
