/* International layouts with compact typography for longer translations. */
html:not([lang="zh-CN"]) body{font-family:Arial,"Segoe UI",sans-serif}
html:not([lang="zh-CN"]) .site-header .brand span{font:10px/1.3 Arial,sans-serif;white-space:normal;text-align:left;text-align-last:left;letter-spacing:0}
html:not([lang="zh-CN"]) .hero h1{font-size:clamp(30px,3.5vw,60px);line-height:1.15;overflow-wrap:break-word}
html:not([lang="zh-CN"]) .hero-content p{font-size:clamp(14px,1.1vw,18px);line-height:1.6}
html:not([lang="zh-CN"]) h2{line-height:1.25;overflow-wrap:break-word}
html:not([lang="zh-CN"]) h3{line-height:1.3;overflow-wrap:break-word}
html:not([lang="zh-CN"]) .brand-card h2,html:not([lang="zh-CN"]) .brand-card h3,html:not([lang="zh-CN"]) .original-emission-card h3{font-size:clamp(18px,1.6vw,25px);min-height:0}
html:not([lang="zh-CN"]) .series-intro{align-items:start;gap:32px}
html:not([lang="zh-CN"]) .series-intro p{line-height:1.7}
html:not([lang="zh-CN"]) .selection-table th,html:not([lang="zh-CN"]) .parameter-table th{white-space:normal;line-height:1.35;overflow-wrap:break-word}
html:not([lang="zh-CN"]) .spec-grid dt{white-space:normal;line-height:1.4}
html:not([lang="zh-CN"]) .config-options{flex-wrap:wrap}
html:not([lang="zh-CN"]) .company-style-grid figcaption{line-height:1.4}
html:not([lang="zh-CN"]) #service .steps h3{font-size:clamp(18px,1.6vw,26px)}
html:not([lang="zh-CN"]) #service .steps p{font-size:14px;line-height:1.6}
html:not([lang="zh-CN"]) .contact-main-lines p{overflow-wrap:anywhere}
html:not([lang="zh-CN"]) .regional-contact{min-width:0}
html:not([lang="zh-CN"]) .special-links h3{font-size:17px}
html:not([lang="zh-CN"]) .special-links p{font-size:13px;line-height:1.5}
html:not([lang="zh-CN"]) .special-detail-tabs a{white-space:normal;line-height:1.4}
html:not([lang="zh-CN"]) .original-class-grid article{min-width:0}
html:not([lang="zh-CN"]) .original-class-grid h3{font-size:18px}
html:not([lang="zh-CN"]) .qualification-screen .cert-card h3{font-size:14px;line-height:1.4}
html:not([lang="zh-CN"]) .qualification-title h2{font-size:clamp(22px,2vw,32px)}
@media(max-width:720px){html:not([lang="zh-CN"]) .hero h1{font-size:30px}html:not([lang="zh-CN"]) .series-intro{gap:18px}}

/* Give translated copy enough room within the home page panels. */
html:not([lang="zh-CN"]) .industry-tabs button{overflow-wrap:break-word;line-height:1.35}
html:not([lang="zh-CN"]) .site-header .dropdown a{white-space:normal;line-height:1.4}
@media(min-width:901px){
html:not([lang="zh-CN"]) .scroll-home-body #special .special-overview{height:auto;max-height:none;min-height:390px}
html:not([lang="zh-CN"]) .scroll-home-body #special .special-links{height:auto;grid-template-rows:repeat(3,minmax(130px,auto))}
html:not([lang="zh-CN"]) .scroll-home-body .hero-content h1{font-size:clamp(30px,2.8vw,46px);line-height:1.15}
}

