/* ============================================================
   CHABAD OF FORT LEE — HOMEPAGE POLISH V8
   2026-10-08

   Scope:
   - Homepage event cards (desktop + mobile)
   - Homepage Prayer Times presentation
   - Homepage Shabbat & Holidays presentation
   - No visual changes to the full Upcoming at Chabad page
   ============================================================ */

/* ============================================================
   HOMEPAGE EVENTS — SHARED
   ============================================================ */

html body.home #cfle-home-v4 .cfle-v4-events-slot{
  width:100% !important;
  max-width:1400px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

html body.home #cfle-home-v4 .chabad_updates.cfle-home-events-widget,
html body.home #cfle-home-v4 .chabad_updates.cfle-home-events-widget > div,
html body.home #cfle-home-v4 .chabad_updates.cfle-home-events-widget .cfle-home-events-shell{
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}

html body.home #cfle-home-v4 .chabad_updates.cfle-home-events-widget .cfle-home-events-shell{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
}

html body.home #cfle-home-v4 .cfle-home-events-heading{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:18px !important;
  width:100% !important;
  margin:0 auto 20px !important;
  padding:0 !important;
  color:#ad680d !important;
  font-family:"Playfair Display",Georgia,"Times New Roman",serif !important;
  font-size:21px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  letter-spacing:.18em !important;
  text-align:center !important;
  text-transform:uppercase !important;
}

html body.home #cfle-home-v4 .cfle-home-events-heading:before,
html body.home #cfle-home-v4 .cfle-home-events-heading:after{
  content:"" !important;
  display:block !important;
  flex:0 0 56px !important;
  width:56px !important;
  height:1px !important;
  background:#cc8b20 !important;
}

html body.home #cfle-home-v4 .cfle-home-events-list{
  --cfle-v8-gap:clamp(14px,1.25vw,20px);
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  align-items:stretch !important;
  justify-content:center !important;
  column-gap:var(--cfle-v8-gap) !important;
  row-gap:18px !important;
  width:100% !important;
  max-width:1400px !important;
  margin:0 auto !important;
  padding:0 !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}

/* 1 = one larger centered card */
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"]{
  grid-template-columns:minmax(0,570px) !important;
  max-width:570px !important;
}

/* 2 = two larger centered cards */
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"]{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  max-width:1140px !important;
}

/* 3 / 5 / 6 = three equal cards across */
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="3"] > .cfle-home-event,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="5"] > .cfle-home-event,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="6"] > .cfle-home-event{
  grid-column:span 2 !important;
}

/* 4 = centered 2 x 2 using the same compact card width */
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="4"] > .cfle-home-event:nth-child(1),
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="4"] > .cfle-home-event:nth-child(3){
  grid-column:2 / span 2 !important;
}
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="4"] > .cfle-home-event:nth-child(2),
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="4"] > .cfle-home-event:nth-child(4){
  grid-column:4 / span 2 !important;
}

/* 5 = 3 top + 2 centered bottom */
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="5"] > .cfle-home-event:nth-child(4){
  grid-column:2 / span 2 !important;
}
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="5"] > .cfle-home-event:nth-child(5){
  grid-column:4 / span 2 !important;
}

/* Base compact card (3+ events). */
html body.home #cfle-home-v4 a.cfle-home-event{
  position:relative !important;
  display:grid !important;
  grid-template-columns:82px minmax(0,1fr) !important;
  grid-template-areas:"date content" !important;
  align-items:center !important;
  column-gap:22px !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  height:118px !important;
  min-height:118px !important;
  margin:0 !important;
  padding:10px 16px !important;
  border:1.7px solid rgba(213,157,47,.78) !important;
  border-radius:20px !important;
  background:rgba(255,254,250,.96) !important;
  color:#11182d !important;
  text-decoration:none !important;
  box-shadow:0 7px 18px rgba(83,53,8,.055) !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease !important;
}

html body.home #cfle-home-v4 a.cfle-home-event:hover{
  transform:translateY(-2px) !important;
  border-color:#d99b1d !important;
  background:#fffdf7 !important;
  box-shadow:0 11px 25px rgba(83,53,8,.10) !important;
}

/* Larger cards only when total count is 1 or 2. */
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] > a.cfle-home-event,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] > a.cfle-home-event{
  grid-template-columns:90px minmax(0,1fr) !important;
  column-gap:26px !important;
  height:124px !important;
  min-height:124px !important;
  padding:11px 18px !important;
}

