/* Seacoast Chabad homepage styles. Split from custom-header-code-NEW.txt, 1 Dec 2026.
   Serve as text/css. Do not rename the extension. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap");:root{--sjcc-teal:#107878;--sjcc-teal-dark:#0C5E5A;--sjcc-teal-soft:#E6F3F2;--sjcc-ink:#123936;--sjcc-gold:#C4893A;--sjcc-gold-dark:#A6712C;--sjcc-bg:#F6F4EF;--sjcc-surface:#fff;--sjcc-muted:#5C6B6A;--sjcc-line:#E4E0D8;--sjcc-serif:"DM Serif Display",Georgia,"Times New Roman",serif;--sjcc-sans:"DM Sans","Helvetica Neue",Helvetica,Arial,sans-serif;--sjcc-radius:20px;--sjcc-shadow:0 8px 24px rgba(18,57,54,.08)}body.cco_body{background:var(--sjcc-bg) !important;color:var(--sjcc-ink);font-family:var(--sjcc-sans)}html:has(body.cco_body){background:var(--sjcc-bg)}body.cco_body h1,body.cco_body h2,body.cco_body h3,body.cco_body h4,body.cco_body h5,body.cco_body .widget_header h5,body.cco_body .header-title,body.cco_body a.site_title{font-family:var(--sjcc-serif);color:var(--sjcc-ink);font-weight:400;letter-spacing:-.01em}body.cco_body #header,body.cco_body #header>.wrapper,body.cco_body #header>.wrapper.header-wrapper{background:var(--sjcc-surface) !important;width:100%;margin:0;box-shadow:none;border-bottom:none}body.cco_body #header{position:relative !important;top:auto !important;left:auto !important;right:auto !important;width:100% !important;height:auto !important;z-index:20}body.cco_body #header_container,body.cco_body .header_container{background:transparent !important}body.cco_body #header_container .links{background:var(--sjcc-bg);border-bottom:1px solid var(--sjcc-line)}body.cco_body #feedback_bar{display:none !important}body.cco_body #header_container .links a,body.cco_body .cco_topbar_link,body.cco_body .topBarLink,body.cco_body .login_link{color:var(--sjcc-muted) !important;font-family:var(--sjcc-sans);font-size:12px !important;letter-spacing:.04em;border:0 !important}body.cco_body #header_container .links a:after,body.cco_body #header_container .links .topBarLink:after,body.cco_body #header_container .links .top_bar_item:after,body.cco_body #header_container .links:before{content:none !important;display:none !important;background:none !important}body.cco_body #header_branding,body.cco_body .branding-search{background:var(--sjcc-surface) !important}body.cco_body #header_branding .site-logo-wrapper,body.cco_body .site-logo-wrapper,body.cco_body #header_branding .site-logo-wrapper a{background:transparent !important;overflow:visible !important;box-shadow:none !important}body.cco_body #header_branding .site-logo-wrapper img,body.cco_body .site-logo-wrapper img{width:72px !important;height:72px !important;border-radius:0 !important;object-fit:contain !important}body.cco_body a.site_title{font-size:22px !important;line-height:1.2 !important;color:var(--sjcc-ink) !important;text-decoration:none !important}body.cco_body .site_subtitle{font-family:var(--sjcc-sans);color:var(--sjcc-muted) !important;font-size:13px !important;font-weight:400 !important}body.cco_body .site-nav-wrapper,body.cco_body #co_menu_container_wrapper,body.cco_body #co_menu_container,body.cco_body .co_menu_container,body.cco_body td.co_menu_item{background:var(--sjcc-surface) !important;border:0 !important}body.cco_body .co_menu_item .parent a,body.cco_body a.js-parent-menu-link{font-family:var(--sjcc-sans) !important;color:var(--sjcc-ink) !important;font-size:15px !important;font-weight:500 !important;text-decoration:none !important}body.cco_body .co_menu_item .parent a:hover{color:var(--sjcc-teal) !important}body.cco_body .co_submenu_container{background:var(--sjcc-surface) !important;border-radius:12px;box-shadow:var(--sjcc-shadow);border:1px solid var(--sjcc-line)}body.cco_body td.co_menu_item a.parent[href="/4970020"],body.cco_body td.co_menu_item a.parent[href*="4970020"]{display:inline-block !important;background:var(--sjcc-gold) !important;color:#fff !important;border-radius:999px !important;padding:8px 18px !important;font-weight:600 !important;font-size:14px !important;line-height:1.2 !important;white-space:nowrap;border:none !important;box-shadow:none !important}body.cco_body td.co_menu_item a.parent[href="/4970020"]:hover,body.cco_body td.co_menu_item a.parent[href*="4970020"]:hover{background:var(--sjcc-gold-dark) !important;color:#fff !important}body.cco_body td.co_menu_item.donate_link .bg_extension,body.cco_body td.co_menu_item.donate_link a.bg_extension{display:none !important}body.cco_body td.co_menu_item_divider,body.cco_body td.co_menu_item_divider img{display:none !important}body.cco_body #footer,body.cco_body #footer .wrapper{background:var(--sjcc-ink) !important;color:#E8EEED !important;font-family:var(--sjcc-sans);padding-top:28px;padding-bottom:28px}body.cco_body #footer a{color:#F3E6C9 !important}@media screen and (max-width:1024px){body.cco_body .site-logo-wrapper,body.cco_body #header_branding .site-logo-wrapper{display:block !important;visibility:visible !important;float:left;margin-right:8px !important}body.cco_body #header_branding .site-logo-wrapper img,body.cco_body .site-logo-wrapper img{width:48px !important;height:48px !important}body.cco_body a.site_title .site_subtitle,body.cco_body .site_subtitle{display:none !important}body.cco_body button.cs-mobile-menu-open,body.cco_body button.cs-mobile-menu-open .fa,body.cco_body button.cs-mobile-menu-open .fa:before,body.cco_body button.js-mobile-menu-open{color:var(--sjcc-ink) !important}body.cco_body button.cs-mobile-menu-open,body.cco_body button.js-mobile-menu-open{display:inline-flex !important;align-items:center;justify-content:center;width:44px !important;height:44px !important;padding:0 !important;z-index:30}body.cco_body #BodyContainer>.body_wrapper::before{top:-48px !important;right:58px !important;color:var(--sjcc-muted) !important;background:transparent !important}}html.sjcc-ready .sjcc-hero{max-width:1200px;margin:8px auto 28px;padding:8px 20px 0;box-sizing:border-box}html.sjcc-ready .sjcc-hero-stage{position:relative}html.sjcc-ready .sjcc-hero-media{position:relative;aspect-ratio:16 / 9;width:100%;border-radius:var(--sjcc-radius);overflow:hidden;background:#123936;box-shadow:var(--sjcc-shadow)}html.sjcc-ready .sjcc-hero-video,html.sjcc-ready .sjcc-hero-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}html.sjcc-ready .sjcc-hero-poster{z-index:0}html.sjcc-ready .sjcc-hero-video{z-index:1}html.sjcc-ready .sjcc-hero-actions{position:absolute;left:0;right:0;bottom:22px;z-index:2;display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:0 16px;pointer-events:none}html.sjcc-ready .sjcc-hero-actions a{pointer-events:auto;display:inline-block;font-family:var(--sjcc-sans);font-weight:600;font-size:15px;line-height:1.2;text-decoration:none !important;border-radius:999px;padding:12px 22px;min-height:44px;box-sizing:border-box;background:var(--sjcc-teal);color:#fff !important;border:0}html.sjcc-ready .sjcc-hero-actions a:hover{background:var(--sjcc-teal-dark)}html.sjcc-ready .sjcc-hero-actions a.sjcc-btn-gold{background:var(--sjcc-gold);color:#fff !important}html.sjcc-ready .sjcc-hero-actions a.sjcc-btn-gold:hover{background:var(--sjcc-gold-dark)}@media (prefers-reduced-motion:reduce){html.sjcc-ready .sjcc-hero-video{display:none !important}}@media screen and (max-width:767px){html.sjcc-ready .sjcc-hero{padding:8px 16px 0;margin-bottom:16px}html.sjcc-ready .sjcc-hero-actions{position:relative;bottom:auto;padding:18px 0 4px}}html.sjcc-ready .promo_slider.sjcc-slider-replaced{display:none !important}html.sjcc-ready .hp-row-first:has(.sjcc-slider-replaced),html.sjcc-ready .hp-row:has(>.widget-4.sjcc-slider-replaced):not(:has(>.widget-4:not(.sjcc-slider-replaced))){display:none !important;background:none !important;min-height:0 !important;padding:0 !important;margin:0 !important}html.sjcc-ready .widget-4.banner.sjcc-banner-replaced{display:none !important}html.sjcc-ready .hp-row:has(>.widget-4.banner.sjcc-banner-replaced):not(:has(>.widget-4:not(.sjcc-banner-replaced))){display:none !important}html.sjcc-ready .sjcc-hero-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:22px 0 8px}html.sjcc-ready .sjcc-tile{display:flex;flex-direction:column;background:var(--sjcc-surface);border:1px solid var(--sjcc-line);border-radius:16px;box-shadow:var(--sjcc-shadow);overflow:hidden;text-decoration:none !important;color:var(--sjcc-ink) !important;min-height:100%;transition:transform .2s ease,box-shadow .2s ease}html.sjcc-ready .sjcc-tile:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(18,57,54,.12)}html.sjcc-ready .sjcc-tile-img{display:block;width:100%;aspect-ratio:16 / 9;object-fit:cover;background:var(--sjcc-teal-soft)}html.sjcc-ready .sjcc-tile-body{padding:16px 16px 18px;display:flex;flex-direction:column;flex:1}html.sjcc-ready .sjcc-tile-title{font-family:var(--sjcc-serif);font-size:20px;line-height:1.25;margin:0 0 6px;color:var(--sjcc-ink)}html.sjcc-ready .sjcc-tile-text{font-size:14px;line-height:1.45;color:var(--sjcc-muted);margin:0 0 12px}html.sjcc-ready .sjcc-tile-cta{margin-top:auto;font-family:var(--sjcc-sans);font-size:13px;font-weight:600;color:var(--sjcc-teal)}html.sjcc-ready .hp-table,html.sjcc-ready .hp-table .hp-row{background:transparent}html.sjcc-ready .hp-table .widget-4.message .wrapper,html.sjcc-ready .hp-table .widget-4.icon .wrapper,html.sjcc-ready .hp-table .widget-4.facebook_likebox .wrapper,html.sjcc-ready .hp-table .widget-4.candlelighting .wrapper,html.sjcc-ready .hp-table .widget-4.daily_thought .wrapper,html.sjcc-ready .hp-table .widget-4.latest_photos .wrapper,html.sjcc-ready .hp-table .widget-4.subscribe .wrapper,html.sjcc-ready .hp-table .widget-4.promo_slider:not(.sjcc-slider-replaced) .wrapper{background:var(--sjcc-surface) !important;box-shadow:var(--sjcc-shadow) !important;border:1px solid var(--sjcc-line) !important;border-radius:var(--sjcc-radius);padding:28px 28px 24px !important;margin:16px auto !important;max-width:1100px}html.sjcc-ready .hp-table .widget_header h5,html.sjcc-ready .hp-table .header-title{font-family:var(--sjcc-serif) !important;font-size:28px !important;color:var(--sjcc-ink) !important;background:none !important;padding:0 0 12px !important;margin:0 0 8px !important;border-bottom:none !important;text-transform:none !important}html.sjcc-ready .widget-4.latest_photos a.readMore,html.sjcc-ready .widget-4.latest_photos .button a{display:inline-block !important;border:2px solid var(--sjcc-teal) !important;color:var(--sjcc-teal) !important;background:transparent !important;border-radius:999px !important;padding:10px 22px !important;font-family:var(--sjcc-sans) !important;font-weight:600 !important;text-decoration:none !important}html.sjcc-ready .widget-4.latest_photos a.readMore span,html.sjcc-ready .widget-4 a.readMore span{border:none !important;outline:none !important;box-shadow:none !important;background:none !important;padding:0 !important}html.sjcc-ready .hp_content_wrapper,html.sjcc-ready .hp-row.hp_content_wrapper{display:flex !important;flex-wrap:wrap;justify-content:center;gap:16px;background:transparent !important}html.sjcc-ready .hp_content_wrapper>.clear{display:none !important}html.sjcc-ready .hp_content_wrapper>.g320,html.sjcc-ready .hp_content_wrapper>.rightColumn{flex:1 1 280px;max-width:380px}html.sjcc-ready .hp_content_wrapper .g320::before,html.sjcc-ready .hp_content_wrapper .g320::after,html.sjcc-ready .hp_content_wrapper .rightColumn::before,html.sjcc-ready .hp_content_wrapper .rightColumn::after,html.sjcc-ready .hp-table .g320::before,html.sjcc-ready .hp-table .g320::after{content:none !important;display:none !important;width:0 !important;background:none !important}html.sjcc-ready .hp-table .widget-4.subscribe .wrapper,html.sjcc-ready .hp_subscribe .wrapper{overflow:visible !important}html.sjcc-ready .widget-4.subscribe input[type=text],html.sjcc-ready .widget-4.subscribe input[type=email],html.sjcc-ready .hp_subscribe input[type=text],html.sjcc-ready .hp_subscribe input[type=email]{border:1px solid var(--sjcc-line) !important;background:#fff !important;border-radius:10px !important;min-height:44px;padding:8px 12px !important;color:var(--sjcc-ink) !important;box-sizing:border-box}html.sjcc-ready .hp-table .widget-4.subscribe input[type=submit],html.sjcc-ready .hp_subscribe input[type=submit]{background:var(--sjcc-teal) !important;border-color:var(--sjcc-teal) !important;color:#fff !important;border-radius:999px !important;font-family:var(--sjcc-sans) !important;font-weight:600 !important;min-height:44px;padding:10px 20px !important}

/* ===== v2 preview additions (not live) =================================== */