/* English and Russian: keep translated headings within the shared panels. */
html:not([lang="zh-CN"]) .category-screen .brand-card .brand-name h3{font-size:clamp(14px,1.12vw,18px);line-height:1.25;overflow-wrap:anywhere}
html:not([lang="zh-CN"]) .category-screen .brand-card .brand-name>span:not(.engine-brand-logo):not(.engine-brand-pair){font-size:9px;letter-spacing:.4px}
html:not([lang="zh-CN"]) .category-screen .brand-card .brand-series{font-size:11px;line-height:1.3}
html:not([lang="zh-CN"]) .original-selection .original-emission-card h2{font-size:clamp(16px,1.35vw,22px);line-height:1.25}
html:not([lang="zh-CN"]) #product-types .original-class-grid h3,
html:not([lang="zh-CN"]) .original-types .original-class-grid h3{font-size:clamp(15px,1.25vw,20px);line-height:1.25;margin:8px 0;hyphens:auto}
html:not([lang="zh-CN"]) .original-overview .original-intro p{font-size:14px;line-height:1.5;margin-top:12px}
html:not([lang="zh-CN"]) .special-detail-tabs a{font-size:13px;line-height:1.25}
@media(min-width:901px){
 html:not([lang="zh-CN"]) .scroll-home-body section h2{font-size:clamp(23px,2.3vw,36px);line-height:1.2}
 html:not([lang="zh-CN"]) .scroll-home-body #special .special-overview{min-height:0}
 html:not([lang="zh-CN"]) .scroll-home-body #special .special-links{grid-template-rows:repeat(3,minmax(0,1fr))}
 html:not([lang="zh-CN"]) .scroll-home-body .special-links h3{font-size:15px;line-height:1.25}
 html:not([lang="zh-CN"]) .scroll-home-body .special-links p{font-size:12px;line-height:1.35}
 html:not([lang="zh-CN"]) #service .steps h3{font-size:clamp(16px,1.3vw,21px)}
 html:not([lang="zh-CN"]) #service .steps p{font-size:13px;line-height:1.4}
 html:not([lang="zh-CN"]) #contact .regional-contact{padding:12px 14px;gap:10px}
 html:not([lang="zh-CN"]) #contact .regional-contact h3{font-size:18px;margin:5px 0}
 html:not([lang="zh-CN"]) #contact .regional-contact p{font-size:13px;line-height:1.4}
}
@media(min-width:901px) and (max-height:800px){
 html:not([lang="zh-CN"]) .original-screen{padding-top:16px;padding-bottom:16px}
 html:not([lang="zh-CN"]) .original-overview .original-screen-content{padding:12px 0}
 html:not([lang="zh-CN"]) .scroll-home-body .section-head{margin-bottom:14px}
 html:not([lang="zh-CN"]) .series-intro p{font-size:14px;line-height:1.45}
}

/* Compact Russian application tabs: short labels and space for the arrow. */
html[lang="ru"] .industry-tabs button{font-size:13px;line-height:1.2;padding:8px 12px;gap:8px}
html[lang="ru"] .industry-tabs button span:first-child{min-width:0;overflow-wrap:normal}
html[lang="ru"] .industry-tabs button span:last-child{flex:0 0 auto;font-size:16px}

/* Russian special applications: seven cards need four content-sized rows. */
html[lang="ru"] .scroll-home-body #special .special-overview{
 height:auto;max-height:none;min-height:0;align-items:stretch;
}
html[lang="ru"] .scroll-home-body #special .special-links{
 height:auto;min-height:0;grid-template-rows:none;grid-auto-rows:minmax(min-content,1fr);gap:10px;
}
html[lang="ru"] .scroll-home-body #special .special-links>a{
 min-width:0;min-height:0;padding:12px 30px 12px 14px;justify-content:flex-start;gap:6px;
}
html[lang="ru"] .scroll-home-body #special .special-links h3{
 font-size:clamp(14px,1.05vw,17px);line-height:1.25;margin:0;overflow-wrap:break-word;hyphens:auto;
}
html[lang="ru"] .scroll-home-body #special .special-links p{
 font-size:12px;line-height:1.4;margin:0;overflow-wrap:break-word;
}
@media(max-width:900px){
 html[lang="ru"] .scroll-home-body #special .special-links h3{font-size:16px}
 html[lang="ru"] .scroll-home-body #special .special-links p{font-size:13px}
}
@media(min-width:901px) and (max-height:700px){
 html[lang="ru"] .scroll-home-body #special{overflow-y:auto;justify-content:flex-start}
}