/* Date block: slightly narrower/shorter than V7, but the text fills it. */
html body.home #cfle-home-v4 .cfle-home-date-box{
  grid-area:date !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  width:82px !important;
  height:97px !important;
  min-width:82px !important;
  min-height:97px !important;
  margin:0 !important;
  padding:5px 4px !important;
  border:1.7px solid #dfb85f !important;
  border-radius:15px !important;
  background:linear-gradient(180deg,#fffaf0 0%,#fffefb 100%) !important;
  box-shadow:inset 0 0 0 2px rgba(229,169,0,.045) !important;
  text-align:center !important;
  box-sizing:border-box !important;
}

html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-date-box,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-date-box{
  width:90px !important;
  height:101px !important;
  min-width:90px !important;
  min-height:101px !important;
}

/* Match the full Upcoming page date typography: Arial, heavy, high-contrast. */
html body.home #cfle-home-v4 .cfle-home-date-month,
html body.home #cfle-home-v4 .cfle-home-date-weekday{
  display:block !important;
  color:#c28608 !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:12.5px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}

html body.home #cfle-home-v4 .cfle-home-date-day{
  display:block !important;
  margin:4px 0 3px !important;
  color:#111 !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:43px !important;
  line-height:.96 !important;
  font-weight:900 !important;
  letter-spacing:-.035em !important;
}

html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-date-month,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-date-weekday,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-date-month,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-date-weekday{
  font-size:13px !important;
}

html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-date-day,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-date-day{
  font-size:46px !important;
}

html body.home #cfle-home-v4 .cfle-home-date-box--range .cfle-home-date-day{
  font-size:30px !important;
  letter-spacing:-.04em !important;
}
html body.home #cfle-home-v4 .cfle-home-date-box--cross-month .cfle-home-date-month{
  font-size:10.5px !important;
  letter-spacing:.025em !important;
}

/* Content entity is vertically centered beside the entire date box. */
html body.home #cfle-home-v4 .cfle-home-event-content{
  grid-area:content !important;
  align-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  text-align:left !important;
}

html body.home #cfle-home-v4 .cfle-home-event-title{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 6px !important;
  padding:0 !important;
  color:#11182d !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:27px !important;
  line-height:1.04 !important;
  font-weight:900 !important;
  letter-spacing:-.018em !important;
  text-align:left !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}

html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-event-title,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-event-title{
  font-size:30px !important;
}

html body.home #cfle-home-v4 .cfle-home-event-time{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  gap:0 !important;
  color:#536078 !important;
  font-family:"Lato",Arial,Helvetica,sans-serif !important;
  font-size:14.5px !important;
  line-height:1.14 !important;
  font-weight:600 !important;
  white-space:nowrap !important;
  text-align:left !important;
}

html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-event-time,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-event-time{
  font-size:16px !important;
}

html body.home #cfle-home-v4 .cfle-home-event-time .cfle-meta-svg,
html body.home #cfle-home-v4 .cfle-home-event-time > svg{
  display:none !important;
}

/* No arrow on homepage at any breakpoint. */
html body.home #cfle-home-v4 .cfle-home-event-arrow{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

/* No Featured pill on homepage. Full Upcoming page is untouched. */
html body.home #cfle-home-v4 .cfle-home-featured-pill{
  display:none !important;
}

/* Featured card: same gold treatment as the Upcoming page. */
html body.home #cfle-home-v4 a.cfle-home-event--featured{
  grid-template-columns:82px minmax(0,1fr) 50px !important;
  grid-template-areas:"date content featured-star" !important;
  column-gap:18px !important;
  border-width:2px !important;
  border-color:#dca31e !important;
  background:linear-gradient(135deg,#f9edcf 0%,#fdf5e5 50%,#fff8e8 100%) !important;
  box-shadow:0 8px 20px rgba(86,57,10,.075),inset 0 0 0 1px rgba(229,169,0,.055) !important;
}

html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] > a.cfle-home-event--featured,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] > a.cfle-home-event--featured{
  grid-template-columns:90px minmax(0,1fr) 54px !important;
  column-gap:22px !important;
}

html body.home #cfle-home-v4 a.cfle-home-event--featured:hover{
  border-color:#efb62d !important;
  background:linear-gradient(135deg,#f6e5b9 0%,#fbedcf 52%,#fff5df 100%) !important;
  box-shadow:0 13px 29px rgba(94,61,7,.13),0 0 0 3px rgba(229,169,0,.055),inset 0 0 0 1px rgba(229,169,0,.07) !important;
}

