/* Lydia · Current Church — "the river app"
   Site CSS for this template only (framework code stays in the framework files).
   Motif: the current line (a flowing stroke ending in a coral dot). Tiles 16px. Outfit + Figtree.
--------------------------------------------------------------------------------------- */

:root {
	--ly-violet: #3B1E8F;
	--ly-violet-ink: #2A1470;
	--ly-lav: #E4DBFF;
	--ly-mist: #F5F2FF;
	--ly-coral: #FF5E57;
	--ly-night: #140B33;
	--ly-copy: #4A4366;
	--ly-line: #DCD3F7;
	--ly-surface: #FFFFFF;
	--ly-radius: 16px;
	--ly-ease: cubic-bezier(.2, .8, .2, 1);
	--ly-kicker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M1.5 6c4.5-5.5 9-5.5 13.5 0s9 5.5 13.5 0' fill='none' stroke='%233B1E8F' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='35' cy='6' r='3.4' fill='%23FF5E57'/%3E%3C/svg%3E");
	--ly-kicker-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M1.5 6c4.5-5.5 9-5.5 13.5 0s9 5.5 13.5 0' fill='none' stroke='%23E4DBFF' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='35' cy='6' r='3.4' fill='%23FF5E57'/%3E%3C/svg%3E");
	--ly-river: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 600' preserveAspectRatio='none'%3E%3Cpath d='M-40 420C180 250 360 250 560 380s420 150 620-30 320-170 460-60' fill='none' stroke='%23E4DBFF' stroke-opacity='.13' stroke-width='64' stroke-linecap='round'/%3E%3Cpath d='M-40 500C200 360 380 360 580 470s400 120 600-40 320-150 460-60' fill='none' stroke='%23E4DBFF' stroke-opacity='.07' stroke-width='22' stroke-linecap='round'/%3E%3C/svg%3E");
	--ly-icon-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z' fill='%23000'/%3E%3C/svg%3E");
	--ly-icon-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.6a4.3 4.3 0 0 1 7.5 2.7c0 5.6-7.5 10.2-7.5 10.2z' fill='%23000'/%3E%3C/svg%3E");
	--ly-icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a7 7 0 0 0-7 7c0 5.3 7 12 7 12s7-6.7 7-12a7 7 0 0 0-7-7zm0 9.6a2.6 2.6 0 1 1 0-5.2 2.6 2.6 0 0 1 0 5.2z' fill='%23000'/%3E%3C/svg%3E");
	--ly-icon-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='7' height='7' rx='2' fill='%23000'/%3E%3Crect x='13' y='4' width='7' height='7' rx='2' fill='%23000'/%3E%3Crect x='4' y='13' width='7' height='7' rx='2' fill='%23000'/%3E%3Crect x='13' y='13' width='7' height='7' rx='2' fill='%23000'/%3E%3C/svg%3E");
	--ly-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-color-mode="dark"] {
	--ly-mist: #1E1450;
	--ly-surface: #1E1450;
	--ly-copy: #CFC8EA;
	--ly-line: #34296B;
	--ly-kicker: var(--ly-kicker-light);
}

