/**
 * Bengali web fonts — loaded from Google Fonts (no CORS / missing local files).
 */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Noto+Serif+Bengali:wght@400;600;700&display=swap');

:root {
    --bn-font-body: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    --bn-font-heading: 'Noto Serif Bengali', 'Hind Siliguri', serif;
    --bn-font-ui: 'Hind Siliguri', sans-serif;
    --bn-font-size-base: 19px;
    --bn-font-size-sm: 1.0625rem;
    --bn-font-size-md: 1.1875rem;
    --bn-font-size-lg: 1.3125rem;
    --bn-font-size-xl: 1.5rem;
    --bn-font-size-2xl: 1.75rem;
    --bn-line-height: 1.7;
}

body {
    font-family: var(--bn-font-body);
    font-size: var(--bn-font-size-base);
    line-height: var(--bn-line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.news-title,
.news-title-lead,
.news-title-big,
.news-title-besic,
.news-title-2,
.techtaranga_subtitle {
    font-family: var(--bn-font-heading);
}

button,
input,
select,
textarea,
.btn,
.nav-link {
    font-family: var(--bn-font-ui);
}

/* Override legacy techtaranga.css font rules */
body {
    font-family: var(--bn-font-body) !important;
    font-size: var(--bn-font-size-base) !important;
}

h1, h2, h3, h4, h5, h6,
.news-title,
.news-title-lead,
.news-title-big,
.news-title-besic,
.news-title-2,
.techtaranga_subtitle {
    font-family: var(--bn-font-heading) !important;
}

.techtaranga-ticker .tech-text {
    font-family: var(--bn-font-body) !important;
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
}

.news-title-lead,
.news-title-lead .techtaranga_subtitle {
    font-size: var(--bn-font-size-2xl) !important;
    line-height: 1.35 !important;
}

.news-title-big,
.news-title-big .techtaranga_subtitle {
    font-size: var(--bn-font-size-xl) !important;
    line-height: 1.38 !important;
}

.news-title,
.news-title-besic,
.news-title-2 {
    font-size: var(--bn-font-size-md) !important;
    line-height: 1.45 !important;
}

.summery-lead,
p.summery-5 {
    font-size: var(--bn-font-size-md) !important;
    line-height: 1.65 !important;
}

.tt_update_title .title_text {
    font-size: var(--bn-font-size-xl) !important;
}

.tt_update_title .title_more {
    font-size: var(--bn-font-size-sm) !important;
}

/* Map legacy SolaimanLipi / SutonnyMJ references to loaded fonts */
body,
.tt-text,
.tech-text {
    font-family: var(--bn-font-body) !important;
}
