/* content-live.css — live-only styles for the server-rendered RECIPES + CONTENT templates (recipes agent 2026-12-05).
   Loaded after the kit + the page css (more.css / recipe.css / states.css). Everything is scoped under body.hm-new-tpl so
   nothing leaks to old pages. Live page bodies the prototype has no page for (prose pages, articles, archives, the SEO
   landing pages rendered by the theme, campaign pages) get the kit look here: Almoni / Tzar, the kit colours, cards and
   radii of .mx-card / .mx-faq, no Heebo. */

/* ---------- shared ---------- */
body.hm-new-tpl .hm-c-ic{display:inline-block;width:20px;height:20px;flex:none}
body.hm-new-tpl .mx-hero-in.nofig,body.hm-new-tpl .mx-hero-slim .mx-hero-in{grid-template-columns:minmax(0,1fr)}
body.hm-new-tpl .mx-hero-slim .hm-h1{font-size:clamp(46px,5.4vw,84px)}
body.hm-new-tpl .mx-hero-slim .tx p{max-width:62ch}
body.hm-new-tpl .mx-hero .hm-h1 .hm-sr{position:absolute}
body.hm-new-tpl .mx-terms-g.notoc{grid-template-columns:minmax(0,1fr)}
body.hm-new-tpl .tint{background:var(--tile)}

