/* 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%);
  }
}
