/*
 * Helpful Saints OS 1.6.7 public design foundation.
 * Lightweight, route-scoped, Astra-safe, and progressively enhanced.
 */
body.hsc-governed-public{
	--hsc-navy-950:#020d18;
	--hsc-navy-900:#03182c;
	--hsc-navy-800:#062a4d;
	--hsc-navy-700:#0b416e;
	--hsc-gold-500:#d8a62e;
	--hsc-gold-300:#f1d37a;
	--hsc-ivory:#fffaf0;
	--hsc-paper:#fff;
	--hsc-ink:#173757;
	--hsc-muted:#607489;
	--hsc-line:rgba(6,42,77,.14);
	--hsc-shadow:0 24px 70px rgba(3,24,44,.16);
	--hsc-serif:Georgia,"Times New Roman",serif;
	--hsc-sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
	background:#f7fafc;
	color:var(--hsc-ink);
}
body.hsc-governed-public *,body.hsc-governed-public *::before,body.hsc-governed-public *::after{box-sizing:border-box}
body.hsc-governed-public :where(.hsc140-scripture,.hsc-zadok,.hsc-zadok-comparison,.hsc-zx-shell,.hsc-giving-hub,.hsc1110,.hsc-os-shell,.hsc-research-hub,.hsc-unified-os,.hsc-journey,.hsc-membership,.hsc-relationship-platform){font-family:var(--hsc-sans)}
body.hsc-governed-public :where(.hsc140-scripture,.hsc-zadok,.hsc-zadok-comparison,.hsc-zx-shell,.hsc-giving-hub,.hsc1110,.hsc-os-shell,.hsc-research-hub,.hsc-unified-os,.hsc-journey,.hsc-membership,.hsc-relationship-platform) :where(h1,h2,h3,h4){font-family:var(--hsc-serif);text-wrap:balance}
body.hsc-governed-public :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--hsc-gold-500)!important;outline-offset:3px!important}

/* Helpful Saints experiences own the content canvas, while the public site header/footer remain intact. */
body.hsc-governed-public #secondary,
body.hsc-governed-public .widget-area,
body.hsc-governed-public .sidebar-main,
body.hsc-governed-public .ast-right-sidebar #secondary,
body.hsc-governed-public .ast-left-sidebar #secondary{display:none!important}
body.hsc-governed-public #primary,
body.hsc-governed-public .content-area,
body.hsc-governed-public .site-main,
body.hsc-governed-public .entry-content,
body.hsc-governed-public .site-content>.ast-container,
body.hsc-governed-public .site-content .ast-container,
body.hsc-governed-public .ast-page-builder-template .site-content>.ast-container{
	width:100%!important;
	max-width:none!important;
	margin-left:auto!important;
	margin-right:auto!important;
	float:none!important;
}
body.hsc-governed-public .site-content>.ast-container{display:block!important;padding-left:0!important;padding-right:0!important}
body.hsc-governed-public #primary{border:0!important;padding:0!important}
body.hsc-governed-public article.page,
body.hsc-governed-public .ast-article-single{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.hsc-governed-public .entry-content{margin:0!important}
body.hsc-governed-public .entry-header:empty{display:none!important}
body.hsc-governed-public .entry-content>[class^="hsc"],
body.hsc-governed-public .entry-content>[class*=" hsc"]{max-width:none}

/* Prevent Astra/theme heading colors from overriding dark Helpful Saints surfaces. */
body.hsc-governed-public :where(
	.hsc1110-page-hero,
	.hsc-zadok-hero,
	.hsc-zx-hero,
	.hsc-giving-hero,
	.hsc140-scripture,
	.hsc140-landing,
	.hsc-os-command,
	.hsc-research-hero,
	.hsc-unified-hero,
	.hsc-journey-hero
) :where(h1,h2,h3,h4){color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.24)}
body.hsc-governed-public :where(
	.hsc1110-page-hero,
	.hsc-zadok-hero,
	.hsc-zx-hero,
	.hsc-giving-hero,
	.hsc140-scripture,
	.hsc140-landing,
	.hsc-os-command,
	.hsc-research-hero,
	.hsc-unified-hero,
	.hsc-journey-hero
) :where(p,span,li){color:rgba(239,247,252,.92)}
body.hsc-governed-public :where(.hsc1110-page-hero,.hsc-zadok-hero,.hsc-zx-hero,.hsc-giving-hero,.hsc140-landing) :where(.hsc-kicker,.hsc-research-kicker,>p:first-child){color:var(--hsc-gold-300)!important}

