<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en" />

<meta property="og:image" content="https://w2.chabad.org/media/images/1351/nZvH13518062.png" itemprop="image" width="150" height="150" />
<meta property="og:image:width" content="150" />
<meta property="og:image:height" content="150" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="keywords" content="Challah,in,the,Park" />
<meta name="title" content="Challah in the Park - Chabad of Yorkville" />
<meta property="og:type" content="website" />
<meta name="scope-aids" content="6469881-6469889-7408417" />
<meta name="article-keywords" content="16403-2170-2898" />
<meta name="scope-aid" content="6469881" />
<meta name="scope-aid" content="6469889" />
<meta name="scope-aid" content="7408417" />
<meta name="article-keyword" content="16403" />
<meta name="article-keyword" content="2170" />
<meta name="article-keyword" content="2898" />
<meta property="og:url" content="https://www.chabadyv.com/templates/articlecco_cdo/aid/7408417/jewish/Challah-in-the-Park.htm" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:site" content="@chabad" />
<meta property="og:title" content="Challah in the Park - Chabad of Yorkville" /><link rel="canonical" href="https://www.chabadyv.com/templates/articlecco_cdo/aid/7408417/jewish/Challah-in-the-Park.htm" />
<link rel="icon" type="image/png" href="https://www.chabadyv.com/media/images/1351/nZvH13518062.png" />
<link rel="Stylesheet" href="/css/fonts/font-awesome/font-awesome-5.css?v=2D6ABDDB" id="kfont-awesome" type="text/css"/>
<link rel="Stylesheet" href="/css/DefaultGrid.css?v=A13D74E8" id="kgrid" type="text/css"/>
<link rel="Stylesheet" href="/css/Elements.css?v=7A8278DB" id="k6" type="text/css"/>
<link rel="Stylesheet" href="/css/vendor/ds/tokens/sites.css?v=FCCCFE7F" id="ksites-ds-css" type="text/css"/>
<link rel="Stylesheet" href="/css/vendor/ds/tokens/sites-light.css?v=96FC45AC" id="ksites-light-ds-css" type="text/css"/>
<link rel="Stylesheet" href="/css/new/main.css?v=D095F340" id="k7" type="text/css"/>
<link rel="Stylesheet" href="/css/global.css?v=27BD2E9E" id="k3" type="text/css"/>
<link rel="Stylesheet" href="/css/global-print.css?v=40836E98" id="k5" type="text/css" media="print"/>
<link rel="Stylesheet" href="/css/cco/home/widget-styles.css?v=A8AC7A58" id="k6" type="text/css"/>
<link rel="Stylesheet" href="/css/sites6/default-theme.css?v=546A0139" id="k" type="text/css"/>
<link rel="Stylesheet" href="/css/old/global.css?v=43DDBA77" id="k2898" type="text/css"/>
<link rel="Stylesheet" href="/css/bootstrap/grid.css?v=F4390F2B" id="kbootstrap4-grid" type="text/css"/>
<link rel="Stylesheet" href="/css/Library/reader-comments.css?v=8AB57D79" id="kCommentsStylesheet" type="text/css"/>
<link rel="Stylesheet" href="/css/inline/BookInfo.css?v=3D052243" id="kBookInfoCss" type="text/css"/>
<!--[if lte IE 8]> <link rel="Stylesheet" href="/css/global-ie.css?v=807ACD6C" id="k4" type="text/css"/> <![endif]-->
<script>$q=[];$j=function(f){$q.push(f);}</script>
	
<title>
	Challah in the Park - Chabad of Yorkville
</title>
	



<script>
	window.dataLayer = window.dataLayer || [];
	dataLayer.push({"event":"datalayer-initialized","page":{"numberOfComments":0,"publicationDate":"2026-06-23","primaryArticleId":7408417,"title":"","author":"","authorId":0,"contentLevel1":"My Site","contentLevel2":"Challah in the Park","siteName":"Chabad of Yorkville"},"time":{"upcomingHoliday":"Chanukah","daysToUpcomingHoliday":5,"hebrewDate":"5787-09-20"}});
		dataLayer.push({ 'articleHierarchy': '-6469881-6469889-7408417-', 'keywords': '-k2898-k2170-k16403-', 'k': '-6469881-6469889-7408417--k2898-k2170-k16403-' });
	
</script>
<script>

(function(c,h,a,b,a,d){c[a]=c[a]||[];c[a].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=h.getElementsByTagName(b)[0],
j=h.createElement(b);j.async=true;
j.src='https://w6.chabad.org/mitzvah-tank.js';f.parentNode.insertBefore(j,f);
})(window,document,0,'script','dataLayer');</script>

	<!-- Start of StatCounter Code -->
	<script type="text/javascript">
	var sc_project = 13024453;var sc_partition = 92;var sc_invisible = 1;var sc_remove_link=1;var sc_security = "2ee716e2";var sc_https = 1;
	</script>
	<script type="text/javascript" src="https://secure.statcounter.com/counter/counter_xhtml.js" defer async></script>
	<noscript><img src="//c93.statcounter.com/counter.php?sc_project=13024453&amp;java=0&amp;security=2ee716e2&amp;invisible=1" border="0" /> </noscript>
	<!-- End of StatCounter Code -->


</style>
<style>
.site_subtitle {display:block!important;font-size: min(2.5vw, 14px)!important;} 
</style>




<script>window.CoaCredit = { target: '#footer-inner' };</script><script src="https://chabadone-assist.netlify.app/v1/credit.js"></script></head>
<body class="lang_en dir_ltr cco_body sites-article">

	


	
	<div id="PrintCreditHeader" class="show_for_print">
Printed from<b>ChabadYV.com</b>
</div>
	<div id="header">
		<div class="wrapper header-wrapper">
			
<div id="feedback_bar" class="hide_for_print no_outline">
	<div class="wrapper">
		
	</div>
</div>

			


<div id="header_container" class="header_container">
	<div class="clearfix links">
		<img src="https://w2.chabad.org/images/global/spacer.gif" width="15" height="8" class="baruch_hashem" />
		<div class="float_right">
			
			
				<div class="topBarLink cco_topbar_link ask_the_rabbi_link">
					<a href="/asktherabbi/default_cdo/jewish/Ask-the-Rabbi.htm">Ask the Rabbi</a>
				</div>
				
			
				<div id="HeaderSubscribe" class="top_bar_item topBarLink cco_topbar_link subscribe_link">Subscribe
					<div id="HeaderSubscribeContainer" class="topBarLayer" style="display:none;width:295px;">
						<div id="SubscribeFormContainer">
							<span id="SubscribeMessage" class="error" style="display:none;"></span>
							<form name="topSubscribef196ee6f9b" class="subscribe_box" target="" action="" method="get" onsubmit="return submitHeaderSubscribe(this, document.getElementById('f196ee6f9bFormContainer'), document.getElementById('f196ee6f9bResponseContainer'));">



<script>
	var recaptchaIsEnterprise = false;
		 var recaptchaV2Key = "6LcG_TcUAAAAAKAVgwgW39ujc9OCjXSoQYFIA-Su";

</script>

	<input type="hidden" class="js-recaptcha-input" name="cdo-captcha-response" value="" data-div-id="e06bd8ed-c6c8-4487-b808-0adbf27564ff" data-processed="false" />
	<div class="js-recaptcha-wrapper" id="e06bd8ed-c6c8-4487-b808-0adbf27564ff"></div>	

<div class="container horizontal_padding" id="f196ee6f9bContainer">
<div style="margin:10px 0;">
<div class="co_form_container" id="f196ee6f9bFormContainer">
<input type="text" maxlength="50" class="co_global_input float_left medium_bottom_margin" value="" required="" display_name="First Name" id="Fname" name="fname" placeholder="First Name">
<input type="text" maxlength="50" class="co_global_input float_right medium_bottom_margin" value="" required="" display_name="Last Name" id="Lname" name="lname" placeholder="Last Name">
<div class="form_group">
<input type="hidden" name="via" value="inlineSubscribeBox:6470310;" />
<input type="text" class="co_global_input medium_bottom_margin" value="" required="" display_name="Email" id="SubscribeEmail" name="email" placeholder="Email Address">
<div id="CoButton_wrapper" class="co_global_submit" style="width:100%;padding:0;"><button id="CoButton" type="submit" class="button" value="Subscribe"><span>Subscribe</span></button></div>
</div>
<div class="break_floats"></div>
<div class="light_grey f-small" style="padding-top:3px;padding-left:3px;">
<input type="hidden" name="subscriptionid" value="53979" />
Subscribe to Weekly E - TORAH
</div>
</div>
<div id="f196ee6f9bResponseContainer"></div>
</div>
</div>
</form>
<!-- END CACHE -->
							<div class="break_floats"></div>
						</div>
						<div class="blue f-small bold small_vertical_padding medium_horizontal_padding footer_box">
							<a href="/tools/subscribe/default_cdo">View all subscriptions &raquo;</a>
						</div>
					</div>
				</div>
			
			
				<div class="topBarLink cco_topbar_link contact_link">
					<a href="/tools/feedback.asp">Contact</a>
				</div>
			
			
		</div>
		<div class="float_left">
			
				<div class="topBarLink cco_topbar_link home_link">
					<a href="/">Home</a>
				</div>
				
			
				<div class="topBarLink cco_topbar_link about_link">
					<a href="/6546474">About</a>
				</div>
				
			
			
			
		</div>
	</div>
	<div class="break_floats"></div>
</div>

			<div class="clearfix branding-search">
				<div id="header_branding" class="no_outline  logo">
					<div class="g260 no_margin cco_search_header float_right">
						

<div class="co_search_form margin05">
	<form name="MainSearchForm" id="MainSearchForm" method="get" action="/search/results.asp" class="clearfix" onsubmit="return Co.Forms.Validation.Validate(this, null, {markAsSubmitted:false});">
		<div class="co_global_submit"><button type="submit" class="button" value=" "><span> </span></button></div>
		

<div class="co_global_input_container clearfix">
	<input id="topAreaTopSearch_search" required="true" autocomplete="nope" placeholder="Search" value="" class="co_global_input co_search js-search-field active js-mirrored-input" onblur="this.form.className = this.form.className.replace(/\sactive/gi, &#39;&#39;);" name="searchWord" onfocus="this.form.className+=&#39; active&#39;;" type="text" display_name="Search Field" min_length="3"></input>
</div>

			
		
		
	
		<div id="topAreaTopSearch_search_wrapper" class="co_field_options" style="display:none;">
			<div class="co_absolute_wraper" id="co_absolute_wraper" style="">
				<div class="inner">
					<div id="topAreaTopSearch_search_container" class="co_field_options_suggestions"></div>
					<div class="break_floats"></div>
					
				</div>
			</div>
		</div>
	</form>
</div>
					</div>
					
						<div class="float_left site-logo-wrapper"><a href="/"><img src="https://w2.chabad.org/media/images/1351/nZvH13518062.png" width="100" height="100" border="0"  /></a></div>
					
					<a href="/default.asp" title="Chabad of Yorkville" class="site_title">Chabad of Yorkville<span class="site_subtitle clearfix">Servicing Summerhill, Rosedale & Yorkville</span></a>
				</div>
			</div>
			
			
			<button type='button' class='cs-mobile-menu-open js-mobile-menu-open'><i class='fa fa-bars'></i></button>
			<div class="site-nav-wrapper">
				<script>
var primaryNavigationVersion = "639314680581650890";
</script>
<div id="co_menu_container_wrapper" class="co_menu_container_wrapper " data-list-name="primary navigation"> 
<div class="co_menu_container clearfix" id="co_menu_container">
<a class="menu_logo" href="/"></a>
<table cellpadding="0" cellspacing="0" border="0" class="main_menu_container first global">
<tr id="tabContentMain" tab="Main" style="display:table-row;">
<td class="co_menu_item home" data-menu-level="1"><a href="/default.asp"><img class="co_menu_home_image" src="https://w2.chabad.org/images/global/spacer.gif" width="28" height="60" border="0" onmouseover="this.className += ' hover';" onmouseout="this.className=this.className.replace(/\s?hover/gi, '');" /></a></td>
<td class="co_menu_item_divider"><img src="https://w2.chabad.org/images/global/spacer.gif" width="2" height="1" border="0" /></td>
<td class="co_menu_item" aid="7613058" data-menu-level="1" onmouseover="this.className += ' hover';" onmouseout="this.className = this.className.replace(/\shover/gi, '');" >
<div class="co_menu_content"><div class="co_submenu_container" style="width:auto;display:none;clip:rect(auto auto 0px auto);">
<div class="wrapper">
<div class="column_wrapper clearfix" style="height:100%;">
</div>
<div class="break_floats"></div></div></div></div><span class="parent"><div><a href="/templates/section_cdo/aid/7613058/jewish/Chanukah.htm" class="parent">Chanukah</a></div></span><a href="/templates/section_cdo/aid/7613058/jewish/Chanukah.htm" class="bg_extension js-parent-menu-link" data-aid="7613058"></a></td>
<td class="co_menu_item_divider"><img src="https://w2.chabad.org/images/global/spacer.gif" width="2" height="1" border="0" /></td>
<td class="co_menu_item" aid="7641529" data-menu-level="1" onmouseover="this.className += ' hover';" onmouseout="this.className = this.className.replace(/\shover/gi, '');" >
<div class="co_menu_content"><div class="co_submenu_container" style="width:auto;display:none;clip:rect(auto auto 0px auto);">
<div class="wrapper">
<div class="column_wrapper clearfix" style="height:100%;">
</div>
<div class="break_floats"></div></div></div></div><span class="parent"><div><a href="/templates/section_cdo/aid/7641529/jewish/JLI.htm" class="parent">JLI</a></div></span><a href="/templates/section_cdo/aid/7641529/jewish/JLI.htm" class="bg_extension js-parent-menu-link" data-aid="7641529"></a></td>
<td class="co_menu_item_divider"><img src="https://w2.chabad.org/images/global/spacer.gif" width="2" height="1" border="0" /></td>
<td class="co_menu_item" aid="7466062" data-menu-level="1" onmouseover="this.className += ' hover';" onmouseout="this.className = this.className.replace(/\shover/gi, '');" >
<div class="co_menu_content"><div class="co_submenu_container" style="width:auto;display:none;clip:rect(auto auto 0px auto);">
<div class="wrapper">
<div class="column_wrapper clearfix" style="height:100%;">
</div>
<div class="break_floats"></div></div></div></div><span class="parent"><div><a href="/templates/articlecco_cdo/aid/7466062/jewish/Synagogue.htm" class="parent">Synagogue</a></div></span><a href="/templates/articlecco_cdo/aid/7466062/jewish/Synagogue.htm" class="bg_extension js-parent-menu-link" data-aid="7466062"></a></td>
<td class="co_menu_item_divider"><img src="https://w2.chabad.org/images/global/spacer.gif" width="2" height="1" border="0" /></td>
<td class="co_menu_item" aid="7362454" data-menu-level="1" onmouseover="this.className += ' hover';" onmouseout="this.className = this.className.replace(/\shover/gi, '');" >
<div class="co_menu_content"><div class="co_submenu_container" style="width:auto;display:none;clip:rect(auto auto 0px auto);">
<div class="wrapper">
<div class="column_wrapper clearfix" style="height:100%;">
</div>
<div class="break_floats"></div></div></div></div><span class="parent"><div><a href="/templates/section_cdo/aid/7362454/jewish/Adult-Education.htm" class="parent">Adult<br />Education</a></div></span><a href="/templates/section_cdo/aid/7362454/jewish/Adult-Education.htm" class="bg_extension js-parent-menu-link" data-aid="7362454"></a></td>
<td class="co_menu_item_divider"><img src="https://w2.chabad.org/images/global/spacer.gif" width="2" height="1" border="0" /></td>
<td class="co_menu_item arrow multi_level" aid="7357137" data-menu-level="1" onmouseover='Co.MainNavigation.Show(event, this);' onmouseout='Co.MainNavigation.Hide(event, this);' >
<div class="co_menu_content"><div class="co_submenu_container" style="width:auto;display:none;clip:rect(auto auto 0px auto);">
<div class="wrapper">
<div class="column_wrapper clearfix" style="height:100%;">
<div class="co_column">
<a href="/templates/articlecco_cdo/aid/7357138/jewish/About-Us.htm" class="item empty" id="menu_item5-1" data-menu-level="2" data-aid="7357138">
<img src="https://w2.chabad.org/images/global/spacer.gif" width="5" height="10" alt="" border="0" class="arrow off" />
<span>About Us</span>
</a>
<a href="/templates/articlecco_cdo/aid/7357139/jewish/Calendar.htm" class="item empty" id="menu_item5-2" data-menu-level="2" data-aid="7357139">
<img src="https://w2.chabad.org/images/global/spacer.gif" width="5" height="10" alt="" border="0" class="arrow off" />
<span>Calendar</span>
</a>
<a href="/templates/articlecco_cdo/aid/6875586/jewish/Register.htm" class="item empty" id="menu_item5-3" data-menu-level="2" data-aid="6875586">
<img src="https://w2.chabad.org/images/global/spacer.gif" width="5" height="10" alt="" border="0" class="arrow off" />
<span>Register</span>
</a>
</div>
<div id="menu_child5-1" class="menu_child empty selected" style="width:174px;">
<table cellpadding="0" cellspacing="0" border="0" style="height:100%;">
<tr class="wrapper clearfix">
<td class="co_column"><div class="column_left_wrapper">
<a href="" class="child_item default" data-menu-level="3" data-aid="0"><span></span></a>
</div></td>
</tr>
</table>
</div>
<div id="menu_child5-2" class="menu_child empty" style="width:174px;">
<table cellpadding="0" cellspacing="0" border="0" style="height:100%;">
<tr class="wrapper clearfix">
<td class="co_column"><div class="column_left_wrapper">
<a href="" class="child_item default" data-menu-level="3" data-aid="0"><span></span></a>
</div></td>
</tr>
</table>
</div>
<div id="menu_child5-3" class="menu_child empty" style="width:174px;">
<table cellpadding="0" cellspacing="0" border="0" style="height:100%;">
<tr class="wrapper clearfix">
<td class="co_column"><div class="column_left_wrapper">
<a href="" class="child_item default" data-menu-level="3" data-aid="0"><span></span></a>
</div></td>
</tr>
</table>
</div>
</div>
<div class="break_floats"></div></div></div></div><span class="parent"><img src="https://w2.chabad.org/images/global/spacer.gif" width="12" height="6" border="0" vspace="2" /><div><a href="/templates/section_cdo/aid/7357137/jewish/Hebrew-School.htm" class="parent">Hebrew<br />School</a></div></span><a href="/templates/section_cdo/aid/7357137/jewish/Hebrew-School.htm" class="bg_extension js-parent-menu-link" data-aid="7357137"></a></td>
<td class="co_menu_item_divider"><img src="https://w2.chabad.org/images/global/spacer.gif" width="2" height="1" border="0" /></td>
<td class="co_menu_item donate_link" aid="0" data-menu-level="1" onmouseover="this.className += ' hover';" onmouseout="this.className = this.className.replace(/\shover/gi, '');" >
<div class="co_menu_content"><div class="co_submenu_container" style="width:auto;display:none;clip:rect(auto auto 0px auto);">
<div class="wrapper">
<div class="column_wrapper clearfix" style="height:100%;">
</div>
<div class="break_floats"></div></div></div></div><span class="parent"><div><a href="/4970020" class="parent">Donate</a></div></span><a href="/4970020" class="bg_extension js-parent-menu-link" data-aid="0"></a></td>
</tr>
</table>
</div>
</div>
<!-- END CACHE -->
				<div class="mobile-menu-bottom-links">
					
						<a href="/6546474" class="site-menu-general__link">About</a>
					
					<a href="/search">Search</a>
					
						<a href="/tools/feedback.asp">Contact</a>
					
				</div>
			</div>
		</div>
	</div>
	<div id="content">
		<div id="BodyContainer" class="wrapper">
			<div class="body_wrapper  no-hero-image clearfix">
				
	<div class="co_content_container clearfix local_content" id="co_content_container">
		<div class="clearfix">
			
			
			
			<div class="clearfix bh mobile-only align_right">ב"ה</div>
			
				<div class="master-content-wrapper g960" >
					

<header class="article-header cf ">
	
	
			<h1 class="article-header__title js-article-title js-page-title">Challah in the Park</h1>
		
			<div>
				
			</div>
		
</header>
				</div>
			
			<div class="body_wrapper clearfix co_body">
				<div class="g700" id="co_body_container">
					
					<div id="ContentBody">
						
						
							<div class="content-area-parent no_margin">
								
	<div id="cco_body">
		<div class="content g700 no_margin no_overflow" id="co_content_container">
			
			
	

	<article class="content js-content" itemscope itemtype="http://schema.org/Article">
	



<meta itemprop="mainEntityOfPage headline name" content="" />

<meta itemprop="image" content="" />


<meta itemprop="uploadDate" content="2026-06-23T14:56:01" />
<span itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
	<meta itemprop="name" content="Chabad of Yorkville" />
	<meta itemprop="brand" content="Chabad of Yorkville" />
	<span itemprop="logo" itemscope itemtype="http://schema.org/ImageObject">
		<meta itemprop="url" content="https://w2.chabad.org/media/images/1351/nZvH13518062.png" />
		<meta itemprop="height" content="150" />
		<meta itemprop="width" content="150" />
	</span>
</span>
<meta itemprop="datePublished" content="2026-06-23T14:56:01" />
			<div itemprop="articleBody">
				<co:body xmlns:co="www1.chabadonline.com/alpha1" xmlns:ext="urn:xslt-extensions">
  <div class="co_body article-body cf">
<p>
<img alt="" height="1654" src="https://w2.chabad.org/media/images/1375/OizK13754473.jpg" width="1654"></p>

</div>
</co:body>
			</div>
			

			<div class="break_floats"></div>
			
	<div class="break_floats"></div>
	

<div class="content-footer">
	
	
	
	
	
	
</div>
	</article>

		</div>
	</div>
</div>
						
						<div class="break_floats"></div>
						
					</div>
				</div>
				
				
					<div class="ads g260" id="co_ads_container">
						
	



<div class="sidebar-local-navigation cf" id="">

<meta class="js-desktop-local-nav" data-base-class="co_local_menu" />

	<div class="co_local_menu local_content js-local-nav" data-list-name="local navigation">
		
			
			&nbsp;
			
	<div id="LocalNavigationQuickLinks" class="clearfix secondary_navigation local-navigation-quick-links container padding">
		<div class="header small_bottom_padding">
			<div>Quick Links</div>
		</div>

		
				<div class="item ">
					<a href="/6546415"><span><span>Instagram Yorkville</span></span></a>
				</div>
			
				<div class="item ">
					<a href="/6644989"><span><span>Chabadyvr.com/challahbake</span></span></a>
				</div>
			
				<div class="item ">
					<a href="/tools/feedback.asp"><span><span>Contact</span></span></a>
				</div>
			
				<div class="item ">
					<a href="/tools/subscribe/default_cdo"><span><span>Subscribe</span></span></a>
				</div>
			
				<div class="item ">
					<a href="/4970020"><span><span>Donate</span></span></a>
				</div>
			
	</div>

		
	</div>
</div>


	

					</div>
				
				
			</div>
			
			
		</div>
		
		<aside class="page-tools-sidebar js-page-tools-sidebar hide_for_print">
<div class="page-tools js-page-tools-menu">
<div class="page-tools__section page-tools__section--share">
<a class="page-tools__tool js-share-popup page-tools__tool--facebook" data-share-url="https://www.facebook.com/dialog/share?app_id=188669250943&amp;display=popup&amp;href=https%3a%2f%2fwww.chabadyv.com%2ftemplates%2farticlecco_cdo%2faid%2f7408417%2fjewish%2fChallah-in-the-Park.htm%23utm_medium%3dpage_tools%26utm_content%3ddesktop%26utm_source%3dFB">
				<i class="fa fa-facebook"></i>
			</a>