/* Hide the thin utility bar (Home / About / Sign In / Subscribe / Contact
   and the search icon). The main nav stays. */
body.cco_body #header_container .links,
body.cco_body #header_container .clearfix.links,
body.cco_body #header .links,
body.cco_body .header_container .links {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  visibility: hidden !important;
}

/* Shared section shell */
.sjcc-v2-section {
  max-width: 1100px;
  margin: 28px auto 8px;
  padding: 8px 24px 32px;
  box-sizing: border-box;
}
.sjcc-v2-header {
  text-align: center;
  margin: 0 0 28px;
}
.sjcc-v2-eyebrow {
  display: block;
  font-family: var(--sjcc-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sjcc-gold);
  margin: 0 0 8px;
}
.sjcc-v2-header h2 {
  font-family: var(--sjcc-serif) !important;
  font-size: 36px !important;
  line-height: 1.15 !important;
  color: var(--sjcc-ink) !important;
  margin: 0 0 8px !important;
  font-weight: 400 !important;
}
.sjcc-v2-header p {
  font-family: var(--sjcc-sans);
  color: var(--sjcc-muted);
  font-size: 16px;
  margin: 0 auto;
  max-width: 520px;
}

/* Upcoming Events — short Skagit-style blocks */
.sjcc-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sjcc-event-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--sjcc-surface);
  border: 1px solid var(--sjcc-line);
  border-radius: var(--sjcc-radius);
  box-shadow: var(--sjcc-shadow);
  padding: 24px 22px 22px;
  text-decoration: none !important;
  color: inherit;
  min-height: 100%;
  box-sizing: border-box;
}
.sjcc-event-card:hover {
  border-color: var(--sjcc-teal);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18,57,54,.12);
}
.sjcc-event-date {
  font-family: var(--sjcc-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--sjcc-teal);
  margin: 0 0 10px;
}
.sjcc-event-card h3 {
  font-family: var(--sjcc-serif) !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  color: var(--sjcc-ink) !important;
  margin: 0 0 8px !important;
  font-weight: 400 !important;
}
.sjcc-event-card p {
  font-family: var(--sjcc-sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--sjcc-muted);
  margin: 0 0 18px;
  flex: 1 1 auto;
}
.sjcc-action {
  display: inline-block;
  font-family: var(--sjcc-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  color: #fff !important;
  background: var(--sjcc-teal) !important;
  border: 2px solid var(--sjcc-teal) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  text-decoration: none !important;
  margin-top: auto;
}
.sjcc-event-card:hover .sjcc-action,
a.sjcc-program-card:hover .sjcc-action {
  background: var(--sjcc-teal-dark) !important;
  border-color: var(--sjcc-teal-dark) !important;
}
.sjcc-events-more {
  text-align: center;
  margin: 28px 0 0;
}
.sjcc-events-more a {
  display: inline-block;
  font-family: var(--sjcc-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--sjcc-teal) !important;
  border: 2px solid var(--sjcc-teal);
  border-radius: 999px;
  padding: 12px 26px;
  text-decoration: none !important;
  background: transparent;
}
.sjcc-events-more a:hover {
  background: var(--sjcc-teal);
  color: #fff !important;
}
.sjcc-v2-section[hidden] { display: none !important; }

/* Programs — photo on top, short title, one line, button */
.sjcc-programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sjcc-program-card {
  display: flex;
  flex-direction: column;
  background: var(--sjcc-surface);
  border: 1px solid var(--sjcc-line);
  border-radius: var(--sjcc-radius);
  box-shadow: var(--sjcc-shadow);
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  min-height: 100%;
}
.sjcc-program-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18,57,54,.12);
  border-color: var(--sjcc-teal);
}
.sjcc-program-photo {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  background: var(--sjcc-teal-soft);
}
.sjcc-program-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 18px 20px;
  flex: 1 1 auto;
}
.sjcc-program-card h3 {
  font-family: var(--sjcc-serif) !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  color: var(--sjcc-ink) !important;
  margin: 0 0 6px !important;
  font-weight: 400 !important;
}
.sjcc-program-card p {
  font-family: var(--sjcc-sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--sjcc-muted);
  margin: 0 0 16px;
  flex: 1 1 auto;
}