/* Scripture AI: one full-width conversation; no theme-created empty side rail. */
body.hsc-experience-scripture .site-content,
body.hsc-experience-scripture .site-main,
body.hsc-experience-scripture .entry-content{background:var(--hsc-navy-950)}
body.hsc-experience-scripture :where(.hsc140-scripture,.hsc140-scripture-page,.hsc-scripture-ai-140,.hsc-scripture-shell){width:100%!important;max-width:none!important;margin:0!important}
body.hsc-experience-scripture :where(.hsc140-layout,.hsc140-stage,.hsc140-conversation,.hsc140-main){width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr)!important}
body.hsc-experience-scripture :where(.hsc140-rail,.hsc140-sidebar,.hsc140-aside):empty{display:none!important}

/* Get Help / pricing fallbacks: preserve the premium hero when only the route module loads. */
body.hsc-experience-help .hsc1110-page-hero{overflow:hidden;position:relative;background:radial-gradient(circle at 92% 8%,rgba(215,173,59,.24),transparent 31%),radial-gradient(circle at 5% 100%,rgba(19,120,135,.18),transparent 34%),linear-gradient(135deg,#04111e,#073b62)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 30px 88px rgba(3,24,44,.28)!important}
body.hsc-experience-help .hsc1110-page-hero h1{color:#fff!important;opacity:1!important;filter:none!important}
body.hsc-experience-help .hsc1110-page-hero>span{color:#e1eef6!important}
body.hsc-experience-help :where(.hsc1110-dominant-card,.hsc1110-secondary-grid a,.hsc1110-estimator){box-shadow:var(--hsc-shadow)}

/* Giving fallback: if a theme resets links or headings, fund cards remain unmistakably interactive. */
body.hsc-experience-giving .hsc-giving-hub{width:min(100%,1450px);padding:0 clamp(12px,3vw,34px)}
body.hsc-experience-giving .hsc-giving-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body.hsc-experience-giving :where(.hsc-giving-grid article,.hsc-square-fund-card){display:flex!important;flex-direction:column!important;background:#fff!important;border-radius:24px!important;box-shadow:var(--hsc-shadow)!important}
body.hsc-experience-giving :where(.hsc-giving-grid h3,.hsc-square-fund-card h3){color:var(--hsc-navy-800)!important}
body.hsc-experience-giving :where(.hsc-giving-grid a,.hsc-square-fund-card a,.hsc-square-button){text-decoration:none!important;border-radius:14px!important}
body.hsc-experience-giving :where(.hsc-giving-grid article>div a:first-child,.hsc-square-fund-card>div a:first-child,.hsc-square-button){color:#fff!important}
body.hsc-experience-giving :where(.hsc-giving-grid article>div a:nth-child(2),.hsc-square-fund-card>div a:nth-child(2)){background:#fff!important;color:var(--accent)!important}

/* Zadok fallback: protect SVG typography and controls from theme defaults. */
body.hsc-experience-zadok :where(.hsc-zadok,.hsc-zx-shell){width:min(100%,1600px);margin-inline:auto}
body.hsc-experience-zadok :where(.hsc-zadok-toolbar,.hsc-zx-toolbar) :where(button,input,select){font-family:var(--hsc-sans)!important}
body.hsc-experience-zadok .hsc-zadok-wheel .zc-label,
body.hsc-experience-zadok .hsc-zx-wheel .zx-month-label{fill:#f6d884!important;stroke:#06101a;stroke-width:.7px;paint-order:stroke fill}
body.hsc-experience-zadok .hsc-zadok-wheel :where(.zc-season-label,.zc-feast-label),
body.hsc-experience-zadok .hsc-zx-wheel :where(.zx-season-label,.zx-event-label){fill:#fff7d0!important}
body.hsc-experience-zadok :where(.hsc-zadok-toolbar,.hsc-zx-toolbar){background:rgba(255,255,255,.96)!important;border:1px solid rgba(6,42,77,.15)!important;box-shadow:0 15px 45px rgba(3,24,44,.12)!important}

/* Shared fallback presentation for a safely isolated experience. */
body.hsc-governed-public .hsc-safe-fallback{max-width:880px;margin:40px auto;padding:28px;border:2px solid var(--hsc-gold-500);border-radius:22px;background:linear-gradient(145deg,#fff,#fff8e7);color:var(--hsc-ink);box-shadow:var(--hsc-shadow)}
body.hsc-governed-public .hsc-safe-fallback strong{font:700 28px/1.1 var(--hsc-serif);color:var(--hsc-navy-800)}
body.hsc-governed-public .hsc-safe-fallback p{margin:.65rem 0 0;color:var(--hsc-muted)}

@media(max-width:900px){
	body.hsc-governed-public .site-content>.ast-container{padding:0!important}
	body.hsc-experience-giving .hsc-giving-grid{grid-template-columns:1fr!important}
}
@media(max-width:600px){
	body.hsc-governed-public :where(.hsc-zadok,.hsc-zx-shell,.hsc-giving-hub,.hsc1110){padding-left:8px!important;padding-right:8px!important}
}
@media(prefers-reduced-motion:reduce){
	body.hsc-governed-public *,body.hsc-governed-public *::before,body.hsc-governed-public *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
@media(forced-colors:active){
	body.hsc-governed-public :where(a,button,input,select,textarea,summary){forced-color-adjust:auto}
	body.hsc-governed-public :where(.hsc1110-page-hero,.hsc-zadok-hero,.hsc-zx-hero,.hsc-giving-hero,.hsc140-scripture){border:2px solid CanvasText!important}
}
@media print{
	body.hsc-governed-public{background:#fff!important;color:#000!important}
	body.hsc-governed-public #secondary,body.hsc-governed-public .widget-area{display:none!important}
	body.hsc-governed-public :where(.hsc1110-page-hero,.hsc-zadok-hero,.hsc-zx-hero,.hsc-giving-hero,.hsc140-scripture){background:#fff!important;color:#000!important;box-shadow:none!important;border:1px solid #777!important}
	body.hsc-governed-public :where(.hsc1110-page-hero,.hsc-zadok-hero,.hsc-zx-hero,.hsc-giving-hero,.hsc140-scripture) :where(h1,h2,h3,h4,p,span){color:#000!important;text-shadow:none!important}
}


/* OS 1.6.7 — authoritative shared surfaces for members and employees. */
body.hsc-governed-public :where(.hsc120-employee-app,.hsc-journey-os,.hsc-membership-board,.hsc-colorboard,.hsc-114-personalized-home,.hsc-member-gate){--hsc-surface-navy:#071d33;--hsc-surface-gold:#d2aa42;--hsc-surface-ink:#173757;--hsc-surface-muted:#607489;font-family:var(--hsc-sans);color:var(--hsc-surface-ink)}
body.hsc-governed-public :where(.hsc120-app-hero,.hsc-commandbar,.hsc-membership-board>.hsc-box--navy,.hsc-member-gate){background:radial-gradient(circle at 88% 8%,rgba(216,166,46,.22),transparent 31%),linear-gradient(135deg,#061828,#0a4167)!important;color:#fff!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:var(--hsc-shadow)!important}
body.hsc-governed-public :where(.hsc120-app-hero,.hsc-commandbar,.hsc-membership-board>.hsc-box--navy,.hsc-member-gate) :where(h1,h2,h3,p,span,strong,small,blockquote){color:inherit!important}
body.hsc-governed-public :where(.hsc120-employee-app main>section,.hsc-main,.hsc-colorboard,.hsc-membership-board){border:1px solid var(--hsc-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 35px rgba(3,24,44,.07)!important}
body.hsc-governed-public :where(.hsc120-employee-app,.hsc-journey-os,.hsc-membership-board,.hsc-colorboard) :where(button,.button,input[type=submit],a.hsc-button){min-height:44px;border-radius:12px;font-weight:800}
body.hsc-governed-public :where(.hsc120-employee-app,.hsc-journey-os,.hsc-membership-board,.hsc-colorboard) :where(input,select,textarea){max-width:100%;border:1px solid #b8c7d2;border-radius:10px;background:#fff;color:#173757}