<a class="page-tools__tool js-share-popup page-tools__tool--twitter" data-share-url="https://twitter.com/intent/tweet?text=Challah+in+the+Park+-+Chabad+of+Yorkville&amp;url=https%3a%2f%2fwww.chabadyv.com%2ftemplates%2farticlecco_cdo%2faid%2f7408417%2fjewish%2fChallah-in-the-Park.htm%23utm_medium%3dpage_tools%26utm_content%3ddesktop%26utm_source%3dtwitter&amp;via=Chabad">
				<i class="fa fa-twitter"></i>
			</a>
<a class="page-tools__tool js-share-popup page-tools__tool--whatsapp d-lg-none js-share-whatsapp" data-share-url="whatsapp://send?text=Challah+in+the+Park+-+Chabad+of+Yorkville https%3a%2f%2fwww.chabadyv.com%2ftemplates%2farticlecco_cdo%2faid%2f7408417%2fjewish%2fChallah-in-the-Park.htm%23utm_medium%3dpage_tools%26utm_content%3ddesktop%26utm_source%3dwhatsapp">
				<i class="fa fa-whatsapp">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" fill="#128c7e" width="1em" height="1em"><path d="M25 2C12.318 2 2 12.318 2 25c0 3.96 1.023 7.854 2.963 11.29L2.037 46.73c-.096.343-.003.711.245.966.191.197.451.304.718.304.08 0 .161-.01.24-.029l10.896-2.699C17.463 47.058 21.21 48 25 48c12.682 0 23-10.318 23-23S37.682 2 25 2zm11.57 31.116c-.492 1.362-2.852 2.605-3.986 2.772-1.018.149-2.306.213-3.72-.231-.857-.27-1.957-.628-3.366-1.229-5.923-2.526-9.791-8.415-10.087-8.804-.295-.389-2.411-3.161-2.411-6.03s1.525-4.28 2.067-4.864c.542-.584 1.181-.73 1.575-.73s.787.005 1.132.021c.363.018.85-.137 1.329 1.001.492 1.168 1.673 4.037 1.819 4.33.148.292.246.633.05 1.022s-.294.632-.59.973-.62.76-.886 1.022c-.296.291-.603.606-.259 1.19s1.529 2.493 3.285 4.039c2.255 1.986 4.158 2.602 4.748 2.894.59.292.935.243 1.279-.146.344-.39 1.476-1.703 1.869-2.286s.787-.487 1.329-.292c.542.194 3.445 1.604 4.035 1.896.59.292.984.438 1.132.681.148.242.148 1.41-.344 2.771z"/></svg>
				</i>
			</a>
<a class="page-tools__tool js-share-popup page-tools__tool--pinterest d-none d-lg-block" data-share-url="http://pinterest.com/pin/create/button/?url=https%3a%2f%2fwww.chabadyv.com%2ftemplates%2farticlecco_cdo%2faid%2f7408417%2fjewish%2fChallah-in-the-Park.htm%23utm_medium%3dpage_tools%26utm_content%3ddesktop%26utm_source%3dpinterest&amp;description=Challah+in+the+Park+-+Chabad+of+Yorkville">
				<i class="fa fa-pinterest"></i>
			</a>
<a class="page-tools__tool" onclick="showEmailLayer(this);">
<i class="fa fa-envelope"></i>
</a>
</div>
<div class="page-tools__section page-tools__section--other js-page-tool-other">
<div class="page-tools__tool popover-parent d-lg-block">
<div class="popover popover--right align_left nowrap">
<div class="popover__content">
<label class="bold bottom_margin block">
Print Options:
</label>
<form class="vcenter" name="print-form" onsubmit="coPrint(event, 6469889);return false;">
<div>
<label><input type="checkbox" name="print-green"><span title="Save paper and ink">Print without images <i class="fa fa-leaf text-green"></i></span></label>
</div>
<br/>
<div class="center">
<button class="co-button page-tools__print-button">Print</button>
</div>
</form>
</div>
</div>
<i class="fa fa-print"></i>
</div>
</div>
</div>
<div class="js-fab-wrapper fab-wrapper">
<div class="fab">
<i class="fab-icon"></i>
</div>
</div>
</aside>
<!-- END CACHE -->
	</div>

				<div class="break_floats"></div>
			</div>
		</div>
	</div>
	<div id="footer">
		
	

		<div class="wrapper body_container">
			
				<div class="g960 footer_family_text bottom_padding">
					
		<div class="footer_container footer_text copyright_text">
			<div class="bottom_padding clear_float">
				<img class="footer_hr" src="https://w2.chabad.org/images/global/spacer.gif" vspace="12" width="100%" height="1" /><br />
				
				<div class="footer_inner_container clearfix">
					

					


	<div class="footer3"><b> Chabad of Yorkville-Rosedale | (437)-667-7697 | Info@chabadyvr.com</b></div>
	<img src="https://w2.chabad.org/images/global/spacer.gif" width="1" height="6" border="0" /><br />




Powered by <a href="https://www.chabad.org/" target="_new" class="">Chabad.org</a> &copy; 1993-2026 <a href="/4026210" target="_blank" class="privacy-link">Privacy Policy</a>




					
				</div>
			</div>
		</div>
	


<div class="cs-f-social-icons">
	
			<a href="https://www.facebook.com/chabadofyorkville" class="fa fa-facebook facebook_homepage" title="Facebook"></a>
		
			<a href="https://wa.me/14376677697" class="fa fa-whatsapp whatsapp_homepage" title="Whatsapp"></a>
		
			<a href="https://www.instagram.com/chabadofyorkville/" class="fa fa-instagram instagram_homepage" title="Instagram"></a>
		
</div>
	

				</div>
			
		</div>
	</div>

	
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/os/jquery-latest.min.js?v=278824AF"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/co/dist/CoLib.js?v=AD4120C1"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/WebComponents/bundles/magen-cdo-global.js?v=3B3DA5CF"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/templates/sites6.js?v=E04072E1"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/primarynavigation.js?v=76ABCD73"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/BetaFeedback.js?v=2A22CA16"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/multimedia/infolayer.js?v=ED1B8531"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/article/comments/reply-form-controller.js?v=A6DD086C"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/commentsloader.js?v=AD6AAB79"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/subscribeprompt.js?v=86D84DC2"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/modules/pagetools.js?v=930B07AB"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/custom/deprecated.js?v=ECED4238"></script>
<script type="text/javascript" src="https://w2.chabad.org/scripts/js/OverrideJSDocumentWrite.js?v=9A0227AA"></script><script>$j = $j.fn ? $j : jQuery;$j(()=>{$q.forEach(f=>{try{f.call(window);}catch(ex){console.error(ex);}});})</script>
	

<script  language="javascript" type="text/javascript"> Co.Settings      = {CacheClassName:'js-cache-default',MosadName:'Chabad of Yorkville'}; Co.ArticleId     = '7408417';Co.SectionId     = 7408417;Co.PartnerSiteId = 0;Co.SiteId        = 12138;Co.IsMobilePage  = false;Co.IsResponsive  = false;Co.DbDomain      = 'ChabadYV.com';Co.LanguageCode  = '';Co.LoginStatus   = 'None';</script>

    
<!-- ==========================================================================
     CHABAD OF YORKVILLE-ROSEDALE — HOMEPAGE RESKIN  (paste-in version, v4)
     Block 1 = the loading cover.  Block 2 = the reskin.
     Head + footer fields: block 1 in HEAD, block 2 in FOOTER.
     One field only: paste both, in this order.

     NOTE ON THE CMS FIELD: it strips  <  >  &  and  &&  from injected code,
     so every one of those is written as \x3C \x3E \x26 or a ternary. Keep
     doing that in any edit you make, and don't use "->" in comments.
     ========================================================================== -->

