/* Mulisa Group: what the CMS build adds to the approved stylesheets, and nothing else.
   Loaded after site.css / inner.css and site-header.css. */

/* "Call us instead": the forms' no-email fallback, a plain inline link (30 Sep 2026: no more WhatsApp ordering). */
.cn-alt .alt-link,.foot-alt .alt-link{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.cn-alt .alt-link:focus-visible,.foot-alt .alt-link:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:2px}

/* A field no real person can see or reach (the forms' machine trap). */
.trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;opacity:0;pointer-events:none}

/* A link inside the words of a help strip reads as a link, not as the strip's capitalised action. */
.cx-help p a{display:inline;font-size:inherit;font-weight:inherit;letter-spacing:0;text-transform:none;text-decoration:underline;text-underline-offset:3px}

/* A page the owner writes in the dashboard, in the same frame as the designed ones. */
.cms-prose{max-width:760px}
.cms-prose h2{font-family:Montserrat,Arial,sans-serif;font-size:clamp(24px,2.4vw,32px);line-height:1.2;margin:1.4em 0 .5em}
.cms-prose h3{font-family:Montserrat,Arial,sans-serif;font-size:20px;margin:1.2em 0 .4em}
.cms-prose p,.cms-prose li{font-size:16px;line-height:1.7}
.cms-prose a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.cms-prose img{max-width:100%;height:auto;border-radius:18px}
.cms-form{margin-top:clamp(18px,2vw,28px)}
/* One card, one column: the inner pages' grid has a second track for a sidebar this form does not have (re-review R2). */
.cx-grid.cms-form{grid-template-columns:minmax(0,1fr);max-width:760px}

/* THE CMS BLOCK KIT (../../src/site/blocks.tsx) on such a page: Text, Heading, Picture, Quote,
   Features, FAQ and Call to action, drawn in this site's own colours and type. Without these the
   owner's page would be an unstyled list on a styled site (30 Sep 2026). */