/* Star: far-right and vertically centered with the date-number zone. */
html body.home #cfle-home-v4 .cfle-home-featured-star{
  grid-area:featured-star !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:center !important;
  justify-self:end !important;
  width:44px !important;
  height:44px !important;
  margin:0 !important;
  padding:0 !important;
  color:#d7950a !important;
  font-size:40px !important;
  line-height:1 !important;
  text-shadow:0 2px 8px rgba(177,119,8,.23) !important;
  transform:none !important;
}

html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-featured-star,
html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-featured-star{
  width:46px !important;
  height:46px !important;
  font-size:42px !important;
}

/* View-all is an actual block-level flex item so auto margins truly center it. */
html body.home #cfle-home-v4 .cfle-home-events-more{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:center !important;
  gap:8px !important;
  width:max-content !important;
  min-width:0 !important;
  min-height:44px !important;
  margin:18px auto 0 !important;
  padding:9px 24px !important;
  border:1.6px solid #c98515 !important;
  border-radius:999px !important;
  background:#fffdf8 !important;
  color:#17203a !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:16px !important;
  line-height:1 !important;
  font-weight:700 !important;
  text-align:center !important;
  text-decoration:none !important;
  box-shadow:0 5px 13px rgba(83,53,8,.035) !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  float:none !important;
  clear:both !important;
}

/* ============================================================
   PRAYER + SHABBAT — SHARED SECTION HEADING LANGUAGE
   ============================================================ */

html body.home #cfle-home-v4 .cfle-v4-info{
  position:relative !important;
  width:100% !important;
  max-width:1190px !important;
}

html body.home #cfle-home-v4 .cfle-v4-prayer-slot .widget_header,
html body.home #cfle-home-v4 .cfle-v4-shabbat-slot .widget_header{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:16px !important;
  margin:0 0 25px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

/* Replace old icon/box with matching lines on both sides. */
html body.home #cfle-home-v4 .cfle-v4-prayer-slot .widget_header:before,
html body.home #cfle-home-v4 .cfle-v4-prayer-slot .widget_header:after,
html body.home #cfle-home-v4 .cfle-v4-shabbat-slot .widget_header:before,
html body.home #cfle-home-v4 .cfle-v4-shabbat-slot .widget_header:after{
  content:"" !important;
  display:block !important;
  flex:0 0 48px !important;
  width:48px !important;
  height:1px !important;
  margin:0 !important;
  background:#d39a3c !important;
  transform:none !important;
  color:transparent !important;
  font-size:0 !important;
}

html body.home #cfle-home-v4 .cfle-v4-prayer-slot .widget_header h5,
html body.home #cfle-home-v4 .cfle-v4-shabbat-slot .widget_header h5{
  margin:0 !important;
  padding:0 !important;
  color:#b66f12 !important;
  font-family:"Playfair Display",Georgia,"Times New Roman",serif !important;
  font-size:18px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  letter-spacing:.18em !important;
  text-align:center !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
}

/* ============================================================
   PRAYER TIMES — DESKTOP
   ============================================================ */