/* ---------- reading column (prose pages, articles, legal text) ---------- */
body.hm-new-tpl .hm-c-prose{max-width:78ch;margin-inline:auto;font-family:var(--body);font-size:18px;line-height:1.75;color:#3b3532}
body.hm-new-tpl .hm-c-body{padding-top:clamp(24px,3vw,44px)}
body.hm-new-tpl .hm-c-prose>*:first-child{margin-top:0}
body.hm-new-tpl .hm-c-prose p,body.hm-new-tpl .hm-c-legal p{margin:0 0 1em}
body.hm-new-tpl .hm-c-prose h2{font-family:var(--disp);font-weight:900;font-size:clamp(32px,3.2vw,44px);line-height:.95;color:var(--ink);margin:1.4em 0 .45em}
body.hm-new-tpl .hm-c-prose h3,body.hm-new-tpl .hm-c-legal h3{font-family:var(--disp);font-weight:900;font-size:clamp(24px,2.2vw,30px);line-height:1;color:var(--ink);margin:1.2em 0 .4em}
body.hm-new-tpl .hm-c-prose h4,body.hm-new-tpl .hm-c-prose h5{font-weight:900;font-size:19px;margin:1.1em 0 .3em;color:var(--ink)}
body.hm-new-tpl .hm-c-prose a,body.hm-new-tpl .hm-c-legal a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
body.hm-new-tpl .hm-c-prose ul,body.hm-new-tpl .hm-c-prose ol,body.hm-new-tpl .hm-c-legal ul,body.hm-new-tpl .hm-c-legal ol{margin:0 0 1.1em;padding-inline-start:1.3em}
body.hm-new-tpl .hm-c-prose li,body.hm-new-tpl .hm-c-legal li{margin:.25em 0}
body.hm-new-tpl .hm-c-prose ul li::marker,body.hm-new-tpl .hm-c-legal ul li::marker{color:var(--red)}
body.hm-new-tpl .hm-c-prose strong,body.hm-new-tpl .hm-c-prose b{color:var(--ink);font-weight:900}
body.hm-new-tpl .hm-c-prose img{max-width:100%;height:auto;border-radius:var(--r2)}
body.hm-new-tpl .hm-c-prose figure{margin:1.4em 0}
body.hm-new-tpl .hm-c-prose blockquote{margin:1.4em 0;padding:18px 22px;border-inline-start:4px solid var(--red);background:var(--tile);border-radius:var(--r);font-weight:700}
body.hm-new-tpl .hm-c-prose hr,body.hm-new-tpl .hm-c-legal hr{border:0;border-top:1px solid var(--line);margin:1.6em 0}
body.hm-new-tpl .hm-c-prose table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:16px;display:block;overflow-x:auto}
body.hm-new-tpl .hm-c-prose th,body.hm-new-tpl .hm-c-prose td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:start}
body.hm-new-tpl .hm-c-prose th{background:var(--tile);font-weight:900}
body.hm-new-tpl .hm-c-prose iframe{max-width:100%}
body.hm-new-tpl .hm-c-prose [style*="font-size"]{font-size:inherit!important}
body.hm-new-tpl .hm-c-prose p>span[style*="font-size: 2em"],body.hm-new-tpl .hm-c-prose p>span[style*="font-size:2em"]{display:block;font-family:var(--disp);font-weight:900;font-size:clamp(32px,3.2vw,44px)!important;line-height:.95;color:var(--ink);margin-top:.4em}
body.hm-new-tpl .hm-c-prose [class*="p-1"]{padding:0}
body.hm-new-tpl .hm-c-legal{font-size:17.5px;line-height:1.7;color:#3b3532}
body.hm-new-tpl .hm-c-legal section>p,body.hm-new-tpl .hm-c-legal section>ul,body.hm-new-tpl .hm-c-legal section>ol{max-width:72ch}
body.hm-new-tpl .hm-c-legal>p:first-child{font-weight:700}

/* ---------- own-design pages (campaign landings, loyalty) under the new shell ---------- */
body.hm-new-tpl .hm-c-rawhead{padding-bottom:6px}
body.hm-new-tpl .hm-c-h1{font-size:clamp(44px,5vw,76px);margin:8px 0 18px}
body.hm-new-tpl .hm-c-raw,body.hm-new-tpl .hm-c-raw *:not(svg):not(path):not(i){font-family:var(--body)!important}
body.hm-new-tpl .hm-c-raw :is(h1,h2,h3){font-family:var(--disp)!important;font-weight:900!important;letter-spacing:0}

/* ---------- tiles (articles, archives) ---------- */
body.hm-new-tpl .hm-c-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.hm-new-tpl .hm-c-tile{display:flex;flex-direction:column;background:#fff;border-radius:var(--r2);overflow:hidden;box-shadow:var(--shadow);transition:transform .35s var(--out),box-shadow .35s var(--out);color:var(--ink)}
body.hm-new-tpl .hm-c-tile:hover{transform:translateY(-4px);box-shadow:var(--shadow2)}
body.hm-new-tpl .hm-c-tile .ph{position:relative;aspect-ratio:16/10;background:var(--tile2);overflow:hidden;display:block}
body.hm-new-tpl .hm-c-tile .ph img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s var(--out)}
body.hm-new-tpl .hm-c-tile:hover .ph img{transform:scale(1.04)}
body.hm-new-tpl .hm-c-tile .ph em{position:absolute;top:12px;right:12px;font-style:normal;background:#fff;color:var(--ink);font-weight:900;font-size:13px;padding:5px 11px;border-radius:999px}
body.hm-new-tpl .hm-c-tile .bd{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;flex:1}
body.hm-new-tpl .hm-c-tile b{font-family:var(--disp);font-weight:900;font-size:28px;line-height:.98}
body.hm-new-tpl .hm-c-tile small{font-size:15.5px;line-height:1.5;color:var(--muted)}
body.hm-new-tpl .hm-c-tile .go{margin-top:auto;font-weight:900;color:var(--red)}
body.hm-new-tpl .hm-c-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:36px}
body.hm-new-tpl .hm-c-pager .page-numbers{min-width:46px;height:46px;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);font-weight:900;color:var(--ink)}
body.hm-new-tpl .hm-c-pager .page-numbers.current{background:var(--ink);border-color:var(--ink);color:#fff}
body.hm-new-tpl .hm-c-pager a.page-numbers:hover{border-color:var(--ink)}
body.hm-new-tpl .hm-c-group+.hm-c-group{margin-top:clamp(40px,4vw,64px)}
body.hm-new-tpl .hm-c-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.hm-new-tpl .hm-c-link{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--r2);padding:16px 18px;min-height:84px;transition:border-color .2s,box-shadow .3s var(--out)}
body.hm-new-tpl .hm-c-link:hover{border-color:var(--ink);box-shadow:var(--shadow)}
body.hm-new-tpl .hm-c-link .ic{width:46px;height:46px;border-radius:14px;background:var(--tile);color:var(--red);display:grid;place-items:center;flex:none}
body.hm-new-tpl .hm-c-link .ic svg{width:24px;height:24px}
body.hm-new-tpl .hm-c-link>span:nth-child(2){display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
body.hm-new-tpl .hm-c-link b{font-weight:900;font-size:17.5px;color:var(--ink)}
body.hm-new-tpl .hm-c-link small{font-size:14.5px;color:var(--muted)}
body.hm-new-tpl .hm-c-link>i{font-style:normal;font-weight:900;color:var(--red)}
body.hm-new-tpl .hm-c-morelinks{padding:8px 0 clamp(40px,4vw,64px)}
body.hm-new-tpl .hm-c-morelinks p{font-size:14.5px;line-height:2;color:var(--muted);margin:0 0 6px}
body.hm-new-tpl .hm-c-morelinks b{color:var(--ink);margin-inline-end:8px}
body.hm-new-tpl .hm-c-morelinks a{color:var(--muted)}
body.hm-new-tpl .hm-c-morelinks a:hover{color:var(--red);text-decoration:underline}
body.hm-new-tpl .hm-c-morelinks i{font-style:normal;margin:0 6px;color:var(--muted2)}

/* ---------- recipes: server-rendered fallbacks (replaced by the page JS) ---------- */
body.hm-new-tpl .hm-c-reclist{columns:3 260px;column-gap:32px;list-style:none;padding:0;margin:24px 0 0;font-size:16px;line-height:1.9}
body.hm-new-tpl .mx-lib>.hm-wrap>#libH{font-family:var(--disp);font-weight:900;font-size:clamp(42px,4.6vw,64px)}
body.hm-new-tpl .rc-ssr-kit{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:17px}
body.hm-new-tpl .rc-ssr-kit a{font-weight:900}
/* recipe: shaker cross-sell kept from the old page (server-rendered, reused by pages/recipe.js); same tile as .rc-gar */
body.hm-new-tpl .rc-equip{display:flex;align-items:center;gap:12px;margin-top:12px;background:var(--tile);border-radius:16px;padding:10px 14px 10px 10px}
body.hm-new-tpl .rc-equip .th{flex:none;width:52px;height:52px;border-radius:12px;background:#fff;display:grid;place-items:center;overflow:hidden}
body.hm-new-tpl .rc-equip .th img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
body.hm-new-tpl .rc-equip .tx{flex:1;min-width:0}
body.hm-new-tpl .rc-equip small{display:block;font-size:11.5px;letter-spacing:.1em;color:var(--red);font-weight:900}
body.hm-new-tpl .rc-equip .tx a{font-family:var(--disp);font-weight:700;font-size:17px;line-height:1.15;color:inherit;text-decoration:none}
body.hm-new-tpl .rc-equip .tx a:hover{color:var(--red)}
body.hm-new-tpl .rc-equip .by{flex:none;display:flex;flex-direction:column;align-items:center;gap:6px}
body.hm-new-tpl .rc-equip .by b{font-weight:900;font-size:16px}
/* guards against legacy heading/link rules (Storefront / theme single.css are dequeued in hm/inc/content.php) */
body.hm-new-tpl .rc-hero .rc-h1{color:inherit}
body.hm-new-tpl .hm-card h3,body.hm-new-tpl .hm-card h3 a{font-weight:700}
body.hm-new-tpl .hm-card h3 a{color:inherit}

@media (max-width:1080px){
 body.hm-new-tpl .hm-c-tiles,body.hm-new-tpl .hm-c-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
 body.hm-new-tpl .hm-c-tiles,body.hm-new-tpl .hm-c-links{grid-template-columns:minmax(0,1fr);gap:14px}
 body.hm-new-tpl .hm-c-prose{font-size:17px}
 body.hm-new-tpl .hm-c-tile b{font-size:25px}
}

/* ---------- brand hub (/מותג/…): live-only pieces ---------- */
body.hm-new-tpl .hm-c-bdh{font-family:var(--disp);font-weight:900;font-size:clamp(26px,2.4vw,34px);line-height:1;color:var(--ink);margin:26px 0 8px}
body.hm-new-tpl .hm-c-bdp{font-size:17px;line-height:1.7;color:#3b3532;margin:0;max-width:62ch}
@media(max-width:860px){body.hm-new-tpl .bd-story-tx:not(.open)~.hm-c-bdh,body.hm-new-tpl .bd-story-tx:not(.open)~.hm-c-bdp{display:none}}
body.hm-new-tpl .bd-line-solo{display:flex;justify-content:center;align-items:flex-end;gap:2%;height:100%;min-height:320px}
body.hm-new-tpl .bd-line-solo a{flex:0 1 18%;display:block}
body.hm-new-tpl .bd-line-solo img{width:100%;height:auto;max-height:300px;object-fit:contain;display:block}
body.hm-new-tpl .hm-c-morelist{columns:3 220px;column-gap:28px;list-style:none;padding:0;margin:24px 0 0;font-size:15px;line-height:1.9}
body.hm-new-tpl .hm-c-morelist a{color:var(--muted)}

/* ---------- /promotion/ (page-promotion.php): live WDR deal tiles + one deal's cards ---------- */
body.hm-new-tpl .hm-c-deals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
body.hm-new-tpl .hm-c-deal{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:#fff;border-radius:var(--r2);box-shadow:0 0 0 1px var(--line),0 12px 30px rgba(26,23,21,.05);padding:0 18px 18px;color:var(--ink);text-decoration:none;transition:transform .35s var(--out),box-shadow .35s var(--out)}
body.hm-new-tpl .hm-c-deal:hover{transform:translateY(-4px);box-shadow:0 0 0 1px var(--line),0 18px 40px rgba(26,23,21,.1)}
body.hm-new-tpl .hm-c-deal .ph{align-self:stretch;margin:0 -18px 6px;height:170px;background:var(--tile,#f4ede4);border-radius:var(--r2) var(--r2) 0 0;display:flex;align-items:flex-end;justify-content:center;gap:6px;padding:14px 14px 0;overflow:hidden}
body.hm-new-tpl .hm-c-deal .ph img{height:92%;width:auto;max-width:30%;object-fit:contain;mix-blend-mode:multiply}
body.hm-new-tpl .hm-c-deal b{font-family:var(--disp);font-weight:900;font-size:24px;line-height:1.05}
body.hm-new-tpl .hm-c-deal small{color:var(--muted);font-size:14.5px}
body.hm-new-tpl .hm-c-deal .go{margin-top:auto;padding-top:6px;font-weight:800;color:var(--red);font-size:15px}
body.hm-new-tpl .hm-c-promo-cta{margin-top:18px}
body.hm-new-tpl .hm-c-pl{display:flex;flex-direction:column;gap:6px;background:#fff;border-radius:var(--r2);padding:14px;box-shadow:0 0 0 1px var(--line);color:var(--ink)}
body.hm-new-tpl .hm-c-pl img{height:180px;object-fit:contain}
body.hm-new-tpl .hm-c-empty{text-align:center;color:var(--muted);font-size:17px;padding:40px 0}
@media(max-width:1100px){body.hm-new-tpl .hm-c-deals{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){body.hm-new-tpl .hm-c-deals{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.hm-new-tpl .hm-c-deal{padding:0 12px 14px}body.hm-new-tpl .hm-c-deal .ph{margin:0 -12px 4px;height:130px}body.hm-new-tpl .hm-c-deal b{font-size:19px}body.hm-new-tpl .hm-c-deal small{font-size:13px}}

/* ---------- /registration/ (page-registration.php): logged-in card ---------- */
body.hm-new-tpl .pg-reg-acts{margin-top:24px}
body.hm-new-tpl .pg-reg-links{margin:16px 0 0;text-align:center;font-size:15.5px}