<!-- ============================ 1 of 2 — LOADING COVER ======================
     The logo grows from small to full size, with the wordmark beneath it, then
     the cover fades once the reskin is on. The logo URL is repeated here on
     purpose (this block runs before the script's CONFIG exists) — keep it in
     step with CONFIG.logoUrl. background-size is deliberately NOT !important:
     the grow animation drives it, and !important would freeze it. -->
<style id="yvr-loading-css">
body.home::before{
  content:"Chabad of Yorkville" !important;
  position:fixed !important; top:0 !important; right:0 !important;
  bottom:0 !important; left:0 !important;
  z-index:2147483000 !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  padding-top:150px !important;
  background-color:#F8F7F5 !important;
  background-image:url("https://sandbox-boruch.centers.chabad.org/media/images/1385/fZBY13858464.png");
  background-repeat:no-repeat;
  background-position:center calc(50% - 60px);
  background-size:auto 128px;
  color:#504F54 !important;
  font-family:"Newsreader",Georgia,"Times New Roman",serif !important;
  font-weight:300 !important; font-size:clamp(1.25rem,1rem + 1.4vw,1.75rem) !important;
  letter-spacing:.01em !important; text-align:center !important;
  opacity:1 !important;
  transition:opacity .55s cubic-bezier(.22,.61,.36,1) !important;
  animation:yvrLogoIn 1.15s cubic-bezier(.22,.61,.36,1) both,yvrCoverFail .4s linear 10s forwards !important;
}
@keyframes yvrLogoIn{
  from{background-size:auto 34px;background-position:center calc(50% - 60px)}
  to{background-size:auto 128px;background-position:center calc(50% - 60px)}
}
@media (prefers-reduced-motion:reduce){
  body.home::before{animation:yvrCoverFail .4s linear 10s forwards !important}
}
body.home::after{
  content:"" !important;
  position:fixed !important; top:calc(50% + 118px) !important; left:50% !important;
  margin-left:-80px !important;
  width:160px !important; height:1px !important;
  z-index:2147483001 !important;
  background:linear-gradient(90deg,rgba(143,125,105,0) 0%,#8F7D69 50%,rgba(143,125,105,0) 100%) !important;
  background-size:200% 100% !important;
  opacity:1 !important;
  transition:opacity .55s cubic-bezier(.22,.61,.36,1) !important;
  animation:yvrLoadLine 1.15s ease-in-out infinite,yvrCoverFail .4s linear 10s forwards !important;
}
html.yvr-ready body.home::before,
html.yvr-ready body.home::after{
  opacity:0 !important;
  pointer-events:none !important;
}
@keyframes yvrLoadLine{0%{background-position:100% 0}100%{background-position:-100% 0}}
@keyframes yvrCoverFail{to{opacity:0;visibility:hidden}}
</style>

<!-- ============================ 1b — LENIS SMOOTH SCROLL ====================
     Boilerplate so the native scroller and Lenis don't fight. Lives in its own
     <style> because the cover stylesheet above is removed once the page is on.
     The library loads deferred; the reskin script initialises it on ready. -->
<style id="yvr-lenis-css">
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto !important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}
.lenis.lenis-scrolling iframe{pointer-events:none}
</style>


<!-- ============================ 2 of 2 — RESKIN SCRIPT ===================== -->

<script defer src="https://cdn.jsdelivr.net/npm/lenis@1/dist/lenis.min.js"></script><script>
/* ============================================================================
   CHABAD OF YORKVILLE-ROSEDALE — HOMEPAGE RESKIN
   Single-file injection script for ChabadOne CMS (default-theme.css site).

   WHAT IT DOES
     - Homepage ("/" or /default.asp[x] or body.home): the full reskin below.
     - Every other page: header/nav only (wordmark, centred nav, donate,
       recoloured mobile menu). Needs the code in a SITE-WIDE field to work.
     - Fades out the loading cover painted by block 1 once the reskin is on.
     - Rewrites the site title into the Yorkville wordmark + sub-line.
     - Recolours the theme's header (transparent over hero, white on scroll).
       The theme owns position/scroll behaviour and the mobile off-canvas menu.
     - Hero: gradient stack, per-slide zoom then cycle's slide-across, "/n"
       line break, word-by-word headline; Read More carried onto every slide.
     - Announcements: slim bar above the header (removed when the widget is empty).
     - Ongoing Programs: editorial index with icons and a desktop image stage.
     - Upcoming Events: fetched from /templates/events.htm, horizontal rail.
     - Community: bronze About band; "/f" marks where the signature starts.
     - "Follow us on Instagram" embed: section styling, bronze arrows/dots.
     - Halachic Times / Shabbat and Holidays / Daily Thought: three info columns.
     - Donate page (inner): ChabadOne donate template restyled to the palette.
     - Join our mailing list: bronze card overlapping the cream band above.
     - Footer (every page): brand + address + social + legal, in the site palette.
     - Lenis momentum scrolling (block 1b loads the library; CONFIG.smoothScroll).

   NOTES
     - Every generated rule is emitted with !important (see important()).
       Because of that, ONLY specificity between OUR OWN rules matters — the
       theme's non-important rules always lose. Watch for our generic resets
       (e.g. ".widget-4 > .wrapper") out-specifying our component rules.
     - !important beats CSS animations. Never put a static opacity/transform
       on an element that an animation is supposed to change — the animation
       will be ignored. (This is why .yvr-w has no opacity:0 any more.)
     - @keyframes are kept out of the important() pass on purpose.
   ========================================================================= */
(function () {
  "use strict";

  /* ==========================================================================
     0. CONFIG — the only part you should normally need to touch
     ====================================================================== */
  var CONFIG = {
    markName: "Chabad of Yorkville",
    markSub: "Summerhill \u00B7 Rosedale \u00B7 Yorkville",

    // Logo shown ABOVE the wordmark, top left. Upload the artwork to the media
    // library as a TRANSPARENT-background PNG (black artwork), about 400 x 320 px,
    // and paste its URL here. Over the hero it is flipped to white with a CSS
    // filter; once the header goes solid it shows as uploaded. "" = no logo.
    logoUrl: "https://sandbox-boruch.centers.chabad.org/media/images/1385/fZBY13858464.png",

    // Multiplies every rem-based size in the page body (programs, events,
    // about, info columns, mailing list, buttons, hero). 1 = as designed.
    // The header is NOT affected — it has its own knobs just below.
    typeScale: 1.5,

    // DONATE PAGE RESTYLE — switched OFF for now. Flip `enabled` to true to
    // bring back the donate CSS (CSS_DONATE) and the toggle/amount script
    // (fixDonate); nothing else changes. Everything donate-related is behind
    // this one flag, so there is nothing to un-comment.
       donate: {
      enabled: true,
      scale: 1.3,                  // type scale for the donate page only
      // text swaps applied to every text node in #donate-wrapper (the CMS
      // template is hard-wired to the old name). [] = no swaps.
      rename: [
        ["Chabad of Midtown East", "Chabad of Yorkville"],
        ["Midtown East", "Yorkville"]
      ]
    },

    // Header type sizes (desktop). Bump these if it still reads small.
    header: {
      markSize: "1.875rem",        // "Chabad of Yorkville"
      markSizeMobile: "1.25rem",
      subSize: ".75rem",           // "Summerhill · Rosedale · Yorkville"
      navSize: ".9375rem",         // ABOUT / PROGRAMS / ... and DONATE
      navGap: "clamp(14px,1.6vw,24px)"
    },

    match: {
      programs: "ongoing programs",
      announcements: "announc",      // matches "Announcements" and "Announcments"
      social: "instagram",           // the "Follow us on Instagram" widget
      community: "community",
      shabbat: "shabbat",
      dailyThought: "daily thought",
      facebook: "facebook",
      subscribe: "mailing list"
    },

    hero: {
      lineBreakToken: "/n",
      italicLastWordPerLine: true,
      // A caption with a big-tag title uses the title as the headline and the rest
      // as a lede. A caption that is plain text becomes the headline if it is
      // this many words or fewer, otherwise it is shown as a lede on its own.
      shortHeadlineWords: 9
    },

    about: {
      fontSwitchToken: "/f"
    },

    programs: {
      rotateMs: 4500                 // desktop image stage auto-advance; 0 = off
    },

    // Announcements: the widget is lifted out of the page and shown as a bar
    // ABOVE the header (title · one-line synopsis · link) with the item's image
    // as its background. First item only; the widget's own row is removed;
    // no items = no bar. Image: 2400 x 300 px JPG, subject centred — it is a
    // very wide strip cropped with background-size:cover.
    announcements: {
      defaultButton: "Learn more \u2192",
      minHeight: "72px"
    },

    // Momentum "glide" scrolling via Lenis (loaded by the deferred CDN tag in
    // block 1b). Skipped automatically for prefers-reduced-motion, and left
    // native on touch devices unless `touch` is true.
    smoothScroll: {
      enabled: true,
      everywhere: false,             // false = homepage only; true = every page
      lerp: 0.1,                     // 0.05 = floatier, 0.2 = tighter
      wheelMultiplier: 1,
      touchMultiplier: 1.5,
      touch: false
    },

    dailyThoughtMoreText: "More Jewish inspiration \u2192",

    events: {
      source: "/templates/events.htm",
      heading: "Upcoming Events",
      max: 6,
      defaultButton: "Details \x26 RSVP",
      buttonMarker: "[L]",
      assumedMinutes: 90,
      fullCalendarText: "Full calendar",
      fullCalendarUrl: ""            // "" = no "Full calendar" link under the rail
    },

    // Footer social links. Set to "" to leave whatever the CMS outputs.
    social: {
      facebook: "https://www.facebook.com/chabadofyorkville/",
      whatsapp: "https://wa.me/14376677697",
      instagram: "https://www.instagram.com/chabadofyorkville/",
      removeTwitter: true
    },

    hideTopBar: true,
    styleAlertBar: true,
    // Hebrew School icon (the aleph). Rendered as an img tinted with a CSS
    // filter, so any URL works — CSS masks would need CORS headers, which
    // the media server does not send. Set to "" to fall back to the book icon.
    alephMaskUrl: "https://sandbox-boruch.centers.chabad.org/media/images/1384/xLFR13846418.png",
    loaderMaxMs: 6000,             // failsafe: cover always lifts by now
    loaderMinMs: 1500,             // cover stays at least this long so the logo grow completes

    // Footer (every page): brand column, address, social icons, legal line.
    footer: {
      addressLabel: "Visit",
      contactLabel: "Contact",
      followLabel: "Follow"
    }
  };

  /* ==========================================================================
     1. GUARD — homepage only
     ====================================================================== */
  function isHomepage() {
    var p = (location.pathname || "/").toLowerCase().replace(/\/+$/, "");
    if (p === "" || /^\/default\.(asp|aspx)$/.test(p)) return true;
    return !!((document.body ? (document.body.className ? /(^|\s)home(\s|$)/.test(document.body.className) : document.body.className) : document.body));
  }
  // Homepage gets the full reskin. Every other page gets ONLY the header/nav
  // (body class "yvr-nav" instead of "yvr", so none of the page-body CSS lands).
  var IS_HOME = isHomepage();
  var T0 = Date.now();
  var BODY_CLASS = IS_HOME ? "yvr" : "yvr-nav";
  if (!IS_HOME) {
    var stray = document.getElementById("yvr-loading-css");
    if ((stray ? stray.parentNode : stray)) stray.parentNode.removeChild(stray);
  }

  var HTML = document.documentElement;

  /* ==========================================================================
     2. SMALL HELPERS
     ====================================================================== */
  function $(sel, root) { return (root || document).querySelector(sel); }
  function $$(sel, root) {
    return Array.prototype.slice.call((root || document).querySelectorAll(sel));
  }
  function txt(el) { return el ? (el.textContent || "").trim() : ""; }
  function el(tag, cls, html) {
    var n = document.createElement(tag);
    if (cls) n.className = cls;
    if (html != null) n.innerHTML = html;
    return n;
  }
  function on(target, evt, fn, opts) {
    if (target) target.addEventListener(evt, fn, opts || false);
  }
  function esc(s) {
    return String(s).replace(/\x26/g, "\x26amp;").replace(/\x3C/g, "\x26lt;")
                    .replace(/\x3E/g, "\x26gt;").replace(/"/g, "\x26quot;");
  }
  function imgUrlFrom(node) {
    if (!node) return "";
    if (node.tagName === "IMG") {
      var s = node.getAttribute("style") || "";
      var m = s.match(/url\((['"]?)(.*?)\1\)/i);
      if ((m ? m[2] : m)) return m[2];
      if (node.getAttribute("src")) return node.getAttribute("src");
    }
    var cs = "";
    try { cs = getComputedStyle(node).backgroundImage; } catch (e) {}
    var m2 = (cs ? cs.match(/url\((['"]?)(.*?)\1\)/i) : cs);
    return m2 ? m2[2] : "";
  }

  function important(css) {
    var stash = [];
    css = css.replace(/url\((?:'[^']*'|"[^"]*"|[^)]*)\)/g, function (m) {
      stash.push(m);
      return "\u0001" + (stash.length - 1) + "\u0001";
    });
    css = css.replace(
      /([a-zA-Z-][a-zA-Z0-9-]*\s*:\s*[^;{}]+?)\s*(?:!important)?\s*(?=[;}])/g,
      "$1 !important"
    );
    return css.replace(/\u0001(\d+)\u0001/g, function (m, i) { return stash[+i]; });
  }

  function addStyle(css, id) {
    var s = document.createElement("style");
    s.type = "text/css";
    if (id) s.id = id;
    s.appendChild(document.createTextNode(css));
    (document.head || HTML).appendChild(s);
    return s;
  }

  function addFonts() {
    var l = document.createElement("link");
    l.rel = "stylesheet";
    l.href = "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital," +
             "wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600" +
             "\x26family=Newsreader:ital,opsz,wght@0,6..72,200..600;1,6..72,200..600" +
             "\x26family=Instrument+Sans:wght@400;500;600\x26display=swap";
    (document.head || HTML).appendChild(l);
  }

  /* ==========================================================================
     3. ICONS (injected SVG)
     ====================================================================== */
  var ICON = {
    programs: '\x3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.15"\x3E' +
      '\x3Ccircle cx="9" cy="12" r="6.4"/\x3E' +
      '\x3Ccircle cx="15" cy="12" r="6.4" fill="var(--yvr-a)" fill-opacity=".9" stroke="none"/\x3E' +
      '\x3Ccircle cx="15" cy="12" r="6.4"/\x3E' +
      '\x3Ccircle cx="12" cy="12" r="2.2" fill="var(--yvr-b)" stroke="none"/\x3E\x3C/svg\x3E',

    about: '\x3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.15"\x3E' +
      '\x3Ccircle cx="5.2" cy="10.4" r="2.3" fill="var(--yvr-a)" stroke="none"/\x3E' +
      '\x3Cpath d="M1.4 19.6c0-2.3 1.7-4.1 3.8-4.1s3.8 1.8 3.8 4.1" fill="var(--yvr-a)" stroke="none"/\x3E' +
      '\x3Ccircle cx="18.8" cy="10.4" r="2.3" fill="var(--yvr-b)" stroke="none"/\x3E' +
      '\x3Cpath d="M15 19.6c0-2.3 1.7-4.1 3.8-4.1s3.8 1.8 3.8 4.1" fill="var(--yvr-b)" stroke="none"/\x3E' +
      '\x3Ccircle cx="12" cy="8.2" r="2.9"/\x3E' +
      '\x3Cpath d="M6.6 20.2c0-3 2.4-5.4 5.4-5.4s5.4 2.4 5.4 5.4"/\x3E\x3C/svg\x3E',

    shul: '\x3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.15"\x3E' +
      '\x3Cpath d="M4 21.2V11.4a8 8 0 0 1 16 0v9.8"/\x3E\x3Cpath d="M1.8 21.2h20.4"/\x3E' +
      '\x3Cpath d="M12 7.6l2.45 4.25h-4.9L12 7.6z" fill="var(--yvr-a)" stroke="none"/\x3E' +
      '\x3Cpath d="M12 16.1l-2.45-4.25h4.9L12 16.1z" fill="var(--yvr-b)" stroke="none"/\x3E\x3C/svg\x3E',

    school: CONFIG.alephMaskUrl
      ? '\x3Cimg class="yvr-aleph" alt="" src="' + CONFIG.alephMaskUrl + '"\x3E'
      : '\x3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.15"\x3E' +
        '\x3Cpath d="M12 6.6c-2.1-1.6-5-2.3-8.4-2.1v13.9c3.4-.2 6.3.5 8.4 2.1"/\x3E' +
        '\x3Cpath d="M12 6.6c2.1-1.6 5-2.3 8.4-2.1v13.9c-3.4-.2-6.3.5-8.4 2.1" fill="var(--yvr-a)" stroke="none"/\x3E' +
        '\x3Cpath d="M12 6.6c2.1-1.6 5-2.3 8.4-2.1v13.9c-3.4-.2-6.3.5-8.4 2.1"/\x3E\x3C/svg\x3E',

    adult: '\x3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.15"\x3E' +
      '\x3Cpath d="M12 6.6c-2.1-1.6-5-2.3-8.4-2.1v13.9c3.4-.2 6.3.5 8.4 2.1"/\x3E' +
      '\x3Cpath d="M12 6.6c2.1-1.6 5-2.3 8.4-2.1v13.9c-3.4-.2-6.3.5-8.4 2.1" fill="var(--yvr-a)" fill-opacity=".9" stroke="none"/\x3E' +
      '\x3Cpath d="M12 6.6c2.1-1.6 5-2.3 8.4-2.1v13.9c-3.4-.2-6.3.5-8.4 2.1"/\x3E' +
      '\x3Cpath d="M12 6.6v13.9" stroke="var(--yvr-b)"/\x3E\x3C/svg\x3E',

    events: '\x3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.15"\x3E' +
      '\x3Crect x="2.4" y="4.6" width="19.2" height="16.2" rx="1.3"/\x3E' +
      '\x3Cpath d="M2.4 9.4h19.2M7.2 2.4V6M16.8 2.4V6"/\x3E' +
      '\x3Crect x="5.6" y="11.9" width="4.1" height="3.2" rx=".5" fill="var(--yvr-a)" stroke="none"/\x3E' +
      '\x3Crect x="11.6" y="16.1" width="4.1" height="3.2" rx=".5" fill="var(--yvr-b)" stroke="none"/\x3E\x3C/svg\x3E',

    social: '\x3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.15"\x3E' +
      '\x3Crect x="3.2" y="3.2" width="17.6" height="17.6" rx="4.6"/\x3E' +
      '\x3Ccircle cx="12" cy="12" r="4.2" fill="var(--yvr-a)" fill-opacity=".9" stroke="none"/\x3E' +
      '\x3Ccircle cx="12" cy="12" r="4.2"/\x3E' +
      '\x3Ccircle cx="17" cy="7" r="1.1" fill="var(--yvr-b)" stroke="none"/\x3E\x3C/svg\x3E',

    cal: '\x3Csvg viewBox="0 0 16 16" fill="none" aria-hidden="true"\x3E' +
      '\x3Crect x="1.6" y="3" width="12.8" height="11.4" stroke="currentColor" stroke-width="1.1"/\x3E' +
      '\x3Cpath d="M1.6 6.4h12.8M5 1.6V4M11 1.6V4" stroke="currentColor" stroke-width="1.1"/\x3E\x3C/svg\x3E',

    chevL: '\x3Csvg viewBox="0 0 16 16" fill="none" aria-hidden="true"\x3E' +
      '\x3Cpath d="M10 2L4 8l6 6" stroke="currentColor" stroke-width="1.2"/\x3E\x3C/svg\x3E',
    chevR: '\x3Csvg viewBox="0 0 16 16" fill="none" aria-hidden="true"\x3E' +
      '\x3Cpath d="M6 2l6 6-6 6" stroke="currentColor" stroke-width="1.2"/\x3E\x3C/svg\x3E',

    kosher: '\x3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.15"\x3E' +
      '\x3Cpath d="M6.6 3.6h10.8l-1.15 7.1a4.3 4.3 0 0 1-8.5 0L6.6 3.6z"/\x3E' +
      '\x3Cpath d="M7.35 7.4h9.3l-.6 3.3a4.3 4.3 0 0 1-8.1 0l-.6-3.3z" fill="var(--yvr-a)" stroke="none"/\x3E' +
      '\x3Cpath d="M12 15.4v4.6"/\x3E\x3Cpath d="M8.7 20.4h6.6" stroke="var(--yvr-b)"/\x3E\x3C/svg\x3E'
  };

  // Plain keyword matching on purpose: the CMS strips chained regex-method calls.
  var PROG_ICONS = [
    { keys: ["synagogue", "shul", "service"], icon: ICON.shul, cls: "pi--shul" },
    { keys: ["hebrew school", "cheder"], icon: ICON.school, cls: "pi--school" },
    { keys: ["adult", "learning", "torah stud"], icon: ICON.adult, cls: "pi--adult" },
    { keys: ["kosher", "food", "dining"], icon: ICON.kosher, cls: "pi--kosher" }
  ];

  function iconForProgram(title, index) {
    var t = String(title || "").toLowerCase();
    for (var a = 0; PROG_ICONS.length > a; a++) {
      var keys = PROG_ICONS[a].keys;
      for (var b = 0; keys.length > b; b++) {
        if (t.indexOf(keys[b]) !== -1) return PROG_ICONS[a];
      }
    }
    return PROG_ICONS[index] || PROG_ICONS[0];
  }

  var ARROW_SVG_URI =
    "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E" +
    "%3Cpath d='M2 8h12M9 3l5 5-5 5' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E";

  var NOISE_URI =
    "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E" +
    "%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E" +
    "%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E";

  /* ==========================================================================
     4. CSS
     ====================================================================== */

  /* --- 4a. keyframes + reduced motion: NOT run through important() -------- */
  var CSS_RAW = [
    "@keyframes yvrZoom{from{transform:scale(1)}to{transform:scale(1.08)}}",
    "@keyframes yvrSlideFade{from{opacity:0}to{opacity:1}}",
    "@keyframes yvrZoomSlow{from{transform:scale(1)}to{transform:scale(1.09)}}",
    "@keyframes yvrWordIn{from{opacity:0;transform:translateY(.44em)}to{opacity:1;transform:none}}",
    "@keyframes yvrFadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}",
    "@media (prefers-reduced-motion:reduce){",
    "  .yvr .yvr-hero .slide_wrapper img,.yvr .yvr-hero .slide_wrapper,.yvr .yvr-about-zoom{animation:none !important}",
    "  .yvr .yvr-w,.yvr .rise,.yvr .rise-left,.yvr .rise-expand{",
    "    opacity:1 !important;transform:none !important;animation:none !important}",
    "}"
  ].join("\n");

  /* --- 4a2. THEME OVERRIDES ------------------------------------------------
     Mirror the long selector paths in default-theme.css / widget-styles.css so
     our rules land on the same elements. Written first: our own component
     rules further down should beat these on a tie.
     ----------------------------------------------------------------------- */
  var CSS_THEME = [
    /* section bands */
    "body.yvr .hp-table \x3E *{background:none}",
    "body.yvr .hp-row{padding:0}",
    "body.yvr .hp-table .hp-row-first{background:none;padding:0}",
    "body.yvr .promo_slider{background:none}",

    /* hero: theme makes an aspect-ratio box and multiply-blends the photo grey */
    "body.yvr .hp-table .hp-row-first .promo_slider .slider{height:100%;min-height:0;border:0}",
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .slides{",
    "  height:100%;width:100%;padding-top:0}",
    /* crossfade: the theme runs jquery.cycle with a horizontal slide. Pinning
       `left` cancels the slide, and .slide_wrapper below fades each incoming
       slide in over the outgoing one for the same 500ms cycle takes to swap. */
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .slides{background:var(--yvr-ink)}",
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .slides .slide_wrapper{",
    "  height:100%;width:100%;top:0;left:0;background-color:transparent}",
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .slides .slide_wrapper a{",
    "  background-color:transparent;background-blend-mode:normal}",
    /* some slides wrap the img in a link, some do not — target the img either way */
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .slides .slide_wrapper img{",
    "  mix-blend-mode:normal;background-color:transparent;position:absolute;top:0;left:0}",
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .cycle-caption{",
    "  position:absolute;top:auto;bottom:0;left:0;transform:none;height:auto;",
    "  width:100%;max-width:none;margin:0;padding:0 0 clamp(44px,7vw,96px);pointer-events:auto}",
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .cycle-caption p{",
    "  max-width:var(--yvr-shell);margin:0 auto;padding:0 var(--yvr-gutter);",
    "  font-size:inherit;line-height:inherit;text-align:inherit;color:#fff}",
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .cycle-caption big{",
    "  font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;",
    "  padding-top:0;left:auto;transform:none;max-width:none;display:inline}",
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .cycle-caption .readMore{",
    "  font-family:var(--yvr-sans);font-size:calc(.6875rem + 2px);letter-spacing:.22em;",
    "  border:1px solid #fff;background:#fff;color:#504F54;padding:0 36px;",
    "  min-height:50px;min-width:200px;margin-top:clamp(24px,3.5vw,40px)}",

    /* three info columns */
    "body.yvr .hp_content_wrapper{display:block;text-align:left;justify-content:normal}",
    "body.yvr .hp_content_wrapper .g320{margin:0;width:auto}",
    "body.yvr .hp_content_wrapper .g320:nth-child(2):before,",
    "body.yvr .hp_content_wrapper .g320:nth-child(2):after{display:none}",
    "body.yvr .hp_content_wrapper [class*=widget-] .widget_header{text-align:left}",
    "body.yvr .hp_content_wrapper [class*=widget-] .widget_header h5{",
    "  text-align:left;margin-bottom:26px;letter-spacing:-.01em;line-height:1.2}",
    "body.yvr .chabad_updates .widget_header.widget_header h5,",
    "body.yvr [class*=widget-] .widget_header.widget_header h5{",
    "  color:var(--yvr-ink);text-align:left;text-transform:none;letter-spacing:-.015em;",
    "  font-family:var(--yvr-display);font-weight:300;margin-bottom:0}",

    /* candle lighting block */
    "body.yvr .hp_content_wrapper [class*=widget-].candlelighting .candlelighting_content .candlelighting_heading .section_heading{",
    "  font-family:var(--yvr-sans);font-size:.625rem;letter-spacing:.18em;text-transform:uppercase;",
    "  color:var(--yvr-silver);font-weight:400;margin-bottom:4px}",
    "body.yvr .hp_content_wrapper [class*=widget-].candlelighting .candlelighting_content .candlelighting_heading .section_subheading{",
    "  font-size:.8125rem;color:rgba(80,79,84,.72);font-weight:400;margin-bottom:18px}",
    "body.yvr .hp_content_wrapper [class*=widget-].candlelighting .candlelighting_content .times_wrapper .when_to_light{",
    "  font-family:var(--yvr-sans);font-size:.625rem;letter-spacing:.18em;color:var(--yvr-silver);margin-top:0}",
    "body.yvr .hp_content_wrapper [class*=widget-].candlelighting .candlelighting_content .times_wrapper .bold.large{",
    "  font-family:var(--yvr-display);font-size:1.25rem;font-weight:300;color:var(--yvr-bronze-deep)}",
    "body.yvr .hp_content_wrapper [class*=widget-].candlelighting .candlelighting_content .times_wrapper .float_left{",
    "  text-align:left;float:none}",
    "body.yvr .hp_content_wrapper [class*=widget-].candlelighting .parsha_content .bold.large{",
    "  font-family:var(--yvr-display);font-size:1.125rem;font-weight:300;color:var(--yvr-bronze-deep)}",
    "body.yvr .hp_content_wrapper .chabad_updates .item a.readMore:after{content:none}",

    /* mailing list band + form */
    "body.yvr .hp-table .hp_subscribe{background:var(--yvr-ink)}",
    "body.yvr .hp_subscribe .wrapper{max-width:none;text-align:left}",
    "body.yvr .hp_subscribe .wrapper .widget_header h5{color:#fff;text-align:left}",
    "body.yvr .hp_subscribe .wrapper #formContainer fieldset input{",
    "  display:block;width:100%;height:60px;margin:0;padding:0 20px;background:#fff;",
    "  border:1px solid transparent;border-radius:2px;color:var(--yvr-ink);",
    "  font-family:var(--yvr-sans);font-size:1.125rem;text-transform:none;font-weight:400}",
    "body.yvr .hp_subscribe .wrapper #formContainer fieldset input#Email{width:100%}",
    "body.yvr .hp_subscribe .wrapper #formContainer fieldset input[type=submit]{",
    "  background-color:var(--yvr-ink);border:0;color:#fff;letter-spacing:.16em;",
    "  font-size:.8125rem;font-weight:600;text-align:left;padding:0 52px 0 26px}",
    "@media (min-width:860px){",
    "  body.yvr .hp_subscribe .wrapper #formContainer fieldset input{width:100%}",
    "  body.yvr .hp_subscribe .wrapper #formContainer fieldset input[type=submit]{width:auto;min-width:190px}",
    "}"
  ].join("\n");

  /* --- 4a3. THEME OVERRIDES — header. Kept separate so CONFIG.typeScale does
     not touch it (the header has its own size knobs in CONFIG.header). ------ */
  var CSS_THEME_HEADER = [
    /* header: the theme reaches these through #tabContentMain, so we must too.
       Colours here inherit from #header (white over hero, ink once solid). */
    "body.yvr .branding-search #header_branding .site_title{",
    "  color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;",
    "  text-transform:none;line-height:1;display:flex;overflow:visible}",
    "body.yvr .branding-search #header_branding .site_title .site_subtitle{display:none}",
    /* the live site ships its own 100px logo circle next to the title — ours
       replaces it, so it goes */
    "body.yvr #header_branding .site-logo-wrapper{display:none}",
    "body.yvr #header_branding{display:flex;align-items:center;gap:0}",
    "body.yvr .mosad_sitewide_alert{height:auto;border:0;display:block}",
    "body.yvr #tabContentMain .co_menu_item span.parent div{padding:0;font-weight:500}",
    "body.yvr #tabContentMain .co_menu_item span.parent a,",
    "body.yvr #tabContentMain .co_menu_item.hover span.parent a{",
    "  font-family:var(--yvr-sans);font-size:" + CONFIG.header.navSize + ";letter-spacing:.16em;",
    "  text-transform:uppercase;font-weight:500;color:rgba(255,255,255,.86);",
    "  padding:6px 0;border:0}",
    "body.yvr #header.yvr-solid #tabContentMain .co_menu_item span.parent a,",
    "body.yvr #header.on-scroll #tabContentMain .co_menu_item span.parent a{color:var(--yvr-ink)}",
    /* the theme's empty a.bg_extension (a full-cell hit area) was picking up the
       donate box styling — it's the stray outline you saw. Hide it outright. */
    "body.yvr #tabContentMain .co_menu_item a.bg_extension{display:none}",
    "body.yvr #tabContentMain .co_menu_item.donate_link{padding:0}",
    "body.yvr #tabContentMain .co_menu_item.donate_link a.parent{",
    "  border:2px solid rgba(255,255,255,.55);color:#fff;padding:0 22px;min-height:48px;",
    "  display:inline-flex;align-items:center;font-weight:500}",
    "body.yvr #header.yvr-solid #tabContentMain .co_menu_item.donate_link a.parent,",
    "body.yvr #header.on-scroll #tabContentMain .co_menu_item.donate_link a.parent{",
    "  border-color:var(--yvr-hair);color:var(--yvr-ink)}",
    "body.yvr #tabContentMain .co_menu_item.selected a.parent:after{display:none}",
    "body.yvr #tabContentMain .co_menu_item_divider{display:none}",
    /* desktop: the theme makes the row display:block and nudges it right:-13px;
       we want a centred flex row (donate is lifted out of it in fixHeader) */
    "@media (min-width:1025px){",
    "  body.yvr #header #tabContentMain{display:flex;align-items:stretch;justify-content:center;",
    "    width:auto;right:0;position:static;height:var(--yvr-headh)}",
    "  body.yvr #tabContentMain td.co_menu_item{display:flex;align-items:center;height:var(--yvr-headh);top:0}",
    /* the theme's span.parent / div wrappers don't fill the cell, which left the
       link text sitting at the top — make them full-height flex boxes */
    "  body.yvr #tabContentMain td.co_menu_item span.parent,",
    "  body.yvr #tabContentMain td.co_menu_item span.parent div{",
    "    display:flex;align-items:center;height:100%;margin:0;padding:0;line-height:1}",
    "  body.yvr #tabContentMain td.co_menu_item.home,body.yvr #tabContentMain td.co_menu_item_divider,",
    "  body.yvr #tabContentMain td.co_menu_item.donate_link{display:none}",
    /* the theme parks the dropdown 70px down a 130px-tall cell. Our cells are
       shorter, so there was a dead strip between link and menu — moving the
       pointer across it fired mouseout and the menu closed. Cells are now full
       header height and the dropdown starts exactly where the cell ends. */
    "  body.yvr #tabContentMain .co_menu_item .co_menu_content{top:100%;margin-top:0;padding-top:0}",
    "  body.yvr #tabContentMain .co_menu_item.multi_level:before,",
    "  body.yvr #tabContentMain .co_menu_item.multi_level:after{display:none}",
    "  body.yvr #tabContentMain .co_menu_item.multi_level .co_submenu_container{top:0;border-top:1px solid var(--yvr-hair-soft)}",
    "}",
    /* the theme styles the SPAN inside submenu links separately (12px, its own
       colour, own padding) — make it inherit from the link we style */
    "body.yvr #tabContentMain .co_menu_item.arrow .co_submenu_container a.item span,",
    "body.yvr #tabContentMain .co_submenu_container .co_column a span,",
    "body.yvr #tabContentMain .co_menu_content .co_submenu_container .co_column a span{",
    "  color:inherit;font-size:inherit;font-family:inherit;padding:0;line-height:inherit}",
    "body.yvr #tabContentMain .co_menu_item.multi_level .co_submenu_container a.item.hover span,",
    "body.yvr #tabContentMain .co_menu_item.multi_level .co_submenu_container a.item:hover span{color:inherit}"
  ].join("\n");

  /* --- 4b. tokens (shared by the homepage and the nav-only inner pages) ---- */
  var CSS_TOKENS = [
    ":root{",
    "  --yvr-ink:#504F54;",
    "  --yvr-bronze:#8F7D69;",
    "  --yvr-bronze-deep:#6E5F4E;",
    "  --yvr-silver:#736F78;",
    "  --yvr-paper:#FFFFFF;",
    "  --yvr-warm:#F8F7F5;",
    "  --yvr-hair:rgba(80,79,84,.16);",
    "  --yvr-hair-soft:rgba(80,79,84,.09);",
    "  --yvr-hair-light:rgba(255,255,255,.28);",
    "  --yvr-display:\"Newsreader\",Georgia,\"Times New Roman\",serif;",
    "  --yvr-sans:\"Instrument Sans\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",Helvetica,Arial,sans-serif;",
    "  --yvr-hero-face:\"Cormorant Garamond\",Georgia,serif;",
    "  --yvr-gutter:20px;",
    "  --yvr-shell:1240px;",
    "  --yvr-sec:clamp(60px,7vw,96px);",
    "  --yvr-ease:cubic-bezier(.22,.61,.36,1);",
    "  --yvr-headh:72px;",
    "}",
    "@media (min-width:600px){:root{--yvr-gutter:32px}}",
    "@media (min-width:1024px){:root{--yvr-gutter:48px;--yvr-headh:88px}}",
    "html.yvr-has-logo{--yvr-headh:100px}",
    "@media (min-width:1025px){html.yvr-has-logo{--yvr-headh:124px}}"
  ].join("\n");

  /* --- 4b1. footer (every page) ------------------------------------------- */
  var CSS_FOOTER = [
    "body.yvr #footer{position:relative;margin:0;background:var(--yvr-ink);color:rgba(255,255,255,.72);",
    "  font-family:var(--yvr-sans);font-size:1rem;line-height:1.65;",
    "  padding:clamp(52px,6.5vw,88px) 0 clamp(26px,3vw,40px);border-top:1px solid rgba(255,255,255,.08)}",
    "body.yvr #footer::before{display:none}",
    "body.yvr #footer .yvr-foot-grid{display:grid;gap:clamp(30px,4vw,52px);align-items:start}",
    "body.yvr #footer .yvr-foot-brand{display:grid;gap:8px;justify-items:start}",
    "body.yvr #footer .yvr-foot-logo{display:block;height:50px;width:50px;max-width:none;object-fit:contain;",
    "  margin:0 0 8px;filter:brightness(0) invert(1);opacity:.94}",
    "body.yvr #footer .yvr-foot-name{font-family:var(--yvr-display);font-size:1.75rem;font-weight:300;",
    "  letter-spacing:-.01em;line-height:1.1;color:#fff}",
    "body.yvr #footer .yvr-foot-sub{font-size:.625rem;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.55)}",
    "body.yvr #footer .yvr-foot-label{display:block;font-size:.625rem;letter-spacing:.2em;text-transform:uppercase;",
    "  font-weight:500;color:rgba(255,255,255,.5);margin:0 0 12px}",
    "body.yvr #footer .yvr-foot-address{font-size:.9375rem;line-height:1.7;color:rgba(255,255,255,.78)}",
    "body.yvr #footer .yvr-foot-address span{display:block}",
    "body.yvr #footer .yvr-foot-address a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.22)}",
    "body.yvr #footer .yvr-foot-address a:hover{color:#fff;border-color:#fff}",
    "body.yvr #footer .yvr-foot-address + .yvr-foot-label{margin-top:22px}",
    "body.yvr #footer .yvr-foot-address span::after{content:none}",
    "body.yvr #footer .yvr-foot-social{display:flex;gap:10px;margin:0;text-align:left}",
    "body.yvr #footer .yvr-foot-social a{width:46px;height:46px;border:1px solid rgba(255,255,255,.28);border-radius:50%;",
    "  display:grid;place-items:center;background:none;color:#fff;margin:0;padding:0;font-size:16px;line-height:1;",
    "  transition:background .35s var(--yvr-ease),border-color .35s var(--yvr-ease)}",
    "body.yvr #footer .yvr-foot-social a:hover{background:var(--yvr-bronze);border-color:var(--yvr-bronze);color:#fff}",
    "body.yvr #footer .yvr-foot-legal{margin-top:clamp(34px,4.5vw,60px);padding-top:22px;",
    "  border-top:1px solid rgba(255,255,255,.12);display:flex;flex-wrap:wrap;gap:8px 26px;",
    "  font-size:.6875rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.5)}",
    "body.yvr #footer .yvr-foot-legal a{color:rgba(255,255,255,.78);text-decoration:none;",
    "  border-bottom:1px solid rgba(255,255,255,.22);transition:color .3s var(--yvr-ease),border-color .3s var(--yvr-ease)}",
    "body.yvr #footer .yvr-foot-legal a:hover{color:#fff;border-color:#fff}",
    "@media (min-width:860px){",
    "  body.yvr #footer .yvr-foot-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto}",
    "  body.yvr #footer .yvr-foot-social{justify-content:flex-end}",
    "}"
  ].join("\n");

  /* --- 4b2. base (homepage only) ------------------------------------------ */
  var CSS_BASE = [
    "body.yvr{font-family:var(--yvr-sans);color:var(--yvr-ink);background:var(--yvr-paper);",
    "  font-size:1rem;line-height:1.65;-webkit-font-smoothing:antialiased}",
    "body.yvr{overflow-x:clip}",
    "body.yvr #content,body.yvr #BodyContainer,body.yvr .body_wrapper,body.yvr .main,",
    "body.yvr .g960,body.yvr .hp-table,body.yvr .hp-row{overflow:visible}",
    "body.yvr a{color:inherit;text-decoration:none}",
    "body.yvr img{max-width:100%}",
    "body.yvr :focus-visible{outline:2px solid var(--yvr-bronze);outline-offset:3px}",
    "body.yvr ::selection{background:rgba(143,125,105,.22)}",
    "body.yvr #BodyContainer,body.yvr .body_wrapper,body.yvr .main,body.yvr .g960,",
    "body.yvr .hp-table,body.yvr .hp-row{max-width:none;width:auto;margin:0;padding:0;float:none;background:none}",
    "body.yvr .hp-row{display:block}",
    "body.yvr #content{padding:0;margin:0}",
    /* widget-styles.css gives every .vNNN widget a FIXED height (v380 = 365px),
       and sets Arial 12px/17px on it. Reset all of that or sections overlap. */
    "body.yvr .widget-4{margin:0;padding:0;border:0;background:none;float:none;width:auto;",
    "  height:auto;min-height:0;font-family:var(--yvr-sans);font-size:1rem;line-height:1.65}",
    "body.yvr .widget-4 \x3E .wrapper{max-width:none;width:auto;margin:0;padding:0;border:0;",
    "  background:none;box-shadow:none;height:auto;overflow:visible}",
    "body.yvr .widget_content{height:auto;max-height:none;overflow:visible;padding:0;margin:0}",
    "body.yvr .enscroll-track,body.yvr .scrollable_track,body.yvr .scrollable_handle{display:none}",

    ".yvr-bleed{position:relative;width:auto;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}",
    ".yvr-shell{width:100%;max-width:var(--yvr-shell);margin-left:auto;margin-right:auto;",
    "  padding-left:var(--yvr-gutter);padding-right:var(--yvr-gutter);box-sizing:border-box}",
    ".yvr *,.yvr *::before,.yvr *::after{box-sizing:border-box}",
    /* default-theme.css sets font-family:Muli on em/strong/b/i/span etc. — inside
       our typeset blocks everything inherits the block's face instead */
    "body.yvr .yvr-h1 *,body.yvr .yvr-lede *,body.yvr .yvr-about-sign *,body.yvr .yvr-about-copy h2 *,",
    "body.yvr .yvr-prog-title *,body.yvr .yvr-prog-desc *,body.yvr .yvr-ev-title *,body.yvr .yvr-ev-desc *,",
    "body.yvr .yvr-info-col .daily_thought .body *,body.yvr .yvr-sub-card .widget_header h5 *,",
    "body.yvr .widget_header h5 *{font-family:inherit}",

    ".yvr .yvr-eyebrow{font-size:.6875rem;letter-spacing:.2em;text-transform:uppercase;",
    "  font-weight:500;color:var(--yvr-bronze);line-height:1.4}",
    ".yvr .yvr-display{font-family:var(--yvr-display);font-weight:300;letter-spacing:-.015em;line-height:1.06}",
    ".yvr h2.yvr-display{font-size:clamp(1.75rem,1.35rem + 1.9vw,2.75rem);line-height:1.12}",
    ".yvr .yvr-lede{font-family:var(--yvr-display);font-size:clamp(1.0625rem,.98rem + .5vw,1.3125rem);",
    "  font-weight:300;line-height:1.62}",

    ".yvr .yvr-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;",
    "  min-height:52px;padding:0 26px;font-family:var(--yvr-sans);font-size:.6875rem;font-weight:500;",
    "  letter-spacing:.16em;text-transform:uppercase;border-radius:2px;border:1px solid transparent;",
    "  transition:background .35s var(--yvr-ease),color .35s var(--yvr-ease),border-color .35s var(--yvr-ease)}",
    ".yvr .yvr-btn--ghost{border-color:var(--yvr-hair);color:var(--yvr-ink);background:none}",
    ".yvr .yvr-btn--ghost:hover{border-color:var(--yvr-ink);background:var(--yvr-ink);color:#fff}",
    ".yvr .yvr-btn--outline-light{border-color:var(--yvr-hair-light);color:#fff;background:none}",
    ".yvr .yvr-btn--outline-light:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.6)}",
    ".yvr .yvr-btn--sm{min-height:44px;padding:0 18px}",

    ".yvr .yvr-sicon{display:inline-flex;flex:0 0 auto;color:rgba(80,79,84,.7);",
    "  width:clamp(36px,3.4vw,48px);height:clamp(36px,3.4vw,48px)}",
    ".yvr .yvr-sicon svg{width:100%;height:100%;stroke-linecap:round;stroke-linejoin:round}",
    ".yvr .si--programs{--yvr-a:#8F7D69;--yvr-b:#5F7386}",
    ".yvr .si--about{--yvr-a:#F0E7DC;--yvr-b:#3F4A57}",
    ".yvr .yvr-head-row{display:flex;align-items:center;gap:clamp(12px,1.2vw,18px)}",

    ".yvr .rise{opacity:0;transform:translateY(14px);",
    "  transition:opacity .9s var(--yvr-ease),transform .9s var(--yvr-ease)}",
    ".yvr .rise.is-in{opacity:1;transform:none}",
    ".yvr .rise[data-d=\"1\"]{transition-delay:.08s}",
    ".yvr .rise[data-d=\"2\"]{transition-delay:.16s}",
    ".yvr .rise[data-d=\"3\"]{transition-delay:.24s}",
    ".yvr .rise-left{opacity:0;transform:translateX(-32px);",
    "  transition:opacity 1.05s var(--yvr-ease),transform 1.05s var(--yvr-ease)}",
    ".yvr .rise-left.is-in{opacity:1;transform:none}"
  ].join("\n");

  /* --- 4c. header / nav --------------------------------------------------- */
  var CSS_HEADER = [
    "body.yvr #feedback_bar,body.yvr #PrintCreditHeader{display:none}",

    "body.yvr .mosad_sitewide_alert{position:relative;z-index:61;background:var(--yvr-ink);color:#fff;",
    "  font-family:var(--yvr-sans);font-size:.75rem;letter-spacing:.06em;padding:9px var(--yvr-gutter);",
    "  text-align:center;border:0;margin:0}",
    "body.yvr .mosad_sitewide_alert a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}",
    "body.yvr .mosad_sitewide_alert .close{filter:invert(1);opacity:.7}",

    /* theme positions #header absolutely over the hero and flips it to fixed
       with .on-scroll — we only recolour. `color` here is inherited by the
       wordmark (site_title has color:inherit in CSS_THEME). */
    "body.yvr #header{z-index:100;background:transparent;color:#fff;border:0;box-shadow:none;",
    "  border-bottom:1px solid transparent;",
    "  transition:background .45s var(--yvr-ease),border-color .45s var(--yvr-ease),color .45s var(--yvr-ease);",
    "  height:auto;float:none}",
    "body.yvr #header .header-wrapper{display:flex;align-items:center;justify-content:space-between;",
    "  gap:24px;width:100%;max-width:var(--yvr-shell);margin:0 auto;",
    "  padding-left:var(--yvr-gutter);padding-right:var(--yvr-gutter);height:var(--yvr-headh);",
    "  background:none;box-shadow:none;float:none;position:static}",
    /* desktop: wordmark | nav centred in the remaining space | donate at the edge.
       grid-area:auto cancels the theme's named areas (a/b/c) on the children. */
    "@media (min-width:1025px){",
    "  body.yvr #header .header-wrapper{display:grid;grid-template-columns:auto minmax(0,1fr) auto;",
    "    gap:clamp(24px,3vw,48px)}",
    "  body.yvr #header .header-wrapper \x3E *{grid-area:auto}",
    "}",
    /* the top bar (Language / Ask the Rabbi / Subscribe / Contact / Search):
       hide the whole container, otherwise its empty box + flex gap pushes the
       wordmark off the shell edge */
    (CONFIG.hideTopBar
      ? "body.yvr #header_container,body.yvr #header_container .links{display:none}"
      : "body.yvr #header_container{flex:0 0 auto;width:auto;margin:0;padding:0;float:none;background:none;position:static}"),
    "body.yvr #header .branding-search{margin:0;padding:0;float:none}",
    "body.yvr #header_branding{margin:0;padding:0;float:none;width:auto;background:none;height:auto}",

    "body.yvr .yvr-mark{display:flex;flex-direction:column;gap:3px;line-height:1;",
    "  text-indent:0;background:none;width:auto;height:auto;text-decoration:none;overflow:visible}",
    /* logo sits centred above the wordmark, so the whole stack is centre-aligned */
    "body.yvr .yvr-mark{gap:5px;align-items:center;text-align:center}",
    "body.yvr .yvr-mark-logo{display:block;height:50px;width:50px;max-width:none;object-fit:contain;",
    "  margin:0 0 4px;filter:brightness(0) invert(1);transition:filter .45s var(--yvr-ease)}",
    "body.yvr #header.yvr-solid .yvr-mark-logo,body.yvr #header.on-scroll .yvr-mark-logo{filter:none}",
    "body.yvr .yvr-mark-name{font-family:var(--yvr-display);font-size:" + CONFIG.header.markSizeMobile + ";",
    "  font-weight:400;letter-spacing:.005em;line-height:1}",
    "body.yvr .yvr-mark-sub{display:none;font-size:" + CONFIG.header.subSize + ";letter-spacing:.24em;",
    "  text-transform:uppercase;color:rgba(255,255,255,.66);transition:color .45s var(--yvr-ease)}",
    "@media (min-width:600px){body.yvr .yvr-mark-sub{display:block}}",
    "@media (min-width:1025px){body.yvr .yvr-mark-name{font-size:" + CONFIG.header.markSize + "}}",

    /* nav shell — DESKTOP ONLY. Below 1025px the theme turns .site-nav-wrapper
       into a fixed off-canvas panel; these resets would break that. */
    "@media (min-width:1025px){",
    "  body.yvr .site-nav-wrapper{display:flex;align-items:center;justify-content:center;min-width:0;",
    "    gap:8px;margin:0;padding:0;float:none;background:none;position:static;width:auto;text-align:center}",
    "  body.yvr #co_menu_container_wrapper,body.yvr #co_menu_container{background:none;border:0;box-shadow:none;",
    "    margin:0;padding:0;width:auto;float:none;position:static;min-height:0;display:inline-block}",
    "  body.yvr #co_menu_container table.main_menu_container{width:auto;margin:0 auto;background:none;float:none}",
    "}",

    /* standalone DONATE — fixHeader clones it out of the nav table so it can sit
       at the far right on desktop; the table's own donate cell stays for mobile */
    "body.yvr .yvr-donate{display:none;align-items:center;justify-content:center;justify-self:end;",
    "  min-height:52px;padding:0 28px;border:2px solid rgba(255,255,255,.55);border-radius:2px;",
    "  font-family:var(--yvr-sans);font-size:" + CONFIG.header.navSize + ";letter-spacing:.16em;",
    "  text-transform:uppercase;font-weight:500;color:#fff;white-space:nowrap;",
    "  transition:background .35s var(--yvr-ease),color .35s var(--yvr-ease),border-color .35s var(--yvr-ease)}",
    "body.yvr .yvr-donate:hover{background:rgba(255,255,255,.14);border-color:#fff}",
    "@media (min-width:1025px){body.yvr .yvr-donate{display:inline-flex}}",
    "body.yvr #co_menu_container .menu_logo{display:none}",
    "body.yvr .co_menu_item_divider,body.yvr .co_menu_item.home{display:none}",
    "body.yvr td.co_menu_item{background:none;border:0;padding:0;height:auto;vertical-align:middle;position:relative}",
    "body.yvr td.co_menu_item span.parent{display:block;background:none;padding:0;margin:0}",
    "body.yvr td.co_menu_item span.parent img{display:none}",
    "body.yvr td.co_menu_item a.parent{display:inline-block;font-family:var(--yvr-sans);font-size:" + CONFIG.header.navSize + ";",
    "  letter-spacing:.16em;text-transform:uppercase;font-weight:500;color:rgba(255,255,255,.86);",
    "  padding:6px 0;margin:0 " + CONFIG.header.navGap + ";background:none;position:relative;",
    "  transition:color .35s var(--yvr-ease)}",
    "body.yvr td.co_menu_item a.parent::after{content:\"\";position:absolute;left:0;bottom:0;height:1px;width:0;",
    "  background:currentColor;transition:width .4s var(--yvr-ease)}",
    "body.yvr td.co_menu_item:hover a.parent::after{width:100%}",
    "body.yvr td.co_menu_item.donate_link{display:table-cell;margin-left:10px}",
    "body.yvr td.co_menu_item.donate_link a.parent{margin:0 0 0 20px;padding:0 18px;min-height:44px;",
    "  display:inline-flex;align-items:center;border:2px solid rgba(255,255,255,.55);border-radius:2px;color:#fff}",
    "body.yvr td.co_menu_item.donate_link a.parent::after{display:none}",
    "body.yvr td.co_menu_item.donate_link a.parent:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.6)}",

    /* submenus */
    "body.yvr .co_submenu_container{background:#fff;border:1px solid var(--yvr-hair-soft);box-shadow:0 18px 40px rgba(80,79,84,.12)}",
    "body.yvr .co_submenu_container .wrapper{max-width:none;padding:10px 0}",
    "body.yvr .co_submenu_container a.item,body.yvr .co_submenu_container a.child_item{",
    "  font-family:var(--yvr-sans);font-size:.8125rem;letter-spacing:.02em;color:var(--yvr-ink);",
    "  padding:10px 22px;background:none;border:0;text-transform:none}",
    "body.yvr .co_submenu_container a.item:hover{color:var(--yvr-bronze);background:rgba(143,125,105,.06)}",
    "body.yvr .co_submenu_container img.arrow{display:none}",
    "body.yvr .menu_child.empty{display:none}",

    /* burger — CMS owns behaviour and shows it only at 1024px and below;
       no `display` here or it appears on desktop too */
    "body.yvr .js-mobile-menu-open,body.yvr .cs-mobile-menu-open{background:none;border:0;color:#fff;",
    "  width:48px;height:48px;place-items:center;margin-right:-12px;padding:0;",
    "  transition:color .45s var(--yvr-ease);order:9}",
    "body.yvr .cs-mobile-menu-open i{font-size:19px;color:inherit}",
    "body.yvr .search-trigger-container,body.yvr .cco_search_header{display:none}",

    /* solid state — the theme adds .on-scroll, our measure() adds .yvr-solid.
       NB: each selector in a list must be complete on its own. */
    "body.yvr #header.yvr-solid,body.yvr #header.on-scroll{background:rgba(255,255,255,.96);color:var(--yvr-ink);",
    "  border-bottom-color:var(--yvr-hair-soft);",
    "  -webkit-backdrop-filter:saturate(160%) blur(6px);backdrop-filter:saturate(160%) blur(6px)}",
    "body.yvr #header.yvr-solid .yvr-mark-sub,body.yvr #header.on-scroll .yvr-mark-sub{color:var(--yvr-silver)}",
    "body.yvr #header.yvr-solid td.co_menu_item a.parent,",
    "body.yvr #header.on-scroll td.co_menu_item a.parent{color:var(--yvr-ink)}",
    "body.yvr #header.yvr-solid td.co_menu_item.donate_link a.parent,",
    "body.yvr #header.on-scroll td.co_menu_item.donate_link a.parent{border-color:var(--yvr-hair);color:var(--yvr-ink)}",
    "body.yvr #header.yvr-solid td.co_menu_item.donate_link a.parent:hover,",
    "body.yvr #header.on-scroll td.co_menu_item.donate_link a.parent:hover{",
    "  background:var(--yvr-ink);color:#fff;border-color:var(--yvr-ink)}",
    "body.yvr #header.yvr-solid .cs-mobile-menu-open,body.yvr #header.on-scroll .cs-mobile-menu-open{color:var(--yvr-ink)}",
    "body.yvr #header.yvr-solid .yvr-donate,body.yvr #header.on-scroll .yvr-donate{",
    "  border-color:rgba(80,79,84,.55);color:var(--yvr-ink)}",
    "body.yvr #header.yvr-solid .yvr-donate:hover,body.yvr #header.on-scroll .yvr-donate:hover{",
    "  background:var(--yvr-ink);color:#fff;border-color:var(--yvr-ink)}",

    /* mobile menu panel (theme-driven off-canvas, we only recolour it) */
    "@media (max-width:1024px){",
    "  body.yvr .yvr-donate{display:none}",
    "  body.yvr .cs-mobile-menu-open{display:grid}",
    "  body.yvr .site-nav-wrapper,body.yvr #co_menu_container_wrapper{background:var(--yvr-paper)}",
    "  body.yvr .cs-mobile-menu-close,body.yvr .cs-menu-item-toggle{color:var(--yvr-ink)}",
    "  body.yvr .mobile-menu-bottom-links,body.yvr .mobile-menu-bottom-links a,",
    "  body.yvr .mobile-menu-bottom-links .language_selector{color:var(--yvr-ink)}",
    "  body.yvr td.co_menu_item{display:block;width:100%}",
    /* id-bearing copies so these beat the CSS_THEME rules above */
    "  body.yvr #tabContentMain .co_menu_item span.parent a,",
    "  body.yvr #tabContentMain .co_menu_item.hover span.parent a,",
    "  body.yvr td.co_menu_item a.parent{display:block;margin:0;padding:16px var(--yvr-gutter);",
    "    color:var(--yvr-ink);font-family:var(--yvr-display);font-size:1.5rem;font-weight:300;",
    "    letter-spacing:-.01em;text-transform:none;border-bottom:1px solid var(--yvr-hair-soft)}",
    "  body.yvr #tabContentMain .co_menu_item.donate_link a.parent,",
    "  body.yvr td.co_menu_item.donate_link a.parent{display:flex;width:auto;margin:16px var(--yvr-gutter);",
    "    min-height:54px;padding:0 24px;",
    "    background:var(--yvr-ink);color:#fff;border-color:var(--yvr-ink);justify-content:center;",
    "    font-family:var(--yvr-sans);font-size:.6875rem;letter-spacing:.16em;text-transform:uppercase}",
    "  body.yvr #tabContentMain .co_submenu_container .co_column a,",
    "  body.yvr #tabContentMain .co_menu_item.arrow .co_submenu_container a.item,",
    "  body.yvr #tabContentMain .co_menu_item.arrow .co_submenu_container a.item span,",
    "  body.yvr #tabContentMain .co_menu_content .co_submenu_container .co_column a span,",
    "  body.yvr #tabContentMain .co_menu_item span.parent,",
    "  body.yvr #tabContentMain .co_menu_item.hover span.parent,",
    "  body.yvr #tabContentMain .donate_link,",
    "  body.yvr .co_submenu_container a.item{color:var(--yvr-ink)}",
    /* the theme's mobile submenu is 5px/2px padded 12px text — make it readable */
    "  body.yvr #tabContentMain .co_menu_item.arrow .co_submenu_container a.item{",
    "    display:block;padding:10px var(--yvr-gutter) 10px calc(var(--yvr-gutter) + 8px);",
    "    font-family:var(--yvr-sans);font-size:1rem;letter-spacing:.01em}",
    "  body.yvr #tabContentMain .co_menu_item .co_submenu_container{margin-left:0;background:none}",
    "  body.yvr .main_menu_container,body.yvr .main_menu_container tbody,",
    "  body.yvr .main_menu_container tr{display:block;width:100%}",
    "}"
  ].join("\n");

  /* --- 4d. hero ----------------------------------------------------------- */
  var CSS_HERO = [
    "body.yvr .yvr-hero{position:relative;overflow:hidden;isolation:isolate;color:#fff;",
    "  min-height:560px;height:88svh;max-height:980px;display:block;",
    "  margin-top:0}",
    "body.yvr .yvr-hero,body.yvr .yvr-hero *{box-sizing:border-box}",
    "body.yvr .yvr-hero \x3E .wrapper,body.yvr .yvr-hero .widget_content{height:100%;padding:0;margin:0;",
    "  max-width:none;overflow:visible;background:none}",
    "body.yvr .yvr-hero .widget_header{display:none}",
    "body.yvr .yvr-hero .slider{position:absolute;left:0;right:0;top:0;bottom:0;height:100%;width:100%;overflow:hidden}",
    "body.yvr .yvr-hero .slides{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;text-align:left}",
    "body.yvr .yvr-hero .slide_wrapper{top:0;left:0;width:100%;height:100%;overflow:hidden;background:none;",
    "  animation:yvrSlideFade .55s var(--yvr-ease) both}",
    "body.yvr .yvr-hero .slide_wrapper \x3E a{display:block;width:100%;height:100%}",
    "body.yvr .yvr-hero .slide_wrapper img{width:100%;height:100%;max-width:none;display:block;",
    "  background-position:64% 42%;background-size:cover;background-repeat:no-repeat;",
    /* each slide zooms in from rest over ~7s; hidden slides restart the animation
       when cycle shows them, so every slide arrives with its own zoom */
    "  transform-origin:center;animation:yvrZoom 7s cubic-bezier(.22,.61,.36,1) both}",
    "@media (min-width:860px){body.yvr .yvr-hero .slide_wrapper img{background-position:center 46%}}",
    /* the theme hides its own .slide_wrapper:after inside an @supports block,
       and fades it to .8 — so display and opacity must be set explicitly */
    "body.yvr .yvr-hero .slide_wrapper::after{content:\"\";display:block;opacity:1;",
    "  position:absolute;left:0;right:0;top:0;bottom:0;",
    "  z-index:2;pointer-events:none;background:linear-gradient(to top,",
    "  rgba(80,79,84,.88) 0%,rgba(80,79,84,.56) 38%,rgba(80,79,84,.30) 68%,rgba(80,79,84,.48) 100%)}",
    "@media (min-width:860px){body.yvr .yvr-hero .slide_wrapper::after{background:",
    "  linear-gradient(to right,rgba(80,79,84,.76) 0%,rgba(80,79,84,.40) 55%,rgba(80,79,84,.18) 100%),",
    "  linear-gradient(to top,rgba(80,79,84,.84) 0%,rgba(80,79,84,0) 50%),",
    "  linear-gradient(to bottom,rgba(80,79,84,.44) 0%,rgba(80,79,84,0) 28%)}}",

    "body.yvr .yvr-hero .cycle-directionNav,body.yvr .yvr-hero .cycle-controlNav{display:none}",

    "body.yvr .yvr-hero .captionList{display:none}",
    "body.yvr .yvr-hero .cycle-caption{position:absolute;left:0;right:0;bottom:0;top:auto;z-index:5;",
    "  width:100%;max-width:none;background:none;padding:0 0 clamp(44px,7vw,96px);margin:0;",
    "  text-align:center;color:#fff;opacity:1}",
    "body.yvr .yvr-hero .cycle-caption \x3E p,body.yvr .yvr-hero .cycle-caption \x3E div{",
    "  width:100%;max-width:var(--yvr-shell);margin:0 auto;",
    "  padding-left:var(--yvr-gutter);padding-right:var(--yvr-gutter)}",
    "body.yvr .yvr-hero .yvr-h1{display:block;max-width:min(100%,680px);margin:0 auto;",
    "  font-family:var(--yvr-hero-face);font-weight:400;",
    "  font-size:clamp(2.125rem,1.5rem + 3vw,3.75rem);line-height:.96;letter-spacing:.035em;",
    "  text-transform:uppercase;color:#fff}",
    /* caption body copy (the text after the big-tag title, or a text-only caption) */
    "body.yvr .yvr-hero .yvr-hero-lede{display:block;max-width:56ch;margin:clamp(14px,2vw,22px) auto 0;",
    "  font-family:var(--yvr-display);font-weight:300;font-size:clamp(1rem,.9rem + .5vw,1.25rem);",
    "  line-height:1.5;color:rgba(255,255,255,.92);text-transform:none;letter-spacing:0}",
    "body.yvr .yvr-hero .yvr-hero-lede *{font-family:inherit;color:inherit}",
    "body.yvr .yvr-hero .yvr-w{animation-delay:0s}",
    "body.yvr .yvr-hero .yvr-line{display:block}",
    /* NO static opacity:0 here — it would be !important and beat the animation.
       `both` makes the keyframe's from-state apply during the delay instead. */
    "body.yvr .yvr-hero .yvr-w{display:inline-block;animation:yvrWordIn .9s var(--yvr-ease) both}",
    "body.yvr .yvr-hero .yvr-w em{font-family:var(--yvr-hero-face);font-style:italic;font-weight:300;letter-spacing:.02em}",
    "body.yvr .yvr-hero .cycle-caption a.readMore{display:inline-flex;align-items:center;justify-content:center;",
    "  margin-top:clamp(24px,3.5vw,40px);min-width:200px;min-height:50px;padding:0 36px;",
    "  font-family:var(--yvr-sans);font-size:calc(.6875rem + 2px);font-weight:500;letter-spacing:.22em;",
    "  text-transform:uppercase;background:#fff;border:1px solid #fff;border-radius:2px;color:#504F54;",
    "  animation:yvrFadeUp .9s var(--yvr-ease) both .95s;",
    "  transition:background .3s var(--yvr-ease),color .3s var(--yvr-ease),border-color .3s var(--yvr-ease)}",
    /* the mockup's own hero hover is a near-invisible .88 white; this is its
       paper-button hover instead (bronze fill, white text) */
    "body.yvr .yvr-hero .cycle-caption a.readMore:hover,",
    "body.yvr .hp-table .hp-row-first .promo_slider .slider .cycle-caption .readMore:hover{",
    "  background:var(--yvr-bronze);border-color:var(--yvr-bronze);color:#fff}",
    "@media (min-width:860px){",
    "  body.yvr .yvr-hero .cycle-caption{text-align:left}",
    "  body.yvr .yvr-hero .yvr-h1{margin-left:0;margin-right:0;max-width:min(100%,780px)}",
    "  body.yvr .yvr-hero .yvr-hero-lede{margin-left:0;margin-right:0}",
    "}"
  ].join("\n");

  /* --- 4d2. announcement bar (above the header) ---------------------------- */
  var CSS_ANN = [
    /* NB: never use the `background` shorthand here — as an !important shorthand
       it resets background-image to none and buries the announcement image.
       The image comes in through a CSS variable set on the bar in fixAnnouncements,
       so this rule (which is !important) is what paints it. No overlay. */
    "body.yvr .yvr-ann-bar{position:relative;z-index:61;display:flex;flex-wrap:wrap;align-items:center;",
    "  justify-content:center;gap:6px clamp(14px,1.8vw,30px);min-height:" + CONFIG.announcements.minHeight + ";",
    "  padding:12px var(--yvr-gutter);color:#fff;font-family:var(--yvr-sans);text-align:center;line-height:1.3;",
    "  background-color:var(--yvr-ink);background-size:cover;background-position:center;background-repeat:no-repeat}",
    "body.yvr .yvr-ann-bar.has-image{background-image:var(--yvr-ann-img);text-shadow:0 1px 3px rgba(0,0,0,.45)}",
    "body.yvr .yvr-ann-bar-title{font-family:var(--yvr-display);font-size:1.125rem;font-weight:400;",
    "  letter-spacing:-.005em;color:#fff;margin:0}",
    "body.yvr .yvr-ann-bar-title a{color:inherit;text-decoration:none}",
    "body.yvr .yvr-ann-bar-text{font-size:.75rem;color:rgba(255,255,255,.9);max-width:56ch;",
    "  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",
    "body.yvr .yvr-ann-bar-text *{font-family:inherit;color:inherit;font-size:inherit}",
    "body.yvr .yvr-ann-bar-more{font-size:.625rem;letter-spacing:.14em;text-transform:uppercase;font-weight:500;",
    "  color:#fff;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.55);padding-bottom:1px;",
    "  transition:border-color .3s var(--yvr-ease)}",
    "body.yvr .yvr-ann-bar-more:hover{border-color:#fff}",
    "@media (max-width:859px){body.yvr .yvr-ann-bar-text{display:none}}",
    /* the theme's header is position:absolute at top:0 — push it below the bar
       (only while it's not the fixed on-scroll header) */
    "body.yvr.yvr-has-ann #header:not(.on-scroll){top:var(--yvr-annh,72px)}",
    /* the widget's own row: an inline display:none loses to our !important
       .hp-row{display:block}, so hide it with a class at higher specificity */
    "body.yvr .hp-row.yvr-hidden,body.yvr .widget-4.yvr-hidden{display:none}"
  ].join("\n");

  /* --- 4d3. Instagram feed row (commonninja widget inside a .widget-4) ---- */
  var CSS_SOCIAL = [
    "body.yvr .yvr-social{display:block;max-width:none;margin:0;text-align:left;",
    "  padding-top:var(--yvr-sec);padding-bottom:var(--yvr-sec);background:var(--yvr-paper)}",
    "body.yvr .yvr-social .widget_header{margin:0 0 clamp(28px,3vw,44px);padding:0;background:none;border:0}",
    "body.yvr .yvr-social .widget_header h5{font-family:var(--yvr-display);font-weight:300;",
    "  font-size:clamp(1.75rem,1.35rem + 1.9vw,2.75rem);line-height:1.12;letter-spacing:-.015em;",
    "  color:var(--yvr-ink);margin:0;padding:0;text-transform:none;border:0;background:none;text-align:left}",
    "body.yvr .yvr-social .si--social{--yvr-a:#C98A6E;--yvr-b:#6B5470}",
    /* the embed paints its arrows/dots in the theme's yellow via inline styles */
    "body.yvr .yvr-social .slick-arrow svg{color:var(--yvr-bronze);fill:currentColor}",
    "body.yvr .yvr-social [style*=\"--pagination-active-color\"]{--pagination-active-color:var(--yvr-bronze)}",
    "body.yvr .yvr-social [style*=\"--pagination-color\"]{--pagination-color:rgba(80,79,84,.18)}"
  ].join("\n");

  /* --- 4d4. Donate page (inner pages; ChabadOne donate template) ---------- */
  var CSS_DONATE = [
    "body.yvr #donate-wrapper{background:var(--yvr-warm);color:var(--yvr-ink);font-family:var(--yvr-sans);",
    "  font-size:1rem;line-height:1.6;padding:clamp(32px,5vw,72px) var(--yvr-gutter) clamp(64px,8vw,110px)}",
    "body.yvr #donate-wrapper *{font-family:inherit}",
    "body.yvr #donate-wrapper .fa{font-family:\"Font Awesome 5 Pro\",\"FontAwesome\",sans-serif}",
    "body.yvr #donate-wrapper #donate{max-width:820px;margin:0 auto;background:none;padding:0;border:0;box-shadow:none}",
    "body.yvr #donate-wrapper .donate-content{background:var(--yvr-paper);border:1px solid var(--yvr-hair-soft);",
    "  border-radius:2px;padding:clamp(26px,4vw,56px);margin:0}",
    "body.yvr #donate-wrapper .content-box{background:none;border:0;box-shadow:none;padding:0;margin:0 0 clamp(26px,3vw,40px)}",
    "body.yvr #donate-wrapper .intro-wrapper h1{font-family:var(--yvr-display);font-weight:300;color:var(--yvr-ink);",
    "  font-size:clamp(1.75rem,1.3rem + 1.8vw,2.625rem);line-height:1.12;letter-spacing:-.015em;margin:0;padding:0;text-transform:none}",
    /* frequency toggle — the pill shrinks to fit its two labels and is centred
       by the wrapper. NB: this block goes through scaleRems with
       CONFIG.donate.scale (1.3), so 1.5rem here renders as 1.95rem. */
    "body.yvr #donate-wrapper .frequency-toggle-wrapper{position:relative;z-index:2;pointer-events:auto;",
    "  display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center;align-items:center}",
    "body.yvr #donate-wrapper .frequency-toggle{display:inline-flex;position:relative;z-index:2;",
    "  flex:0 0 auto;align-self:center;width:auto;min-width:0;max-width:100%;padding:3px;margin:0 0 8px;",
    "  border:1px solid var(--yvr-hair);border-radius:2px;background:var(--yvr-warm);pointer-events:auto}",
    /* the theme draws a sliding pill + arrow notches with pseudo-elements and
       flags the OTHER option with .selected — ignore all of that; the container's
       one-time / monthly class is the only source of truth */
    "body.yvr #donate-wrapper .frequency-toggle::before,body.yvr #donate-wrapper .frequency-toggle::after,",
    "body.yvr #donate-wrapper .frequency-toggle__label::before,body.yvr #donate-wrapper .frequency-toggle__label::after{display:none}",
    "body.yvr #donate-wrapper .frequency-toggle__label{position:relative;z-index:1;pointer-events:auto;display:inline-flex;align-items:center;margin:0;",
    "  padding:12px 28px;border:0;border-radius:2px;background:none;color:var(--yvr-ink);cursor:pointer;white-space:nowrap;",
    "  font-family:var(--yvr-sans);font-style:normal;font-size:1.5rem;letter-spacing:.08em;text-transform:uppercase;font-weight:500;",
    "  box-shadow:none;text-shadow:none;transition:background .3s var(--yvr-ease),color .3s var(--yvr-ease)}",
    "body.yvr #donate-wrapper .frequency-toggle__label input{position:absolute;opacity:0;width:0;height:0;margin:0;pointer-events:none}",
    "body.yvr #donate-wrapper .frequency-toggle.one-time .frequency-toggle__label.one-time,",
    "body.yvr #donate-wrapper .frequency-toggle.monthly .frequency-toggle__label.monthly{background:var(--yvr-ink);color:#fff}",
    "body.yvr #donate-wrapper .frequency-toggle.one-time .frequency-toggle__label.monthly,",
    "body.yvr #donate-wrapper .frequency-toggle.monthly .frequency-toggle__label.one-time{background:none;color:var(--yvr-ink)}",
        "body.yvr #donate-wrapper .monthly-note{flex:0 0 auto;align-self:center;width:auto;max-width:100%;",
    "  font-family:var(--yvr-display);font-style:italic;font-size:.9375rem;color:var(--yvr-silver);margin:6px 0 20px}",
    /* amounts */
    "body.yvr #donate-wrapper .amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}",
    "body.yvr #donate-wrapper .amounts button{width:auto;min-height:56px;margin:0;padding:0;",
    "  border:1px solid var(--yvr-hair);border-radius:2px;background:#fff;color:var(--yvr-ink);",
    "  font-family:var(--yvr-display);font-size:1.375rem;font-weight:300;cursor:pointer;box-shadow:none;text-shadow:none;",
    "  transition:border-color .3s var(--yvr-ease),background .3s var(--yvr-ease),color .3s var(--yvr-ease)}",
    "body.yvr #donate-wrapper .amounts button:hover{border-color:var(--yvr-ink)}",
    "body.yvr #donate-wrapper .amounts button.selected,body.yvr #donate-wrapper .amounts button.active,",
    "body.yvr #donate-wrapper .amounts button.is-selected,body.yvr #donate-wrapper .amounts button[aria-pressed=true]{",
    "  background:var(--yvr-ink);color:#fff;border-color:var(--yvr-ink)}",
    "body.yvr #donate-wrapper .custom-amount-wrapper{position:relative;margin:0 0 18px}",
    "body.yvr #donate-wrapper .currency-insert{position:absolute;left:18px;top:50%;transform:translateY(-50%);",
    "  font-family:var(--yvr-display);font-size:1.25rem;color:var(--yvr-silver);pointer-events:none}",
    "body.yvr #donate-wrapper .custom-amount{width:100%;height:56px;padding:0 18px 0 40px;margin:0;",
    "  border:1px solid var(--yvr-hair);border-radius:2px;background:#fff;box-shadow:none;",
    "  font-family:var(--yvr-display);font-size:1.25rem;font-weight:300;color:var(--yvr-ink)}",
    /* buttons */
    "body.yvr #donate-wrapper .next-button,body.yvr #donate-wrapper .donate-button{display:inline-flex;align-items:center;",
    "  justify-content:center;min-height:56px;padding:0 34px;margin:0;background:var(--yvr-ink);color:#fff;",
    "  border:1px solid var(--yvr-ink);border-radius:2px;font-family:var(--yvr-sans);font-size:.75rem;",
    "  letter-spacing:.16em;text-transform:uppercase;font-weight:600;cursor:pointer;box-shadow:none;text-shadow:none;",
    "  transition:background .3s var(--yvr-ease),border-color .3s var(--yvr-ease)}",
    "body.yvr #donate-wrapper .next-button:hover,body.yvr #donate-wrapper .donate-button:hover{",
    "  background:var(--yvr-bronze);border-color:var(--yvr-bronze);color:#fff}",
    "body.yvr #donate-wrapper .donate-button{width:100%;margin-top:6px}",
    "body.yvr #donate-wrapper .donate-button[disabled]{opacity:.55;cursor:default}",
    /* fields — no `display` on rows/boxes the CMS toggles */
    "body.yvr #donate-wrapper .row:not(.js-next-button-wrapper){display:flex;flex-wrap:wrap;gap:14px;margin:0 0 14px}",
    "body.yvr #donate-wrapper .row.new-row{margin-top:6px}",
    "body.yvr #donate-wrapper .col{flex:1 1 200px;min-width:0;padding:0;margin:0}",
    "body.yvr #donate-wrapper .col.flex-2{flex:2 1 300px}",
    /* the theme's field box lives on .field-wrapper: border, padding, a floating
       absolutely-positioned label and its own chevron. Take it all off so the
       input is the box and the label sits above it. No `display` here — the
       CMS toggles it — but column direction handles the select rows, which the
       theme lays out as a flex row (label beside the box, ellipsised). */
    "body.yvr #donate-wrapper .field-wrapper{position:relative;margin:0;padding:0;border:0;background:none;",
    "  box-shadow:none;height:auto;min-height:0;border-radius:0;flex-direction:column;align-items:stretch;gap:0}",
    "body.yvr #donate-wrapper .field-wrapper::before,body.yvr #donate-wrapper .field-wrapper::after{display:none}",
    "body.yvr #donate-wrapper .field-wrapper label,body.yvr #donate-wrapper .field-wrapper.no-value label,",
    "body.yvr #donate-wrapper .field-wrapper.has-value label,body.yvr #donate-wrapper .field-wrapper.focused label{",
    "  position:static;top:auto;left:auto;transform:none;opacity:1;visibility:visible;pointer-events:auto;",
    "  transition:none;background:none;padding:0;width:100%;max-width:none;height:auto;line-height:1.4;",
    "  flex:0 0 auto;float:none;white-space:normal;overflow:visible;text-overflow:clip}",
    "body.yvr #donate-wrapper .field-wrapper label{display:block;margin:0 0 6px;font-family:var(--yvr-sans);",
    "  font-size:.625rem;letter-spacing:.18em;text-transform:uppercase;color:var(--yvr-silver);font-weight:500}",
    "body.yvr #donate-wrapper .field-wrapper .req{color:var(--yvr-bronze)}",
    "body.yvr #donate-wrapper .field-wrapper input[type=text],body.yvr #donate-wrapper .field-wrapper input[type=email],",
    "body.yvr #donate-wrapper .field-wrapper input[type=number],body.yvr #donate-wrapper .field-wrapper input[type=tel],",
    "body.yvr #donate-wrapper .field-wrapper select,body.yvr #donate-wrapper .field-wrapper textarea{",
    "  width:100%;max-width:none;flex:0 0 auto;height:52px;padding:0 16px;margin:0;border:1px solid var(--yvr-hair);border-radius:2px;",
    "  background:#fff;box-shadow:none;font-family:var(--yvr-sans);font-size:1rem;color:var(--yvr-ink);",
    "  -webkit-appearance:none;appearance:none}",
    "body.yvr #donate-wrapper .field-wrapper select{padding-right:36px;background-image:url(\"" + "ARROWURI" + "\");",
    "  background-repeat:no-repeat;background-position:right 14px center;background-size:14px 14px;",
    "  filter:none}",
    "body.yvr #donate-wrapper .field-wrapper textarea{height:120px;padding:14px 16px;resize:vertical}",
    "body.yvr #donate-wrapper .field-wrapper input:focus,body.yvr #donate-wrapper .field-wrapper select:focus,",
    "body.yvr #donate-wrapper .field-wrapper textarea:focus,body.yvr #donate-wrapper .custom-amount:focus{",
    "  outline:none;border-color:var(--yvr-ink);box-shadow:0 0 0 2px rgba(80,79,84,.14)}",
    "body.yvr #donate-wrapper .field-wrapper .error{margin-top:6px;font-size:.75rem;color:#9B3A28;letter-spacing:0;text-transform:none}",
    /* checkbox: the input is a SIBLING of the label, so the wrapper is the flex row */
    "body.yvr #donate-wrapper .checkbox-wrapper::before,body.yvr #donate-wrapper .checkbox-wrapper::after,",
    "body.yvr #donate-wrapper .checkbox-wrapper *::before,body.yvr #donate-wrapper .checkbox-wrapper *::after{display:none;content:none}",
    "body.yvr #donate-wrapper .checkbox-wrapper{display:flex;align-items:flex-start;gap:12px;",
    "  border:0;background:none;padding:0;min-height:0;position:relative}",
    "body.yvr #donate-wrapper .checkbox-wrapper label{display:block;flex:1 1 auto;min-width:0;margin:0;padding:0;",
    "  text-indent:0;position:static;font-size:.9375rem;letter-spacing:0;text-transform:none;color:var(--yvr-ink);",
    "  font-weight:400;line-height:1.5;cursor:pointer}",
    "body.yvr #donate-wrapper .checkbox-wrapper input,body.yvr #donate-wrapper .checkbox-wrapper input[type=checkbox]{",
    "  position:static;top:auto;left:auto;opacity:1;visibility:visible;pointer-events:auto;display:inline-block;",
    "  width:20px;height:20px;min-width:20px;flex:0 0 auto;margin:2px 0 0;padding:0;background:#fff;",
    "  accent-color:var(--yvr-ink);-webkit-appearance:auto;appearance:auto;border:0;box-shadow:none;transform:none}",
    /* payment method */
    "body.yvr #donate-wrapper .pay-with{align-items:center;gap:14px}",
    "body.yvr #donate-wrapper .pay-with-label{font-size:.625rem;letter-spacing:.18em;text-transform:uppercase;color:var(--yvr-silver)}",
    "body.yvr #donate-wrapper .payment-options{display:flex;gap:10px;flex-wrap:wrap}",
    "body.yvr #donate-wrapper .payment-options .icon-wrapper{display:inline-flex;align-items:center;gap:10px;margin:0;",
    "  padding:12px 18px;border:1px solid var(--yvr-hair);border-radius:2px;background:#fff;color:var(--yvr-ink);",
    "  font-size:.875rem;cursor:pointer}",
    "body.yvr #donate-wrapper .payment-options .icon-wrapper i{color:var(--yvr-bronze)}",
    "body.yvr #donate-wrapper .payment-options .icon-wrapper input{accent-color:var(--yvr-ink);margin:0 0 0 4px}",
    "body.yvr #donate-wrapper .payment-options .icon-wrapper.selected,body.yvr #donate-wrapper .payment-options .icon-wrapper.active{",
    "  border-color:var(--yvr-ink)}",
    /* messages */
    "body.yvr #donate-wrapper .error-wrapper{background:#FBF1EE;border:1px solid rgba(155,58,40,.28);color:#7A2E1F;",
    "  padding:14px 18px;border-radius:2px;gap:12px}",
    "body.yvr #donate-wrapper .error-wrapper .title{font-weight:600}",
    "body.yvr #donate-wrapper .footnotes{margin-top:18px;font-size:.875rem;line-height:1.6;color:var(--yvr-silver)}",
    "body.yvr #donate-wrapper .footnotes a{color:var(--yvr-bronze-deep);border-bottom:1px solid var(--yvr-hair)}",
    "body.yvr #donate-wrapper .footnotes .note{margin-top:8px}",
    "body.yvr #donate-wrapper .footnotes .note i{margin-right:6px;color:var(--yvr-bronze)}",
    "body.yvr #donate-wrapper .js-recaptcha-wrapper{margin:0 0 14px}"
  ].join("\n").replace("ARROWURI",
    "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E" +
    "%3Cpath d='M3 6l5 5 5-5' stroke='%23504F54' stroke-width='1.4'/%3E%3C/svg%3E");
  /* --- 4e. programs ------------------------------------------------------- */
  var CSS_PROG = [
    "body.yvr .yvr-programs{display:block;padding-top:var(--yvr-sec);padding-bottom:var(--yvr-sec);background:var(--yvr-paper)}",
    "body.yvr .yvr-programs .widget_header{margin:0 0 clamp(28px,3vw,44px);padding:0;background:none;border:0}",
    "body.yvr .yvr-programs .widget_header h5{font-family:var(--yvr-display);font-weight:300;",
    "  font-size:clamp(1.75rem,1.35rem + 1.9vw,2.75rem);line-height:1.12;letter-spacing:-.015em;",
    "  color:var(--yvr-ink);margin:0;padding:0;text-transform:none;border:0;background:none}",
    "body.yvr .yvr-programs .separator,body.yvr .yvr-programs .widget_footer{display:none}",
    "body.yvr .yvr-prog{display:grid;gap:clamp(32px,4vw,56px)}",
    "body.yvr .yvr-prog-stage{display:none}",
    "body.yvr .yvr-prog-list{border-top:1px solid var(--yvr-hair)}",
    "body.yvr .yvr-prog-row{display:grid;grid-template-columns:118px 1fr 14px;gap:18px;align-items:center;",
    "  padding-top:18px;padding-bottom:18px;border-bottom:1px solid var(--yvr-hair);",
    "  transition:background .4s var(--yvr-ease);color:var(--yvr-ink)}",
    "body.yvr .yvr-prog-num{display:none}",
    "body.yvr .yvr-prog-thumb{aspect-ratio:4/5;border:1px solid var(--yvr-hair-soft);",
    "  background-color:var(--yvr-warm);background-size:cover;background-position:center;",
    "  background-repeat:no-repeat;filter:saturate(.84) contrast(1.03)}",
    "body.yvr .yvr-prog-text{display:block;min-width:0}",
    "body.yvr .yvr-prog-h{display:flex;align-items:center;gap:9px}",
    "body.yvr .yvr-prog-icon{display:inline-flex;flex:0 0 auto;width:22px;height:22px;color:rgba(80,79,84,.7)}",
    "body.yvr .yvr-prog-icon svg{width:100%;height:100%;stroke-linecap:round;stroke-linejoin:round}",
    "body.yvr .pi--shul{--yvr-a:#3F5A72;--yvr-b:#8AA2B6}",
    "body.yvr .pi--adult{--yvr-a:#EDE7EF;--yvr-b:#6B5470}",
    "body.yvr .pi--kosher{--yvr-a:#B4835F;--yvr-b:#9C6B4E}",
    "body.yvr .pi--school{--yvr-a:#8F7D69;--yvr-b:#504F54}",
    "html.yvr-has-aleph body.yvr .pi--school{width:21px;height:27px}",
    /* black-on-transparent PNG tinted to the bronze (#8F7D69) — solved numerically */
    "body.yvr .yvr-aleph{display:block;width:100%;height:100%;max-width:none;object-fit:contain;",
    "  filter:brightness(0) saturate(100%) invert(56%) sepia(76%) saturate(101%) hue-rotate(-8deg) brightness(76%) contrast(105%)}",
    "body.yvr .yvr-prog-title{display:block;font-family:var(--yvr-display);font-size:1.1875rem;",
    "  font-weight:400;line-height:1.2;letter-spacing:-.01em;transition:color .35s var(--yvr-ease)}",
    "body.yvr .yvr-prog-desc{display:block;margin-top:6px;font-size:.8125rem;line-height:1.55;color:rgba(80,79,84,.9)}",
    "body.yvr .yvr-prog-chev{width:16px;height:16px;position:relative;opacity:.5;",
    "  transition:transform .4s var(--yvr-ease),opacity .4s}",
    "body.yvr .yvr-prog-chev::before{content:\"\";position:absolute;top:4px;left:2px;width:7px;height:7px;",
    "  border-right:1px solid var(--yvr-ink);border-top:1px solid var(--yvr-ink);transform:rotate(45deg)}",
    "body.yvr .yvr-prog-row:hover .yvr-prog-title{color:var(--yvr-bronze)}",
    "body.yvr .yvr-prog-row:hover .yvr-prog-chev{transform:translateX(4px);opacity:1}",
    "@media (min-width:960px){",
    "  body.yvr .yvr-prog{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);",
    "    gap:clamp(44px,4.5vw,76px);align-items:start}",
    "  body.yvr .yvr-prog-stage{display:block}",
    "  body.yvr .yvr-prog-list{align-self:center}",
    "  body.yvr .yvr-prog-frame{position:relative;aspect-ratio:4/5;border:1px solid var(--yvr-hair-soft)}",
    "  body.yvr .yvr-prog-layer{position:absolute;left:0;right:0;top:0;bottom:0;opacity:0;",
    "    background-size:cover;background-position:center;background-repeat:no-repeat;",
    "    filter:saturate(.84) contrast(1.03);transition:opacity .7s var(--yvr-ease)}",
    "  body.yvr .yvr-prog-layer.is-on{opacity:1}",
    "  body.yvr .yvr-prog-row{grid-template-columns:34px 1fr auto;gap:26px;",
    "    padding-top:clamp(22px,2.2vw,32px);padding-bottom:clamp(22px,2.2vw,32px)}",
    "  body.yvr .yvr-prog-thumb{display:none}",
    "  body.yvr .yvr-prog-num{display:block;font-size:.625rem;letter-spacing:.18em;",
    "    color:var(--yvr-silver);padding-top:8px;align-self:start}",
    "  body.yvr .yvr-prog-icon{width:30px;height:30px}",
    "  html.yvr-has-aleph body.yvr .pi--school{width:27px;height:35px}",
    "  body.yvr .yvr-prog-h{gap:14px}",
    "  body.yvr .yvr-prog-title{font-size:clamp(1.5rem,1.1rem + .9vw,2rem)}",
    "  body.yvr .yvr-prog-desc{font-size:.9375rem;max-width:46ch}",
    "  body.yvr .yvr-prog-row.is-active{background:linear-gradient(90deg,rgba(143,125,105,.05),rgba(143,125,105,0))}",
    "  body.yvr .yvr-prog-row.is-active .yvr-prog-title{color:var(--yvr-bronze)}",
    "}"
  ].join("\n");

  /* --- 4f. community -] about --------------------------------------------- */
  var CSS_ABOUT = [
    "body.yvr .yvr-about{background:var(--yvr-bronze);color:#fff;padding-top:0;padding-bottom:clamp(48px,8vw,64px)}",
    "@media (min-width:860px){body.yvr .yvr-about{padding-bottom:0}}",
    "body.yvr .yvr-about .widget_header,body.yvr .yvr-about .separator{display:none}",
    "body.yvr .yvr-about-grid{display:grid;gap:clamp(28px,4vw,52px)}",
    "body.yvr .yvr-about-img{position:relative;overflow:hidden;aspect-ratio:4/5;",
    "  margin-left:calc(var(--yvr-gutter) * -1);margin-right:calc(var(--yvr-gutter) * -1)}",
    "body.yvr .yvr-about-zoom{position:absolute;left:0;right:0;top:0;bottom:0;",
    "  background-size:cover;background-position:center;background-repeat:no-repeat;",
    "  filter:saturate(.84) contrast(1.03);transform-origin:center}",
    "body.yvr .yvr-about-img.is-in .yvr-about-zoom{animation:yvrZoomSlow 26s ease-in-out infinite alternate}",
    "body.yvr .yvr-about-copy{display:grid;gap:20px;align-content:center}",
    "body.yvr .yvr-about-copy .yvr-sicon{color:rgba(255,255,255,.9);",
    "  width:clamp(52px,5vw,66px);height:clamp(52px,5vw,66px);margin-bottom:-12px}",
    "body.yvr .yvr-about-copy h2{font-family:var(--yvr-display);font-weight:300;letter-spacing:-.015em;",
    "  font-size:clamp(1.75rem,1.35rem + 1.9vw,2.75rem);line-height:1.12;color:#fff;margin:0;padding:0}",
    "body.yvr .yvr-about-copy .yvr-lede{color:rgba(255,255,255,.92);margin:0}",
    "body.yvr .yvr-about-sign{display:flex;align-items:center;gap:14px;margin-top:4px}",
    "body.yvr .yvr-about-sign i{display:block;height:1px;width:34px;background:rgba(255,255,255,.7);flex:0 0 auto}",
    "body.yvr .yvr-about-sign p{font-family:var(--yvr-display);font-style:italic;font-size:1.0625rem;",
    "  color:#fff;margin:0}",
    "body.yvr .yvr-about-copy a.readMore{justify-self:start;margin-top:10px;",
    "  border-color:var(--yvr-hair-light);color:#fff}",
    "body.yvr .yvr-about-copy a.readMore:hover{background:#fff;color:var(--yvr-ink);border-color:#fff}",
    "@media (min-width:860px){",
    "  body.yvr .yvr-about-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);",
    "    gap:clamp(40px,4.4vw,72px);align-items:center}",
    "  body.yvr .yvr-about-img{aspect-ratio:1/1;margin-right:0;margin-left:calc(var(--yvr-gutter) * -1)}",
    "  body.yvr .yvr-about-zoom{background-position:center 32%}",
    "}",
    "@media (min-width:1240px){",
    "  body.yvr .yvr-about-img{margin-left:calc((100vw - var(--yvr-shell)) / -2 - var(--yvr-gutter))}",
    "}"
  ].join("\n");

  /* --- 4g. info columns --------------------------------------------------- */
  var CSS_INFO = [
    "body.yvr .yvr-info{background:var(--yvr-warm);",
    "  padding-top:clamp(48px,6vw,76px);padding-bottom:clamp(56px,7vw,92px)}",
    "body.yvr .yvr-info-grid{display:grid;gap:0}",
    "body.yvr .yvr-info-grid \x3E .clear,body.yvr .yvr-info-grid \x3E .break_floats{display:none}",
    "body.yvr .yvr-info-col{padding-top:clamp(28px,4vw,32px);padding-bottom:clamp(28px,4vw,32px);",
    "  border-bottom:1px solid var(--yvr-hair);width:auto;margin:0;float:none;min-width:0}",
    "body.yvr .yvr-info-col:last-child{border-bottom:0}",
    "body.yvr .yvr-info-col .widget_header{margin:0 0 26px;padding:0;background:none;border:0}",
    "body.yvr .yvr-info-col .widget_header h5{font-family:var(--yvr-display);font-weight:400;",
    "  font-size:clamp(1.375rem,1.2rem + .6vw,1.625rem);letter-spacing:-.01em;color:var(--yvr-ink);",
    "  margin:0;padding:0;text-transform:none;border:0;background:none}",
    "body.yvr .yvr-info-col .separator{display:none}",
    "body.yvr .yvr-info-col img[src*=\"icon_\"],body.yvr .yvr-info-col .button,",
    "body.yvr .yvr-info-col .button_container{display:none}",
    "body.yvr .yvr-info-col .float_left,body.yvr .yvr-info-col .float_right{float:none}",
    "body.yvr .yvr-info-col .horizontal_padding,body.yvr .yvr-info-col .vertical_padding,",
    "body.yvr .yvr-info-col .top_padding,body.yvr .yvr-info-col .large_left_margin,",
    "body.yvr .yvr-info-col .medium_left_margin,body.yvr .yvr-info-col .small_right_margin,",
    "body.yvr .yvr-info-col .medium_top_padding,body.yvr .yvr-info-col .small_vertical_padding{",
    "  padding:0;margin:0}",
    "body.yvr .yvr-info-col .candlelighting_content,body.yvr .yvr-info-col .parsha_content,",
    "body.yvr .yvr-info-col .upcomingholiday_content{display:block;margin-bottom:26px}",
    "body.yvr .yvr-info-col .times_wrapper{height:auto;overflow:visible}",
    "body.yvr .yvr-info-col .section_heading,body.yvr .yvr-info-col .when_to_light{",
    "  display:block;font-family:var(--yvr-sans);font-size:.625rem;letter-spacing:.18em;",
    "  text-transform:uppercase;color:var(--yvr-silver);font-weight:400;margin-bottom:4px;float:none}",
    "body.yvr .yvr-info-col .section_subheading{display:block;font-size:.75rem;",
    "  color:rgba(80,79,84,.72);font-weight:400;margin-bottom:18px;letter-spacing:.01em}",
    "body.yvr .yvr-info-col .candlelighting_heading{margin-bottom:6px}",
    "body.yvr .yvr-info-col .times_wrapper \x3E div{display:block;margin-bottom:22px}",
    "body.yvr .yvr-info-col .times_wrapper a{display:block;font-family:var(--yvr-display);",
    "  font-size:1.25rem;font-weight:300;color:var(--yvr-bronze-deep);line-height:1.15}",
    "body.yvr .yvr-info-col .times_wrapper a span.bold.large{font-family:var(--yvr-display);",
    "  font-size:1.25rem;font-weight:300;color:var(--yvr-bronze-deep)}",
    "body.yvr .yvr-info-col .parsha_content span.bold.large,",
    "body.yvr .yvr-info-col .upcomingholiday_content span.bold.large{display:block;",
    "  font-family:var(--yvr-display);font-size:1.125rem;font-weight:300;",
    "  color:var(--yvr-bronze-deep);line-height:1.15}",
    "body.yvr .yvr-info-col .upcomingholiday_content \x3E div:last-child{margin-top:3px;",
    "  font-family:var(--yvr-sans);font-size:.75rem;color:rgba(80,79,84,.72)}",
    "body.yvr .yvr-info-col .daily_thought .title{margin-bottom:10px}",
    "body.yvr .yvr-info-col .daily_thought .title a{font-family:var(--yvr-display);font-weight:400;",
    "  font-size:1.125rem;color:var(--yvr-ink);letter-spacing:-.01em}",
    "body.yvr .yvr-info-col .daily_thought .body{font-family:var(--yvr-display);font-weight:300;",
    "  font-size:1.0625rem;line-height:1.6;color:var(--yvr-ink)}",
    "body.yvr .yvr-dt-credit{margin-top:18px;display:block}",
    "body.yvr .yvr-dt-credit a{font-family:var(--yvr-sans);font-size:.6875rem;letter-spacing:.14em;",
    "  text-transform:uppercase;color:var(--yvr-silver)}",
    "body.yvr .yvr-dt-credit a:hover{color:var(--yvr-bronze)}",
    "body.yvr .yvr-info-col .facebook_likebox iframe{width:100%;max-width:100%;border:0}",
    /* Halachic Times (zmanim widget) */
    "body.yvr .yvr-info-col #zmanim{margin:0;padding:0}",
    "body.yvr .yvr-info-col #zmanim h6{margin:0 0 14px;padding:0}",
    "body.yvr .yvr-info-col #zmanim h6 strong{display:block;font-family:var(--yvr-sans);font-size:.625rem;",
    "  letter-spacing:.18em;text-transform:uppercase;color:var(--yvr-silver);font-weight:400}",
    "body.yvr .yvr-info-col #zmanim ul{margin:0;padding:0;list-style:none;background:none}",
    "body.yvr .yvr-info-col #zmanim ul + ul{border-top:1px solid var(--yvr-hair-soft);margin-top:6px;padding-top:6px}",
    "body.yvr .yvr-info-col #zmanim li{display:flex;justify-content:space-between;align-items:baseline;gap:14px;",
    "  padding:6px 0;margin:0;background:none;list-style:none;clear:none;overflow:visible;float:none;line-height:1.35}",
    "body.yvr .yvr-info-col #zmanim li p{margin:0;padding:0;float:none;font-size:.8125rem;color:rgba(80,79,84,.82);order:1}",
    "body.yvr .yvr-info-col #zmanim li span{float:none;order:2;white-space:nowrap;font-family:var(--yvr-display);",
    "  font-size:1rem;font-weight:300;color:var(--yvr-bronze-deep)}",
    "body.yvr .yvr-info-col #zmanim \x3E a{display:inline-block;margin-top:18px;font-family:var(--yvr-sans);",
    "  font-size:.6875rem;letter-spacing:.14em;text-transform:uppercase;color:var(--yvr-silver);font-weight:400}",
    "body.yvr .yvr-info-col #zmanim \x3E a:hover{color:var(--yvr-bronze)}",
    "@media (min-width:768px){",
    "  body.yvr .yvr-info-grid{grid-template-columns:repeat(3,1fr)}",
    "  body.yvr .yvr-info-col{border-bottom:0;border-left:1px solid var(--yvr-hair);",
    "    padding:clamp(6px,1vw,10px) clamp(28px,3vw,48px);min-height:340px}",
    "  body.yvr .yvr-col-1{order:1;border-left:0;padding-left:0}",
    "  body.yvr .yvr-col-2{order:2}",
    "  body.yvr .yvr-col-3{order:3;padding-right:0}",
    "}"
  ].join("\n");

  /* --- 4h. mailing list --------------------------------------------------- */
  var CSS_SUB = [
    "body.yvr .yvr-subscribe{position:relative;background:var(--yvr-ink);",
    "  padding-top:clamp(48px,6vw,80px);padding-bottom:clamp(48px,6vw,80px)}",
    "body.yvr .yvr-subscribe::before{content:\"\";position:absolute;left:0;right:0;top:0;",
    "  height:clamp(80px,10vw,120px);background:var(--yvr-warm)}",
    /* must out-specify the generic ".widget-4 > .wrapper" reset in CSS_BASE,
       which is what was wiping the bronze background and the card padding */
    "body.yvr .widget-4 \x3E .wrapper.yvr-sub-card,body.yvr .yvr-sub-card{position:relative;z-index:1;",
    "  background:var(--yvr-bronze);color:#fff;",
    "  border-radius:2px;padding:clamp(30px,4vw,52px) clamp(24px,4vw,56px)}",
    "body.yvr .yvr-sub-card .widget_header{margin:0;padding:0;background:none;border:0}",
    "body.yvr .yvr-sub-card .widget_header h5{font-family:var(--yvr-display);font-weight:300;",
    "  font-size:clamp(2rem,1.6rem + 1.8vw,2.875rem);letter-spacing:-.015em;line-height:1.05;",
    "  color:#fff;margin:0;padding:0;text-transform:none;border:0;background:none}",
    "body.yvr .yvr-sub-card fieldset{border:0;margin:0;padding:0;display:grid;gap:10px;",
    "  margin-top:clamp(24px,3vw,34px)}",
    "body.yvr .yvr-sub-card label,body.yvr .yvr-sub-card small,",
    "body.yvr .yvr-sub-card .footer_box{display:none}",
    "body.yvr .yvr-sub-card input[type=text],body.yvr .yvr-sub-card input[type=email]{",
    "  width:100%;height:60px;padding:0 20px;background:#fff;color:var(--yvr-ink);",
    "  border:1px solid transparent;border-radius:2px;font-family:var(--yvr-sans);font-size:1.125rem;",
    "  margin:0;float:none;box-shadow:none;transition:box-shadow .3s var(--yvr-ease)}",
    "body.yvr .yvr-sub-card input::placeholder{color:#A3A0A8;opacity:1}",
    "body.yvr .yvr-sub-card input:focus{outline:none;box-shadow:0 0 0 2px var(--yvr-ink)}",
    "body.yvr .yvr-sub-card input[type=submit],body.yvr .yvr-sub-card button[type=submit]{",
    "  height:60px;width:100%;padding:0 52px 0 26px;background:var(--yvr-ink);color:#fff;",
    "  border:0;border-radius:2px;font-family:var(--yvr-sans);font-size:.8125rem;letter-spacing:.16em;",
    "  text-transform:uppercase;font-weight:600;text-align:left;cursor:pointer;margin:0;",
    "  background-image:url(\"" + "ARROWURI" + "\");background-repeat:no-repeat;",
    "  background-position:right 22px center;background-size:16px 16px;",
    "  transition:background-color .35s var(--yvr-ease),color .35s var(--yvr-ease)}",
    "body.yvr .yvr-sub-card input[type=submit]:hover,body.yvr .yvr-sub-card button[type=submit]:hover{",
    "  background-color:#fff;color:var(--yvr-ink)}",
    "body.yvr .yvr-sub-note{margin-top:14px;font-size:.875rem;color:rgba(255,255,255,.6)}",
    "body.yvr .yvr-sub-card .js-recaptcha-wrapper{margin:0}",
    "@media (min-width:860px){",
    "  body.yvr .yvr-sub-card fieldset{grid-template-columns:1fr 1fr 1.5fr auto;gap:12px;align-items:center}",
    "  body.yvr .yvr-sub-card input[type=submit],body.yvr .yvr-sub-card button[type=submit]{width:auto;min-width:190px}",
    "}"
  ].join("\n").replace("ARROWURI", ARROW_SVG_URI);

  /* --- 4i. upcoming events (fetched) -------------------------------------- */
  var CSS_EVENTS = [
    "body.yvr .yvr-events{background:var(--yvr-warm);display:none;",
    "  padding-top:var(--yvr-sec);padding-bottom:var(--yvr-sec)}",
    "body.yvr .yvr-events.is-ready{display:block}",
    "body.yvr .yvr-events .si--events{--yvr-a:#6E7B52;--yvr-b:#B4835F}",
    "body.yvr .yvr-ev-head{display:grid;gap:18px}",
    "body.yvr .yvr-ev-head h2{font-family:var(--yvr-display);font-weight:300;letter-spacing:-.015em;",
    "  font-size:clamp(1.75rem,1.35rem + 1.9vw,2.75rem);line-height:1.12;color:var(--yvr-ink);margin:0;padding:0}",
    "@media (min-width:860px){",
    "  body.yvr .yvr-ev-head{grid-template-columns:1fr auto;align-items:center;gap:32px}",
    "}",

    "body.yvr .yvr-rail-btns{display:flex;gap:8px;flex:0 0 auto;justify-content:flex-end}",
    "body.yvr .yvr-rail-btn{width:42px;height:42px;border:1px solid var(--yvr-hair);border-radius:2px;",
    "  display:grid;place-items:center;background:none;color:var(--yvr-ink);cursor:pointer;padding:0;",
    "  transition:border-color .3s var(--yvr-ease),background .3s var(--yvr-ease),color .3s var(--yvr-ease)}",
    "body.yvr .yvr-rail-btn:hover{border-color:var(--yvr-ink);background:var(--yvr-ink);color:#fff}",
    "body.yvr .yvr-rail-btn[disabled]{opacity:.32;pointer-events:none}",
    "body.yvr .yvr-rail-btn svg{width:15px;height:15px}",
    "@media (min-width:1024px){body.yvr .yvr-rail-btn{width:46px;height:46px}}",

    "body.yvr .yvr-rail-wrap{margin-top:clamp(24px,2.5vw,34px)}",
    "body.yvr .yvr-rail{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;",
    "  touch-action:pan-x pan-y;overscroll-behavior-x:contain;",
    "  scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;",
    "  scroll-behavior:smooth;padding-bottom:4px;",
    "  margin-left:calc(var(--yvr-gutter) * -1);margin-right:calc(var(--yvr-gutter) * -1);",
    "  padding-left:var(--yvr-gutter);padding-right:var(--yvr-gutter);",
    "  scroll-padding-left:var(--yvr-gutter)}",
    "body.yvr .yvr-rail::-webkit-scrollbar{display:none}",
    "@media (min-width:1024px){body.yvr .yvr-rail{gap:24px}}",

    "body.yvr .yvr-ev{flex:0 0 82vw;max-width:340px;scroll-snap-align:start;display:flex;",
    "  flex-direction:column;background:var(--yvr-paper);border:1px solid var(--yvr-hair);border-radius:2px}",
    "@media (min-width:600px){body.yvr .yvr-ev{flex:0 0 340px}}",
    "@media (min-width:1024px){body.yvr .yvr-ev{flex:0 0 clamp(320px,26vw,368px);max-width:none}}",

    "body.yvr .yvr-ev-img{aspect-ratio:4/3;position:relative;overflow:hidden;",
    "  background-color:var(--yvr-warm);background-size:cover;background-position:center;",
    "  background-repeat:no-repeat;filter:saturate(.84) contrast(1.03)}",
    "body.yvr .yvr-ev-img.is-empty{background-image:url(\"NOISEURI\"),",
    "  linear-gradient(142deg,rgba(143,125,105,.34) 0%,rgba(163,160,168,.26) 46%,rgba(80,79,84,.42) 100%);",
    "  background-size:120px,cover;background-position:top left,center;background-repeat:repeat,no-repeat}",
    "body.yvr .yvr-ev-date{position:absolute;left:0;top:0;padding:12px 18px;background:var(--yvr-ink);",
    "  color:#fff;font-family:var(--yvr-sans);font-size:.875rem;letter-spacing:.1em;",
    "  text-transform:uppercase;font-weight:600;line-height:1}",

    "body.yvr .yvr-ev-body{padding:20px 20px 0;flex:1 1 auto}",
    "body.yvr .yvr-ev-title{font-family:var(--yvr-display);font-size:1.3125rem;font-weight:400;",
    "  line-height:1.22;letter-spacing:-.01em;color:var(--yvr-ink);margin:0;padding:0}",
    "body.yvr .yvr-ev-desc{margin:9px 0 0;font-size:.875rem;line-height:1.6;color:rgba(80,79,84,.86);",
    "  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}",
    "body.yvr .yvr-ev-facts{margin-top:14px;border-top:1px solid var(--yvr-hair-soft);display:grid}",
    "body.yvr .yvr-ev-fact{display:flex;gap:12px;padding-top:10px;padding-bottom:10px;margin:0;",
    "  border-bottom:1px solid var(--yvr-hair-soft);font-size:.8125rem;color:rgba(80,79,84,.95)}",
    "body.yvr .yvr-ev-fact span:first-child{flex:0 0 54px;font-size:.625rem;letter-spacing:.16em;",
    "  text-transform:uppercase;color:rgba(80,79,84,.62);padding-top:3px}",

    "body.yvr .yvr-ev-foot{padding:18px 20px 20px}",
    "body.yvr .yvr-ev-foot .yvr-btn{width:100%;min-height:44px;padding:0 18px}",
    "body.yvr .yvr-ev-cal{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}",
    "body.yvr .yvr-btn-cal{display:flex;align-items:center;justify-content:center;gap:7px;",
    "  min-height:44px;padding:0 10px;border-radius:2px;background:rgba(143,125,105,.13);color:#7C6853;",
    "  font-family:var(--yvr-sans);font-size:.625rem;letter-spacing:.1em;text-transform:uppercase;",
    "  font-weight:500;transition:background .35s var(--yvr-ease),color .35s var(--yvr-ease)}",
    "body.yvr .yvr-btn-cal svg{width:13px;height:13px;flex:0 0 auto}",
    "body.yvr .yvr-btn-cal:hover{background:var(--yvr-bronze);color:#fff}",

    "body.yvr .yvr-rail-ui{margin-top:18px;display:flex;align-items:center;gap:14px}",
    "body.yvr .yvr-rail-track{position:relative;flex:1 1 auto;height:1px;background:var(--yvr-hair)}",
    "body.yvr .yvr-rail-thumb{position:absolute;top:-1px;left:0;height:3px;width:30%;",
    "  background:var(--yvr-bronze);transition:transform .18s linear}",
    "body.yvr .yvr-rail-more{flex:0 0 auto;display:inline-flex;align-items:center;gap:12px;",
    "  font-family:var(--yvr-sans);font-size:.6875rem;letter-spacing:.16em;text-transform:uppercase;",
    "  font-weight:500;color:var(--yvr-ink)}",
    "body.yvr .yvr-rail-more::after{content:\"\";width:22px;height:1px;background:currentColor;",
    "  transition:width .4s var(--yvr-ease)}",
    "body.yvr .yvr-rail-more:hover{color:var(--yvr-bronze)}",
    "body.yvr .yvr-rail-more:hover::after{width:38px}"
  ].join("\n").replace("NOISEURI", NOISE_URI);

  /* ==========================================================================
     5. LOADER
     ====================================================================== */
  var loaderKilled = false;

  function showLoader() {
    setTimeout(hideLoader, CONFIG.loaderMaxMs);
  }

  function hideLoader() {
    if (loaderKilled) return;
    loaderKilled = true;
    HTML.className += " yvr-ready";
    setTimeout(function () {
      var sheet = document.getElementById("yvr-loading-css");
      if ((sheet ? sheet.parentNode : sheet)) sheet.parentNode.removeChild(sheet);
      HTML.className = HTML.className.replace(/\s*yvr-ready\b/g, "");
    }, 700);
  }

  /* ==========================================================================
     6. DOM HELPERS FOR THE CMS
     ====================================================================== */
  function childrenOf(node) {
    return node ? Array.prototype.slice.call(node.children) : [];
  }
  function directChild(node, cls) {
    var kids = childrenOf(node);
    for (var i = 0; kids.length > i; i++) {
      if ((kids[i].className ? (" " + kids[i].className + " ").indexOf(" " + cls + " ") !== -1 : kids[i].className)) return kids[i];
    }
    return null;
  }
  function shellWrap(host) {
    if (!host || host.getAttribute("data-yvr-shell") === "1") return host;
    var shell = el("div", "yvr-shell");
    while (host.firstChild) shell.appendChild(host.firstChild);
    host.appendChild(shell);
    host.setAttribute("data-yvr-shell", "1");
    return shell;
  }
  function killEnscroll(scope) {
    $$(".enscroll-track", scope).forEach(function (t) {
      var box = t.parentNode;
      if ((box ? box.parentNode : box)) box.parentNode.removeChild(box);
    });
    $$(".make_scrollable", scope).forEach(function (n) {
      n.style.height = "auto";
      n.style.overflow = "visible";
    });
  }
  function widgetByHeader(needle) {
    var hit = null;
    $$(".widget-4").forEach(function (w) {
      if (hit) return;
      var h = w.querySelector(".widget_header h5");
      if ((h ? txt(h).toLowerCase().indexOf(needle) !== -1 : h)) hit = w;
    });
    return hit;
  }
  function closestRow(node) {
    while ((node ? node !== document.body : node)) {
      if ((node.className ? /\bhp-row\b/.test(node.className) : node.className)) return node;
      node = node.parentNode;
    }
    return null;
  }

  /* ==========================================================================
     7. TRANSFORMS
     ====================================================================== */

  /* --- 7a. header --------------------------------------------------------- */
  function fixHeader() {
    var brand = $("#header_branding a.site_title");
    if (brand) {
      brand.className = "site_title yvr-mark";
      brand.innerHTML =
        (CONFIG.logoUrl
          ? '\x3Cimg class="yvr-mark-logo" alt="" src="' + esc(CONFIG.logoUrl) + '"\x3E'
          : "") +
        '\x3Cspan class="yvr-mark-name"\x3E' + esc(CONFIG.markName) + "\x3C/span\x3E" +
        '\x3Cspan class="yvr-mark-sub"\x3E' + esc(CONFIG.markSub) + "\x3C/span\x3E";
    }
    if (!CONFIG.styleAlertBar) {
      var alertBar = $(".mosad_sitewide_alert");
      if (alertBar) alertBar.setAttribute("style", "");
    }

    var header = $("#header");
    if (!header) return;

    // The CMS home-icon cell (a 28x60 spacer gif) and the divider cells are
    // dead weight in our nav; take them out rather than just hiding them.
    $$("#tabContentMain td.co_menu_item.home, #tabContentMain td.co_menu_item_divider").forEach(function (td) {
      if (td.parentNode) td.parentNode.removeChild(td);
    });

    // Desktop donate: copy the CMS donate link to the end of the header row so
    // the grid can park it at the far right while the nav centres itself.
    var donateSrc = $("#tabContentMain td.co_menu_item.donate_link a.parent");
    var hw = $(".header-wrapper", header);
    if ((donateSrc ? (hw ? !$(".yvr-donate", hw) : hw) : donateSrc)) {
      var donate = el("a", "yvr-donate", esc(txt(donateSrc) || "Donate"));
      donate.setAttribute("href", donateSrc.getAttribute("href") || "#");
      if (donateSrc.getAttribute("target")) donate.setAttribute("target", donateSrc.getAttribute("target"));
      hw.appendChild(donate);
    }

    // Inner pages sit on a white body — the header is solid from the start
    // and never needs the hero-based transparent/solid switching.
    if (!IS_HOME) {
      if (!/\byvr-solid\b/.test(header.className)) header.className += " yvr-solid";
      return;
    }

    var ticking = false;
    function measure() {
      var hero = $(".yvr-hero");
      var headH = header.offsetHeight || 72;
      var y = window.pageYOffset || HTML.scrollTop || 0;
      var trigger = 40;
      if (hero) {
        var box = hero.getBoundingClientRect();
        trigger = (box.top + y) + box.height - headH - 8;
      }
      if (y > trigger) {
        if (!/\byvr-solid\b/.test(header.className)) header.className += " yvr-solid";
      } else {
        header.className = header.className.replace(/\s*yvr-solid\b/g, "");
      }
      ticking = false;
    }
    function onScroll() {
      if (ticking) return;
      ticking = true;
      (window.requestAnimationFrame || setTimeout)(measure, 16);
    }
    on(window, "scroll", onScroll, { passive: true });
    on(window, "resize", onScroll);
    measure();
  }

  /* --- 7b. hero ----------------------------------------------------------- */
  function buildHeadline(raw) {
    var lines = String(raw).split(CONFIG.hero.lineBreakToken);
    var n = 0, out = "";
    for (var li = 0; lines.length > li; li++) {
      var words = lines[li].trim().split(/\s+/).filter(Boolean);
      if (!words.length) continue;
      var inner = [];
      for (var wi = 0; words.length > wi; wi++) {
        var last = wi === words.length - 1;
        var ital = (CONFIG.hero.italicLastWordPerLine ? (last ? lines.length - 1 > li : last) : CONFIG.hero.italicLastWordPerLine);
        var body = esc(words[wi]);
        inner.push('\x3Cspan class="yvr-w" style="animation-delay:' +
          (0.10 + n * 0.13).toFixed(2) + 's"\x3E' +
          (ital ? "\x3Cem\x3E" + body + "\x3C/em\x3E" : body) + "\x3C/span\x3E");
        n++;
      }
      out += '\x3Cspan class="yvr-line"\x3E' + inner.join(" ") + "\x3C/span\x3E";
    }
    return '\x3Cspan class="yvr-h1"\x3E' + out + "\x3C/span\x3E";
  }

  var HERO_MORE = null;   // fallback button for captions that have none

  function decorateCaption(root) {
    if (!root || root.getAttribute("data-yvr") === "1") return;
    if (root.querySelector(".yvr-h1, .yvr-hero-lede")) { root.setAttribute("data-yvr", "1"); return; }
    // each slide keeps its own Read More (text + link); only a caption with no
    // button at all borrows the first one found
    if ((HERO_MORE ? !root.querySelector("a.readMore") : HERO_MORE)) {
      (root.querySelector("p") || root).appendChild(HERO_MORE.cloneNode(true));
    }
    var big = root.querySelector("big");
    var holder = big ? ((big.parentNode ? big.parentNode.tagName === "SPAN" : big.parentNode) ? big.parentNode : big) : null;
    if (!holder) {
      var spans = $$("span", root).filter(function (sp) {
        return !/readMore/.test(sp.className || "");
      });
      holder = spans[0];
    }
    if (!holder) return;

    var title = "", lede = "";
    if (big) {
      // the big tag is the headline; whatever else sits in the caption is the lede
      title = txt(big);
      var rest = holder.cloneNode(true);
      var b2 = rest.querySelector("big");
      if ((b2 ? b2.parentNode : b2)) b2.parentNode.removeChild(b2);
      lede = txt(rest);
    } else {
      var all = txt(holder);
      var words = all.split(/\s+/).filter(Boolean).length;
      if (CONFIG.hero.shortHeadlineWords >= words) title = all; else lede = all;
    }
    if (!title ? !lede : false) return;

    var frag = el("span", null,
      (title ? buildHeadline(title) : "") +
      (lede ? '\x3Cspan class="yvr-hero-lede"\x3E' + esc(lede) + "\x3C/span\x3E" : ""));
    var parent = holder.parentNode;
    while (frag.firstChild) parent.insertBefore(frag.firstChild, holder);
    parent.removeChild(holder);
    root.setAttribute("data-yvr", "1");
  }

  function fixHero() {
    var w = $(".widget-4.promo_slider");
    if (!w) return;
    w.className += " yvr-hero";

    HERO_MORE = $("li.cycle-html-caption a.readMore, .cycle-caption a.readMore", w);
    $$(".cycle-caption, li.cycle-html-caption", w).forEach(decorateCaption);

    var cap = $(".cycle-caption", w);
    if ((cap ? window.MutationObserver : cap)) {
      new MutationObserver(function () {
        if (cap.getAttribute("data-yvr") !== "1" || !cap.querySelector(".yvr-h1, .yvr-hero-lede")) {
          cap.removeAttribute("data-yvr");
          decorateCaption(cap);
        }
      }).observe(cap, { childList: true, subtree: true });
    }
  }

  /* --- 7b2. announcements: slim bar above the header ---------------------- */
  function fixAnnouncements() {
    var w = widgetByHeader(CONFIG.match.announcements);
    if (!w) return;
    var row = closestRow(w);
    var content = $(".widget_content", w);
    var items = content ? $$(".item", content) : [];
    var live = items.filter(function (it) {
      return txt(it.querySelector(".title")) || txt(it.querySelector(".synopsis"));
    });

    // the widget never renders in place: hide its row (or just the widget if the row is shared)
    var soleWidget = (row ? row.querySelectorAll(".widget-4").length === 1 : false);
    (soleWidget ? row : w).className += " yvr-hidden";
    if (!live.length) return;

    var item = live[0];
    var a = item.querySelector(".title a");
    var title = txt(a) || txt(item.querySelector(".title"));
    var href = a ? a.getAttribute("href") : "";
    var syn = item.querySelector(".synopsis");
    var synHtml = syn ? syn.innerHTML.replace(/^(?:\s|\x3Cbr\s*\/?\x3E|\x26nbsp;)+|(?:\s|\x3Cbr\s*\/?\x3E|\x26nbsp;)+$/gi, "") : "";
    var more = item.querySelector("a.readMore");
    var moreHref = more ? more.getAttribute("href") : href;
    var moreText = txt(more) || CONFIG.announcements.defaultButton;
    var src = imgUrlFrom(item.querySelector(".icon img"));

    var bar = el("div", "yvr-ann-bar" + (src ? " has-image" : ""));
    bar.setAttribute("role", "region");
    bar.setAttribute("aria-label", "Announcement");
    if (src) bar.style.setProperty("--yvr-ann-img", "url(" + src + ")");
    var h = el("p", "yvr-ann-bar-title");
    if (href) {
      var ta = el("a", null, esc(title));
      ta.setAttribute("href", href);
      h.appendChild(ta);
    } else {
      h.innerHTML = esc(title);
    }
    bar.appendChild(h);
    if (synHtml) bar.appendChild(el("span", "yvr-ann-bar-text", synHtml));
    if (moreHref) {
      var ml = el("a", "yvr-ann-bar-more", esc(moreText));
      ml.setAttribute("href", moreHref);
      if ((more ? more.getAttribute("target") : more)) ml.setAttribute("target", more.getAttribute("target"));
      bar.appendChild(ml);
    }

    // first thing in the body, ahead of the header
    var header = $("#header");
    var parent = header ? header.parentNode : document.body;
    parent.insertBefore(bar, header || parent.firstChild);
    document.body.className += " yvr-has-ann";

    // tell the header how far down to sit (bar height can wrap on small screens)
    function measureBar() {
      HTML.style.setProperty("--yvr-annh", bar.offsetHeight + "px");
    }
    measureBar();
    on(window, "resize", measureBar);
    if (document.fonts ? document.fonts.ready : false) document.fonts.ready.then(measureBar);
  }

  /* --- 7b3. "Follow us on Instagram" row ----------------------------------- */
  function fixSocial() {
    var w = widgetByHeader(CONFIG.match.social);
    if (!w) return;
    w.className += " yvr-social";
    var head = $(".widget_header", w);
    var h5 = head ? head.querySelector("h5") : null;
    if ((h5 ? !head.querySelector(".yvr-head-row") : h5)) {
      var hrow = el("div", "yvr-head-row");
      head.insertBefore(hrow, h5);
      hrow.appendChild(el("span", "yvr-sicon si--social", ICON.social));
      hrow.appendChild(h5);
    }
    shellWrap(w);
  }

  /* --- 7c. ongoing programs ----------------------------------------------- */
  function fixPrograms() {
    var w = widgetByHeader(CONFIG.match.programs);
    if (!w) return;
    w.className += " yvr-programs";
    killEnscroll(w);

    var wrap = directChild(w, "wrapper") || w;
    var head = $(".widget_header", w);
    var content = $(".widget_content", w);
    if (!content) return;

    if (head) {
      var h5 = head.querySelector("h5");
      if (h5) {
        var hrow = el("div", "yvr-head-row");
        var ic = el("span", "yvr-sicon si--programs rise", ICON.programs);
        head.insertBefore(hrow, h5);
        hrow.appendChild(ic);
        hrow.appendChild(h5);
      }
    }

    var items = $$(".item", content);
    if (!items.length) return;

    var shots = [];
    var list = el("div", "yvr-prog-list rise");
    list.setAttribute("data-d", "1");

    items.forEach(function (item, i) {
      var a = item.querySelector(".title a");
      var title = txt(a);
      var desc = txt(item.querySelector(".synopsis"));
      var src = imgUrlFrom(item.querySelector(".icon img"));
      shots.push(src);

      var meta = iconForProgram(title, i);

      var row = el("a", "yvr-prog-row" + (i === 0 ? " is-active" : ""));
      row.setAttribute("href", a ? a.getAttribute("href") : "#");
      if ((a ? a.getAttribute("target") : a)) row.setAttribute("target", a.getAttribute("target"));
      row.setAttribute("data-row", String(i));
      row.innerHTML =
        '\x3Cspan class="yvr-prog-num"\x3E' + ("0" + (i + 1)).slice(-2) + "\x3C/span\x3E" +
        '\x3Cspan class="yvr-prog-thumb"' + (src ? ' style="background-image:url(' + src + ')"' : "") + "\x3E\x3C/span\x3E" +
        '\x3Cspan class="yvr-prog-text"\x3E' +
          '\x3Cspan class="yvr-prog-h"\x3E' +
            '\x3Cspan class="yvr-prog-icon ' + meta.cls + '"\x3E' + meta.icon + "\x3C/span\x3E" +
            '\x3Cspan class="yvr-prog-title"\x3E' + esc(title) + "\x3C/span\x3E" +
          "\x3C/span\x3E" +
          '\x3Cspan class="yvr-prog-desc"\x3E' + esc(desc) + "\x3C/span\x3E" +
        "\x3C/span\x3E" +
        '\x3Cspan class="yvr-prog-chev"\x3E\x3C/span\x3E';
      list.appendChild(row);
    });

    var stage = el("div", "yvr-prog-stage rise");
    var frame = el("div", "yvr-prog-frame");
    shots.forEach(function (src, i) {
      var layer = el("div", "yvr-prog-layer" + (i === 0 ? " is-on" : ""));
      if (src) layer.style.backgroundImage = "url(" + src + ")";
      layer.setAttribute("data-layer", String(i));
      frame.appendChild(layer);
    });
    stage.appendChild(frame);

    var grid = el("div", "yvr-prog");
    grid.appendChild(stage);
    grid.appendChild(list);
    content.innerHTML = "";
    content.appendChild(grid);

    var layers = $$(".yvr-prog-layer", frame);
    var rows = $$(".yvr-prog-row", list);
    function activate(i) {
      rows.forEach(function (r, k) {
        r.className = "yvr-prog-row" + (k === i ? " is-active" : "");
      });
      layers.forEach(function (l, k) {
        l.className = "yvr-prog-layer" + (k === i ? " is-on" : "");
      });
    }
    // Desktop: the stage cycles through the images on its own; hovering a row
    // takes over and pauses it, leaving the list resumes from that row.
    var cur = 0, timer = null, held = false;
    var rotateMs = Number(CONFIG.programs.rotateMs) || 0;
    var allowMotion = !(window.matchMedia ? matchMedia("(prefers-reduced-motion: reduce)").matches : false);
    function isDesktop() {
      return window.matchMedia ? matchMedia("(min-width: 960px)").matches : true;
    }
    function tick() {
      if (held || document.hidden || !isDesktop()) return;
      cur = (cur + 1) % rows.length;
      activate(cur);
    }
    function start() {
      stop();
      if ((rotateMs > 0 ? (rows.length > 1 ? allowMotion : false) : false)) timer = setInterval(tick, rotateMs);
    }
    function stop() { if (timer) { clearInterval(timer); timer = null; } }

    rows.forEach(function (r, i) {
      on(r, "mouseenter", function () { held = true; cur = i; activate(i); });
      on(r, "focus", function () { held = true; cur = i; activate(i); });
    });
    on(list, "mouseleave", function () { held = false; start(); });
    on(list, "focusout", function () { held = false; });
    on(document, "visibilitychange", function () { if (document.hidden) stop(); else start(); });
    start();

    shellWrap(wrap);
  }

  /* --- 7d. community -] about band ---------------------------------------- */
  function fixAbout() {
    var w = widgetByHeader(CONFIG.match.community);
    if (!w) return;
    w.className += " yvr-about";
    killEnscroll(w);

    var wrap = directChild(w, "wrapper") || w;
    var content = $(".widget_content", w);
    var item = (content ? content.querySelector(".item") : content);
    if (!item) return;

    var titleA = item.querySelector(".title a");
    var title = txt(titleA);
    var src = imgUrlFrom(item.querySelector(".icon img"));
    var syn = item.querySelector(".synopsis");
    var html = syn ? syn.innerHTML : "";

    var tok = CONFIG.about.fontSwitchToken;
    var cut = html.indexOf(tok);
    var lede = cut === -1 ? html : html.slice(0, cut);
    var sign = cut === -1 ? "" : html.slice(cut + tok.length);
    lede = lede.replace(/(?:\s|\x3Cbr\s*\/?\x3E|\x26nbsp;)+$/gi, "").trim();
    sign = sign.replace(/^(?:\s|\x3Cbr\s*\/?\x3E|\x26nbsp;)+/gi, "")
               .replace(/^[-\u2013\u2014]\s*/, "")
               .replace(/(?:\s|\x3Cbr\s*\/?\x3E|\x26nbsp;)+$/gi, "").trim();

    var more = item.querySelector("a.readMore");

    var grid = el("div", "yvr-about-grid rise-expand");
    var imgCol = el("div", "yvr-about-img rise-left");
    var zoom = el("div", "yvr-about-zoom");
    if (src) zoom.style.backgroundImage = "url(" + src + ")";
    imgCol.appendChild(zoom);

    var copy = el("div", "yvr-about-copy");
    copy.appendChild(el("span", "yvr-sicon si--about rise", ICON.about));
    copy.appendChild(el("h2", null, esc(title)));
    var lp = el("p", "yvr-lede rise", lede);
    lp.setAttribute("data-d", "1");
    copy.appendChild(lp);

    if (sign) {
      var sg = el("div", "yvr-about-sign rise", "\x3Ci\x3E\x3C/i\x3E\x3Cp\x3E" + sign + "\x3C/p\x3E");
      sg.setAttribute("data-d", "2");
      copy.appendChild(sg);
    }
    if (more) {
      more.className = "readMore yvr-btn yvr-btn--ghost rise";
      copy.appendChild(more);
    }

    grid.appendChild(imgCol);
    grid.appendChild(copy);
    content.innerHTML = "";
    content.appendChild(grid);
    shellWrap(wrap);
  }

  /* --- 7e. info columns --------------------------------------------------- */
  function fixInfo() {
    var cl = widgetByHeader(CONFIG.match.shabbat);
    var dt = widgetByHeader(CONFIG.match.dailyThought);
    var fb = widgetByHeader(CONFIG.match.facebook);
    var row = closestRow(cl || dt || fb);
    if (!row) return;
    row.className += " yvr-info";
    killEnscroll(row);

    var cols = childrenOf(row);
    var grid = el("div", "yvr-info-grid");
    cols.forEach(function (c) { grid.appendChild(c); });
    row.appendChild(grid);
    shellWrap(row);

    childrenOf(grid).forEach(function (c) {
      if (!c.querySelector || !c.querySelector(".widget-4")) {
        if (/\bclear\b|\bbreak_floats\b/.test(c.className || "")) c.style.display = "none";
        return;
      }
      c.className += " yvr-info-col";
      if (c.querySelector(".candlelighting")) c.className += " yvr-col-1";
      else if (c.querySelector(".daily_thought")) c.className += " yvr-col-2";
      else c.className += " yvr-col-3";
    });

    if (dt) {
      var a = dt.querySelector(".title a");
      var body = dt.querySelector(".widget_content");
      if ((a ? (body ? !body.querySelector(".yvr-dt-credit") : body) : a)) {
        var credit = el("span", "yvr-dt-credit",
          '\x3Ca href="' + esc(a.getAttribute("href") || "#") + '"\x3E' +
          esc(CONFIG.dailyThoughtMoreText) + "\x3C/a\x3E");
        body.appendChild(credit);
      }
    }
  }

  /* --- 7f. mailing list --------------------------------------------------- */
  function fixSubscribe() {
    var w = widgetByHeader(CONFIG.match.subscribe);
    if (!w) return;
    var row = closestRow(w);
    if (row) row.className += " yvr-subscribe";
    var wrap = directChild(w, "wrapper") || w;
    wrap.className += " yvr-sub-card";
    if (row) shellWrap(row);

    var content = $(".widget_content", w);
    if ((content ? !content.querySelector(".yvr-sub-note") : content)) {
      content.appendChild(el("p", "yvr-sub-note",
        "We\u2019ll never share your address."));
    }
  }

  /* --- 7g. upcoming events (fetched from the CMS events template) ---------- */
  var MONTHS = { january:0, february:1, march:2, april:3, may:4, june:5,
                 july:6, august:7, september:8, october:9, november:10, december:11 };
  var WD = ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];
  var MO = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];

  function parseEventDate(str) {
    if (!str) return null;
    var parts = str.replace(/,/g, "").trim().replace(/\s+/g, " ").split(" ");
    if (3 > parts.length) return null;
    var m = MONTHS[parts[0].toLowerCase()], d = parseInt(parts[1], 10), y = parseInt(parts[2], 10);
    if (m === undefined || isNaN(d) || isNaN(y)) return null;
    return new Date(y, m, d);
  }

  function applyTime(timeString, baseDate) {
    if (!timeString) return null;
    var m = String(timeString).toLowerCase().match(/(\d{1,2}):?(\d{2})?\s*(am|pm)/);
    if (!m) return null;
    var h = parseInt(m[1], 10), min = m[2] ? parseInt(m[2], 10) : 0;
    if ((m[3] === "pm" ? 12 > h : m[3] === "pm")) h += 12;
    if ((m[3] === "am" ? h === 12 : m[3] === "am")) h = 0;
    var d = new Date(baseDate);
    d.setHours(h, min, 0, 0);
    return d;
  }

  function gcalStamp(d) { return d.toISOString().replace(/-|:|\.\d{3}/g, ""); }

  function googleCalUrl(title, timeText, date, desc, loc) {
    var range = "";
    var start = applyTime(timeText, date);
    if (start) {
      var end = new Date(start.getTime() + CONFIG.events.assumedMinutes * 60000);
      range = gcalStamp(start) + "/" + gcalStamp(end);
    } else {
      var a = new Date(date), b = new Date(date);
      b.setDate(b.getDate() + 1);
      range = a.toISOString().split("T")[0].replace(/-/g, "") + "/" +
              b.toISOString().split("T")[0].replace(/-/g, "");
    }
    var q = "action=TEMPLATE" +
      "\x26text=" + encodeURIComponent(title) +
      "\x26dates=" + range +
      "\x26details=" + encodeURIComponent(desc || "") +
      "\x26location=" + encodeURIComponent(loc || "");
    return "https://www.google.com/calendar/render?" + q;
  }

  function splitTitle(raw) {
    var t = String(raw || "").replace(/\s+/g, " ").trim();
    var i = t.indexOf(CONFIG.events.buttonMarker);
    if (i === -1) return { title: t || "Event", button: CONFIG.events.defaultButton };
    var title = t.slice(0, i).trim();
    var label = t.slice(i + CONFIG.events.buttonMarker.length).trim();
    return { title: title || "Event", button: label || CONFIG.events.defaultButton };
  }

  function eventTargetUrl(id) {
    return 5 >= id.length
      ? location.origin + "/tools/events/register_cdo/eventid/" + id
      : location.origin + "/templates/articlecco_cdo/aid/" + id;
  }

  function harvestEvents(doc) {
    var out = [];
    var today = new Date();
    today.setHours(0, 0, 0, 0);
    var groups = $$("#calendar .list_item", doc);

    for (var g = 0; (groups.length > g ? CONFIG.events.max > out.length : groups.length > g); g++) {
      var dateEl = groups[g].querySelector(".date");
      if (!dateEl) continue;
      var rawDate = txt(dateEl);
      var date = parseEventDate(rawDate.split(",").slice(1).join(",").trim());
      if (!date || today > date) continue;

      var nodes = $$(".category_item", groups[g]);
      for (var n = 0; (nodes.length > n ? CONFIG.events.max > out.length : nodes.length > n); n++) {
        out.push({ node: nodes[n], date: date });
      }
    }
    return out;
  }

  function buildEventCard(node, date) {
    var parsed = splitTitle(txt(node.querySelector(".event_name")));

    var timeText = txt(node.querySelector(".event_options \x3E div")).toUpperCase();
    if (timeText) timeText = timeText.replace(/(\d)\s*([AP]M)\b/, "$1 $2");

    var desc = txt(node.querySelector(".event_wrapper \x3E .event_info"));

    var imgLink = node.querySelector(".more_info a");
    var img = imgLink ? imgLink.getAttribute("href") : "";

    var loc = "";
    var mapEl = node.querySelector('a[href*="maps.google.com"]');
    if (mapEl) {
      var tmp = el("div", null, mapEl.innerHTML.replace(/\x3Cbr\s*\/?\x3E/gi, " "));
      loc = txt(tmp).replace(/\s+/g, " ");
    }

    var target = "";
    var links = $$("a", node);
    for (var li = 0; (links.length > li ? !target : links.length > li); li++) {
      var m = (links[li].getAttribute("href") || "").match(/\/events\/(\d+)(?:[/?#]|$)/);
      if ((m ? m[1] : m)) target = eventTargetUrl(m[1]);
    }

    var icsEl = node.querySelector('a[href*="eventexport.asp"]');
    var ics = icsEl ? location.origin + icsEl.getAttribute("href") : "";

    var badge = WD[date.getDay()] + ", " + MO[date.getMonth()] + " " + date.getDate();

    var card = el("article", "yvr-ev");
    var facts = "";
    if (timeText) facts += '\x3Cp class="yvr-ev-fact"\x3E\x3Cspan\x3ETime\x3C/span\x3E\x3Cspan\x3E' + esc(timeText) + "\x3C/span\x3E\x3C/p\x3E";
    if (loc) facts += '\x3Cp class="yvr-ev-fact"\x3E\x3Cspan\x3EWhere\x3C/span\x3E\x3Cspan\x3E' + esc(loc) + "\x3C/span\x3E\x3C/p\x3E";

    card.innerHTML =
      '\x3Cdiv class="yvr-ev-img' + (img ? "" : " is-empty") + '"' +
        (img ? ' style="background-image:url(' + img + ')"' : "") + "\x3E" +
        '\x3Cspan class="yvr-ev-date"\x3E' + esc(badge) + "\x3C/span\x3E" +
      "\x3C/div\x3E" +
      '\x3Cdiv class="yvr-ev-body"\x3E' +
        '\x3Ch3 class="yvr-ev-title"\x3E' + esc(parsed.title) + "\x3C/h3\x3E" +
        (desc ? '\x3Cp class="yvr-ev-desc"\x3E' + esc(desc) + "\x3C/p\x3E" : "") +
        (facts ? '\x3Cdiv class="yvr-ev-facts"\x3E' + facts + "\x3C/div\x3E" : "") +
      "\x3C/div\x3E" +
      '\x3Cdiv class="yvr-ev-foot"\x3E' +
        '\x3Ca class="yvr-btn yvr-btn--ghost yvr-btn--sm" href="' + esc(target || "#") + '"\x3E' +
          esc(parsed.button) + "\x3C/a\x3E" +
        '\x3Cdiv class="yvr-ev-cal"\x3E' +
          '\x3Ca class="yvr-btn-cal" target="_blank" rel="noopener" href="' +
            esc(googleCalUrl(parsed.title, timeText, date, desc, loc)) + '"\x3E' + ICON.cal + " Google\x3C/a\x3E" +
          (ics ? '\x3Ca class="yvr-btn-cal" href="' + esc(ics) + '"\x3E' + ICON.cal + " Apple\x3C/a\x3E" : "") +
        "\x3C/div\x3E" +
      "\x3C/div\x3E";
    return card;
  }

  function wireRail(rail, prev, next, thumb) {
    function step() {
      var first = rail.firstElementChild;
      return first ? first.offsetWidth + 24 : rail.clientWidth * 0.85;
    }
    function sync() {
      var max = rail.scrollWidth - rail.clientWidth;
      if (prev) prev.disabled = 2 >= rail.scrollLeft;
      if (next) next.disabled = rail.scrollLeft >= max - 2;
      if (thumb) {
        var visible = rail.clientWidth / (rail.scrollWidth || 1);
        thumb.style.width = Math.max(12, Math.min(100, visible * 100)) + "%";
        var travel = max > 0 ? rail.scrollLeft / max : 0;
        thumb.style.transform = "translateX(" + (travel * (100 / Math.max(visible, 0.0001) - 100)) + "%)";
      }
    }
    on(prev, "click", function () { rail.scrollLeft -= step(); });
    on(next, "click", function () { rail.scrollLeft += step(); });
    on(rail, "scroll", sync, { passive: true });
    on(window, "resize", sync);
    sync();
  }

  function fixEvents() {
    if (!window.fetch || !window.DOMParser) return;

    var sec = el("section", "yvr-events");
    sec.id = "yvr-events";
    var shell = el("div", "yvr-shell");
    var head = el("div", "yvr-ev-head");
    var hrow = el("div", "yvr-head-row");
    hrow.appendChild(el("span", "yvr-sicon si--events", ICON.events));
    hrow.appendChild(el("h2", null, esc(CONFIG.events.heading)));
    head.appendChild(hrow);

    var btns = el("div", "yvr-rail-btns");
    var prev = el("button", "yvr-rail-btn", ICON.chevL);
    var next = el("button", "yvr-rail-btn", ICON.chevR);
    prev.type = next.type = "button";
    prev.setAttribute("aria-label", "Previous events");
    next.setAttribute("aria-label", "Next events");
    btns.appendChild(prev); btns.appendChild(next);
    head.appendChild(btns);

    var wrap = el("div", "yvr-rail-wrap");
    var rail = el("div", "yvr-rail");
    rail.setAttribute("tabindex", "0");
    rail.setAttribute("role", "region");
    rail.setAttribute("aria-label", "Upcoming events, scrollable");
    rail.setAttribute("data-lenis-prevent-touch", "");   // finger swipes stay native
    wrap.appendChild(rail);

    var ui = el("div", "yvr-rail-ui");
    ui.appendChild(el("div", "yvr-rail-track", '\x3Cspan class="yvr-rail-thumb"\x3E\x3C/span\x3E'));
    if (CONFIG.events.fullCalendarUrl) {
      var more = el("a", "yvr-rail-more", esc(CONFIG.events.fullCalendarText));
      more.setAttribute("href", CONFIG.events.fullCalendarUrl);
      ui.appendChild(more);
    }
    wrap.appendChild(ui);

    shell.appendChild(head);
    shell.appendChild(wrap);
    sec.appendChild(shell);

    var about = widgetByHeader(CONFIG.match.community);
    var aboutRow = closestRow(about);
    if ((aboutRow ? aboutRow.parentNode : aboutRow)) {
      aboutRow.parentNode.insertBefore(sec, aboutRow);
    } else {
      var progRow = closestRow(widgetByHeader(CONFIG.match.programs));
      if ((progRow ? progRow.parentNode : progRow)) progRow.parentNode.insertBefore(sec, progRow.nextSibling);
      else return;
    }

    var url = CONFIG.events.source +
      (CONFIG.events.source.indexOf("?") === -1 ? "?" : "\x26") + "t=" + Date.now();

    fetch(url, { credentials: "same-origin" })
      .then(function (r) {
        if (!r.ok) throw new Error("HTTP " + r.status);
        return r.text();
      })
      .then(function (html) {
        var doc = new DOMParser().parseFromString(html, "text/html");
        var found = harvestEvents(doc);
        if (!found.length) throw new Error("no upcoming events");
        found.forEach(function (e) {
          try { rail.appendChild(buildEventCard(e.node, e.date)); } catch (err) {}
        });
        if (!rail.children.length) throw new Error("no cards built");
        sec.className += " is-ready";
        wireRail(rail, prev, next, ui.querySelector(".yvr-rail-thumb"));
      })
      .catch(function (err) {
        if (window.console) console.warn("[yvr] events:", (err ? err.message : err));
        if (sec.parentNode) sec.parentNode.removeChild(sec);
      });
  }

  /* --- 7j. footer (every page) -------------------------------------------- */
  function fixFooter() {
    var foot = $("#footer");
    if (!foot || foot.getAttribute("data-yvr") === "1") return;

    // harvest what the CMS gives us before we clear it
    var address = $(".footer-address", foot);
    var addrTxt = txt(address).replace(/[,|\s]/g, "");
    // ChabadOne often puts "Name | phone | email" in .footer3 instead of an address
    var contact = [];
    var f3 = $(".footer3", foot);
    if (f3) {
      txt(f3).split("|").forEach(function (part) {
        var t = part.replace(/\s+/g, " ").trim();
        if (!t) return;
        if (t.toLowerCase().indexOf("chabad of") !== -1) return;           // the name — we print our own
        if (t.toLowerCase() === CONFIG.markName.toLowerCase()) return;
        contact.push(t);
      });
    }
    var social = $(".cs-f-social-icons", foot);
    if (social) {
      var soc = CONFIG.social || {};
      var map = { facebook_homepage: soc.facebook, whatsapp_homepage: soc.whatsapp, instagram_homepage: soc.instagram };
      $$("a", social).forEach(function (l) {
        if ((soc.removeTwitter ? /twitter/i.test(l.className) : false)) { l.parentNode.removeChild(l); return; }
        for (var k in map) {
          if ((map[k] ? l.className.indexOf(k) !== -1 : false)) l.setAttribute("href", map[k]);
        }
        l.setAttribute("target", "_blank"); l.setAttribute("rel", "noopener");
      });
    }
    var privacy = $("a.privacy-link", foot);
    var powered = null;
    $$("a", foot).forEach(function (l) {
      if (!powered ? /chabad\.org/i.test(l.getAttribute("href") || "") : false) powered = l;
    });
    var yearsMatch = txt(foot).match(/\u00A9\s*([0-9]{4}(?:\s*[-\u2013]\s*[0-9]{4})?)/);
    var years = yearsMatch ? yearsMatch[1].replace(/\s+/g, "") : String(new Date().getFullYear());

    var shell = el("div", "yvr-shell");
    var grid = el("div", "yvr-foot-grid");

    var brand = el("div", "yvr-foot-brand");
    if (CONFIG.logoUrl) {
      var lg = el("img", "yvr-foot-logo");
      lg.setAttribute("src", CONFIG.logoUrl); lg.setAttribute("alt", "");
      brand.appendChild(lg);
    }
    brand.appendChild(el("span", "yvr-foot-name", esc(CONFIG.markName)));
    brand.appendChild(el("span", "yvr-foot-sub", esc(CONFIG.markSub)));
    grid.appendChild(brand);

    var addr = el("div", "yvr-foot-col");
    if ((address ? addrTxt : address)) {
      addr.appendChild(el("span", "yvr-foot-label", esc(CONFIG.footer.addressLabel)));
      address.className = "yvr-foot-address";
      addr.appendChild(address);
    }
    if (contact.length) {
      addr.appendChild(el("span", "yvr-foot-label", esc(CONFIG.footer.contactLabel)));
      var cl = el("div", "yvr-foot-address");
      contact.forEach(function (t) {
        var line = el("span");
        if (/@/.test(t)) {
          var m = el("a", null, esc(t)); m.setAttribute("href", "mailto:" + t); line.appendChild(m);
        } else if (7 > t.replace(/\D/g, "").length) {
          line.innerHTML = esc(t);
        } else {
          var tel = el("a", null, esc(t)); tel.setAttribute("href", "tel:+" + t.replace(/\D/g, "").replace(/^1?/, "1")); line.appendChild(tel);
        }
        cl.appendChild(line);
      });
      addr.appendChild(cl);
    }
    grid.appendChild(addr);

    var soc = el("div", "yvr-foot-col");
    if ((social ? social.querySelector("a") : social)) {
      soc.appendChild(el("span", "yvr-foot-label", esc(CONFIG.footer.followLabel)));
      social.className = "yvr-foot-social";
      soc.appendChild(social);
    }
    grid.appendChild(soc);

    var legal = el("div", "yvr-foot-legal");
    var pw = el("span", null, "Powered by ");
    var pl = el("a", null, "Chabad.org");
    pl.setAttribute("href", powered ? powered.getAttribute("href") : "https://www.chabad.org/");
    pl.setAttribute("target", "_blank"); pl.setAttribute("rel", "noopener");
    pw.appendChild(pl);
    legal.appendChild(pw);
    legal.appendChild(el("span", null, "\u00A9 " + esc(years) + " " + esc(CONFIG.markName)));
    if (privacy) {
      privacy.className = "yvr-foot-privacy";
      privacy.innerHTML = esc(txt(privacy) || "Privacy Policy");
      legal.appendChild(privacy);
    }

    shell.appendChild(grid);
    shell.appendChild(legal);
    foot.innerHTML = "";
    foot.appendChild(shell);
    foot.setAttribute("data-yvr", "1");
  }

  /* --- 7k. donate page: behaviour the theme's script does not reliably give us */
  function fixDonate() {
    if (!(CONFIG.donate ? CONFIG.donate.enabled : false)) return;   // off until re-enabled
    var wrap = $("#donate-wrapper");
    if (!wrap) return;
    // Rename: the donate template prints the old centre name in the heading,
    // the opt-in checkbox and the footnotes. Walk text nodes only, so markup
    // and the form's own values are untouched.
    var swaps = CONFIG.donate.rename || [];
    if ((swaps.length ? document.createTreeWalker : false)) {
      var walker = document.createTreeWalker(wrap, NodeFilter.SHOW_TEXT, null, false);
      var node;
      while ((node = walker.nextNode())) {
        var s = node.nodeValue;
        for (var i = 0; swaps.length > i; i++) {
          if (s.indexOf(swaps[i][0]) !== -1) s = s.split(swaps[i][0]).join(swaps[i][1]);
        }
        if (s !== node.nodeValue) node.nodeValue = s;
      }
    }

    // One-time / Monthly: check the radio, tell the theme (change event), and
    // keep the container class in step so our CSS highlights the right side.
    var toggle = $(".frequency-toggle", wrap);
    if (toggle) {
      $$(".frequency-toggle__label", toggle).forEach(function (label) {
        on(label, "click", function (e) {
          var input = label.querySelector("input");
          if (!input) return;
          e.preventDefault();
          if (!input.checked) {
            input.checked = true;
            try { input.dispatchEvent(new Event("change", { bubbles: true })); } catch (err) {
              var ev = document.createEvent("HTMLEvents"); ev.initEvent("change", true, false); input.dispatchEvent(ev);
            }
          }
          var monthly = /monthly/.test(label.className);
          toggle.className = toggle.className.replace(/\s*\b(one-time|monthly)\b/g, "") + (monthly ? " monthly" : " one-time");
        });
      });
    }

    // Amount buttons: reflect the chosen one, whatever class the theme uses.
    var amounts = $$(".amounts button", wrap);
    amounts.forEach(function (b) {
      on(b, "click", function () {
        amounts.forEach(function (o) { o.className = o.className.replace(/\s*\bselected\b/g, ""); });
        b.className += " selected";
      });
    });
    var custom = $(".custom-amount", wrap);
    if (custom) on(custom, "input", function () {
      if (custom.value) amounts.forEach(function (o) { o.className = o.className.replace(/\s*\bselected\b/g, ""); });
    });
  }

  /* --- 7i. smooth scroll (Lenis) ------------------------------------------ */
  function fixSmoothScroll() {
    var cfg = CONFIG.smoothScroll || {};
    if (!cfg.enabled || !window.Lenis || window.yvrLenis) return;
    if ((window.matchMedia ? matchMedia("(prefers-reduced-motion: reduce)").matches : false)) return;

    // Only the mobile menu is exempted from Lenis. The events rail deliberately
    // is NOT: with data-lenis-prevent on it, a vertical wheel over the rail went
    // to the rail (which can only scroll sideways), so the page froze until the
    // pointer left it. Lenis ignores pure horizontal gestures, so a sideways
    // trackpad swipe over the rail still scrolls the cards natively.
    $$("#co_menu_container").forEach(function (n) {
      n.setAttribute("data-lenis-prevent", "");
    });

    var lenis = new window.Lenis({
      lerp: Number(cfg.lerp) || 0.1,
      smoothWheel: true,
      wheelMultiplier: Number(cfg.wheelMultiplier) || 1,
      touchMultiplier: Number(cfg.touchMultiplier) || 1.5,
      syncTouch: !!cfg.touch
    });
    function raf(time) { lenis.raf(time); requestAnimationFrame(raf); }
    requestAnimationFrame(raf);
    window.yvrLenis = lenis;
  }

  /* --- 7h. scroll reveals -------------------------------------------------- */
  function fixReveals() {
    var targets = $$(".rise, .rise-left, .rise-expand");
    if (!targets.length) return;
    if (!window.IntersectionObserver) {
      targets.forEach(function (t) { t.className += " is-in"; });
      return;
    }
    var io = new IntersectionObserver(function (entries) {
      entries.forEach(function (e) {
        if (!e.isIntersecting) return;
        e.target.className += " is-in";
        io.unobserve(e.target);
      });
    }, { rootMargin: "0px 0px -8% 0px", threshold: 0.08 });
    targets.forEach(function (t) { io.observe(t); });
  }

  /* ==========================================================================
     8. BOOT
     ====================================================================== */
  // Repeat the body class so our selectors outweigh the theme's long ones.
  // `cls` is "yvr" on the homepage and "yvr-nav" on inner pages.
  function boost(css, cls) {
    cls = cls || "yvr";
    var rep = "body." + cls + "." + cls + "." + cls + "." + cls;
    css = css.replace(/html\.yvr-has-aleph body\.yvr/g, "\u0002");
    css = css.replace(/body\.yvr(?![-a-zA-Z0-9_])/g, "html " + rep);
    css = css.replace(/\u0002/g, "html.yvr-has-aleph.yvr-has-aleph.yvr-has-aleph " + rep);
    return css.replace(/(^|[,\s{}])\.yvr(?=[\s.])/g, "$1html " + rep);
  }

  // Multiply every rem value in a CSS string by CONFIG.typeScale.
  function scaleRems(css, factor) {
    var k = Number(factor || CONFIG.typeScale) || 1;
    if (k === 1) return css;
    return css.replace(/(\d*\.?\d+)rem(?![a-zA-Z-])/g, function (m, n) {
      return (parseFloat(n) * k).toFixed(4).replace(/\.?0+$/, "") + "rem";
    });
  }

  /* inner pages only: the theme's header is absolute over the page, and it only
     pads #content on article templates (for its own 130px/50px header) */
  var CSS_NAVPAGE = [
    "body.yvr #content{margin-top:var(--yvr-headh)}"
  ].join("\n");

  function injectCss() {
    addFonts();
    var css;
    if (IS_HOME) {
      // NB: not .map(scaleRems) — map would pass the array index in as the
      // scale factor, so the 3rd block got 2x, the 4th 3x ... the 8th 7x.
      var scaleAll = function (blocks) {
        return blocks.map(function (c) { return scaleRems(c, CONFIG.typeScale); }).join("\n");
      };
      var body = scaleAll([CSS_TOKENS, CSS_THEME, CSS_BASE]);
      var rest = scaleAll([CSS_HERO, CSS_ANN, CSS_PROG, CSS_EVENTS, CSS_ABOUT, CSS_SOCIAL, CSS_INFO, CSS_SUB]);
      css = [body, CSS_THEME_HEADER, CSS_HEADER, rest, CSS_FOOTER].join("\n");
      addStyle(important(boost(css, "yvr")) + "\n" + CSS_RAW, "yvr-style");
    } else {
      var donateCss = (CONFIG.donate ? CONFIG.donate.enabled : false)
        ? scaleRems(CSS_DONATE, CONFIG.donate.scale) : "";
      css = [CSS_TOKENS, CSS_THEME_HEADER, CSS_HEADER, CSS_NAVPAGE, donateCss, CSS_FOOTER].join("\n");
      addStyle(important(boost(css, "yvr-nav")), "yvr-style");
    }
    if (CONFIG.alephMaskUrl) HTML.className += " yvr-has-aleph";
    if (CONFIG.logoUrl) HTML.className += " yvr-has-logo";
  }

  function run() {
    document.body.className += " " + BODY_CLASS;
    var steps = IS_HOME
      ? [fixHeader, fixHero, fixAnnouncements, fixPrograms, fixEvents, fixAbout, fixSocial, fixInfo, fixSubscribe, fixFooter, fixReveals, fixSmoothScroll]
      : ((CONFIG.smoothScroll ? CONFIG.smoothScroll.everywhere : false) ? [fixHeader, fixFooter, fixDonate, fixSmoothScroll] : [fixHeader, fixFooter, fixDonate]);
    for (var i = 0; steps.length > i; i++) {
      try { steps[i](); }
      catch (err) { if (window.console) console.warn("[yvr] step failed:", steps[i].name, err); }
    }
    if (!IS_HOME) return;
    // reveal when fonts are settled, but never before the logo grow has finished
    var done = false;
    function finish() {
      if (done) return;
      done = true;
      var wait = Math.max(0, (Number(CONFIG.loaderMinMs) || 0) - (Date.now() - T0));
      setTimeout(hideLoader, wait);
    }
    if ((document.fonts ? (document.fonts.ready ? document.fonts.ready.then : document.fonts.ready) : document.fonts)) {
      document.fonts.ready.then(function () { setTimeout(finish, 60); });
    }
    setTimeout(finish, 1600);
  }

  function ready(fn) {
    if (document.readyState === "loading") {
      document.addEventListener("DOMContentLoaded", fn);
    } else {
      fn();
    }
  }

  try { injectCss(); } catch (e) {}
  if (IS_HOME) showLoader();

  ready(function () {
    try { run(); } catch (e) {
      if (window.console) console.warn("[yvr] fatal:", e);
      hideLoader();
    }
  });
})();
</script>
</body>
</html>