/* Mailing list — visible labeled fields, like Skagit */
html.sjcc-ready .hp_subscribe .wrapper,
html.sjcc-ready .hp-table .widget-4.subscribe .wrapper {
  max-width: 720px !important;
  padding: 32px 32px 28px !important;
}
html.sjcc-ready .hp_subscribe .widget_header h5,
html.sjcc-ready .widget-4.subscribe .widget_header h5 {
  text-align: center !important;
  width: 100% !important;
  font-size: 32px !important;
}
html.sjcc-ready .hp_subscribe form[data-sjcc-labeled] fieldset,
html.sjcc-ready .widget-4.subscribe form[data-sjcc-labeled] fieldset {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px 16px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: flex-start;
}
html.sjcc-ready .sjcc-field {
  flex: 1 1 calc(50% - 10px);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 !important;
}
html.sjcc-ready .sjcc-field-email,
html.sjcc-ready .sjcc-field-submit {
  flex: 1 1 100%;
}
html.sjcc-ready .hp_subscribe label,
html.sjcc-ready .widget-4.subscribe label,
html.sjcc-ready .sjcc-field label {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  font-family: var(--sjcc-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .02em;
  color: var(--sjcc-ink) !important;
  line-height: 1.3 !important;
  text-indent: 0 !important;
  background: none !important;
  float: none !important;
}
html.sjcc-ready .sjcc-field,
html.sjcc-ready .sjcc-field label {
  text-align: left !important;
}
html.sjcc-ready .sjcc-field input[type=text],
html.sjcc-ready .sjcc-field input[type=email] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
html.sjcc-ready .sjcc-field-submit input[type=submit] {
  width: auto !important;
  min-width: 160px;
  cursor: pointer;
}
html.sjcc-ready .hp_subscribe fieldset > small,
html.sjcc-ready .widget-4.subscribe fieldset > small {
  flex: 1 1 100%;
  color: var(--sjcc-muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .sjcc-events-grid,
  .sjcc-programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sjcc-v2-header h2 { font-size: 30px !important; }
}
@media (max-width: 600px) {
  .sjcc-v2-section { padding: 8px 16px 24px; }
  .sjcc-programs-grid,
  .sjcc-events-grid {
    grid-template-columns: 1fr;
  }
  .sjcc-program-photo { height: 220px; }
  html.sjcc-ready .sjcc-field { flex: 1 1 100%; }
}


/* ===== v3 preview additions (not live) ===== */

/* Sticky header: logo + title + main nav stay at the top while scrolling. */
body.cco_body #header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  z-index: 1000 !important;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(18, 57, 54, .10) !important;
}
body.cco_body #header > .wrapper,
body.cco_body #header > .wrapper.header-wrapper,
body.cco_body #header_container,
body.cco_body .header_container,
body.cco_body #header_branding,
body.cco_body .site-nav-wrapper,
body.cco_body #co_menu_container_wrapper,
body.cco_body #co_menu_container {
  background: #fff !important;
  overflow: visible !important;
}
body.cco_body,
body.cco_body #main_content,
body.cco_body #site_container,
body.cco_body .site_container,
body.cco_body #content_wrapper {
  overflow: visible !important;
}

/* Desktop: put the main menu on the same row and center line as the title. */
@media (min-width: 901px) {
  body.cco_body #header > .wrapper,
  body.cco_body #header > .wrapper.header-wrapper,
  body.cco_body #header_container,
  body.cco_body .header_container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
  }
  body.cco_body #header_branding,
  body.cco_body .branding-search {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  body.cco_body a.site_title {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  body.cco_body .site-nav-wrapper,
  body.cco_body #co_menu_container_wrapper {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex: 0 1 auto;
  }
  body.cco_body #co_menu_container,
  body.cco_body .co_menu_container,
  body.cco_body table.main_menu_container {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
  }
  body.cco_body #co_menu_container table.main_menu_container,
  body.cco_body table.main_menu_container tbody,
  body.cco_body table.main_menu_container tr {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
  }
  body.cco_body td.co_menu_item,
  body.cco_body td.co_menu_item .parent,
  body.cco_body td.co_menu_item .parent a,
  body.cco_body a.js-parent-menu-link {
    vertical-align: middle !important;
    height: auto !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
  }
  body.cco_body .co_menu_home_image {
    height: 22px !important;
    width: 22px !important;
  }
  body.cco_body td.co_menu_item.home {
    display: flex !important;
    align-items: center !important;
  }
}

/* Event cards: small photo on each block */
.sjcc-event-card {
  padding: 0 0 22px !important;
  overflow: hidden;
}
.sjcc-event-photo {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  background: var(--sjcc-teal-soft);
  margin: 0 0 16px;
}
.sjcc-event-card .sjcc-event-date,
.sjcc-event-card h3,
.sjcc-event-card p,
.sjcc-event-card .sjcc-action {
  margin-left: 22px;
  margin-right: 22px;
}
.sjcc-event-card .sjcc-event-date { margin-top: 0; }

/* Hide Learning & Inspiration (heading and all of its slider) */
body.cco_body .hp-row:has(.promo_slider .header-title),
body.cco_body .promo_slider:has(.header-title),
.sjcc-learning-hidden {
  display: none !important;
}

/* Tighten the bottom 3-column row */
html.sjcc-ready .hp_content_wrapper,
html.sjcc-ready .hp-row.hp_content_wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
  max-width: 1040px !important;
  width: 100% !important;
  margin: 8px auto 24px !important;
  padding: 0 16px !important;
  box-sizing: border-box;
}
html.sjcc-ready .hp_content_wrapper > .g320,
html.sjcc-ready .hp_content_wrapper > .rightColumn,
html.sjcc-ready .hp-row.hp_content_wrapper > .g320,
html.sjcc-ready .hp-row.hp_content_wrapper > .rightColumn {
  flex: 1 1 0 !important;
  max-width: 330px !important;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
}
html.sjcc-ready .hp_content_wrapper .widget-4 .wrapper,
html.sjcc-ready .hp_content_wrapper .widget-4.facebook_likebox .wrapper,
html.sjcc-ready .hp_content_wrapper .widget-4.candlelighting .wrapper,
html.sjcc-ready .hp_content_wrapper .widget-4.daily_thought .wrapper {
  max-width: none !important;
  margin: 0 0 16px !important;
  padding: 20px 18px 18px !important;
  box-sizing: border-box;
}

/* Instagram card under Facebook, same left column */
.sjcc-instagram {
  background: var(--sjcc-surface);
  border: 1px solid var(--sjcc-line);
  border-radius: var(--sjcc-radius);
  box-shadow: var(--sjcc-shadow);
  padding: 20px 18px 18px;
  margin: 0 0 16px;
  box-sizing: border-box;
}
.sjcc-instagram h5 {
  font-family: var(--sjcc-serif) !important;
  font-size: 22px !important;
  color: var(--sjcc-ink) !important;
  margin: 0 0 8px !important;
  font-weight: 400 !important;
}
.sjcc-instagram p {
  font-family: var(--sjcc-sans);
  font-size: 14px;
  line-height: 1.45;
  color: var(--sjcc-muted);
  margin: 0 0 14px;
}
.sjcc-instagram a.sjcc-ig-btn {
  display: inline-block;
  font-family: var(--sjcc-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #C13584 !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  text-decoration: none !important;
}
.sjcc-instagram a.sjcc-ig-btn:hover { opacity: .92; }
.sjcc-ig-handle {
  font-family: var(--sjcc-sans);
  font-weight: 600;
  color: var(--sjcc-ink);
}

/* Facebook embed: fill the column */
html.sjcc-ready .widget-4.facebook_likebox .js-facebook-iframe,
html.sjcc-ready .widget-4.facebook_likebox iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 500px;
}

