/* Language-specific typography and the matching English brand. */
html[lang="he"]{--site-font-family:Tahoma,Arial,sans-serif}
html[lang="zh"]{--site-font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif}
.front-lang-trigger .dp-language-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:18px;line-height:1;flex:none}
.front-lang-dropdown a{unicode-bidi:isolate}
.front-lang-dropdown a[aria-current="true"]{background:var(--cream);font-weight:700}
.front-menu-link,.front-drop-link strong{overflow-wrap:break-word}
.front-header .front-menu{min-width:0;gap:clamp(10px,1.5vw,26px)!important}
.front-header .front-menu-link{height:auto!important;min-height:54px;text-align:center;line-height:1.55}
/* The supplied black-backed dark asset blends into any dark theme surface. */
.front-dynamic-logo .front-logo-dark[src*="/dapn-logo-dark-en.png"]{mix-blend-mode:screen}
.front-dynamic-logo img[src*="/dapn-logo-light-en.png"],
.front-dynamic-logo img[src*="/dapn-logo-dark-en.png"]{aspect-ratio:3;object-fit:contain;max-height:none!important;height:auto!important;margin-block:-4%}
.dp-product[dir="rtl"] .dp-product-section-nav{direction:rtl}
.dp-product h1,.dp-product h2,.dp-product h3,.dp-market-card h3{overflow-wrap:break-word}
@media(min-width:1101px) and (max-width:1300px){
 .front-nav{gap:18px!important}
 .front-header .front-menu-link{font-size:13px!important}
 .front-header .front-dynamic-logo img{max-width:230px!important}
}
@media(max-width:600px){
 .front-lang-trigger{max-width:145px}
 .front-lang-trigger>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .front-lang-dropdown{max-width:min(260px,calc(100vw - 32px));max-height:65vh;overflow-y:auto}
 .dp-product-section-nav{gap:10px;flex-wrap:wrap}
}

@media(max-width:360px){.front-mobile-account-group .front-lang-trigger>.dp-language-flag{display:inline-block!important}.front-mobile-account-group .front-lang-trigger>.front-lang-chevron{display:none!important}}
.front-lang-dropdown{width:230px;max-height:min(68vh,600px);overflow-y:auto;overscroll-behavior:contain}
.front-lang-dropdown>a>span:first-child{flex:0 0 24px}
.front-lang-dropdown>a>span:last-child{min-width:0;line-height:1.6}
@media(max-width:1100px){
 .front-mobile-nav .front-dynamic-logo img[src*="/dapn-logo-light-en.png"],
 .front-mobile-nav .front-dynamic-logo img[src*="/dapn-logo-dark-en.png"]{width:190px!important;max-width:190px!important}
}
@media(max-width:360px){
 .front-mobile-nav .front-dynamic-logo img[src*="/dapn-logo-light-en.png"],
 .front-mobile-nav .front-dynamic-logo img[src*="/dapn-logo-dark-en.png"]{width:170px!important;max-width:170px!important}
}
/* Keep the mobile menu inside the viewport in both writing directions. */
@media(max-width:1100px){
 .front-mobile-account-group .front-lang-dropdown{inset-inline-start:0;inset-inline-end:auto;max-height:min(60vh,calc(100vh - 210px))}
}
