/* bKV V5 inside the existing MHB website. */
html:has(body.mhb-bkv-page){scroll-snap-type:y proximity;scroll-padding-top:43px}
body.mhb-bkv-page{background:#dbecdd;background-image:none}
body.mhb-bkv-page .mhb-site-header.site-header[data-mhb-theme=overlay]{position:absolute;top:0;inset-inline:0;z-index:40;background:transparent;box-shadow:none;--mhb-header-bg:transparent;--mhb-header-ink:#183f31;--mhb-menu-bg:#f6fbf3;--mhb-menu-line:#c7d9c8}
body.mhb-bkv-page .site-footer{background:#183f31;color:#e5efdc;border-color:#b2d0b526}
body.mhb-bkv-page .site-footer :is(h2,p,span,a){color:inherit}
body.mhb-bkv-page .site-footer a:hover{color:#dce8a7}
body.mhb-bkv-page .site-footer .brand img{filter:grayscale(1) brightness(0) invert(1);opacity:.9}
body.mhb-bkv-page .language-switch [aria-disabled=true]{opacity:.45;cursor:default}
#mhb-bkv{position:relative;isolation:isolate;min-width:0;--shell:calc(var(--mhb-bkv-header-height,120px) + 43px);color-scheme:light}
#mhb-bkv :is(h1,h2,h3,h4){font-family:inherit}
#mhb-bkv .topic-nav{top:var(--mhb-bkv-header-height,120px)}
#mhb-bkv .topic-nav.floating{top:0}
#mhb-bkv .topic-crumb>a:last-child{font-weight:650}

#mhb-bkv .chapter-end{pointer-events:none}
#mhb-bkv .chapter-end a{pointer-events:auto}
#mhb-bkv .contents{color:#183f31;font-family:inherit;max-height:100svh}
#mhb-bkv .hero .employer-hero h1{font-size:clamp(52px,min(6.12vw,8svh),88px)}
#mhb-bkv .chapter.hero{padding-top:calc(var(--shell) + 34px);padding-bottom:104px}
#mhb-bkv .hero .eyebrow{margin-bottom:24px}
#mhb-bkv .hero-proof.employer-proof{margin-top:22px;padding-top:8px}
#mhb-bkv .hero-art.hero-plus-two{top:calc(50% - 220px)}
#mhb-bkv .topic-links [aria-current=page]{font-weight:700;text-decoration:underline;text-underline-offset:6px;text-decoration-color:#80a984}
#mhb-bkv .down:focus-visible{outline-offset:4px}
#mhb-bkv .progress{z-index:80}
@media(max-width:1000px){#mhb-bkv .topic-links{gap:18px}}
@media(max-width:760px){
 #mhb-bkv .hero .employer-hero h1{font-size:clamp(40px,9.2vw,65px)}
 #mhb-bkv .chapter.hero{padding-top:calc(var(--shell) + 30px);padding-bottom:106px}
 #mhb-bkv .hero-art.hero-plus-two{top:auto;bottom:0}
 
 #mhb-bkv .topic-row{gap:10px}
 #mhb-bkv .topic-links{gap:14px}
 #mhb-bkv .chapter-end{grid-template-columns:1fr 58px 1fr}
}
@media(prefers-reduced-motion:reduce){html:has(body.mhb-bkv-page){scroll-snap-type:none;scroll-behavior:auto}}
/* Isolate the supplied hero from similarly named legacy homepage styles. */
#mhb-bkv .hero-copy{padding:0;min-height:0}
#mhb-bkv .hero-copy::before,#mhb-bkv .hero-copy::after{content:none}

/* The locale stays on the same topic; numbers and contact data remain readable. */
#mhb-bkv [hidden]{display:none!important}
#mhb-bkv :is(.rail-count,.price,.big-number,.calc-result strong,[data-mini-total],#case-used,#case-rest,#case-bills,#case-own){unicode-bidi:isolate}
html[lang=en] #mhb-bkv .hero .employer-hero h1{letter-spacing:-.055em}
html[lang=he] #mhb-bkv{direction:rtl;text-align:start}
html[lang=he] #mhb-bkv :is(h1,h2,h3,h4,p,a,button,span,label){letter-spacing:normal}
html[lang=he] #mhb-bkv :is(h1,h2){line-height:1.15}
html[lang=he] #mhb-bkv .hero-art.hero-plus-two{right:auto;left:1%;direction:ltr}
html[lang=he] #mhb-bkv .chapter-end>span:last-child{text-align:left}
html[lang=he] #mhb-bkv .rail{right:auto;left:0;border-right:1px solid #d0e2d2;border-left:0}
html[lang=he] #mhb-bkv .contents{inset:0 auto 0 0;box-shadow:20px 0 60px #11362222}
html[lang=he] #mhb-bkv :is(table,th,td){text-align:start}
html[lang=he] #mhb-bkv :is(input[type=number],input[type=range],.rail-count){direction:ltr}
html[lang=he] #mhb-bkv a[href^="mailto:"],html[lang=he] #mhb-bkv a[href^="tel:"]{direction:ltr;unicode-bidi:isolate;display:inline-block}
@media(max-width:1150px){html[lang=he] #mhb-bkv .hero-art.hero-plus-two{left:-6%}}
@media(max-width:760px){html[lang=he] #mhb-bkv .hero-art.hero-plus-two{left:-22%}html[lang=he] #mhb-bkv .hero .employer-hero h1{font-size:clamp(40px,9.2vw,65px)}}
@media(max-width:390px){html[lang=he] #mhb-bkv .hero-art.hero-plus-two{left:-31%}}

html[lang=he] #mhb-bkv .rail-open{writing-mode:horizontal-tb;min-height:48px;font-size:11px;padding:9px 3px}