/* Mailing list — closer to Skagit: labeled row, soft panel, solid button */
html.sjcc-ready .hp_subscribe .wrapper,
html.sjcc-ready .widget-4.subscribe .wrapper,
html.sjcc-ready .hp-table .widget-4.subscribe .wrapper {
  background: var(--sjcc-teal-soft) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  padding: 36px 32px 32px !important;
  max-width: 920px !important;
  margin: 24px auto !important;
}
html.sjcc-ready .hp_subscribe .widget_header h5,
html.sjcc-ready .widget-4.subscribe .widget_header h5,
html.sjcc-ready .hp_subscribe .header-title,
html.sjcc-ready .widget-4.subscribe .header-title {
  font-family: var(--sjcc-serif) !important;
  font-size: 32px !important;
  text-align: center !important;
  color: var(--sjcc-ink) !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html.sjcc-ready .hp_subscribe fieldset,
html.sjcc-ready .widget-4.subscribe fieldset,
html.sjcc-ready form[data-sjcc-labeled] fieldset {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px 18px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: flex-start;
  background: none !important;
}
html.sjcc-ready .sjcc-field {
  flex: 1 1 200px !important;
  margin: 0 !important;
  text-align: left !important;
}
html.sjcc-ready .sjcc-field-email { flex: 1 1 260px !important; }
html.sjcc-ready .sjcc-field-submit { flex: 0 0 auto !important; align-self: flex-end; }
html.sjcc-ready .sjcc-field label {
  display: block !important;
  font-family: var(--sjcc-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sjcc-ink) !important;
  margin: 0 0 8px !important;
  text-align: left !important;
}
html.sjcc-ready .sjcc-field input[type=text],
html.sjcc-ready .sjcc-field input[type=email],
html.sjcc-ready .hp_subscribe input[type=text],
html.sjcc-ready .hp_subscribe input[type=email],
html.sjcc-ready .widget-4.subscribe input[type=text],
html.sjcc-ready .widget-4.subscribe input[type=email] {
  width: 100% !important;
  max-width: none !important;
  min-height: 48px !important;
  border: 1px solid #cfd8d7 !important;
  background: #fff !important;
  border-radius: 4px !important;
  padding: 10px 14px !important;
  font-family: var(--sjcc-sans) !important;
  font-size: 15px !important;
  color: var(--sjcc-ink) !important;
  box-sizing: border-box !important;
}
html.sjcc-ready .sjcc-field-submit input[type=submit],
html.sjcc-ready .hp_subscribe input[type=submit],
html.sjcc-ready .widget-4.subscribe input[type=submit] {
  min-height: 48px !important;
  min-width: 160px !important;
  padding: 12px 28px !important;
  border-radius: 4px !important;
  background: var(--sjcc-teal) !important;
  border: 2px solid var(--sjcc-teal) !important;
  color: #fff !important;
  font-family: var(--sjcc-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
  text-transform: uppercase !important;
  cursor: pointer;
}

@media (max-width: 900px) {
  html.sjcc-ready .hp_content_wrapper,
  html.sjcc-ready .hp-row.hp_content_wrapper {
    flex-wrap: wrap !important;
  }
  html.sjcc-ready .hp_content_wrapper > .g320,
  html.sjcc-ready .hp_content_wrapper > .rightColumn {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  html.sjcc-ready .sjcc-field,
  html.sjcc-ready .sjcc-field-email,
  html.sjcc-ready .sjcc-field-submit { flex: 1 1 100% !important; }
  html.sjcc-ready .sjcc-field-submit input[type=submit] { width: 100% !important; }
}


/* v3 fixes */
body.cco_body a.site_title .site_subtitle,
body.cco_body .site_subtitle {
  display: block !important;
  font-family: var(--sjcc-sans) !important;
  color: var(--sjcc-muted) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
}

/* Mailing: one row of fields + button on desktop, square-ish Skagit button */
html.sjcc-ready .hp_subscribe form[data-sjcc-labeled] fieldset,
html.sjcc-ready .widget-4.subscribe form[data-sjcc-labeled] fieldset,
html.sjcc-ready form[data-sjcc-labeled] fieldset {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) auto;
  gap: 12px 14px !important;
  align-items: end;
}
html.sjcc-ready form[data-sjcc-labeled] .sjcc-field,
html.sjcc-ready form[data-sjcc-labeled] .sjcc-field-email,
html.sjcc-ready form[data-sjcc-labeled] .sjcc-field-submit {
  flex: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
html.sjcc-ready form[data-sjcc-labeled] .sjcc-field-submit input[type=submit],
html.sjcc-ready .hp_subscribe form[data-sjcc-labeled] input[type=submit],
html.sjcc-ready .widget-4.subscribe form[data-sjcc-labeled] input[type=submit],
html.sjcc-ready .hp-table .widget-4.subscribe form[data-sjcc-labeled] input[type=submit] {
  border-radius: 4px !important;
  min-width: 148px !important;
  width: auto !important;
  text-transform: uppercase !important;
}
@media (max-width: 800px) {
  html.sjcc-ready .hp_subscribe form[data-sjcc-labeled] fieldset,
  html.sjcc-ready .widget-4.subscribe form[data-sjcc-labeled] fieldset,
  html.sjcc-ready form[data-sjcc-labeled] fieldset {
    grid-template-columns: 1fr !important;
  }
  html.sjcc-ready form[data-sjcc-labeled] .sjcc-field-submit input[type=submit] {
    width: 100% !important;
  }
}

/* Facebook fallback card */
.sjcc-fb-fallback {
  background: #f6f7f9;
  border: 1px solid var(--sjcc-line);
  border-radius: 8px;
  padding: 16px 14px;
  text-align: left;
  margin: 0 0 8px;
}
.sjcc-fb-fallback p {
  font-family: var(--sjcc-sans);
  font-size: 14px;
  color: var(--sjcc-ink);
  margin: 0 0 10px;
  line-height: 1.4;
}
.sjcc-fb-fallback a,
.sjcc-fb-fallback a.sjcc-fb-btn,
a.sjcc-fb-btn {
  display: inline-block;
  font-family: var(--sjcc-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #1877f2 !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  text-decoration: none !important;
}
.sjcc-fb-fallback a.sjcc-fb-btn:hover,
a.sjcc-fb-btn:hover { opacity: .92; }
html.sjcc-ready .widget-4.facebook_likebox iframe.sjcc-fb-ready {
  background: #fff;
}
#sjcc-header-spacer { display: block; width: 100%; }


/* Phone sticky header: solid full-width bar, room for wrapped title + subtitle */
@media (max-width: 900px) {
  body.cco_body #header,
  body.cco_body #header > .wrapper,
  body.cco_body #header > .wrapper.header-wrapper,
  body.cco_body #header_container,
  body.cco_body .header_container,
  body.cco_body #header_branding {
    background: #fff !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.cco_body #header {
    padding: 8px 12px !important;
    min-height: 76px;
  }
  body.cco_body #header_branding {
    padding-right: 52px !important;
    align-items: center !important;
  }
  body.cco_body a.site_title {
    font-size: 18px !important;
    line-height: 1.15 !important;
  }
  body.cco_body .site_subtitle {
    font-size: 11px !important;
    white-space: normal !important;
  }
  body.cco_body .cs-mobile-menu-open {
    z-index: 10001;
  }
}


/* Phone header containment — keep title/subtitle inside a solid bar */
@media (max-width: 900px) {
  body.cco_body #header,
  body.cco_body #header > .wrapper,
  body.cco_body #header > .wrapper.header-wrapper,
  body.cco_body #header_container,
  body.cco_body .header_container,
  body.cco_body #header_branding,
  body.cco_body .branding-search {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    float: none !important;
    background: #fff !important;
  }
  body.cco_body #header {
    overflow: hidden !important;
    padding: 10px 16px 12px !important;
    box-shadow: 0 2px 12px rgba(18, 57, 54, .10) !important;
  }
  body.cco_body #header_branding {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 48px !important;
  }
  body.cco_body #header_branding .site-logo-wrapper,
  body.cco_body #header_branding .site-logo-wrapper a {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px;
    margin: 0 !important;
  }
  body.cco_body #header_branding .site-logo-wrapper img,
  body.cco_body .site-logo-wrapper img {
    width: 56px !important;
    height: 56px !important;
    position: relative !important;
  }
  body.cco_body a.site_title {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0 !important;
  }
  body.cco_body .cs-mobile-menu-open {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%);
  }
}


/* ===== v4 additions (not live) ===== */

/* Event card title was flush to the card edge (the earlier margin rule
   with !important wiped its side margins). Give it the same inset as the
   date, line and button. All screen sizes. */
.sjcc-event-card h3 {
  margin: 0 22px 8px !important;
}
.sjcc-event-card .sjcc-event-date { margin: 0 22px 10px !important; }

/* One button size for every card button (events, programs, tiles). */
.sjcc-action,
html.sjcc-ready .sjcc-tile-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 148px;
  padding: 10px 22px !important;
  font-family: var(--sjcc-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2;
  text-align: center;
  color: #fff !important;
  background: var(--sjcc-teal) !important;
  border: 2px solid var(--sjcc-teal) !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  align-self: flex-start;
}
html.sjcc-ready .sjcc-tile:hover .sjcc-tile-cta {
  background: var(--sjcc-teal-dark) !important;
  border-color: var(--sjcc-teal-dark) !important;
}
html.sjcc-ready .sjcc-tile-text { margin-bottom: 14px; }
html.sjcc-ready .sjcc-tile-cta { margin-top: auto; }
.sjcc-event-card .sjcc-action { margin-top: auto !important; }
.sjcc-event-card .sjcc-empty-line { margin-bottom: 14px; }
.sjcc-event-photo[data-own="1"] { object-position: center top; }

