/* =====================================================
   Typography + spacing polish
   Layered on top of the original style.css so the legacy
   file stays untouched. Mirrors kalerkantho.com's use of
   Noto Serif Bengali, with only small layout adjustments.
   ===================================================== */

@font-face {
    font-family: 'Noto Serif Bengali';
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/noto-serif-bengali.woff2') format('woff2');
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1;
}

@font-face {
    font-family: 'Noto Serif Bengali';
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/noto-serif-bengali-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-bn: 'Noto Serif Bengali', 'Noto Sans Bengali', 'Kalpurush', 'SolaimanLipi', Georgia, serif;
}

body {
    font-family: var(--font-bn);
    font-size: 18px;
    line-height: 1.8;
}

button,
input,
select,
textarea,
.acc-head {
    font-family: inherit;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* Header: a little more presence for the masthead and nav */
.topbar .container { padding: 20px 28px; }
.topbar .brand img { height: 62px; }
.mainnav a { font-weight: 700; padding: 18px 14px; }
.mainnav .home-icon a { padding: 15px 14px; }
.drawer-logo img { height: 44px; }

/* Headlines and article text: serif metrics need slightly looser leading */
.article-title {
    font-size: 40px;
    line-height: 1.4;
    letter-spacing: 0;
}
.article-summary { font-size: 22px; line-height: 1.75; }
.article-body { font-size: 20px; line-height: 2.05; }
.article-body h2 { font-size: 27px; line-height: 1.5; }
.article-body h3 { font-size: 23px; line-height: 1.5; }

.lead-main h2 { font-size: 35px; line-height: 1.4; letter-spacing: 0; }
.lead-main .lead-summary { font-size: 19px; line-height: 1.75; }
.news-card h3 { font-size: 20px; line-height: 1.55; }
.lead-side .item h3 { font-size: 17px; line-height: 1.55; }
.related-card h3 { font-size: 18px; line-height: 1.55; }
.side-list h4 { font-size: 18px; line-height: 1.55; }

.section-title { font-size: 25px; line-height: 1.45; }
.widget-title { line-height: 1.45; }
.related-news h2 { line-height: 1.45; }
.footer h4 { line-height: 1.4; }

@media (max-width: 1024px) {
    .article-title { font-size: 33px; }
    .lead-main h2 { font-size: 30px; }
}

@media (max-width: 860px) {
    .topbar .container { padding: 12px 14px; }
    .topbar .brand img { height: 36px; }
    .drawer-logo img { height: 40px; }
}

@media (max-width: 768px) {
    .article-title { font-size: 27px; line-height: 1.38; }
    .article-summary { font-size: 19px; line-height: 1.7; }
    .article-body { font-size: 19px; line-height: 1.95; }
    .lead-main h2 { font-size: 26px; line-height: 1.45; }
    .section-title,
    .widget-title,
    .related-news h2 { font-size: 22px; }
}