@media (min-width:1025px){

  /* Lift only the Upcoming section a little; following info remains in normal flow. */
  html body.home #cfle-home-v4 .cfle-v4-events-slot{
    position:relative !important;
    top:-12px !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-info{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:0 !important;
    margin:44px auto 0 !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-slot,
  html body.home #cfle-home-v4 .cfle-v4-shabbat-slot{
    min-width:0 !important;
    padding:0 36px !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-shabbat-slot{
    border-left:1px solid #ddd6ca !important;
  }

  /* Divider moved left: Shacharit 42%, Mincha/Maariv 58%. */
  html body.home #cfle-home-v4 .cfle-v4-prayer-slot .bottom_padding{
    display:grid !important;
    grid-template-columns:42% 58% !important;
    gap:0 !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-block{
    display:block !important;
    min-width:0 !important;
    padding:0 22px !important;
    color:#38445e !important;
    font-family:"Lato",Arial,Helvetica,sans-serif !important;
    font-size:14.5px !important;
    line-height:1.78 !important;
    text-align:center !important;
    white-space:nowrap !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-block + .cfle-v4-prayer-block{
    padding-left:30px !important;
    padding-right:8px !important;
    border-left:1px solid #d9d5cf !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-slot .prayer_heading{
    display:block !important;
    width:100% !important;
    margin:0 0 5px !important;
    color:#141d35 !important;
    font-family:Georgia,"Times New Roman",serif !important;
    font-size:19px !important;
    line-height:1.2 !important;
    font-weight:700 !important;
    text-align:center !important;
    white-space:nowrap !important;
  }
}

/* ============================================================
   SHABBAT & HOLIDAYS — NEW PRESENTATION FROM THE SAME LIVE DATA
   ============================================================ */

html body.home #cfle-home-v4 .cfle-v8-shabbat-native{
  display:none !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-present{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-card{
  width:100% !important;
  max-width:520px !important;
  margin:0 auto !important;
  padding:16px 20px 14px !important;
  border:1px solid #e4c27b !important;
  border-radius:14px !important;
  background:linear-gradient(180deg,#fffaf0 0%,#fffdf8 100%) !important;
  box-shadow:0 5px 16px rgba(110,76,22,.045) !important;
  text-align:center !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-card-head,
html body.home #cfle-home-v4 .cfle-v8-shabbat-detail{
  width:100% !important;
  text-align:center !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-title,
html body.home #cfle-home-v4 .cfle-v8-shabbat-detail-heading{
  color:#17203a !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-weight:700 !important;
  text-align:center !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-title{
  font-size:18px !important;
  line-height:1.2 !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-location{
  margin-top:2px !important;
  color:#58627b !important;
  font-family:"Lato",Arial,Helvetica,sans-serif !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:600 !important;
  text-align:center !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-times{
  margin-top:11px !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-time-line{
  display:flex !important;
  align-items:baseline !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  width:100% !important;
  padding:5px 0 !important;
  color:#58627b !important;
  font-family:"Lato",Arial,Helvetica,sans-serif !important;
  font-size:13.5px !important;
  line-height:1.25 !important;
  font-weight:600 !important;
  white-space:nowrap !important;
  text-align:center !important;
  text-decoration:none !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-date,
html body.home #cfle-home-v4 .cfle-v8-shabbat-dash,
html body.home #cfle-home-v4 .cfle-v8-shabbat-label{
  color:#58627b !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-time{
  color:#c47910 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:18px !important;
  line-height:1 !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-divider{
  width:100% !important;
  height:1px !important;
  margin:10px 0 !important;
  background:#eadbbd !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-detail-heading{
  font-size:17px !important;
  line-height:1.2 !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-detail-value{
  display:block !important;
  margin-top:3px !important;
  color:#263a68 !important;
  font-family:"Lato",Arial,Helvetica,sans-serif !important;
  font-size:16px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  text-align:center !important;
  text-decoration:none !important;
}

html body.home #cfle-home-v4 .cfle-v8-shabbat-detail-date{
  margin-top:4px !important;
  color:#58627b !important;
  font-family:"Lato",Arial,Helvetica,sans-serif !important;
  font-size:12.5px !important;
  line-height:1.25 !important;
  text-align:center !important;
}

/* ============================================================
   MOBILE / TABLET HOMEPAGE EVENTS + INFO
   ============================================================ */

@media (max-width:1024px){

  html body.home #cfle-home-v4 .cfle-v4-events-slot{
    position:static !important;
    top:auto !important;
  }

  html body.home #cfle-home-v4 .cfle-home-events-list,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"],
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"],
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="3"],
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="4"],
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="5"],
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="6"]{
    display:grid !important;
    grid-template-columns:1fr !important;
    max-width:650px !important;
    row-gap:18px !important;
  }

  html body.home #cfle-home-v4 .cfle-home-events-list > .cfle-home-event{
    grid-column:auto !important;
  }

  html body.home #cfle-home-v4 a.cfle-home-event,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] > a.cfle-home-event,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] > a.cfle-home-event{
    grid-template-columns:74px minmax(0,1fr) !important;
    grid-template-areas:"date content" !important;
    column-gap:14px !important;
    width:100% !important;
    height:auto !important;
    min-height:118px !important;
    padding:10px 12px !important;
    border-radius:18px !important;
  }

  html body.home #cfle-home-v4 a.cfle-home-event--featured,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] > a.cfle-home-event--featured,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] > a.cfle-home-event--featured{
    grid-template-columns:74px minmax(0,1fr) 36px !important;
    grid-template-areas:"date content featured-star" !important;
    column-gap:12px !important;
    border-width:2px !important;
    border-color:#dca31e !important;
    background:linear-gradient(135deg,#f9edcf 0%,#fdf5e5 50%,#fff8e8 100%) !important;
  }

  html body.home #cfle-home-v4 .cfle-home-date-box,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-date-box,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-date-box{
    width:74px !important;
    height:96px !important;
    min-width:74px !important;
    min-height:96px !important;
    padding:4px 3px !important;
    border-radius:14px !important;
  }

  html body.home #cfle-home-v4 .cfle-home-date-month,
  html body.home #cfle-home-v4 .cfle-home-date-weekday,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-date-month,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-date-weekday,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-date-month,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-date-weekday{
    font-size:12px !important;
  }

  html body.home #cfle-home-v4 .cfle-home-date-day,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-date-day,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-date-day{
    margin:4px 0 3px !important;
    font-size:39px !important;
    line-height:.96 !important;
  }

  html body.home #cfle-home-v4 .cfle-home-event-title,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-event-title,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-event-title{
    font-size:23px !important;
    line-height:1.04 !important;
    margin-bottom:5px !important;
  }

  html body.home #cfle-home-v4 .cfle-home-event-time,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-event-time,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-event-time{
    font-size:13.5px !important;
  }

  html body.home #cfle-home-v4 .cfle-home-featured-star,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="1"] .cfle-home-featured-star,
  html body.home #cfle-home-v4 .cfle-home-events-list[data-cfle-count="2"] .cfle-home-featured-star{
    justify-self:end !important;
    width:32px !important;
    height:32px !important;
    font-size:30px !important;
  }

  html body.home #cfle-home-v4 .cfle-home-events-more{
    align-self:center !important;
    margin:20px auto 0 !important;
  }

  /* Normal document flow: whatever number of event cards exists pushes this down. */
  html body.home #cfle-home-v4 .cfle-v4-info{
    display:grid !important;
    grid-template-columns:1fr !important;
    max-width:650px !important;
    margin:38px auto 0 !important;
    position:relative !important;
    top:auto !important;
    transform:none !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-slot,
  html body.home #cfle-home-v4 .cfle-v4-shabbat-slot{
    padding:0 4px !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-slot .bottom_padding{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:24px !important;
    width:100% !important;
    max-width:430px !important;
    margin:0 auto !important;
    padding:0 !important;
    text-align:center !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-block{
    padding:0 10px !important;
    color:#38445e !important;
    font-family:"Lato",Arial,Helvetica,sans-serif !important;
    font-size:15px !important;
    line-height:1.8 !important;
    text-align:center !important;
    white-space:nowrap !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-block + .cfle-v4-prayer-block{
    padding:23px 10px 0 !important;
    border-left:0 !important;
    border-top:1px solid #d9d5cf !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-slot .prayer_heading{
    display:block !important;
    width:100% !important;
    margin:0 0 5px !important;
    color:#141d35 !important;
    font-family:Georgia,"Times New Roman",serif !important;
    font-size:19px !important;
    line-height:1.2 !important;
    font-weight:700 !important;
    text-align:center !important;
    white-space:nowrap !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-shabbat-slot{
    margin-top:38px !important;
    padding-top:35px !important;
    border-left:0 !important;
    border-top:1px solid #ddd6ca !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-card{
    max-width:100% !important;
    padding:15px 11px 13px !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-time-line{
    font-size:12.5px !important;
    letter-spacing:-.01em !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-time{
    font-size:16px !important;
  }
}

@media (max-width:700px){

  html body.home #cfle-home-v4 .cfle-home-events-heading{
    gap:10px !important;
    margin-bottom:20px !important;
    font-size:15px !important;
    font-weight:800 !important;
    letter-spacing:.18em !important;
  }

  html body.home #cfle-home-v4 .cfle-home-events-heading:before,
  html body.home #cfle-home-v4 .cfle-home-events-heading:after{
    flex-basis:30px !important;
    width:30px !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-slot .widget_header,
  html body.home #cfle-home-v4 .cfle-v4-shabbat-slot .widget_header{
    gap:10px !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-slot .widget_header:before,
  html body.home #cfle-home-v4 .cfle-v4-prayer-slot .widget_header:after,
  html body.home #cfle-home-v4 .cfle-v4-shabbat-slot .widget_header:before,
  html body.home #cfle-home-v4 .cfle-v4-shabbat-slot .widget_header:after{
    flex-basis:28px !important;
    width:28px !important;
  }

  html body.home #cfle-home-v4 .cfle-v4-prayer-slot .widget_header h5,
  html body.home #cfle-home-v4 .cfle-v4-shabbat-slot .widget_header h5{
    font-size:16px !important;
    letter-spacing:.16em !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-title{
    font-size:18px !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-location{
    font-size:12.5px !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-time-line{
    font-size:11.8px !important;
    letter-spacing:-.025em !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-time{
    font-size:15px !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-detail-heading{
    font-size:17px !important;
  }

  html body.home #cfle-home-v4 .cfle-v8-shabbat-detail-value{
    font-size:16px !important;
  }
}