/* ---- Phone (<= 700px): neat, even, readable ---- */
@media (max-width: 700px) {
  /* Compact sticky header: logo + title only (subtitle and phone number
     stay on desktop). */
  body.cco_body #header { padding: 6px 12px !important; min-height: 0 !important; }
  body.cco_body #header_branding {
    gap: 10px;
    padding-right: 44px !important;
    min-height: 0 !important;
  }
  body.cco_body #header_branding .site-logo-wrapper,
  body.cco_body #header_branding .site-logo-wrapper a,
  body.cco_body #header_branding .site-logo-wrapper img,
  body.cco_body .site-logo-wrapper img {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px;
  }
  body.cco_body a.site_title {
    font-size: 16px !important;
    line-height: 1.15 !important;
  }
  body.cco_body a.site_title .site_subtitle,
  body.cco_body .site_subtitle { display: none !important; }

  /* One side margin everywhere: 16px */
  html.sjcc-ready .sjcc-hero { padding: 6px 16px 0; margin: 4px auto 8px; }
  html.sjcc-ready .sjcc-hero-actions {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 0 4px;
  }
  html.sjcc-ready .sjcc-hero-actions a {
    flex: 1 1 0;
    max-width: 200px;
    min-width: 0;
    text-align: center;
    padding: 12px 8px;
    font-size: 15px;
  }
  html.sjcc-ready .sjcc-hero-tiles {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0 0;
  }
  html.sjcc-ready .sjcc-tile-body { padding: 14px 16px 18px; }
  html.sjcc-ready .sjcc-tile-title { font-size: 20px; }

  .sjcc-v2-section { margin: 20px auto 0; padding: 8px 16px 8px; }
  .sjcc-v2-header { margin: 0 0 18px; }
  .sjcc-v2-header h2 { font-size: 28px !important; }
  .sjcc-v2-header p { font-size: 15px; }

  .sjcc-events-grid,
  .sjcc-programs-grid { grid-template-columns: 1fr; gap: 16px; }
  .sjcc-event-photo,
  .sjcc-program-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .sjcc-event-card h3 { font-size: 22px !important; min-height: 2.4em; }
  .sjcc-event-card .sjcc-empty-line { display: none; }
  .sjcc-event-card { padding-bottom: 20px !important; }
  .sjcc-program-card h3 { font-size: 22px !important; }
  .sjcc-action { width: auto; }
  .sjcc-events-more { margin-top: 20px; }
  .sjcc-events-more a { min-height: 44px; display: inline-flex; align-items: center; }

  /* Legacy homepage rows: same 16px margin, no 100px gaps, full width */
  html.sjcc-ready .hp-table > .hp-row,
  html.sjcc-ready .hp-table > .hp-row.hp_content_wrapper,
  html.sjcc-ready .hp-table > .hp-row.hp_subscribe {
    padding: 0 16px !important;
    margin: 0 0 16px !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
  }
  html.sjcc-ready .hp-table > .hp-row:empty,
  html.sjcc-ready .hp-table > .hp-row.sjcc-learning-hidden { margin: 0 !important; padding: 0 !important; }
  html.sjcc-ready .hp-row .widget-4 { margin: 0 !important; width: 100% !important; max-width: none !important; float: none !important; }
  html.sjcc-ready .hp-row .widget-4 .wrapper,
  html.sjcc-ready .hp_content_wrapper .widget-4 .wrapper,
  html.sjcc-ready .hp_subscribe .wrapper,
  html.sjcc-ready .widget-4.subscribe .wrapper,
  html.sjcc-ready .hp-table .widget-4.subscribe .wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 22px 18px 20px !important;
    box-sizing: border-box !important;
  }
  html.sjcc-ready .hp-row .widget_header h5,
  html.sjcc-ready .hp-row .widget_header .header-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin: 0 0 14px !important;
  }

  /* About: readable, left aligned */
  html.sjcc-ready .widget-4.message .message_format,
  html.sjcc-ready .widget-4.message .message_format p,
  html.sjcc-ready .widget-4.message .message_format div {
    text-align: left !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  html.sjcc-ready .widget-4.message a.readMore {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 14px auto 0 !important;
    max-width: 220px;
    box-sizing: border-box;
  }

  /* "I would like to..." three icons in one tidy row */
  html.sjcc-ready .widget-4.icon .widget_content.index_format {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
  }
  html.sjcc-ready .widget-4.icon .item,
  html.sjcc-ready .widget-4.icon .item.first {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    text-align: center;
  }
  html.sjcc-ready .widget-4.icon .item .icon { height: auto !important; margin: 0 0 8px !important; text-align: center; }
  html.sjcc-ready .widget-4.icon .item .icon img { width: 56px !important; height: auto !important; margin: 0 auto !important; float: none !important; }
  html.sjcc-ready .widget-4.icon .item .title { font-size: 13px !important; line-height: 1.25 !important; text-align: center !important; margin: 0 !important; }
  html.sjcc-ready .widget-4.icon .item .title a { font-size: 13px !important; color: var(--sjcc-ink) !important; font-weight: 600 !important; }

  /* Facebook, Instagram, Shabbat & Holidays, Daily Thought: one column,
     same width as every other card */
  html.sjcc-ready .hp-row.hp_content_wrapper > .g320,
  html.sjcc-ready .hp-row.hp_content_wrapper > .rightColumn,
  html.sjcc-ready .hp-row.hp_content_wrapper > .no_margin {
    display: block !important;
    flex: none !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html.sjcc-ready .hp_content_wrapper .widget-4 .wrapper { margin: 0 0 16px !important; }
  html.sjcc-ready .widget-4.facebook_likebox .js-facebook-iframe { min-height: 0 !important; }
  html.sjcc-ready .widget-4.facebook_likebox iframe { min-height: 0; }
  .sjcc-instagram { margin: 0 0 16px; padding: 22px 18px 20px; text-align: center; }
  .sjcc-fb-fallback { text-align: center; }
  .sjcc-fb-fallback a.sjcc-fb-btn,
  .sjcc-instagram a.sjcc-ig-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 200px;
    box-sizing: border-box;
  }
  html.sjcc-ready .hp_content_wrapper .widget-4.candlelighting .widget_content,
  html.sjcc-ready .hp_content_wrapper .widget-4.daily_thought .widget_content { font-size: 15px; }

  /* Latest Photos: even two-up grid, standard see-more button */
  html.sjcc-ready .widget-4.latest_photos .widget_content ul { margin: 0 -4px; }
  html.sjcc-ready .widget-4.latest_photos a.readMore,
  html.sjcc-ready .widget-4.latest_photos .more a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  /* Mailing list: stacked, full-width fields and button */
  html.sjcc-ready .hp_subscribe .wrapper,
  html.sjcc-ready .widget-4.subscribe .wrapper { padding: 24px 18px 22px !important; }
  html.sjcc-ready .hp_subscribe .widget_header h5,
  html.sjcc-ready .widget-4.subscribe .widget_header h5 { font-size: 26px !important; margin-bottom: 16px !important; }
  html.sjcc-ready form[data-sjcc-labeled] fieldset { gap: 14px !important; }
  html.sjcc-ready .sjcc-field input[type=text],
  html.sjcc-ready .sjcc-field input[type=email] { font-size: 16px !important; } /* 16px stops iPhone zoom-on-focus */
  html.sjcc-ready form[data-sjcc-labeled] .sjcc-field-submit input[type=submit] { width: 100% !important; }

  /* Footer text */
  body.cco_body #footer, body.cco_body .footer { text-align: center; }
}

@media (max-width: 380px) {
  html.sjcc-ready .sjcc-hero-actions a { font-size: 14px; }
  .sjcc-event-card h3 { font-size: 20px !important; }
  .sjcc-v2-header h2 { font-size: 26px !important; }
  html.sjcc-ready .hp-row .widget_header h5,
  html.sjcc-ready .hp-row .widget_header .header-title { font-size: 24px !important; }
  .sjcc-action, html.sjcc-ready .sjcc-tile-cta { min-width: 132px; padding-left: 18px !important; padding-right: 18px !important; }
}


/* ===== v4.1 additions ===== */

/* Phone slide-out: Chabad's native close control is a white "X"
   (styled for their blue drawer). On our white drawer it is invisible.
   Restyle that same button so a tap still runs ChabadOne's close handler. */
@media (max-width: 1024px) {
  body.cco_body #co_menu_container {
    position: relative !important;
    padding-top: 56px !important;
  }

  body.cco_body button.cs-mobile-menu-close.js-mobile-menu-close,
  body.cco_body #co_menu_container > button.cs-mobile-menu-close,
  body.cco_body button.sjcc-menu-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    z-index: 10002 !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--sjcc-teal) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }
  body.cco_body button.cs-mobile-menu-close .fa,
  body.cco_body button.cs-mobile-menu-close .fa:before,
  body.cco_body button.cs-mobile-menu-close i {
    display: none !important;
    color: transparent !important;
    font-size: 0 !important;
  }
  body.cco_body button.cs-mobile-menu-close.js-mobile-menu-close::after,
  body.cco_body #co_menu_container > button.cs-mobile-menu-close::after,
  body.cco_body button.sjcc-menu-close::after {
    content: "\00d7";
    font-family: var(--sjcc-sans), "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1;
    color: var(--sjcc-teal);
    pointer-events: none;
  }

  /* Overlay/back tap target stays an invisible full-area closer, not a second X. */
  body.cco_body button.cs-mobile-menu-close-back,
  body.cco_body button.cs-mobile-menu-close-back::after {
    content: none !important;
    width: auto;
    height: auto;
    font-size: 0 !important;
    color: transparent !important;
    background: none !important;
  }

  /* Light divider + address/phone under Donate, to fill the empty drawer. */
  body.cco_body .sjcc-menu-contact {
    display: block !important;
    box-sizing: border-box;
    margin: 28px 20px 20px;
    padding-top: 20px;
    border-top: 1px solid var(--sjcc-line);
    color: var(--sjcc-muted);
    font-family: var(--sjcc-sans);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
  }
  body.cco_body .sjcc-menu-contact .sjcc-menu-address {
    margin: 0 0 8px;
    color: var(--sjcc-muted);
  }
  body.cco_body .sjcc-menu-contact .sjcc-menu-phone {
    color: var(--sjcc-teal) !important;
    font-weight: 600;
    text-decoration: none !important;
  }
}

@media (min-width: 1025px) {
  body.cco_body button.cs-mobile-menu-close,
  body.cco_body button.sjcc-menu-close,
  body.cco_body .sjcc-menu-contact {
    display: none !important;
  }
}

/* ===== v5.1 ===== */
/* v5.1 layer (loads after site.css). Preview only. */
/* Removed from the homepage: 4 hero tiles, old programs + events lists, the two mid-page follow sections. */
html.v51-ready .sjcc-hero-tiles,
html.v51-ready .sjcc-programs,
html.v51-ready .sjcc-events,
html.v51-ready .widget-4.facebook_likebox,
html.v51-ready .sjcc-instagram,
html.v51-ready .cs-f-social-icons { display: none !important; }
/* Old homepage blocks replaced by the new About, Find your place: hide them and their empty rows */
html.v51-ready .widget-4.message,
html.v51-ready .widget-4.icon,
html.v51-ready .hp-row:has(>.widget-4.message):not(:has(>.widget-4:not(.message))),
html.v51-ready .hp-row:has(>.widget-4.icon):not(:has(>.widget-4:not(.icon))) { display: none !important; }
html.sjcc-ready .sjcc-hero { margin-bottom: 8px; }