.bs-gb{margin:0 0 clamp(22px,2.4vw,34px)}
.bs-gb--centre{text-align:center}
.bs-gb-heading h2{font-family:Montserrat,Arial,sans-serif;font-weight:600;font-size:clamp(24px,2.4vw,32px);line-height:1.2;margin:0 0 .4em;color:var(--ink)}
.bs-gb-heading p{font-size:17px;line-height:1.6;margin:0;color:#4d564f}
.bs-gb-image{margin-left:0;margin-right:0}
.bs-gb-image img{display:block;width:100%;height:auto;border-radius:18px}
.bs-gb-image--narrow{max-width:520px}
.bs-gb-image--wide img,.bs-gb-image--full img{border-radius:22px}
.bs-gb-image figcaption{margin-top:8px;font-size:13px;color:#5a626b}
.bs-gb-quote{margin-left:0;margin-right:0;padding:clamp(18px,2vw,26px);border-radius:18px;background:var(--green-soft,#EEF4EF)}
.bs-gb-quote blockquote{margin:0;font-family:Montserrat,Arial,sans-serif;font-size:clamp(18px,1.6vw,22px);line-height:1.45;color:var(--ink)}
.bs-gb-quote figcaption{margin-top:10px;font-size:14px;color:#4d564f}
.bs-gb-features h2{font-family:Montserrat,Arial,sans-serif;font-weight:600;font-size:clamp(22px,2.2vw,28px);margin:0 0 16px}
.bs-gb-features ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.bs-gb-features li{padding:18px;border-radius:18px;background:#fff;border:1px solid #e3e8e3}
.bs-gb-features li img{display:block;width:100%;height:auto;border-radius:12px;margin-bottom:12px}
.bs-gb-features__title{font-family:Montserrat,Arial,sans-serif;font-weight:600;font-size:18px;margin:0 0 6px}
.bs-gb-features li p{margin:0;font-size:15px;line-height:1.6}
.bs-gb-faq h2{font-family:Montserrat,Arial,sans-serif;font-weight:600;font-size:clamp(22px,2.2vw,28px);margin:0 0 12px}
.bs-gb-faq details{border-bottom:1px solid #e3e8e3;padding:14px 0}
.bs-gb-faq summary{cursor:pointer;font-weight:600}
.bs-gb-faq details p{margin:8px 0 0;line-height:1.65}
.bs-gb-cta{padding:clamp(20px,2.4vw,32px);border-radius:22px;background:var(--green-deep,#02391A);color:#fff}
.bs-gb-cta h2{font-family:Montserrat,Arial,sans-serif;font-weight:600;font-size:clamp(22px,2.2vw,28px);margin:0 0 8px;color:#fff}
.bs-gb-cta p{margin:0 0 16px;color:#e6efe8}
.bs-button{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border-radius:999px;background:var(--accent,#BB8706);color:#151515;font-weight:600;text-decoration:none}
.bs-button:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* THE DASHBOARD TOOLBAR (src/core/frontbar), for a signed-in team member. It pushes the page down with a margin on
   <html>, which does not move anything positioned against the window: the header block (absolute, top:0) and the
   menu pill (fixed, top:24px) sat UNDER the bar, the logo tab's top edge and the pill cut off (30 Sep 2026).
   Both variables are unset for a visitor, so these lines change nothing for them. */
.site-header:not([data-nav-ink=light]){top:var(--gf-frontbar-top,0px)}
.desktop-nav{top:calc(24px + var(--gf-frontbar-top,0px))}
@media(max-width:700px){.acc-menu{top:calc(var(--header-h,86px) + 8px + var(--gf-frontbar-top,0px))}}

/* The hero photo stack: the photos above and below the front one were half hidden behind it (45-66% showing), which
   read as cut (30 Sep 2026). A wider spread shows 75-89% of each, measured at 1280x720 to 1920x1000, and
   still inside the stack's own box at every size. */
.gallery{--gallery-shift:clamp(150px,23svh,240px)}
@media(max-width:900px) and (min-width:701px){.gallery{--gallery-shift:clamp(125px,19svh,170px)}}
@media(max-height:720px) and (min-width:701px){.gallery{--gallery-shift:clamp(115px,23svh,170px)}}

/* Three of the six hero photos are portrait (taller than wide) in a landscape frame, so a plain cover crop cut the
   people in them off at the head and waist (30 Sep 2026). Those three show whole, on a soft blurred copy of
   themselves that fills the frame. A photo added later is matched by its file name here. */
.gallery-frame:has(img[src$="farmer-broilers.jpg"]),.gallery-frame:has(img[src$="portions-offal.jpg"]),.gallery-frame:has(img[src$="founder.jpg"]){isolation:isolate}
.gallery-frame:has(img[src$="farmer-broilers.jpg"])::before{--p:url(/assets/img/farmer-broilers.jpg)}
.gallery-frame:has(img[src$="portions-offal.jpg"])::before{--p:url(/assets/img/portions-offal.jpg)}
.gallery-frame:has(img[src$="founder.jpg"])::before{--p:url(/assets/img/founder.jpg)}
.gallery-frame:has(img[src$="farmer-broilers.jpg"])::before,.gallery-frame:has(img[src$="portions-offal.jpg"])::before,.gallery-frame:has(img[src$="founder.jpg"])::before{content:"";position:absolute;inset:-24px;z-index:-1;background:var(--p) center/cover;filter:blur(20px) brightness(.72)}
.gallery-frame img[src$="farmer-broilers.jpg"],.gallery-frame img[src$="portions-offal.jpg"],.gallery-frame img[src$="founder.jpg"]{object-fit:contain}

/* Product cards crop to 4:3, and the centre crop of these tall photos cut the person's head off (30 Sep 2026:
   "align top, face is priority"). */
.p-shot img[src$="farmer-broilers.jpg"],.p-shot img[src$="founder.jpg"]{object-position:50% 0%}

/* The light logo straight on the dark green header and footer, no white chip (30 Sep 2026; see
   src/site/data.ts logoLight). Same footprint as the chip it replaces, so nothing around it moves. */
/* Same HEIGHT as the chip at every width (padding + the dark logo's height at the chip's width, 640x423), or the
   header's height changes and every page shifts by 1-3px (caught by mulisa-shots' pixel diff). */
.brand-clear { display: inline-flex; align-items: center; padding: 8px 0; }
.brand-clear img { display: block; width: auto !important; height: calc(clamp(96px, 7.4vw, 112px) * 423 / 640); }
@media (max-width: 1200px) { .mobile-header .brand-clear { padding: 5px 0; } .mobile-header .brand-clear img { height: calc(74px * 423 / 640); } }
@media (max-width: 700px) { .mobile-header .brand-clear img { height: calc(64px * 423 / 640); } }
.foot-brand--clear { padding: 0; background: none; }
.foot-brand--clear img { width: 150px; }

/* "Website supported by SEDFA" badge under the footer logo, on every page (30 Sep 2026). */
.foot-sedfa{display:block;width:220px;max-width:100%;height:auto;margin-top:18px;border-radius:6px}
