/* The language menu remains usable without JavaScript. */
.language-switcher{position:relative;flex-shrink:0;color:#fff;font-size:13px;line-height:1.4}
.language-switcher summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:10px 8px;cursor:pointer;list-style:none;white-space:nowrap;border:1px solid #67829b;border-radius:6px}
.language-switcher summary::-webkit-details-marker{display:none}
.language-switcher summary::after{content:'⌄';margin-left:3px;color:var(--cyan,#04bcef)}
.language-switcher[open] summary::after{transform:rotate(180deg)}
.language-switcher>div{position:absolute;right:0;top:calc(100% + 8px);z-index:50;min-width:205px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow-y:auto;padding:8px;background:#0c2842;border:1px solid #67829b;border-radius:8px;box-shadow:0 15px 35px #00102055}
.language-switcher a{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border-radius:4px;color:#d5e4f1;text-decoration:none;font-size:13px;white-space:nowrap}
.language-switcher a:hover,.language-switcher a[aria-current]{color:#04bcef;background:#ffffff0c}
.language-switcher a:focus-visible,.language-switcher summary:focus-visible{outline:3px solid #04bcef;outline-offset:3px}
@media(min-width:851px){.header-inner{gap:18px}.desktop-nav{gap:18px}}
@media(min-width:851px) and (max-width:1150px){.header-inner{flex-wrap:wrap;padding-block:12px;gap:8px 18px}.header-inner>.desktop-nav{order:3;flex-basis:100%;justify-content:flex-end}.header-inner>.language-switcher{margin-left:auto}}
@media(max-width:850px){.header-inner{gap:10px;flex-wrap:wrap}.header-inner>.brand{margin-right:auto}.header-inner>.language-switcher{order:2}.header-inner>.menu-toggle{order:1}.header-inner>.desktop-nav{order:3;flex-basis:100%}.language-switcher summary{font-size:12px;padding:9px 7px}}
@media(max-width:390px){.header-inner>.brand img{width:108px}.header-inner{gap:8px}.language-switcher summary{font-size:11px}.header-inner>.menu-toggle{padding-inline:8px}}
/* Long translated words must fit the same content columns as English. */
main{overflow-wrap:anywhere;hyphens:auto}
/* English copy and display headings wrap at word boundaries. */
html:lang(en) main{overflow-wrap:normal;hyphens:none}
main :is(h1,h2,h3,h4,h5,h6){overflow-wrap:normal;hyphens:none;text-wrap:balance}
.hero-grid>*,.spec-layout>*{min-width:0}
@media(max-width:850px){.js .header-inner>.desktop-nav{top:100%}}
@media(max-width:390px){.js .header-inner{flex-wrap:wrap;padding-block:10px}.header-inner>.language-switcher{margin-left:auto}.hero-actions{grid-template-columns:minmax(0,1fr)}}
/* Give translated compound words room without breaking display headings. */
.detail-copy,.cra-panel>*{min-width:0}
html:lang(fi) #cra-title{font-size:28px}
@media(min-width:851px) and (max-width:1100px){html:not(:lang(en)) .product-card h3{font-size:28px}}
@media(max-width:850px){html:lang(de) .detail-copy h2{font-size:32px}}
@media(max-width:600px){html:lang(fi) #cra-title{font-size:25px}}
@media(max-width:360px){
  html:not(:lang(en)) .product-card h3{font-size:25px}
  html:not(:lang(en)) .section-heading h2,html:not(:lang(en)) .enquiry h2{font-size:32px}
  html:not(:lang(en)) .detail-copy h2{font-size:27px}
  html:lang(de) .detail-copy h2{font-size:25px}
  html:lang(de) #distributor-fit-title{font-size:32px}
  html:lang(fi) .section-heading h2{font-size:28px}
  html:lang(fi) .enquiry-page-hero h1{font-size:32px}
  html:lang(fi) #cra-title{font-size:19px}
  html:lang(sv) #cra-title{font-size:25px}
}