.v51-stack, .v51-reviews { font-family: var(--sjcc-sans); color: var(--sjcc-ink); max-width: 1100px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.v51-stack h2, .v51-reviews h2 { font-family: var(--sjcc-serif); font-weight: 400; color: var(--sjcc-ink); margin: 0; }
.v51-eyebrow { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--sjcc-gold-dark); margin-bottom: 8px; }
.v51-head { text-align: center; margin: 0 0 18px; }
.v51-head h2 { font-size: 32px; line-height: 1.15; }
.v51-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none !important; box-sizing: border-box; font-family: var(--sjcc-sans); cursor: pointer; line-height: 1.2; }
.v51-btn-main { background: var(--sjcc-teal); color: #fff !important; border: 2px solid var(--sjcc-teal); }
.v51-btn-ghost { background: transparent; color: var(--sjcc-teal) !important; border: 2px solid var(--sjcc-teal); }
.v51-btn-ghost:hover { background: var(--sjcc-teal-soft); }
.v51-btn-sm { min-height: 40px; padding: 8px 20px; font-size: 14px; }

/* ONE Chanukah card */
html { scroll-behavior: smooth; }
.v51-upcoming { scroll-margin-top: 90px; }
.v51-chanukah { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--sjcc-surface); border: 1px solid var(--sjcc-line); border-radius: var(--sjcc-radius); box-shadow: var(--sjcc-shadow); overflow: hidden; margin: 24px 0 28px; text-decoration: none !important; color: var(--sjcc-ink) !important; }
.v51-chanukah:hover .v51-btn-main { background: var(--sjcc-teal-dark); border-color: var(--sjcc-teal-dark); }
.v51-chanukah-img { width: 100%; height: 100%; min-height: 240px; max-height: 320px; object-fit: cover; display: block; }
.v51-chanukah-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.v51-chanukah-body h2 { font-size: 36px; line-height: 1.1; margin: 0 0 10px; }
.v51-chanukah-body p { font-size: 17px; line-height: 1.5; color: var(--sjcc-muted); margin: 0 0 18px; }

/* About us */
.v51-about { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.v51-about h2 { font-size: 28px; margin-bottom: 10px; }
.v51-about p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--sjcc-muted); }

