
/* language switch: a real link to the same page in the other language (6 Nov 2026) */
.lang a,.dlang a,.dlang span{min-width:40px;height:30px;display:inline-flex;align-items:center;justify-content:center;font:inherit;color:inherit;text-decoration:none}
.lang a:hover,.dlang a:hover{text-decoration:underline;text-underline-offset:4px}
.dlang{display:flex;gap:10px;align-items:center;margin-top:24px;font-size:17px;font-weight:600;color:#fff}
.dlang span{box-shadow:0 0 0 1.5px var(--red);border-radius:999px}
.dlang a,.dlang span{min-width:48px;height:44px}
/* English runs longer than Thai: these rows wrap instead of pushing past the edge of the screen */
html[lang=en] .lt .tabs{flex-wrap:wrap;row-gap:4px}
html[lang=en] .lt .wayf{flex-wrap:wrap}
html[lang=en] .hx .btn,html[lang=en] .hx .btn-line{max-width:100%;white-space:normal;text-align:center}
@media (max-width:374px){html[lang=en] .views .vw span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media (max-width:420px){html[lang=en] .bg{font-size:clamp(34px,11vw,44px)}}
/* English tags are one long word: smaller, so the word stays on the open sky and off the cranes and containers */
html[lang=en] .sh[data-size=tag]{--qs:clamp(36px,4.4vw,68px)}
/* the two passed menus in English: the longer pain line breaks into two balanced lines on the open sky,
   and on a phone the veil reaches the small line under it */
html[lang=en] .hero-tx .hk{max-width:12em;text-wrap:balance}
@media (max-width:768px){
  html[lang=en][data-theme=dark] .hero-hub .ph::before{height:84%;background:linear-gradient(rgba(10,12,34,.92) 74%,rgba(10,12,34,0))}
  html[lang=en][data-theme=light] .hero-hub .ph::before{height:84%;background:linear-gradient(rgba(255,255,255,.92) 74%,rgba(255,255,255,0))}
}
