/* Home uses the semantic colour pairs validated by the admin theme editor. */
/* Native rails retain real links; no cloned cards, dot tabs or visible scrollbars. */
.mh-slider{margin:12px 0 18px;min-width:0}.mh-slider-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;min-height:44px;color:var(--theme-text-muted);font:600 11px/1.5 system-ui}.mh-slider-tools button{min-height:44px;padding:8px 12px;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface);color:var(--theme-text);font:700 11px/1.4 system-ui;cursor:pointer}.mh-slider-tools button[hidden]{display:none!important}
.mh-slider-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding:4px 2px 12px;overscroll-behavior-x:contain}.mh-slider-track::-webkit-scrollbar{display:none;width:0;height:0}.mh-slider-track>*{scroll-snap-align:start;width:auto;max-width:none;margin:0;min-width:0}.mh-slider-track:focus-visible{outline-offset:-3px}.mh-slider-tools button:focus-visible{outline:3px solid var(--theme-focus);outline-offset:2px}
@media(max-width:1024px){.mh-slider-track{grid-auto-columns:calc((100% - 16px)/2)}}
@media(max-width:640px){.mh-slider-track{grid-auto-columns:calc(100% - 20px);gap:12px}.mh-slider-tools{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mh-slider-track{scroll-behavior:auto}}
.mh-page{--mh-accent:var(--theme-primary-bg,#166534);max-width:1320px;margin:0 auto;padding:18px 24px 60px;color:var(--theme-text,#292524);font-family:var(--font-body,system-ui)}
.mh-page *{box-sizing:border-box;min-width:0}.mh-page h1,.mh-page h2,.mh-page h3{font-family:var(--font-heading,Georgia);line-height:1.15;color:var(--theme-heading,#292524);margin:0;overflow-wrap:anywhere}.mh-page p{line-height:1.75;margin:10px 0}.mh-page p[lang=hi]{font-size:13px}.mh-page :focus-visible{outline:3px solid var(--theme-focus,#005fcc);outline-offset:4px}.mh-kicker{font:800 10px/1.6 var(--font-body,system-ui);letter-spacing:.09em;text-transform:uppercase;display:block}.mh-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mh-tone--recipes{--mh-accent:var(--theme-accent-bg,#92652a)}.mh-tone--catalogue{--mh-accent:var(--theme-icon-bg,#735335)}.mh-tone--jobs{--mh-accent:var(--theme-primary-bg,#166534)}.mh-tone--farm,.mh-tone--produce{--mh-accent:var(--theme-success-text,#166534)}.mh-tone--land{--mh-accent:var(--theme-warning-text,#84561d)}.mh-tone--livestock{--mh-accent:var(--theme-link,#653574)}
.mh-portals{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;margin:0 0 20px}.mh-portal{display:flex;align-items:center;gap:10px;padding:10px 13px;min-height:64px;text-decoration:none;color:var(--theme-text,#292524);border:1px solid var(--theme-border,#767c86);border-left:3px solid var(--mh-accent);border-radius:13px;background:var(--theme-surface,#fff);transition:border-color .18s,box-shadow .18s}.mh-portal:hover{border-color:var(--theme-focus,#005fcc);box-shadow:0 3px 12px #00000010}.mh-portal img{width:40px;height:40px;object-fit:cover;border-radius:50%;flex-shrink:0}.mh-portal strong{font-size:12px;line-height:1.4;display:block;color:var(--theme-heading,#292524)}.mh-portal small{font-size:10px;line-height:1.5;display:block;margin-top:4px}.mh-portal>span:last-child{margin-left:auto;font-size:17px}
.mh-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:26px;background:var(--theme-hero-bg,#14332a);color:var(--theme-hero-text,#fff);min-height:490px}.mh-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center;z-index:-2}.mh-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--theme-hero-bg,#14332a),color-mix(in srgb,var(--theme-hero-bg,#14332a) 94%,transparent) 38%,color-mix(in srgb,var(--theme-hero-bg,#14332a) 25%,transparent) 100%)}.mh-hero-copy{padding:clamp(28px,4vw,58px);max-width:800px}.mh-hero h1{color:var(--theme-hero-text,#fff)!important;font-size:clamp(36px,5vw,66px);letter-spacing:-.03em;line-height:1.02;margin:16px 0 23px}.mh-hero p{max-width:590px;color:var(--theme-hero-text,#fff);font-size:15px}.mh-hero .mh-kicker{color:var(--theme-hero-muted,#fff)}.mh-hero-foot{display:flex;justify-content:space-between;gap:15px;padding:14px clamp(28px,4vw,58px);border-top:1px solid #ffffff50;color:var(--theme-hero-text,#fff);font-size:11px;position:relative;background:color-mix(in srgb,var(--theme-hero-bg,#14332a) 90%,transparent)}
.mh-search{display:flex;align-items:center;gap:12px;padding:7px 7px 7px 16px;border:1px solid var(--theme-input-border,#767c86);border-radius:13px;background:var(--theme-input-bg,#fff);color:var(--theme-input-text,#292524);margin:23px 0 16px;max-width:630px}.mh-search svg{flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.8}.mh-search input{flex:1;border:0!important;background:var(--theme-input-bg,#fff)!important;color:var(--theme-input-text,#292524)!important;padding:8px 0;width:100%;font:500 16px/1.4 var(--font-body,system-ui);min-height:40px}.mh-search input:focus{outline:none}.mh-search:focus-within{outline:3px solid var(--theme-focus,#005fcc);outline-offset:3px}.mh-search input:focus-visible{outline:none}.mh-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:12px 17px;min-height:44px;border:1px solid var(--theme-primary-bg,#166534);border-radius:10px;background:var(--theme-primary-bg,#166534);color:var(--theme-primary-text,#fff)!important;text-decoration:none;font:750 12px/1.45 var(--font-body,system-ui);cursor:pointer;white-space:normal;text-align:center}.mh-button:hover{background:var(--theme-primary-hover-bg,#14532d)!important;color:var(--theme-primary-hover-text,#fff)!important;border-color:var(--theme-primary-hover-bg,#14532d)}.mh-button--hero{background:var(--theme-surface,#fff);border-color:var(--theme-surface,#fff);color:var(--theme-heading,#292524)!important}.mh-button--hero:hover{background:var(--theme-primary-hover-bg,#14532d)!important;color:var(--theme-primary-hover-text,#fff)!important}.mh-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.mh-text-link{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;gap:8px;font:750 12px/1.5 var(--font-body,system-ui);color:var(--theme-link,#166534);text-decoration:underline;text-underline-offset:4px}.mh-text-link--hero{color:var(--theme-hero-text,#fff)!important}
.mh-section{margin:40px 0;padding:30px;border:1px solid var(--theme-border,#767c86);border-top:4px solid var(--mh-accent);border-radius:23px;background:var(--theme-surface,#fff);scroll-margin-top:90px}.mh-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:23px}.mh-section-head>div{max-width:830px}.mh-section-head h2{font-size:clamp(28px,3vw,42px);margin:8px 0 12px}.mh-section-head p{font-size:13px;max-width:780px}.mh-section .mh-kicker{color:var(--theme-text-muted,#57534e)}.mh-grid{display:grid;gap:18px}.mh-grid--three{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.mh-grid>*{min-width:0;max-width:100%}.mh-more{margin-top:18px;border:1px solid var(--theme-border,#767c86);border-radius:12px;background:var(--theme-surface,#fff);overflow:hidden}.mh-more>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:51px;padding:13px 16px;cursor:pointer;color:var(--theme-heading,#292524);font:750 12px/1.4 var(--font-body,system-ui)}.mh-more>summary::-webkit-details-marker{display:none}.mh-more>summary span{font-size:10px;display:flex;align-items:center;gap:12px;color:var(--theme-text-muted,#57534e)}.mh-more>summary b{font-size:20px;transition:transform .18s}.mh-more[open]>summary b{transform:rotate(45deg)}.mh-more>.mh-grid{padding:16px}.mh-subheading{font-size:22px;margin:24px 0 18px!important}.mh-empty{grid-column:1/-1;padding:23px;border:1px dashed var(--theme-border,#767c86);border-radius:15px;font-size:13px;background:var(--theme-surface-muted,#f8faf8)}.mh-empty h3{font-size:23px}.mh-category-strip{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 23px}.mh-category-strip a{display:flex;align-items:center;min-height:44px;padding:10px 13px;border-radius:10px;border:1px solid var(--theme-border,#767c86);color:var(--theme-link,#166534);background:var(--theme-surface,#fff);text-decoration:none;font-size:12px;font-weight:750}.mh-resume{display:flex;flex-direction:column;gap:12px}.mh-resume-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:4px 0}.mh-resume>.recipe-card-v2{flex:1}.mh-resume>.mh-button{width:100%}.mh-farm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mh-market-link{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--theme-border,#767c86);border-left:4px solid var(--mh-accent);border-radius:16px;background:color-mix(in srgb,var(--mh-accent) 5%,var(--theme-surface,#fff));color:var(--theme-text,#292524);text-decoration:none}.mh-market-link img{object-fit:cover;border-radius:50%;width:52px;height:52px;flex-shrink:0}.mh-market-link strong{font-size:15px;display:block;color:var(--theme-heading,#292524)}.mh-market-link small{font-size:11px;display:block;margin-top:3px}.mh-market-link p{font-size:11px;line-height:1.5;margin-bottom:0}.mh-market-link>span:last-child{margin-left:auto;font-size:19px}.mh-market-selection{margin-top:28px;padding-top:24px;border-top:3px solid var(--mh-accent)}.mh-selection-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.mh-selection-head h3{font-size:24px}.mh-selection-head>span{font-size:11px}.mh-notice{margin-top:25px;padding:20px;border:1px solid var(--theme-error-text,#9d1919);border-left:4px solid var(--theme-error-text,#9d1919);border-radius:13px;background:var(--theme-error-bg,#fff1f1);color:var(--theme-error-text,#9d1919);font-size:12px}.mh-notice strong{font-size:14px}.mh-notice a{color:var(--theme-error-text,#9d1919);font-weight:750}
.mh-quote{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:35px 0;padding:24px 30px;border:1px solid var(--theme-border,#767c86);border-radius:20px;background:var(--theme-accent-bg,#92652a);color:var(--theme-accent-text,#fff)}.mh-quote blockquote{margin:12px 0}.mh-quote blockquote p{font:650 clamp(22px,2.4vw,31px)/1.4 var(--font-heading,Georgia)}.mh-quote blockquote p[lang=hi]{font:500 13px/1.75 var(--font-body,system-ui)}.mh-quote small{font-size:10px}.mh-quote-symbol{font:100px/1 Georgia;flex:0 0 70px;opacity:.65}.mh-join{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:29px;margin:35px 0;border-radius:20px;border:1px solid var(--theme-border,#767c86);background:var(--theme-surface-muted,#f8faf8)}.mh-join h2{font-size:clamp(26px,3vw,37px);max-width:750px;margin:8px 0}.mh-join p{font-size:13px;max-width:680px}.mh-join>a{flex-shrink:0}.mh-faq details{border-top:1px solid var(--theme-border,#767c86)}.mh-faq summary{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:15px 0;list-style:none;cursor:pointer;font-weight:750;font-size:14px;line-height:1.5}.mh-faq summary::-webkit-details-marker{display:none}.mh-faq details>div{font-size:13px;padding-bottom:12px}.mh-faq summary span{font-size:20px;flex-shrink:0}.mh-faq details[open] summary span{transform:rotate(45deg)}.mh-ad{margin:25px 0;overflow:hidden}
/* Shared product and vacancy cards both use mp-card. Scope home layout overrides to vacancy cards. */
.mh-page .mjc-card .mp-apply{white-space:normal;overflow-wrap:anywhere}.mh-page .mjc-card .mp-card-foot{flex-wrap:wrap}.mh-page .mjc-card .mp-pay{min-width:0}.mh-page .mjc-card .mp-pay strong{overflow-wrap:anywhere}.mh-page .mjc-card .mp-location{overflow-wrap:anywhere}.mh-page .kx-card{height:100%}.mh-page .kx-card-content .kx-button--light{color:#18181b!important}.mh-page .mp-track .mjc-card{height:auto}
@media(max-width:1050px){.mh-page{padding:16px 18px 65px}.mh-grid--three{grid-template-columns:repeat(2,minmax(0,1fr))}.mh-farm-grid{grid-template-columns:1fr}.mh-market-link p{margin:4px 0 0}.mh-section{padding:24px}.mh-section-head{align-items:start;flex-direction:column;gap:5px}.mh-hero-copy{max-width:720px}.mh-join{align-items:start;flex-direction:column}.mh-hero{min-height:450px}.mh-hero:before{background:linear-gradient(90deg,var(--theme-hero-bg,#14332a),color-mix(in srgb,var(--theme-hero-bg,#14332a) 85%,transparent) 70%,color-mix(in srgb,var(--theme-hero-bg,#14332a) 62%,transparent))}}
@media(max-width:600px){.mh-page{padding:12px 10px 50px}.mh-portals{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:13px}.mh-portal{padding:9px 10px;gap:8px;min-height:60px}.mh-portal img{width:30px;height:30px}.mh-portal strong{font-size:11px}.mh-portal small{font-size:9px}.mh-hero{border-radius:19px;min-height:0}.mh-hero-copy{padding:30px 20px}.mh-hero h1{font-size:44px;margin:15px 0 20px}.mh-hero p{font-size:13px}.mh-hero:before{background:color-mix(in srgb,var(--theme-hero-bg,#14332a) 88%,transparent)}.mh-search{gap:8px;padding-left:12px;margin-top:20px}.mh-search svg{display:none}.mh-search input{font-size:16px}.mh-search button{padding:11px 12px;font-size:11px;flex-shrink:0}.mh-actions{gap:6px;align-items:start;flex-direction:column}.mh-hero-foot{padding:13px 20px;flex-wrap:wrap;font-size:10px;gap:6px}.mh-section{padding:20px 14px;border-radius:17px;margin:26px 0}.mh-section-head h2{font-size:29px}.mh-section-head p{font-size:12px}.mh-grid--three{grid-template-columns:1fr;gap:16px}.mh-more>.mh-grid{padding:12px}.mh-more>summary{padding:12px;font-size:11px}.mh-more>summary span{font-size:9px}.mh-farm-grid{gap:9px}.mh-market-link{padding:13px}.mh-selection-head{display:block}.mh-selection-head>span{display:block;margin-top:7px}.mh-category-strip{gap:6px}.mh-category-strip a{flex:1 1 120px;justify-content:center;text-align:center;font-size:11px}.mh-quote{padding:23px 20px}.mh-quote-symbol{display:none}.mh-join{padding:24px 20px}.mh-join>a{width:100%}.mh-notice{padding:16px}.mh-faq summary{font-size:13px}.mh-page .mabapu-priority{border-radius:17px}.mh-page .mp-copy{padding:24px 20px}}
/* Home recipe headlines stay complete in sliders, expanded lists and saved cooking cards. */
.mh-page .recipe-card-v2__title{display:block;min-height:0;max-height:none;overflow:visible;white-space:normal;text-overflow:clip;-webkit-line-clamp:unset;-webkit-box-orient:initial;overflow-wrap:anywhere;flex-shrink:0}
@media(prefers-reduced-motion:reduce){.mh-page *{scroll-behavior:auto!important;transition:none!important}}