/* Find your place */
.v51-find { margin: 0 0 40px; }
.v51-find h2 { font-size: 30px; text-align: center; margin-bottom: 16px; }
.v51-find-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.v51-find-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; background: var(--sjcc-surface); border: 1px solid var(--sjcc-line); border-radius: 16px; padding: 20px 12px 18px; text-decoration: none !important; color: var(--sjcc-ink) !important; box-shadow: var(--sjcc-shadow); transition: transform .2s, box-shadow .2s; }
.v51-find-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,57,54,.13); }
.v51-find-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.v51-find-icon svg { width: 38px; height: 38px; }
.v51-find-community .v51-find-icon { background: var(--sjcc-teal-soft); }
.v51-find-unh .v51-find-icon { background: #E3ECF8; }
.v51-find-visitors .v51-find-icon { background: #FBEFD9; }
.v51-find-partners .v51-find-icon { background: #FBE3EA; }
.v51-find-cafe .v51-find-icon { background: #EFE3DA; }
.v51-find-text strong { display: block; font-family: var(--sjcc-serif); font-weight: 400; font-size: 19px; line-height: 1.2; }
.v51-find-text em { font-style: normal; color: var(--sjcc-gold-dark); font-size: 15px; }
.v51-find-text small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--sjcc-muted); }

/* Upcoming Programs: picture boxes, 3 at a time */
.v51-upcoming { margin: 0 0 36px; }
.v51-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v51-card { display: flex; flex-direction: column; background: var(--sjcc-surface); border: 1px solid var(--sjcc-line); border-radius: 18px; box-shadow: var(--sjcc-shadow); overflow: hidden; text-decoration: none !important; color: var(--sjcc-ink) !important; transition: transform .2s, box-shadow .2s; }
.v51-card[hidden] { display: none !important; }
.v51-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,57,54,.13); }
.v51-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sjcc-teal-soft); }
.v51-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; align-items: flex-start; }
.v51-date { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sjcc-gold-dark); margin-bottom: 6px; }
.v51-card h3 { font-family: var(--sjcc-serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin: 0 0 6px; color: var(--sjcc-ink); }
.v51-card p { font-size: 14px; line-height: 1.45; color: var(--sjcc-muted); margin: 0 0 14px; }
.v51-card .v51-btn { margin-top: auto; }
.v51-seemore { text-align: center; margin: 24px 0 0; }
.v51-all { text-align: center; margin: 14px 0 0; }
.v51-all a { font-size: 14px; font-weight: 600; color: var(--sjcc-teal) !important; text-decoration: none; }

/* Reviews */
.v51-stack .v51-reviews { margin-top: 10px; margin-bottom: 30px; padding: 0; }
.v51-rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v51-rev { margin: 0; background: var(--sjcc-surface); border: 1px solid var(--sjcc-line); border-radius: 16px; padding: 20px; box-shadow: var(--sjcc-shadow); }
.v51-stars { color: #E0A526; letter-spacing: 2px; }
.v51-rev blockquote { margin: 8px 0 12px; font-size: 15px; line-height: 1.55; }
.v51-rev figcaption { font-size: 13px; color: var(--sjcc-muted); }
.v51-rev figcaption strong { color: var(--sjcc-ink); }
.v51-rev-more { text-align: center; margin: 18px 0 0; }
.v51-rev-more a { font-size: 16px; font-weight: 600; color: var(--sjcc-teal) !important; text-decoration: none; }

/* Footer follow icons */
.v51-follow { text-align: center; padding: 6px 0 22px; }
.v51-follow-label { margin: 0 0 12px; font-family: var(--sjcc-serif); font-size: 24px; color: #F3E6C9; }
.v51-follow-icons { display: flex; justify-content: center; gap: 18px; }
.v51-soc { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #F3E6C9; color: var(--sjcc-teal-dark) !important; transition: transform .2s, background .2s; }
.v51-soc:hover { transform: translateY(-2px); background: #fff; }
.v51-soc svg { width: 32px; height: 32px; }

/* ChabadOne paints inner divs grey; keep ours clean */
html.v51-ready .v51-stack, html.v51-ready .v51-reviews { background: transparent !important; }

@media (max-width: 900px) {
  .v51-find-grid { grid-template-columns: repeat(3, 1fr); }
  .v51-cards { grid-template-columns: repeat(2, 1fr); }
  .v51-rev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .v51-stack, .v51-reviews { padding: 0 16px; }
  .v51-chanukah { grid-template-columns: 1fr; }
  .v51-chanukah-img { min-height: 0; max-height: none; height: auto; aspect-ratio: 16 / 9; }
  .v51-chanukah-body { padding: 20px 20px 24px; }
  .v51-chanukah-body h2 { font-size: 28px; }
  .v51-chanukah-body p { font-size: 16px; }
  .v51-about p { font-size: 16px; }
  .v51-head h2 { font-size: 28px; }
  .v51-find-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .v51-find-cafe { grid-column: 1 / -1; }
  .v51-find-tile { padding: 16px 10px 14px; }
  .v51-find-icon { width: 56px; height: 56px; }
  .v51-cards { grid-template-columns: 1fr; gap: 16px; }
}

/* footer specificity fixes (site.css forces footer link colours) */
body.cco_body #footer .v51-follow-label { color: #F3E6C9 !important; font-family: var(--sjcc-serif); font-size: 24px; margin: 0 0 12px; opacity: 1 !important; }
body.cco_body #footer a.v51-soc { color: var(--sjcc-teal-dark) !important; background: #F3E6C9; }
body.cco_body #footer a.v51-soc:hover { background: #fff; }
body.cco_body #footer a.v51-soc svg { width: 32px; height: 32px; display: block; }

/* v5.1b: tile order change, UNH block, Reviews heading, Upcoming Classes widget */
.v51-find-yjp .v51-find-icon { background: #EDE4F6; }
.v51-find-hebrew .v51-find-icon { background: #E2F1E3; }
.v51-reviews .v51-head h2 { font-size: 32px; }
.v51-unh { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--sjcc-line); border-radius: 16px; box-shadow: var(--sjcc-shadow); padding: 14px 20px; margin: 0 auto 28px; max-width: 760px; text-decoration: none !important; color: var(--sjcc-ink) !important; }
.v51-unh-icon { background: #E3ECF8; flex: 0 0 56px; width: 56px; height: 56px; }
.v51-unh-text { flex: 1; min-width: 0; }
.v51-unh-text strong { display: block; font-family: var(--sjcc-serif); font-weight: 400; font-size: 20px; }
.v51-unh-text small { display: block; font-size: 13px; line-height: 1.4; color: var(--sjcc-muted); margin-top: 2px; }
.v51-unh .v51-btn { flex: 0 0 auto; }
html.sjcc-ready .hp_content_wrapper>.v51-classes { flex: 1 1 280px; max-width: 380px; }
.v51-classes-box { background: var(--sjcc-surface); border: 1px solid var(--sjcc-line); border-radius: var(--sjcc-radius); box-shadow: var(--sjcc-shadow); padding: 28px 28px 24px; margin: 16px auto; box-sizing: border-box; font-family: var(--sjcc-sans); color: var(--sjcc-ink); }
.v51-classes-box h5 { font-family: var(--sjcc-serif); font-weight: 400; font-size: 28px; text-align: center; color: var(--sjcc-ink); margin: 0 0 14px; padding: 0 0 12px; }
.v51-classes-box ul { list-style: none; margin: 0; padding: 0; }
.v51-classes-box li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--sjcc-line); }
.v51-class-text strong { display: block; font-size: 16px; font-weight: 700; }
.v51-class-text span { display: block; font-size: 13px; color: var(--sjcc-muted); margin-top: 2px; }
@media (max-width: 900px) { .v51-find-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .v51-unh { flex-wrap: wrap; justify-content: center; text-align: center; }
  .v51-unh-text { flex: 1 1 100%; order: 2; }
  .v51-unh .v51-btn { order: 3; }
  .v51-find-cafe { grid-column: auto; }
  .v51-find-grid .v51-find-tile:last-child { grid-column: 1 / -1; }
}

/* 6 tiles: 6 across on desktop, 3x2 on tablet, 2x3 on phone */
.v51-find-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.v51-find-text strong { font-size: 18px; }
@media (max-width: 1000px) { .v51-find-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .v51-find-grid { grid-template-columns: 1fr 1fr; } .v51-find-grid .v51-find-tile:last-child { grid-column: auto; } }

/* Widget row: the hidden Facebook widget's empty column is removed so the 3 boxes share the row */
html.v51-ready .hp_content_wrapper>.g320:has(.widget-4.facebook_likebox) { display: none !important; }
html.v51-ready .hp_content_wrapper { align-items: flex-start; }
.v51-classes-box { margin: 0 0 16px; }

/* Latest Photos replaced by the Facebook Page Plugin */
html.v51-ready .v51-photos-replaced { display: none !important; }
.v51-photos { max-width: 1000px; margin: 8px auto 36px; padding: 0 16px; box-sizing: border-box; font-family: var(--sjcc-sans); text-align: center; }
.v51-photos h2 { font-family: var(--sjcc-serif); font-weight: 400; font-size: 32px; color: var(--sjcc-ink); margin: 0; }
.v51-photos-slot { background: #fff; border: 1px solid var(--sjcc-line); border-radius: var(--sjcc-radius); box-shadow: var(--sjcc-shadow); padding: 14px; }
.v51-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v51-mock-grid i { display: block; aspect-ratio: 1 / 1; border-radius: 12px; background: linear-gradient(135deg, var(--sjcc-teal-soft), #F3E6C9); }
.v51-mock-note { margin: 14px 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--sjcc-gold-dark); }
.v51-photos-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 0; }
@media (max-width: 767px) { .v51-mock-grid { grid-template-columns: repeat(2, 1fr); } }

html.v51-ready .v51-photos { background: transparent !important; }
.v51-mock-grid { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 767px) { .v51-mock-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== v5.1c: sticker row (replaces About paragraph) ===== */
.v51-stickers { text-align: center; margin: 0 auto 34px; max-width: 820px; }
.v51-sticker-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.v51-sticker { display: inline-block; font-family: var(--sjcc-sans); font-weight: 700; font-size: 20px; line-height: 1.1; padding: 12px 22px; border-radius: 14px; border: 2px solid transparent; box-shadow: 0 4px 12px rgba(18,57,54,.10); }
.v51-sticker:nth-child(1) { background: var(--sjcc-teal-soft); color: var(--sjcc-teal-dark); border-color: #BFE0DC; transform: rotate(-1.5deg); }
.v51-sticker:nth-child(2) { background: #FBEFD9; color: #7A5116; border-color: #EBD2A3; transform: rotate(1deg); }
.v51-sticker:nth-child(3) { background: #E3ECF8; color: #23497A; border-color: #BFD1EA; transform: rotate(-.8deg); }
.v51-stickers-more { margin: 14px 0 0; font-size: 14px; }
.v51-stickers-more a { color: var(--sjcc-teal) !important; font-weight: 600; text-decoration: none; }
@media (max-width: 767px) { .v51-sticker { font-size: 17px; padding: 10px 16px; } .v51-sticker { transform: none !important; } }

/* 5 find-your-place tiles */
.v51-find-grid { grid-template-columns: repeat(5, 1fr) !important; }
@media (max-width: 1000px) { .v51-find-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 767px) { .v51-find-grid { grid-template-columns: 1fr 1fr !important; } .v51-find-grid .v51-find-tile:last-child { grid-column: 1 / -1 !important; } }

/* ===== Community hub (page content; class-only HTML, no scripts) ===== */
.v51-hub { font-family: var(--sjcc-sans); color: var(--sjcc-ink); max-width: 1000px; margin: 0 auto; }
.v51-hub-intro { font-size: 17px; line-height: 1.55; color: var(--sjcc-muted); margin: 0 0 8px; }
.v51-hub-h { font-family: var(--sjcc-serif) !important; font-weight: 400 !important; font-size: 28px !important; color: var(--sjcc-ink) !important; margin: 28px 0 14px !important; padding: 0 !important; border: 0 !important; }
.v51-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v51-hub-card { display: flex; flex-direction: column; background: var(--sjcc-surface); border: 1px solid var(--sjcc-line); border-radius: 16px; box-shadow: var(--sjcc-shadow); overflow: hidden; text-decoration: none !important; color: var(--sjcc-ink) !important; transition: transform .2s, box-shadow .2s; }
.v51-hub-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(18,57,54,.13); }
.v51-hub-title { display: block; font-family: var(--sjcc-serif); font-size: 21px; line-height: 1.2; padding: 14px 16px 2px; }
.v51-hub-sub { display: block; font-size: 13px; line-height: 1.4; color: var(--sjcc-muted); padding: 0 16px 16px; }
.v51-hub-card .v51-hub-title:last-child { padding-bottom: 16px; }
.v51-hub-mini-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v51-hub-mini { display: flex; align-items: center; gap: 12px; background: var(--sjcc-surface); border: 1px solid var(--sjcc-line); border-radius: 14px; padding: 12px 14px; text-decoration: none !important; color: var(--sjcc-ink) !important; box-shadow: var(--sjcc-shadow); transition: transform .2s; min-height: 64px; box-sizing: border-box; }
.v51-hub-mini:hover { transform: translateY(-2px); }
.v51-hub-mt b { display: block; font-size: 15px; line-height: 1.25; font-weight: 700; }
.v51-hub-mt i { display: block; font-style: normal; font-size: 12px; color: var(--sjcc-muted); margin-top: 2px; }
@media (max-width: 900px) { .v51-hub-grid, .v51-hub-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .v51-hub-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .v51-hub-mini-grid { grid-template-columns: 1fr; } .v51-hub-title { font-size: 18px; padding: 12px 12px 2px; } .v51-hub-sub { padding: 0 12px 12px; font-size: 12px; } }

/* ===== v5.1d: hub restructure ===== */
.v51-hub-grid4 { grid-template-columns: repeat(4, 1fr); }
.v51-hub-h-small { font-size: 22px !important; margin-top: 30px !important; }
.v51-hub-grid-short { max-width: 50%; grid-template-columns: repeat(2, 1fr); }
.v51-hub-mini-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .v51-hub-grid4 { grid-template-columns: repeat(3, 1fr); } .v51-hub-mini-grid { grid-template-columns: repeat(2, 1fr); } .v51-hub-grid-short { max-width: 66%; } }
@media (max-width: 520px) { .v51-hub-grid4 { grid-template-columns: 1fr 1fr; } .v51-hub-mini-grid { grid-template-columns: 1fr; } .v51-hub-grid-short { max-width: 100%; } }
/* 6 tiles on the homepage */
.v51-find-grid { grid-template-columns: repeat(6, 1fr) !important; gap: 12px !important; }
@media (max-width: 1000px) { .v51-find-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 767px) { .v51-find-grid { grid-template-columns: 1fr 1fr !important; } .v51-find-grid .v51-find-tile:last-child { grid-column: auto !important; } }
.v51-find-services .v51-find-icon { background: #FBE6EC; }

/* ===== v5.1e: Visitors page + dedication ===== */
.v51-vis { font-family: var(--sjcc-sans); color: var(--sjcc-ink); max-width: 1000px; margin: 0 auto; }
.v51-vis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0; }
.v51-vis-box { background: var(--sjcc-surface); border: 1px solid var(--sjcc-line); border-radius: 16px; box-shadow: var(--sjcc-shadow); padding: 20px 22px; }
.v51-vis-box-wide { grid-column: 1 / -1; }
.v51-vis-box h3 { display: flex; align-items: center; gap: 12px; font-family: var(--sjcc-serif) !important; font-weight: 400 !important; font-size: 22px !important; margin: 0 0 8px !important; }
.v51-vis-box p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; }
.v51-vis-link { display: inline-block; margin: 2px 14px 4px 0; font-weight: 700; font-size: 15px; color: var(--sjcc-teal) !important; text-decoration: none !important; }
.v51-vis-faq h2, .v51-vis-cta h3 { font-family: var(--sjcc-serif) !important; font-weight: 400 !important; }
.v51-vis-faq h2 { font-size: 28px !important; margin: 26px 0 8px !important; }
.v51-vis-faq h4 { font-size: 16px !important; margin: 14px 0 2px !important; font-family: var(--sjcc-sans) !important; font-weight: 700 !important; }
.v51-vis-faq p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--sjcc-muted); }
.v51-vis-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--sjcc-teal-soft); border-radius: 16px; padding: 20px 24px; margin-top: 26px; }
.v51-vis-cta h3 { margin: 0 0 4px !important; font-size: 24px !important; }
.v51-vis-cta p { margin: 0; color: var(--sjcc-muted); font-size: 15px; }
.v51-vis-btn { display: inline-block; background: var(--sjcc-teal); color: #fff !important; font-weight: 700; padding: 12px 22px; border-radius: 999px; text-decoration: none !important; }
@media (max-width: 700px) { .v51-vis-grid { grid-template-columns: 1fr; } }

/* ===== v5.1f: no empty elements. Pictures and icons are drawn with ::before on non-empty parents ===== */
.v51-hub-card::before { content: ""; display: block; aspect-ratio: 4 / 3; background-color: var(--sjcc-teal-soft); background-size: cover; background-position: center; background-repeat: no-repeat; }
.v51-hub-mini::before, .v51-vis-t::before { content: ""; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background-color: var(--sjcc-teal-soft); background-position: center; background-repeat: no-repeat; background-size: 22px 22px; }
.v51-vis-t { display: flex; align-items: center; gap: 12px; }
.v51-vis-t::before { flex-basis: 40px; width: 40px; height: 40px; border-radius: 50%; }
.hub-img-hebrew::before { background-image: url(images/program-hebrew-school.jpg); }
.hub-img-jwc::before { background-image: url(images/program-jwc.jpg); }
.hub-img-chanukah::before { background-image: url(images/tile-chanukah-2026.jpg); }
.hub-img-shabbat::before { background-image: url(images/program-shabbat.jpg); }
.hub-img-cteens::before { background-image: url(images/program-cteens.jpg); }
.hub-img-pizza::before { background-image: url(images/hub-pizza.jpg); }
.hub-img-yjp::before { background-image: url(images/hub-yjp.jpg); }
.hub-img-mommy::before { background-image: url(images/hub-mommy.jpg); }
.hub-img-mohel::before { background-image: url(images/hub-mohel.jpg); background-position: center 30%; }
.hub-img-bris::before { background-image: url(images/hub-bris.jpg); }
.hub-img-baby::before { background-image: url(images/hub-baby.jpg); }
.hub-img-hs-about::before { background-image: url(images/hs-about.jpg); }
.hub-img-hs-calendar::before { background-image: url(images/hs-calendar.jpg); }
.hub-img-hs-register::before { background-image: url(images/hs-register.jpg); }
.hub-img-hs-scholarship::before { background-image: url(images/hs-scholarship.jpg); }
.hub-img-hs-testimonials::before { background-image: url(images/hs-testimonials.jpg); }
.hub-img-hs-pay::before { background-image: url(images/hs-pay.jpg); }
.hub-img-hs-donate::before { background-image: url(images/hs-donate.jpg); }
.hub-g1 { --g: linear-gradient(135deg, #107878, #5FB3A8); }
.hub-g2 { --g: linear-gradient(135deg, #7B4FB0, #B58DE0); }
.hub-g3 { --g: linear-gradient(135deg, #C9506F, #F0A3B4); }
.hub-g4 { --g: linear-gradient(135deg, #C4893A, #E8C07A); }
.hub-g5 { --g: linear-gradient(135deg, #23497A, #6F9BD4); }
[class*="hub-gic-"]::before { background-size: 64px 64px, cover; background-position: center, center; }
.v51-hub-banner { display: block; width: 100%; max-width: 640px; aspect-ratio: 1640 / 924; margin: 0 auto 16px !important; padding: 0 !important; border: 0 !important; border-radius: 16px; background: url(images/hs-banner.jpg) center / cover no-repeat; box-shadow: var(--sjcc-shadow); overflow: hidden; text-indent: -9999px; font-size: 0 !important; line-height: 0 !important; }
.hub-ic-doc::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h9l4%204v14H6z%22%2F%3E%3Cpath%20d%3D%22M14%203v5h5M9%2013h7M9%2017h7%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-doc::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h9l4%204v14H6z%22%2F%3E%3Cpath%20d%3D%22M14%203v5h5M9%2013h7M9%2017h7%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-cal::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M4%2010h16M8%203v4M16%203v4%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-cal::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M4%2010h16M8%203v4M16%203v4%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-card::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%2218%22%20height%3D%2212%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18M7%2015h4%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-card::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%2218%22%20height%3D%2212%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18M7%2015h4%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-heart::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020s-7-4.6-7-10a4%204%200%200%201%207-2.5A4%204%200%200%201%2019%2010c0%205.4-7%2010-7%2010z%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-heart::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020s-7-4.6-7-10a4%204%200%200%201%207-2.5A4%204%200%200%201%2019%2010c0%205.4-7%2010-7%2010z%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-people::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%229%22%20r%3D%222.4%22%2F%3E%3Cpath%20d%3D%22M3%2020c0-3.5%203-5.5%206-5.5s6%202%206%205.5M16%2014.5c3%200%205%201.8%205%205%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-people::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%229%22%20r%3D%222.4%22%2F%3E%3Cpath%20d%3D%22M3%2020c0-3.5%203-5.5%206-5.5s6%202%206%205.5M16%2014.5c3%200%205%201.8%205%205%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-chat::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v11H9l-5%204z%22%2F%3E%3Cpath%20d%3D%22M8%2010h8M8%2013h5%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-chat::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v11H9l-5%204z%22%2F%3E%3Cpath%20d%3D%22M8%2010h8M8%2013h5%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-flame::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203c3%203.5%205%206%205%209.5a5%205%200%200%201-10%200c0-2%201-3.5%202-4.5.3%201.5%201%202%202%202.3C11%208.5%2011%205.5%2012%203z%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-flame::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203c3%203.5%205%206%205%209.5a5%205%200%200%201-10%200c0-2%201-3.5%202-4.5.3%201.5%201%202%202%202.3C11%208.5%2011%205.5%2012%203z%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-leaf::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019c0-8%205-14%2015-14%200%2010-6%2015-14%2015M5%2019l8-8%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-leaf::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019c0-8%205-14%2015-14%200%2010-6%2015-14%2015M5%2019l8-8%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-pizza::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207c6-3%2012-3%2018%200L12%2021z%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%229%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2211%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2211.5%22%20cy%3D%2214%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-pizza::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207c6-3%2012-3%2018%200L12%2021z%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%229%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2211%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2211.5%22%20cy%3D%2214%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-circle::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-circle::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-book::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206C9.5%204.5%206.5%204%203%204.5v14c3.5-.5%206.5%200%209%201.5%202.5-1.500%205.500-2%209-1.500v-14c-3.500-.5-6.500%200-9%201.500zM12%206v14%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-book::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206C9.5%204.5%206.5%204%203%204.5v14c3.5-.5%206.5%200%209%201.5%202.5-1.500%205.500-2%209-1.500v-14c-3.500-.5-6.500%200-9%201.500zM12%206v14%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-trophy::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%204h8v6a4%204%200%200%201-8%200zM8%206H4c0%203%201.500%204.500%204%205M16%206h4c0%203-1.500%204.500-4%205M12%2014v4M8%2020h8%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-trophy::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%204h8v6a4%204%200%200%201-8%200zM8%206H4c0%203%201.500%204.500%204%205M16%206h4c0%203-1.500%204.500-4%205M12%2014v4M8%2020h8%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-camera::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%208h3l2-3h6l2%203h3v11H4z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2213%22%20r%3D%223.500%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-camera::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%208h3l2-3h6l2%203h3v11H4z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2213%22%20r%3D%223.500%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-bed::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2018V7M3%2014h18v4M21%2014v-3a3%203%200%200%200-3-3h-7v6%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-bed::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2018V7M3%2014h18v4M21%2014v-3a3%203%200%200%200-3-3h-7v6%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-cup::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203v8M5%203v5a2%202%200%200%200%204%200V3M7%2011v10M17%203c-2%202-3%205-3%208h3v10%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-cup::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203v8M5%203v5a2%202%200%200%200%204%200V3M7%2011v10M17%203c-2%202-3%205-3%208h3v10%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-drop::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203c4%205%206%208%206%2011a6%206%200%200%201-12%200c0-3%202-6%206-11z%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-drop::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203c4%205%206%208%206%2011a6%206%200%200%201-12%200c0-3%202-6%206-11z%22%2F%3E%3C%2Fsvg%3E"), var(--g); }
.hub-ic-pin::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230C5E5A%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022s7-6.500%207-12a7%207%200%200%200-14%200c0%205.500%207%2012%207%2012z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.500%22%2F%3E%3C%2Fsvg%3E"); }
.hub-gic-pin::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022s7-6.500%207-12a7%207%200%200%200-14%200c0%205.500%207%2012%207%2012z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.500%22%2F%3E%3C%2Fsvg%3E"), var(--g); }

/* Curator feed (v5.2): Latest Photos uses the Curator Waterfall embed; ChabadOne widget is the fallback */
.v51-photos-pending { position: absolute !important; left: -9999px !important; width: 1000px !important; visibility: hidden !important; }
.v51-photos-slot .crt-feed, .v51-photos-slot .crt-widget { text-align: left; }
/* Show every post (do not clip mid-card). Clamp captions so the gallery stays compact and Curator measures the clamped height. */
.v51-photos-slot { max-height: none; overflow: visible; position: relative; }
.v51-photos-slot .crt-post-title { display: none; }
.v51-photos-slot .crt-post-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.v51-photos-slot .crt-logo { display: inline-block; font-size: 11px; color: var(--sjcc-muted) !important; margin-top: 6px; }
