/* Mobile news-card typography (homepage blocks, category/subcategory/search lists).
   Selectors are prefixed with `body` so they win over the inline <style> blocks
   that the homepage partials print later in the document. */
@media (max-width: 768px) {
    /* Lead headlines */
    body .dr-lead-title,
    body .world-lead h3,
    body .country-lead h3,
    body .sport-lead h3,
    body .nat-top-copy h3,
    body .campus-lead h3,
    body .hb-lead h3,
    body .hb-feature h3 {
        font-family: 'SolaimanLipi', sans-serif;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.35;
        color: #111;
    }

    /* Card / list headlines (full-width on mobile) */
    body .dr-card-title,
    body .hb-card h3,
    body .hb-list strong,
    body .hb-line span,
    body .campus-item strong,
    body .nat-card strong,
    body .world-item strong,
    body .country-item strong,
    body .most-item strong,
    body .sport-card h3,
    body .ent-card h3,
    body .life-card h3,
    body .social-lead strong,
    body .sub-news h5 {
        font-family: 'SolaimanLipi', sans-serif;
        font-size: 21px;
        font-weight: 700;
        line-height: 1.35;
        color: #111;
    }

    /* Half-width (two per row) cards have ~170px of text width */
    body .tech-card h3,
    body .pol-card h3 {
        font-family: 'SolaimanLipi', sans-serif;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.35;
        color: #111;
    }

    /* Excerpts */
    body .dr-lead-excerpt,
    body .lead-excerpt,
    body .dr-card-excerpt,
    body .world-lead p,
    body .country-lead p,
    body .sport-lead p,
    body .nat-top-copy p,
    body .campus-lead p,
    body .hb-lead p,
    body .campus-item em,
    body .hb-list em,
    body .sub-news .sum {
        font-family: 'SolaimanLipi', sans-serif;
        font-size: 16px;
        font-weight: 400;
        font-style: normal;
        line-height: 1.5;
        color: #333339;
        text-align: left;
        margin-top: 4px;
    }

    body .tech-card p,
    body .pol-card p {
        font-family: 'SolaimanLipi', sans-serif;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.5;
        color: #333339;
        text-align: left;
        margin-top: 4px;
    }

    body .dr-card-excerpt,
    body .tech-card p,
    body .pol-card p,
    body .campus-item em,
    body .hb-list em,
    body .sub-news .sum {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Inline "বিস্তারিত ›" after the lead excerpt */
    body .dr-lead-excerpt { margin-bottom: 10px; }
    body .dr-lead-excerpt::after { content: ""; display: block; clear: both; }
    body .dr-lead-excerpt-link { color: inherit; text-decoration: none; }
    body .dr-lead-excerpt .dr-more {
        float: right;
        margin-left: 6px;
        color: #c8102e;
        font-family: 'SolaimanLipi', sans-serif;
        font-weight: 700;
        font-size: 15px;
        text-decoration: none;
        white-space: nowrap;
    }

    /* Sub-lead list items in the small topic sections
       (চাকুরীর খবর, ফিচার, প্রবাস, স্বাস্থ্য কথন, সোশ্যাল মিডিয়া …) */
    body .quad-lines a,
    body .topic-item span,
    body .social-lines a {
        font-family: 'SolaimanLipi', sans-serif;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.4;
        color: #111;
    }
    body .quad-lines a,
    body .social-lines a { padding: 10px 0; }

    body .dr-card-title { -webkit-line-clamp: 3; margin-bottom: 4px; }
    body .dr-card { margin-bottom: 10px; }
}
