/* JFC Design Layer v1.3.0 - jewishathens.gr on Twenty Twenty-Five */
:root{--jfc-brand:#e4702f;--jfc-ink:#1b2333;--jfc-muted:#5b6474;--jfc-r:16px;--jfc-shadow:0 6px 24px rgba(20,30,50,.08)}

/* Fonts: use Heebo (already on the site) everywhere */
body{font-family:Heebo,system-ui,sans-serif}
body :where(h1,h2,h3,h4,h5,h6,.wp-block-site-title,.wp-block-navigation){font-family:Heebo,system-ui,sans-serif}

/* WPBakery rows inside the block theme: let rows span the content area so stretch JS computes 0 offsets */
body.wpb-js-composer .wp-block-post-content.is-layout-constrained>.vc_row,
body.wpb-js-composer .wp-block-post-content.is-layout-constrained>.vc_row-full-width{max-width:none;margin-left:0;margin-right:0}

/* Home: no theme title/featured image, no gap above the hero */
body.home .wp-block-post-featured-image,
body.home main .wp-block-post-title{display:none}
/* theme sets these as inline style attributes, so only !important can override */
body.home main.wp-block-group{margin-top:0!important}
body.home main.wp-block-group>.wp-block-group{padding-top:0!important}
body.home .wp-block-post-content{margin-top:0}
/* no white strip between the last WPBakery row and the footer */
body.wpb-js-composer main.wp-block-group{margin-bottom:0!important}
body.wpb-js-composer main.wp-block-group>.wp-block-group{padding-bottom:0!important}

/* Fallbacks for old HealthFlex shortcodes */
.jfc-hg{margin:0 0 24px}
.jfc-hg.is-center{text-align:center}
.jfc-hg :where(h1,h2,h3){margin:0 0 8px;color:var(--jfc-ink)}
.jfc-hg-sub{margin:0;color:var(--jfc-muted)}
.jfc-tb-link{display:block;color:inherit;text-decoration:none}
.jfc-tb{background:#fff;border-radius:var(--jfc-r);box-shadow:var(--jfc-shadow);overflow:hidden;height:100%;transition:transform .2s}
.jfc-tb-link:hover .jfc-tb{transform:translateY(-3px)}
.jfc-tb-img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.jfc-tb-body{padding:16px 20px 20px}
.jfc-tb-title{margin:0 0 4px;font-size:1.15rem;color:var(--jfc-ink)}
.jfc-tb-sub{margin:0;color:var(--jfc-muted);font-size:.95rem}
.jfc-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 24px;border-radius:999px;background:var(--jfc-brand);color:#fff;font-weight:600;text-decoration:none}
.jfc-btn:hover{filter:brightness(.95);color:#fff}
.jfc-price{background:#fff;border-radius:var(--jfc-r);box-shadow:var(--jfc-shadow);padding:24px;text-align:center}
.jfc-price-title{margin:0 0 4px}
.jfc-price-sub{margin:0 0 12px;color:var(--jfc-muted)}
.jfc-price-amount{margin:0;font-size:2rem;font-weight:700;color:var(--jfc-brand)}
.jfc-price-amount span{font-size:1rem;color:var(--jfc-muted);font-weight:400}

/* Mobile */
@media (max-width:781px){
  /* WPBakery writes 30px side padding inline on stretched rows; 16px gutter on phones */
  body.wpb-js-composer .wp-block-post-content>.vc_row[style*="padding-left"]{padding-left:16px!important;padding-right:16px!important}
  body.wpb-js-composer .wp-block-post-content>.vc_row>.wpb_column>.vc_column-inner{padding-left:0;padding-right:0}
}

/* Footer (rendered by the plugin) */
.jfc-footer{margin:0;padding:0;background:none;color:#fff}
.jfc-footer-band{background:linear-gradient(#e4702f,#cf5e20);padding:56px 24px;text-align:center}
.jfc-footer-mission{max-width:640px;margin:0 auto 24px;font-size:1rem;line-height:1.75;color:#fff}
.jfc-footer-addr{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#fff;text-decoration:none;font-weight:500}
.jfc-footer-addr:hover{color:#fff;text-decoration:underline}
.jfc-footer-pin{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:#fff;color:#e4702f}
.jfc-footer-bar{background:#4a2a1c;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding:16px 24px;font-size:.85rem;color:rgba(255,255,255,.85)}
.jfc-footer-bar a{color:#fff;font-weight:600;text-decoration:none}
@media (max-width:781px){.jfc-footer-band{padding:40px 16px}.jfc-footer-bar{justify-content:center;text-align:center;padding:16px}}
