/* mobile.css — phone & tablet layout fixes (loaded last) */
@media(max-width:900px){
 .quiz{grid-template-columns:minmax(0,1fr)!important;gap:22px}
 .qintro p{max-width:none}
 .qbox{min-height:0}
}
@media(max-width:760px){
 .wrap{padding-left:16px;padding-right:16px}
 /* header */
 .hd .mast2{padding-top:44px;padding-bottom:8px}
 .tgl{top:8px;left:16px;right:16px;justify-content:space-between}
 .seg button{padding:3px 10px;font-size:12.5px}
 .bgsw{height:28px}
 .brand .lg.logo3{height:74px}
 /* four categories always fit, no clipping */
 .cats .wrap,html[lang=en] .cats .wrap{justify-content:space-between;gap:0;overflow:visible;padding-left:8px;padding-right:8px}
 .cats button{padding:10px 6px;font-size:15px!important;min-height:44px}
 .cats button::after{left:6px;right:6px}
 .tick b{font-size:13px;padding:0 10px}
 /* sections */
 .sec{padding-top:34px;padding-bottom:34px}
 .sh{flex-wrap:wrap;gap:4px 12px}
 .sh h2{font-size:24px}
 .sh p{font-size:13px}
 /* filter chips: one swipeable row */
 .filt{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding:4px 16px 6px;-webkit-overflow-scrolling:touch}
 .filt::-webkit-scrollbar{display:none}
 .filt button{flex:none;min-height:38px;padding:0 14px;font-size:14px}
 #latest .grid,.r4{align-items:start}
 /* quiz */
 .qintro h2{font-size:28px}
 .qmeta b{font-size:24px}
 .qbox{padding:18px;border-radius:12px}
 /* footer */
 #nlf{flex-wrap:wrap}
 #nlf input{flex:1 1 100%;min-width:0}
 #nlf .btn{flex:1 1 100%;min-height:46px;margin-top:8px}
 .copy{flex-direction:column;gap:6px}
 /* story page */
 .story h1{font-size:clamp(26px,7.4vw,34px);line-height:1.3}
 .story img,.story svg{max-width:100%}
}
@media(max-width:760px){
 /* compact sticky header after scrolling */
 body.sc .hd .mast2{padding-top:4px!important;padding-bottom:4px}
 body.sc .tgl,body.sc .hd .tick{display:none}
 body.sc .brand .lg.logo3{height:50px}
 body.sc .mr .sbtn,body.sc .mr .pill{height:38px;min-height:38px}
}
@media(max-width:380px){
 .cats button{font-size:13.5px!important;padding:10px 4px}
 .seg button{padding:3px 7px}
 .brand .lg.logo3{height:66px}
}
/* সব বিভাগ: show only the lead card per section, no text-only story list */
.blk ul{display:none!important}
.blk .card.lead{margin-bottom:0}
/* horizontal 2cupcha logo (smoke-only motion lives inside logo.svg) */
.brand .lg.logo4{display:block;height:70px;transition:height .3s}
.lg.logo4 img,.flogo.logo4 img{display:block;height:100%;width:auto;position:static}
body.sc .brand .lg.logo4{height:50px}
.flogo.logo4{width:auto;height:58px;aspect-ratio:auto;margin-bottom:12px}
@media(max-width:760px){.hd .brand{justify-self:start;margin-left:4px}.brand .lg.logo4{height:40px}body.sc .brand .lg.logo4{height:34px}.flogo.logo4{height:auto;max-width:100%}.flogo.logo4 img{width:100%;max-width:220px;height:auto}}
@media(max-width:380px){.brand .lg.logo4,body.sc .brand .lg.logo4{height:34px}}