/* Type
--------------------------------------------------------------------------------------- */
body { font-family: "Figtree", system-ui, sans-serif; }
h1, h2, h3, .titles, .big-numbers { font-family: "Outfit", system-ui, sans-serif; text-transform: none; }
.page-hero h1 { font-size: clamp(3.25rem, 1.9rem + 5.6vw, 8rem); font-weight: 700; line-height: .96; letter-spacing: -.035em; }
.ct-wrapper h2.titles:not(.medium):not(.small) { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 6.25rem); font-weight: 700; line-height: .98; letter-spacing: -.03em; }
.ct-wrapper .titles.medium { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
.ct-wrapper .titles.small { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.625rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.wysiwyg, .wysiwyg p { font-size: 1.125rem; line-height: 1.6; }

/* Kicker: current line + plain label (no caps, no numbers, no pill) */
.small-titles {
	font-family: "Figtree", system-ui, sans-serif !important;
	font-size: 1rem !important; font-weight: 600; letter-spacing: 0 !important; text-transform: none !important;
	color: var(--ly-violet);
	display: inline-flex; align-items: center; gap: 12px;
}
.small-titles::before { content: ""; width: 40px; height: 12px; flex: none; background: var(--ly-kicker) no-repeat center / contain; }
.ta-center > .small-titles, .small-titles.ta-center { justify-content: center; }
.bg-main .small-titles, .page-hero .small-titles { color: var(--ly-lav); }
.bg-main .small-titles::before, .page-hero .small-titles::before { background-image: var(--ly-kicker-light); }
html[data-color-mode="dark"] .small-titles { color: #B9A6FF; }

/* The "selected word": one per title, like selected text in an app */
.ly-sel {
	background: var(--ly-lav); color: var(--ly-violet);
	border-radius: .2em; padding: 0 .12em; margin: 0 -.02em;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.bg-main .ly-sel, .page-hero .ly-sel { background: var(--ly-coral); color: var(--ly-night); }
html[data-color-mode="dark"] .ly-sel { background: #34296B; color: #FFFFFF; }

/* Buttons: pill + leading icon by destination
--------------------------------------------------------------------------------------- */
.ct-wrapper .button, .page-hero .button, .hero-promo-button, .cc-appbar__btn, .cc-facets__more {
	border-radius: 999px !important; font-family: "Outfit", system-ui, sans-serif; font-weight: 600; letter-spacing: 0; text-transform: none;
	display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
	transition: transform .15s var(--ly-ease), background-color .2s, color .2s;
}
.ct-wrapper .button:active, .page-hero .button:active, .hero-promo-button:active, .cc-appbar__btn:active { transform: scale(.97); }
.ct-wrapper a.button::before, .page-hero a.button::before, .hero-promo-button::before, .cc-appbar__btn::before {
	content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-mask: var(--ly-icon-arrow) no-repeat center / contain; mask: var(--ly-icon-arrow) no-repeat center / contain;
}
a.button[href*="/live"]::before, a.button.popup-video::before, .ly-message a.button::before { -webkit-mask-image: var(--ly-icon-play); mask-image: var(--ly-icon-play); }
a.button[href*="give"]::before { -webkit-mask-image: var(--ly-icon-heart); mask-image: var(--ly-icon-heart); }
a.button[href*="plan-a-visit"]::before, a.button[href*="maps"]::before, .ly-place a.button::before { -webkit-mask-image: var(--ly-icon-pin); mask-image: var(--ly-icon-pin); }
a.button[href*="/messages"]::before, a.button[href*="/events"]::before, a.button[href*="group"]::before { -webkit-mask-image: var(--ly-icon-grid); mask-image: var(--ly-icon-grid); }

/* Primary = coral with night ink (6.21:1); secondary = lavender with violet */
.page-hero .button-current, .ly-message .button, .ly-place .button, .ly-give .button, .hero-promo-button, .cc-appbar__btn--primary, .cc-facets__more {
	background: var(--ly-coral) !important; color: var(--ly-night) !important; border-color: var(--ly-coral) !important;
}
.page-hero .button-current:hover, .ly-message .button:hover, .ly-place .button:hover, .ly-give .button:hover, .hero-promo-button:hover, .cc-appbar__btn--primary:hover, .cc-facets__more:hover { background: #FF7A74 !important; }
.page-hero .button-white { background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.5) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.page-hero .button-white:hover { background: #fff !important; color: var(--ly-night) !important; }
.ct-head-buttons .button, .cc-appbar__btn--secondary {
	background: var(--ly-lav) !important; color: var(--ly-violet) !important; border-color: var(--ly-lav) !important; min-height: 48px;
}
.ct-head-buttons .button:hover, .cc-appbar__btn--secondary:hover { background: var(--ly-violet) !important; color: #fff !important; }
.ly-groups .ct-head-buttons .button { background: var(--ly-violet) !important; color: #fff !important; border-color: var(--ly-violet) !important; }

/* App bar (framework header design `appbar`), Lydia tuning
--------------------------------------------------------------------------------------- */
.cc-appbar .main-nav > li > a { font-family: "Outfit", system-ui, sans-serif; font-weight: 600; font-size: 1.0625rem; text-transform: none; letter-spacing: 0; border-radius: 999px; padding: 10px 16px; transition: background-color .2s; }
.cc-appbar .main-nav > li > a:hover, .cc-appbar .main-nav > li.current-menu-item > a { background: var(--ly-lav); color: var(--ly-violet); }
.cc-appbar .sub-menu { border-radius: var(--ly-radius); padding: 10px; box-shadow: 0 18px 50px rgba(20,11,51,.16); border: 1px solid var(--ly-line); }
.cc-appbar .sub-menu a { border-radius: 10px; font-weight: 500; }
.cc-appbar .sub-menu a:hover { background: var(--ly-mist); }
.cc-appbar__icon, .cc-appbar .ct-cm-toggle { border-radius: 999px; }
.cc-appbar__btn { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.cc-appbar__menu-btn { border-radius: 999px; font-family: "Outfit", system-ui, sans-serif; font-weight: 600; }
.cc-appbar-search, .cc-appbar-menu { border-radius: 24px; }

/* Hero: classic video, content bottom-left, "This Weekend" card
--------------------------------------------------------------------------------------- */
.page-hero .hero-content { max-width: 900px; }
.page-hero .hero-content h1 { margin-bottom: 28px; }
.page-hero .overlay { background: linear-gradient(180deg, rgba(20,11,51,.35) 0%, rgba(20,11,51,.55) 55%, rgba(20,11,51,.85) 100%); }
.hero-promos .hero-promo {
	background: rgba(255,255,255,.94); color: var(--ly-night);
	border-radius: 24px; padding: 26px 26px 24px; max-width: 360px;
	box-shadow: 0 24px 60px rgba(20,11,51,.35);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero-promo-tag { display: flex; align-items: center; gap: 10px; font: 600 1rem/1 "Figtree", sans-serif; color: var(--ly-violet); text-transform: none; letter-spacing: 0; margin: 0 0 14px; }
.hero-promo-tag::before { content: ""; width: 40px; height: 12px; background: var(--ly-kicker) no-repeat center / contain; }
.hero-promo-title { font: 700 1.75rem/1.05 "Outfit", sans-serif; letter-spacing: -.02em; color: var(--ly-night); margin: 0 0 8px; }
.hero-promo-text { color: var(--ly-copy); font-size: 1.0625rem; margin: 0 0 18px; }
html[data-color-mode="dark"] .hero-promos .hero-promo { background: rgba(30,20,80,.92); color: #fff; }
html[data-color-mode="dark"] .hero-promo-title { color: #fff; }

/* Tiles: shared feel (16px, press, no resting shadow)
--------------------------------------------------------------------------------------- */
.ct2-tile, .ly-rail .video-wrap, .ly-groups .panel, .cc-ecard, .ct2-loc, .ct2-loc-map, .ct3-rv-ccard, .ly-message .video-wrap {
	border-radius: var(--ly-radius) !important; overflow: hidden;
}
.ct2-tile, .ly-groups .panel, .cc-ecard { transition: transform .18s var(--ly-ease), box-shadow .25s; }
@media (hover: hover) {
	.ct2-tile:hover, .ly-groups .panel:hover, .cc-ecard:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--ly-violet); }
}
.ct2-tile:active, .ly-groups .panel:active, .cc-ecard:active { transform: scale(.98); }

/* 2 · This weekend (Bento) */
.ly-weekend .ct2-bento { gap: 16px; }
.ly-weekend .ct2-tt-stat { background: var(--ly-violet) !important; }
.ly-weekend .ct2-tt-stat .big-numbers { font-family: "Outfit", sans-serif; font-weight: 700; font-size: clamp(4rem, 2.6rem + 5vw, 8.5rem); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #fff; }
.ly-weekend .ct2-tt-stat .ct2-tile-title { color: var(--ly-lav); }
.ly-weekend .ct2-tt-stat::after { content: ""; position: absolute; right: 28px; top: 30px; width: 120px; height: 36px; background: var(--ly-kicker-light) no-repeat right center / contain; opacity: .9; }
.ly-weekend .ct2-tt-text.bg-sec { background: var(--ly-lav) !important; color: var(--ly-violet); }
.ly-weekend .ct2-tt-text.bg-fourth { background: var(--ly-night) !important; }
.ly-weekend .ct2-tt-text.bg-fourth .ct2-tile-title, .ly-weekend .ct2-tt-text.bg-fourth .ct2-tile-more, .ly-weekend .ct2-tt-text.bg-fourth p { color: #fff; }
.ly-weekend .ct2-tile-more { font-weight: 600; }
.ly-weekend .ct3-hs-body .wysiwyg strong { font-family: "Outfit", sans-serif; font-size: 1.375rem; color: var(--ly-night); }
html[data-color-mode="dark"] .ly-weekend .ct3-hs-body .wysiwyg strong { color: #fff; }

/* 3 · Latest message on violet, with the river drawn behind (7 uses it too) */
.ly-message, .ly-place { overflow: hidden; }
.ly-message::before, .ly-place::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: var(--ly-river) no-repeat center / 100% 100%;
}
.ly-place::before { transform: scaleX(-1); }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.ly-message::before, .ly-place::before { animation: ly-river linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
	}
}
@keyframes ly-river { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.ly-message h2.titles { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.75rem) !important; }
.ly-message .video-wrap img { transition: transform .6s var(--ly-ease); }
.ly-message .video-wrap:hover img { transform: scale(1.03); }
.ly-message .btn-play, .ly-rail .btn-play { color: #fff; }
.ly-message .btn-play svg circle, .ly-rail .btn-play svg circle { fill: var(--ly-coral); stroke: var(--ly-coral); }
.ly-message .btn-play svg path, .ly-rail .btn-play svg path { fill: var(--ly-night); }
.ly-message .wysiwyg { color: var(--ly-lav); font-weight: 500; }

/* 4 · Sermon rail (signature): progress = current line */
.ly-rail .panel { text-align: left; }
.ly-rail .cc-vpost__series { margin: 18px 0 0; font-size: .9375rem !important; color: var(--ly-copy); }
.ly-rail .cc-vpost__series::before { display: none; }
.ly-rail .panel h2.titles.medium { margin-top: 6px !important; }
.ly-rail .panel h2 a { color: var(--ly-night); }
html[data-color-mode="dark"] .ly-rail .panel h2 a { color: #fff; }
.ly-rail .video-wrap img { transition: transform .6s var(--ly-ease); }
.ly-rail .video-wrap:hover img { transform: scale(1.04); }
.ct-grail-progress { height: 6px; border-radius: 6px; background: var(--ly-lav) !important; overflow: visible !important; }
.ct-grail-progress__fill { background: var(--ly-violet) !important; border-radius: 6px; position: relative; }
.ct-grail-progress__fill::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ly-coral); box-shadow: 0 0 0 4px #fff; }
html[data-color-mode="dark"] .ct-grail-progress__fill::after { box-shadow: 0 0 0 4px var(--ly-night); }
.ct-grail-btn { border-radius: 999px !important; width: 52px; height: 52px; background: var(--ly-violet) !important; color: #fff !important; border: 0 !important; }
.ct-grail-btn[disabled] { background: var(--ly-lav) !important; color: var(--ly-violet) !important; opacity: .6; }

/* Chips (groups + events) */
.cc-facets { gap: 12px; }
.cc-facets__label { font: 600 1rem/1 "Figtree", sans-serif; color: var(--ly-night); text-transform: none; letter-spacing: 0; }
.cc-facets .ct3-chip {
	min-height: 40px; padding: 0 18px; border-radius: 999px; font: 500 1rem/1 "Figtree", sans-serif;
	background: var(--ly-surface); color: var(--ly-violet); border: 1.5px solid var(--ly-line);
	transition: background-color .15s, color .15s, transform .12s var(--ly-ease);
}
.cc-facets .ct3-chip:hover { border-color: var(--ly-violet); }
.cc-facets .ct3-chip:active { transform: scale(.95); }
.cc-facets .ct3-chip[aria-pressed="true"] { background: var(--ly-violet); color: #fff; border-color: var(--ly-violet); }
.ly-groups .cc-facets .ct3-chip { background: #fff; border-color: transparent; }
.ly-groups .cc-facets .ct3-chip[aria-pressed="true"] { background: var(--ly-violet); }
.cc-facets__clear { color: var(--ly-violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cc-facets__count { font-weight: 600; color: var(--ly-night); }
html[data-color-mode="dark"] .cc-facets__label, html[data-color-mode="dark"] .cc-facets__count { color: #fff; }
html[data-color-mode="dark"] .cc-facets .ct3-chip { color: #E4DBFF; }

/* 5 · Groups on lavender: photo tiles, title inside on a night fade */
.ly-groups .panel { position: relative; }
.ly-groups .panel .image-wrapper-square img { transition: transform .6s var(--ly-ease); }
.ly-groups .panel:hover .image-wrapper-square img { transform: scale(1.05); }
.ly-groups .panel .anchor-panel::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 1; background: linear-gradient(180deg, rgba(20,11,51,0) 0%, rgba(20,11,51,.82) 100%); pointer-events: none; }
.ly-groups .panel h2.titles { z-index: 2; font-size: 1.375rem !important; line-height: 1.1; padding: 0 20px 22px !important; text-shadow: none; }

/* 6 · Event cards: mist tiles, date badge as an app tile */
.cc-ecard { background: var(--ly-mist); }
.cc-ecard__media img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ly-ease); }
.cc-ecard:hover .cc-ecard__media img { transform: scale(1.04); }
.cc-ecard__badge { border-radius: 14px !important; background: #fff !important; color: var(--ly-violet) !important; box-shadow: 0 8px 24px rgba(20,11,51,.18); font-family: "Outfit", sans-serif; }
.cc-ecard__mon { font-weight: 600; text-transform: none; color: #D7342D; }
.cc-ecard__day { font-weight: 700; }
.cc-ecard__body { padding: 22px 24px 26px; }
.cc-ecard__title { color: var(--ly-night); }
.cc-ecard__when { font-weight: 600; color: var(--ly-violet); }
.cc-ecard__where, .cc-ecard__tags { color: var(--ly-copy); }
html[data-color-mode="dark"] .cc-ecard__title { color: #fff; }
html[data-color-mode="dark"] .cc-ecard__when { color: #B9A6FF; }

/* 7 · Locations on violet: one card + map tile */
.ly-place .ct2-loc { background: rgba(255,255,255,.08) !important; border: 1px solid rgba(228,219,255,.22) !important; padding: 32px !important; }
.ly-place .ct2-loc-name { font-size: 1.75rem !important; }
.ly-place .ct2-loc-hours dt { color: var(--ly-lav); font-weight: 600; }
.ly-place .ct2-loc-hours div { border-color: rgba(228,219,255,.2) !important; }
.ly-place .ct2-loc a:not(.button) { color: #fff; }
.ly-place .ct2-loc-map { min-height: 420px; background: #2A1470; }
.ly-place .ct2-loc-map iframe { filter: grayscale(1) contrast(1.05); }

/* 8 · Community wall */
.ly-stories .ct3-rv-ccard { background: var(--ly-mist) !important; border: 0 !important; padding: 28px !important; }
.ly-stories .ct3-rv-ccard blockquote p { font: 500 1.25rem/1.45 "Figtree", sans-serif; color: var(--ly-night); }
.ly-stories .ct3-rv-ccard--featured { background: var(--ly-violet) !important; }
.ly-stories .ct3-rv-ccard--featured blockquote p { font: 600 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1.15 "Outfit", sans-serif; letter-spacing: -.02em; color: #fff; }
.ly-stories .ct3-rv-ccard--featured figcaption, .ly-stories .ct3-rv-ccard--featured .ct3-rv-meta { color: var(--ly-lav); }
.ly-stories .ct3-rv-ccard--featured::before { content: ""; display: block; width: 64px; height: 20px; margin-bottom: 22px; background: var(--ly-kicker-light) no-repeat left center / contain; }
.ly-stories .ct3-rv-name { font-family: "Outfit", sans-serif; font-weight: 600; }
.ly-stories .ct3-rv-meta { color: var(--ly-copy); }
html[data-color-mode="dark"] .ly-stories .ct3-rv-ccard blockquote p { color: #fff; }

/* 9 · Giving on lavender: one quiet statement */
.ly-give .wysiwyg { color: var(--ly-violet-ink); }
.ly-give h2.titles { color: var(--ly-night); }
html[data-color-mode="dark"] .ly-give .wysiwyg { color: var(--ly-copy); }
html[data-color-mode="dark"] .ly-give h2.titles { color: #fff; }

/* Footer (Photo design): marquee with the current dot as separator */
.cc-fphoto-mq .ct2-mq-item { font-family: "Outfit", sans-serif; font-weight: 700; letter-spacing: -.03em; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5.5rem); }
.cc-fphoto-mq .ct2-mq-sep { color: var(--ly-coral); font-size: .5em; }
.cc-footer-photo .titles.small { font-family: "Outfit", sans-serif; text-transform: none; letter-spacing: 0; color: var(--ly-lav); }

/* Dock theme */
.cc-dock { --cc-dock-bg: var(--ly-violet); --cc-dock-fg: #fff; --cc-dock-accent: var(--ly-coral); }
.cc-dock__label { font-family: "Outfit", sans-serif; font-weight: 600; }
html[data-color-mode="dark"] .cc-dock { --cc-dock-bg: #2A1470; }

/* Focus */
.ct-wrapper a:focus-visible, .ct-wrapper button:focus-visible, .cc-dock a:focus-visible, .cc-appbar a:focus-visible, .cc-appbar button:focus-visible { outline: 3px solid var(--ly-coral); outline-offset: 3px; }

/* Secondary Pages
--------------------------------------------------------------------------------------- */

/* P1: Plan A Visit, About, Connect, Give, Contact */
/* Selected word in big titles: its own box, so wrapped lines never cover the line above */
body:is(.page-id-2559,.page-id-9,.page-id-2560,.page-id-2562,.page-id-11) .ct2-hero-title .ly-sel, .ly-about-cta .ly-sel, .ly-give-statement .ly-sel, .ly-visit-steps .ly-sel, .ly-connect-family .ly-sel, .ly-contact-form .ly-sel, .ly-connect-involved .ly-sel, .ly-visit-believe .ly-sel, .ly-visit-pastor .ly-sel, .ly-about-pastor .ly-sel { display: inline-block; line-height: 1.04; padding: 0 .14em .06em; margin-top: .04em; }
body:is(.page-id-2559,.page-id-9,.page-id-2560,.page-id-2562,.page-id-11) .ct2-hp-main .ct2-hero-title .ly-sel { background: var(--ly-coral) !important; color: var(--ly-night) !important; }
body:is(.page-id-2559,.page-id-9,.page-id-2560,.page-id-2562,.page-id-11) .ct2-hero .ct2-hero-title { font-weight: 700; letter-spacing: -.035em; line-height: .98; }
body:is(.page-id-2559,.page-id-9,.page-id-2560,.page-id-2562,.page-id-11) .ct2-hero .ct2-hero-sentence { font-size: 1.25rem; line-height: 1.5; }
body:is(.page-id-2559,.page-id-9,.page-id-2560,.page-id-2562,.page-id-11) .ct2-hero .button-current { background: var(--ly-coral) !important; color: var(--ly-night) !important; border-color: var(--ly-coral) !important; }
body:is(.page-id-2559,.page-id-9,.page-id-2560,.page-id-2562,.page-id-11) .ct2-hero .button-white { background: #fff !important; color: var(--ly-violet) !important; border-color: #fff !important; }

/* Plan A Visit: violet split hero, stepper, mission quote on the river */
.page-id-2559 .ct2-hero-split .ct2-hero-title { font-size: clamp(3.25rem, 1.6rem + 5vw, 7rem); }
.page-id-2559 .ct2-hero-split .ct2-hs-media { min-height: clamp(380px, 38vw, 640px); }
.ly-visit-steps .ct3-pw-results { counter-reset: ly-step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ly-visit-steps .ct3-pw-card { counter-increment: ly-step; position: relative; background: var(--ly-mist); border-radius: var(--ly-radius); padding: 28px 26px 30px; border: 0; }
.ly-visit-steps .ct3-pw-card::before {
	content: counter(ly-step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 8px;
	background: var(--ly-violet); color: #fff; font: 700 1.5rem/1 "Outfit", sans-serif;
}
.ly-visit-steps .ct3-pw-card:last-child::before { background: var(--ly-coral); color: var(--ly-night); }
.ly-visit-steps .ct3-pw-card h3 { font-size: 1.75rem; }
.ly-visit-steps .ct3-pw-card p { font-size: 1.0625rem; }
.ly-visit-quote { background-image: var(--ly-river); background-size: 100% 100%; background-position: center bottom; background-repeat: no-repeat; }
.ly-visit-quote .ct-quote-text { font-family: "Outfit", sans-serif; font-weight: 700; font-size: clamp(2.25rem, 1.3rem + 3.6vw, 5.5rem) !important; line-height: 1.02; letter-spacing: -.03em; max-width: 18ch; text-wrap: balance; }
.ly-visit-quote .ct-quote-by { font: 600 1.125rem "Figtree", sans-serif; color: var(--ly-lav); }
.ly-visit-place iframe, .ly-contact-place iframe { border-radius: var(--ly-radius); }

/* About: huge left type hero, sticky-contents story, mission fading from violet to night */
.page-id-9 .ct2-hero-type .ct2-hero-title { font-size: clamp(3.5rem, 1.2rem + 9.2vw, 11rem); }
.page-id-9 .ct2-hero-type .ct2-hero-sentence { margin-top: 28px; }
.ly-about-story .ct2-toc a { border-radius: 10px; }
.ly-about-story .ct2-lf-body h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); letter-spacing: -.03em; }
.ly-about-mission { background: linear-gradient(180deg, var(--ly-violet) 0%, var(--ly-night) 100%) !important; }
.ly-about-mission .ct2-stm-text { font-family: "Outfit", sans-serif; letter-spacing: -.03em; }

/* Connect: tiles that press, sign-up */
.ly-connect-family .ct2-tile { border-radius: var(--ly-radius); overflow: hidden; transition: transform .15s var(--ly-ease); }
.ly-connect-family .ct2-tile:active { transform: scale(.98); }
.ly-connect-family .ct2-tile-title { font: 700 clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem)/1 "Outfit", sans-serif; letter-spacing: -.02em; }
.ly-connect-signup .ct2-email-split { align-items: center; gap: 48px; }
.ly-connect-signup .footer-email-signup-title h2 { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 5rem); }
.ly-connect-signup .gform_wrap input[type="submit"], .ly-connect-signup .gform_button, .ly-contact-form .gform_wrap input[type="submit"], .ly-contact-form .gform_button { background: var(--ly-coral) !important; color: var(--ly-night) !important; border-radius: 999px !important; min-height: 52px; padding: 0 30px !important; font: 600 1.0625rem "Outfit", sans-serif; width: auto !important; }

/* Give: short centered lavender hero, one big number */
.page-id-2562 .ct2-hero-type { text-align: center; }
.page-id-2562 .ct2-hero-type .ct2-hero-eyebrow { justify-content: center; }
.page-id-2562 .ct2-hero-type .ct2-hero-title { font-size: clamp(3rem, 2rem + 4vw, 6rem); }
.ly-give-statement .ct2-num-value { font: 700 clamp(7rem, 4rem + 12vw, 16rem)/.9 "Outfit", sans-serif; letter-spacing: -.05em; color: var(--ly-violet); }
.ly-give-statement .ct2-num-label { font: 600 1.375rem "Figtree", sans-serif; color: var(--ly-copy); }

/* Contact: mist offset hero, form as a chat card */
.page-id-11 .ct2-hero-offset { background: var(--ly-mist); }
.page-id-11 .ct2-hero-offset .ct2-ho-img { border-radius: 28px; }
.ly-contact-form .right { background: var(--ly-mist); border-radius: 28px; padding: clamp(20px, 3vw, 44px); }
.ly-contact-form .gform_wrap input[type="text"], .ly-contact-form .gform_wrap input[type="email"], .ly-contact-form .gform_wrap input[type="tel"], .ly-contact-form .gform_wrap textarea { border-radius: 14px; border-color: var(--ly-line); background: #fff; }

/* Phones */
@media (max-width: 767px) {
	.page-id-9 .ct2-hero-type .ct2-hero-title { font-size: clamp(3rem, 15vw, 4.5rem); }
	body:is(.page-id-2559,.page-id-2560,.page-id-11) .ct2-hero .ct2-hero-title { font-size: clamp(2.75rem, 13vw, 4rem); }
	.ly-visit-quote .ct-quote-text { max-width: none; }
	.ly-give-statement .ct2-num-value { font-size: 7rem; }
}
.ly-about-cta .ly-sel, .ly-connect-signup .ly-sel, .ly-visit-place .ly-sel { background: var(--ly-coral) !important; color: var(--ly-night) !important; }
.ly-connect-signup .footer-email-signup-title h2 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem) !important; margin-bottom: 18px; }
.ly-contact-form .left :is(div,dt,dd,li,span,a,address):not(.ly-sel) { font-size: 1rem; line-height: 1.5; }
.ly-contact-form .left .contact-info, .ly-contact-form .left [class*="contact"] { margin-top: 24px; }
/* P1 end */

/* P2: Kids, Students, College, Adults, Baptism, Serve */
/* Buttons: readable on every P2 band (global button text is night ink) */
body:is(.page-id-2756,.page-id-2757,.page-id-2758,.page-id-2760,.page-id-2761,.page-id-2762) .ct-wrapper a.button.button-main-color { background: var(--ly-violet) !important; color: #fff !important; border-color: var(--ly-violet) !important; }
body:is(.page-id-2756,.page-id-2757,.page-id-2758,.page-id-2760,.page-id-2761,.page-id-2762) .ct-wrapper a.button.button-main-color:hover { background: var(--ly-violet-ink) !important; }
body:is(.page-id-2756,.page-id-2757,.page-id-2758,.page-id-2760,.page-id-2761,.page-id-2762) .ct-wrapper a.button.button-sec-color { background: var(--ly-lav) !important; color: var(--ly-violet) !important; border-color: var(--ly-lav) !important; }
body:is(.page-id-2756,.page-id-2757,.page-id-2758,.page-id-2760,.page-id-2761,.page-id-2762) .ct-wrapper a.button.button-sec-color:hover { background: #fff !important; }
/* Heroes */
.ct2-hp-sec .ly-sel, .ct2-hp-white .ly-sel { background: var(--ly-lav); color: var(--ly-violet); }
.ct2-hp-sec .ly-sel { background: #fff; }
.ct2-hp-main .small-titles, .ct2-hp-main .small-titles a { color: var(--ly-lav); }
.ct2-hp-main .small-titles::before { background-image: var(--ly-kicker-light); }
.ct4-hc-top h1, .ct4-hc-top p, .ct4-hc-top a { color: #fff; }
.ct4-hc-top .small-titles::before { background-image: var(--ly-kicker-light); }
.ct4-hc-top .ct4-hc-title { font-size: clamp(3.5rem, 2rem + 7vw, 9rem); line-height: .95; letter-spacing: -.03em; }
body.page-id-2761 .page-hero .hero-breadcrumbs { display: none; }
body.page-id-2761 .page-hero .small-titles { justify-content: center; }
@media (min-width: 1024px) {
	body.page-id-2760 .ct2-ho-copy { max-width: 46%; }
	body.page-id-2760 .ct2-hero-title { font-size: clamp(3rem, 1rem + 4.6vw, 6.5rem); }
	body.page-id-2756 .ct2-hero-title { font-size: clamp(4rem, 1rem + 8vw, 10rem); }
}
/* Kids: values as press-able tiles, bright check */
.ly-kids-values .panel { border-radius: var(--ly-radius); }
/* Serve: team rows */
.ly-serve-teams .ct2-tr-text a { font: 600 1rem/1.2 "Outfit", system-ui, sans-serif; }
.ly-serve-teams .ct2-tr-meta { font-size: 1rem; opacity: 1; }
/* Students: night page, lavender ribbon */
.ly-students-ribbon .ct2-mq-item, .ly-students-ribbon [class*="mq"] { color: var(--ly-violet); }
@media (max-width: 767px) {
	.ct-wrapper[class*="ly-"] h2.titles:not(.medium):not(.small) { font-size: clamp(2.5rem, 11vw, 3.5rem); line-height: .98; letter-spacing: -.03em; }
	.ct4-hc-top .ct4-hc-title { font-size: clamp(3rem, 15vw, 4.5rem); }
	.ct-wrapper[class*="ly-"] .wysiwyg, .ct-wrapper[class*="ly-"] .wysiwyg p { font-size: 1.125rem !important; line-height: 1.55; }
	.ct4-hc-notch .button { padding: 0 18px; min-height: 44px; font-size: 1rem; }
	.ct4-hc-tab { font-size: 1rem; }
}
/* P2 end */

/* P3: Messages, Events, Live, Locations, Groups */
/* hero selected word on dark/photo heroes: coral block, night text */
body.page-id-1579 .ct2-hero .ly-sel, body.page-id-2561 .ct2-hero .ly-sel, body.page-id-2823 .ct2-hero .ly-sel, body.page-id-1583 .ct2-hero .ly-sel { background: var(--ly-coral); color: var(--ly-night); }
body.page-id-1583 .ct2-hero .ly-sel { background: #fff; color: var(--ly-violet); }
/* Messages: search bar in the Action hero */
.ly-hero-search { display: flex; gap: 10px; align-items: center; width: 100%; }
.ly-hero-search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 52px; border: 1px solid var(--ly-line); border-radius: 999px; background: var(--ly-mist); padding: 0 24px; font: 500 1.0625rem/1 "Figtree", sans-serif; color: var(--ly-night); }
.ly-hero-search input[type="search"]:focus { outline: 2px solid var(--ly-violet); outline-offset: 2px; background: #fff; }
.ly-hero-search button { height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ly-coral); color: var(--ly-night); font: 600 1.0625rem/1 "Outfit", sans-serif; cursor: pointer; transition: transform 120ms var(--ly-ease), background 120ms; }
.ly-hero-search button:hover { background: #FF7A74; }
.ly-hero-search button:active { transform: scale(.97); }
.ct2-ha-bar-inner { border-radius: var(--ly-radius); }
.ct2-ha-form { flex: 1 1 auto; min-width: 0; }
.ly-msg-latest .custom-video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ly-radius); overflow: hidden; background: var(--ly-night); }
.ly-msg-latest .custom-video-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
/* Events */
.ly-ev-week .ct-sched-today, .ly-ev-week [class*="today"] { color: var(--ly-violet); }
.ly-ev-cta .titles { max-width: 14ch; }
/* Live: dot kicker in the hero and a night standby */
body.page-id-2823 .ct2-hero .ct2-hero-small, body.page-id-2823 .ct2-hero .small-titles { display: inline-flex; align-items: center; gap: 10px; }
body.page-id-2823 .ct2-hero .small-titles::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ly-coral); box-shadow: 0 0 0 0 rgba(255,94,87,.6); animation: ly-live-pulse 1.8s infinite; }
@keyframes ly-live-pulse { 70% { box-shadow: 0 0 0 12px rgba(255,94,87,0); } 100% { box-shadow: 0 0 0 0 rgba(255,94,87,0); } }
@media (prefers-reduced-motion: reduce) { body.page-id-2823 .ct2-hero .small-titles::after { animation: none; } }
/* Locations: finder card sits level with the map */
.ly-loc-finder .ct2-lf-card { border-radius: var(--ly-radius); }
/* Groups (theme template page, restyled to match the homepage band) */
body.page-id-1583 .search-wrap { max-width: 1300px; margin: 0 auto !important; padding: 170px 20px 0; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; position: static; }
body.page-id-1583 .search-wrap form { border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; }
body.page-id-1583 .search-wrap form { position: relative; }
body.page-id-1583 .input-page-search { width: 100%; height: 56px; border: 1px solid var(--ly-line) !important; border-radius: 999px !important; background: var(--ly-mist) !important; padding: 0 56px 0 28px !important; font: 500 1.0625rem/1 "Figtree", sans-serif; color: var(--ly-night); box-shadow: none !important; }
body.page-id-1583 .input-page-search:focus { outline: 2px solid var(--ly-violet); outline-offset: 2px; background: #fff !important; }
body.page-id-1583 .search-results-numbers { font: 600 1rem/1 "Figtree", sans-serif !important; color: var(--ly-copy); text-align: left !important; width: 100%; margin: 28px 0 0; }
body.page-id-1583 .grid-three { padding-bottom: 100px; }
body.page-id-1583 .grid-three .panel { background: var(--ly-mist); border-radius: var(--ly-radius); padding: 0 0 22px; overflow: hidden; margin-top: 30px; transition: transform 120ms var(--ly-ease), box-shadow 120ms; box-shadow: none !important; }
body.page-id-1583 .grid-three .panel:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ly-violet) !important; }
body.page-id-1583 .grid-three .panel:active { transform: scale(.98); }
body.page-id-1583 .grid-three .panel .responsive-container, body.page-id-1583 .grid-three .panel img { border-radius: 0; }
body.page-id-1583 .grid-three .panel > *:not(.image-link) { padding-left: 22px; padding-right: 22px; }
body.page-id-1583 .grid-three .panel .titles { margin-top: 18px; color: var(--ly-night); }
@media (max-width: 767px) {
	.ly-hero-search { flex-wrap: wrap; }
	.ly-hero-search button { width: 100%; }
	.ly-ev-cta .titles { max-width: none; }
	body.page-id-1583 .search-wrap { padding-top: 130px; }
}
/* P3 end */


/* Media Queries
--------------------------------------------------------------------------------------- */
html, body { overflow-x: clip; }

@media (max-width: 1099px) {
	.hero-promos .hero-promo { max-width: none; }
}
@media (max-width: 767px) {
	.page-hero h1 { font-size: clamp(2.75rem, 1.6rem + 6vw, 3.5rem); }
	.ct-wrapper h2.titles:not(.medium):not(.small) { font-size: clamp(2.4rem, 1.5rem + 5vw, 3rem); }
	.ly-groups .grid-flex > .panel { flex: 0 0 calc(50% - 8px) !important; max-width: calc(50% - 8px) !important; }
	.ly-groups .grid-flex { gap: 16px 16px !important; }
	.ly-groups .panel h2.titles { font-size: 1.0625rem !important; padding: 0 14px 14px !important; }
	.cc-facets__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
	.cc-facets__chips::-webkit-scrollbar { display: none; }
	.ly-weekend .ct2-tt-stat::after { width: 80px; right: 20px; top: 22px; }
	.ly-place .ct2-loc { padding: 24px !important; }
	.ly-place .ct2-loc-map { min-height: 300px; }
	.ly-stories .ct3-rv-ccard { padding: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.ct2-tile, .ly-groups .panel, .cc-ecard, .ct-wrapper .button { transition: none !important; }
	.ct2-tile:hover, .ly-groups .panel:hover, .cc-ecard:hover { transform: none; }
}

/* Pass 2 fixes (browser critique 1700/390)
--------------------------------------------------------------------------------------- */
.ct-wrapper .button, .page-hero .button, .hero-promo-button, .cc-appbar__btn, .cc-facets__more { display: inline-flex !important; align-items: center !important; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 1 !important; }
.page-hero .overlay { background: linear-gradient(180deg, rgba(59,30,143,.28) 0%, rgba(20,11,51,.5) 50%, rgba(20,11,51,.86) 100%) !important; opacity: 1 !important; }
.hero-promos { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }
.hero-promos-stage { padding: 0 !important; }
.ly-weekend .ct2-tt-text.bg-fourth .ct2-tile-title, .ly-weekend .ct2-tt-text.bg-fourth .ct2-tile-text { color: #fff !important; }
.ly-weekend .ct2-tt-text.bg-fourth .ct2-tile-text { font: 700 clamp(2.5rem, 1.8rem + 2vw, 3.75rem)/1 "Outfit", sans-serif; letter-spacing: -.03em; color: var(--ly-coral) !important; margin: 0 0 6px; order: -1; }
.ly-weekend .ct2-tt-text.bg-fourth .ct2-tile-body { display: flex; flex-direction: column; }
.ly-message .btn-play svg circle { fill: var(--ly-coral) !important; stroke: var(--ly-coral) !important; }
.ly-message .btn-play svg path { fill: var(--ly-night) !important; }
.ly-rail .cc-vpost__series, .ly-rail .cc-vpost__meta { text-align: left !important; }
.ly-rail .cc-vpost__meta { font-size: .9375rem !important; color: var(--ly-copy); margin-top: 6px; }
.ly-rail .cc-vpost__series { color: var(--ly-violet) !important; justify-content: flex-start; }
.ct-grail-progress__fill { min-width: 14px; }
.ly-groups .ql-link-label { display: none !important; }
.ly-groups .cc-facets__more-wrap, .ly-events .cc-facets__more-wrap { margin-top: 40px; }
.cc-facets__count, .cc-facets__clear { font-size: .9375rem !important; }
.cc-facets__status { margin-top: 6px; }
.cc-ecard__title a, .cc-ecard__title .cc-ecard__link { color: var(--ly-night) !important; }
html[data-color-mode="dark"] .cc-ecard__title a { color: #fff !important; }
.cc-ecard__tags { font-size: .875rem !important; font-weight: 600; color: var(--ly-violet) !important; margin-bottom: 6px; }
.cc-ecard__media, .cc-ecard__media img { border-radius: 0 !important; }
.cc-ecard__where { font-size: 1rem; }
/* Community wall: featured quote tall on the left, four quotes in a 2x2 beside it */
.ly-stories .ct3-rv-cwall { display: grid !important; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; columns: auto !important; }
.ly-stories .ct3-rv-ccard { margin: 0 !important; break-inside: auto; display: flex; flex-direction: column; justify-content: space-between; }
.ly-stories .ct3-rv-ccard--featured { grid-row: span 2; padding: 40px !important; }
.ly-give .wysiwyg em { font-size: .9375rem; opacity: .8; }
@media (max-width: 1023px) {
	.ly-stories .ct3-rv-cwall { grid-template-columns: 1fr 1fr; }
	.ly-stories .ct3-rv-ccard--featured { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 767px) {
	.ly-stories .ct3-rv-cwall { grid-template-columns: 1fr; }
	.ly-stories .ct3-rv-ccard--featured { padding: 28px !important; }
}
.page-hero h1 { line-height: 1.06 !important; }
.ly-sel { position: relative; z-index: 0; }
.bg-sec .ly-sel { background: #FFFFFF; }
html[data-color-mode="dark"] .bg-sec .ly-sel { background: #34296B; }
.cc-facets, .cc-facets__group, .cc-facets__chips, .cc-facets__status { min-width: 0; max-width: 100%; box-sizing: border-box; }
.ct2-loc { box-sizing: border-box; max-width: 100%; }
.ly-weekend .ct3-hs-body .wysiwyg p { font-size: 1.125rem !important; line-height: 1.6 !important; }
@media (max-width: 767px) {
	.ly-weekend .ct3-hs-body { padding-left: 0 !important; margin-top: 24px; }
	.cc-facets__group { flex-direction: column; align-items: flex-start; gap: 10px; }
	.cc-facets__chips { width: 100%; }
}
.ly-message .wysiwyg p { font-size: 1.125rem !important; line-height: 1.5 !important; }
.ly-message .video-wrap .btn-play svg circle { fill: var(--ly-coral) !important; stroke: var(--ly-coral) !important; opacity: 1 !important; }
.ly-message .video-wrap .btn-play svg path { fill: var(--ly-night) !important; }
.ly-message .video-wrap .btn-play { opacity: 1 !important; }
.cc-facets, .cc-facets__label, .cc-facets__status { text-align: left !important; }
.ly-rail .cc-vpost__series { display: flex !important; }
/* Lavender bands keep their light colors in dark mode (fixed band) */
html[data-color-mode="dark"] .ly-groups .cc-facets .ct3-chip { color: var(--ly-violet); background: #fff; }
html[data-color-mode="dark"] .ly-groups .cc-facets .ct3-chip[aria-pressed="true"] { color: #fff; background: var(--ly-violet); }
html[data-color-mode="dark"] .ly-groups .cc-facets__label, html[data-color-mode="dark"] .ly-groups .cc-facets__count { color: var(--ly-night); }
html[data-color-mode="dark"] .ly-groups .small-titles, html[data-color-mode="dark"] .ly-give .small-titles { color: var(--ly-violet); }
html[data-color-mode="dark"] .ly-groups .small-titles::before, html[data-color-mode="dark"] .ly-give .small-titles::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M1.5 6c4.5-5.5 9-5.5 13.5 0s9 5.5 13.5 0' fill='none' stroke='%233B1E8F' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='35' cy='6' r='3.4' fill='%23FF5E57'/%3E%3C/svg%3E"); }
html[data-color-mode="dark"] .ly-give h2.titles { color: var(--ly-night); }
html[data-color-mode="dark"] .ly-give .wysiwyg { color: var(--ly-violet-ink); }
html[data-color-mode="dark"] .bg-sec .ly-sel { background: #fff; color: var(--ly-violet); }
html[data-color-mode="dark"] .cc-ecard__tags { color: #B9A6FF !important; }
.ly-place .ct2-loc a[href*="maps"]:not(.button) { display: none; }

/* Pass 3: critic fixes (build-critique.md items 1–11)
--------------------------------------------------------------------------------------- */
/* 2 · Hero concept: the current line drawn big along the bottom of the video, ending in the coral dot */
.page-hero .overlay { background: linear-gradient(180deg, rgba(20,11,51,.3) 0%, rgba(20,11,51,.42) 45%, rgba(20,11,51,.72) 100%) !important; }
body.home .page-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 12vw, 210px); z-index: 2; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cpath d='M-20 160C120 70 260 70 400 130s300 70 450 10 90-60 100-60' fill='none' stroke='%23B9A6FF' stroke-width='8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M-20 186C130 110 270 110 410 160s300 50 450 0' fill='none' stroke='%23E4DBFF' stroke-opacity='.35' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat left bottom / 100% 100%;
}
body.home .page-hero::before {
	content: ""; position: absolute; z-index: 2; pointer-events: none; width: 22px; height: 22px; border-radius: 50%;
	background: var(--ly-coral); box-shadow: 0 0 0 6px rgba(255,94,87,.28);
	left: calc(58.4% - 11px); bottom: calc(clamp(90px, 12vw, 210px) * .6 - 11px);
}
@media (max-width: 1099px) { body.home .page-hero::before { display: none; } }
@media (prefers-reduced-motion: no-preference) {
	body.home .page-hero::after { animation: ly-draw 2.2s var(--ly-ease) .3s both; }
	body.home .page-hero::before { animation: ly-pop .5s var(--ly-ease) 2.2s both; }
}
@keyframes ly-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ly-pop { from { transform: scale(0); } to { transform: scale(1); } }
body.home .page-hero .hero-content, body.home .page-hero .hero-promos { position: relative; z-index: 3; }

/* 3 · No glass: solid cards */
.hero-promos .hero-promo { background: #FFFFFF !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 24px 60px rgba(20,11,51,.28); border-radius: var(--ly-radius) !important; }
.ly-place .ct2-loc { background: #2A1878 !important; border: 0 !important; }
.cc-appbar { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* 4 · Dark mode: solid surfaces and an alternating band rhythm */
html[data-color-mode="dark"] .hero-promos .hero-promo { background: #1E1450 !important; }
html[data-color-mode="dark"] .hero-promo-title { color: #fff !important; }
html[data-color-mode="dark"] .hero-promo-text { color: #CFC8EA !important; }
html[data-color-mode="dark"] .hero-promo-tag { color: #B9A6FF !important; }
html[data-color-mode="dark"] .hero-promo-tag::before { background-image: var(--ly-kicker-light); }
html[data-color-mode="dark"] .ly-groups, html[data-color-mode="dark"] .ly-give { background: #1E1450 !important; }
html[data-color-mode="dark"] .ly-message, html[data-color-mode="dark"] .ly-place { background: #2A1878 !important; }
html[data-color-mode="dark"] .ly-place .ct2-loc { background: #3B1E8F !important; }
html[data-color-mode="dark"] .ly-groups h2.titles, html[data-color-mode="dark"] .ly-give h2.titles { color: #fff !important; }
html[data-color-mode="dark"] .ly-groups .small-titles, html[data-color-mode="dark"] .ly-give .small-titles { color: #B9A6FF; }
html[data-color-mode="dark"] .ly-groups .small-titles::before, html[data-color-mode="dark"] .ly-give .small-titles::before { background-image: var(--ly-kicker-light); }
html[data-color-mode="dark"] .ly-groups .cc-facets__label, html[data-color-mode="dark"] .ly-groups .cc-facets__count { color: #fff; }
html[data-color-mode="dark"] .ly-groups .cc-facets .ct3-chip { background: #2A1878; color: #E4DBFF; border-color: #34296B; }
html[data-color-mode="dark"] .ly-groups .cc-facets .ct3-chip[aria-pressed="true"] { background: #B9A6FF; color: var(--ly-night); }
html[data-color-mode="dark"] .ly-give .wysiwyg, html[data-color-mode="dark"] .ly-give .wysiwyg p { color: #CFC8EA; }
html[data-color-mode="dark"] .bg-sec .ly-sel { background: #34296B; color: #fff; }
html[data-color-mode="dark"] .ly-message::before, html[data-color-mode="dark"] .ly-place::before { opacity: 1.6; filter: brightness(1.4); }

/* 8 · Events header: title left (5 cols), chips right (7 cols) on one baseline; All events under the title */
@media (min-width: 1024px) {
	.ly-events .ct-hb-beside { display: grid !important; grid-template-columns: 5fr 7fr; column-gap: 48px; align-items: end; }
	.ly-events .ct-hb-beside > * { grid-column: 1 / -1; }
	.ly-events .ct-hb-beside > .section_titles_width { grid-column: 1; grid-row: 1; max-width: none !important; }
	.ly-events .ct-hb-beside > .ct2-buttons { grid-column: 1; grid-row: 2; margin: 24px 0 0 !important; justify-content: flex-start; }
	.ly-events .ct-hb-beside > .cc-facets { grid-column: 2; grid-row: 1 / span 2; margin-top: 0 !important; justify-self: end; align-items: flex-end; }
	.ly-events .cc-facets__group { justify-content: flex-end; }
	.ly-events .ct-hb-beside > .grid-flex { margin-top: 56px; }
}

/* 9 · Date badge month readable */
.cc-ecard__mon { font-size: .875rem !important; text-transform: none !important; letter-spacing: 0 !important; }

/* 1 · Give on phones; 5 · display-led phone titles; minor phone tidy */
@media (max-width: 767px) {
	.ly-give .content-short, .ly-give .section_titles_width { max-width: none !important; width: 100% !important; }
	.ly-give .content-short p, .ly-give .wysiwyg p { font-size: 1.25rem !important; line-height: 1.5 !important; }
	.ly-give .wysiwyg em { font-size: 1rem; }
	.ct-wrapper h2.titles:not(.medium):not(.small), .ly-message h2.titles { font-size: clamp(2.5rem, 11vw, 3.5rem) !important; line-height: .98 !important; letter-spacing: -.03em; }
	.ly-weekend .ct2-tt-stat, .ly-weekend .ct2-tt-text.bg-fourth { aspect-ratio: 4 / 3; min-height: 0 !important; height: auto !important; }
	.page-hero .hero-promo-button { display: none !important; }
	.ly-weekend .ct2-tt-text.bg-sec { aspect-ratio: 4 / 3; min-height: 0 !important; height: auto !important; }
	.ly-groups .ct-hb-beside .ct2-buttons, .ly-events .ct-hb-beside .ct2-buttons { order: 9; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.ly-give .content-short { max-width: 640px !important; width: 100% !important; margin-inline: auto; }
	.ly-give .content-short p { font-size: 1.25rem !important; }
}
.cc-footer-col { min-width: 0; }
@media (min-width: 1024px) { .ly-events .cc-facets__status { justify-content: flex-end; text-align: right !important; width: 100%; } }
