/* 2.4.0: English <-> Bangla button at the top of every page, and Bangla typography. */
.lgs{display:none}
html.rr-i18n .lgs{order:3;display:inline-flex;flex:none;margin-left:16px;padding:2px;border:1px solid var(--bd);border-radius:99px;background:rgba(7,17,24,.55)}
.lgs button{background:none;border:0;border-radius:99px;padding:4px 12px;min-width:36px;font-size:.78rem;font-weight:700;line-height:1.5;color:var(--t2);cursor:pointer}
.lgs button:hover{color:var(--tx)}
html:not([data-lang=bn]) .lgs [data-l=en],html[data-lang=bn] .lgs [data-l=bn]{background:var(--or);color:#071118}
.lgs button:focus-visible{outline:3px solid var(--bl);outline-offset:2px}
html.rr-i18n .hd .nav{margin-left:auto}
/* the menu folds into the Menu button a little earlier than before (1140px instead of 960px), so the language button always has room: with the About and Donate links the whole menu needs about 1110px */
@media(max-width:1140px){html.rr-i18n .lgs{order:0;margin-left:auto}html.rr-i18n .hd .mt{margin-left:10px}}
@media(min-width:961px) and (max-width:1140px){
html.rr-i18n .mt{display:block}
html.rr-i18n .nav{display:none;position:absolute;left:0;right:0;top:68px;background:var(--bg);border-bottom:1px solid var(--bd);padding:16px 20px;flex-direction:column;align-items:flex-start}
html.rr-i18n .nav.open{display:flex}
html.rr-i18n .nav ul{flex-direction:column;gap:0;width:100%}
html.rr-i18n .nav ul a{display:block;padding:11px 0}}
.lgs [data-l=bn]{font-size:.9rem;line-height:1.35}
@media(max-width:420px){.logo{font-size:1.25rem}.lgs button{padding:3px 9px;min-width:30px;font-size:.72rem}.lgs [data-l=bn]{font-size:.82rem}html.rr-i18n .hd .mt{padding:8px 11px;margin-left:8px}}
@media(max-width:360px){.logo{font-size:1.1rem}.lgs button{padding:3px 7px;min-width:26px}html.rr-i18n .hd .mt{padding:8px 9px;margin-left:6px}}

/* the page stays hidden for a moment while a saved Bangla choice is applied, so English never flashes */
html.rr-bn-pending body{opacity:0}

/* Bangla: a little larger, more open lines, and no letter-spacing (it breaks joined letters) */
html[data-lang=bn] body{font-family:system-ui,-apple-system,"Segoe UI","Noto Sans Bengali","Nirmala UI","Kohinoor Bangla","Bangla Sangam MN",sans-serif;font-size:18px;line-height:1.8}
html[data-lang=bn] h1,html[data-lang=bn] h2,html[data-lang=bn] h3,html[data-lang=bn] h4{font-family:"Iowan Old Style","Palatino Linotype",Georgia,"Noto Serif Bengali","Noto Sans Bengali","Nirmala UI","Kohinoor Bangla","Bangla Sangam MN",serif;line-height:1.35}
html[data-lang=bn] .cq,html[data-lang=bn] .price,html[data-lang=bn] .fc .pl,html[data-lang=bn] .fc .ct,html[data-lang=bn] .gs b{font-family:Georgia,"Noto Serif Bengali","Noto Sans Bengali","Nirmala UI","Kohinoor Bangla","Bangla Sangam MN",serif}
html[data-lang=bn] .eb,html[data-lang=bn] .sc2,html[data-lang=bn] .rec,html[data-lang=bn] .tag{letter-spacing:0;text-transform:none}
html[data-lang=bn] .eb{font-size:.85rem}
html[data-lang=bn] .nav a:not(.btn){font-size:.95rem}
html[data-lang=bn] .btn{line-height:1.5}
html[data-lang=bn] .sm,html[data-lang=bn] .meta{font-size:.92rem}
html[data-lang=bn] .lgs button[data-l=en]{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
