/* Shared by public pages, account pages, admin, and standalone error/login pages.
   Hind Siliguri supplies real 400/500/600/700 faces. No synthetic 800/900.
   User-supplied SolaimanLipi.ttf identifies itself as Normal, weight 400,
   with SIL Open Font License 1.0 metadata. Keep the original file intact. */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'SolaimanLipi';
    src: local('SolaimanLipi'),
         url('../fonts/SolaimanLipi.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --font-display: 'Hind Siliguri', sans-serif;
    --font-body: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
    /* Compatibility aliases keep existing components on the shared system. */
    --font-bangla: var(--font-display);
    --font-sans: var(--font-display);
    --font-main: var(--font-display);
    --font-latin: var(--font-display);
}

/* A display base protects compact UI from future changes to the reading face. */
body { font-family: var(--font-display); font-synthesis: none; }

:is(p, blockquote, .body-text, .reading-text, .article-body,
    .article-content, .article-body-content, .article-lead-text,
    .news-summary, .news-description, .summary, .excerpt, .description,
    .lead-excerpt, .card-excerpt, .static-page-content, .editorial-content,
    .note-editable) {
    font-family: var(--font-body);
    font-weight: 400;
}

/* Card and story meta typography: styled in Solaiman Lipi */
:is(.news-card-meta, .story-meta, .video-meta, .article-meta-bar) {
    font-family: 'SolaimanLipi', var(--font-body);
    font-weight: 400;
}

/* Semantic UI overrides apply even when nested inside reading containers. */
:is(h1, h2, h3, h4, h5, h6, strong, b, nav, button, input, select, textarea, label,
    summary, [role="button"], [role="menu"], [role="menuitem"],
    .display-text, .ui-text, .metadata, .top-ticker-bar, .category-tag,
    .category-badge, .badge-tag, .ticker-date, .header-ad-label, .compact-news-label,
    .footer-copy-text, .footer-legal-bar, .contact-line, .btn-share) {
    font-family: var(--font-display);
}

/* Explicit reading classes also support non-paragraph CMS blocks.
   Sizes, colors, spacing and responsive line heights remain with the theme. */
