/* Rosatom corporate font */

@font-face {
  font-family: 'Rosatom';
  src:
    url('../fonts/rosatom/Rosatom-Light_W.woff2') format('woff2'),
    url('../fonts/rosatom/Rosatom-Light_W.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rosatom';
  src:
    url('../fonts/rosatom/Rosatom-Regular_W.woff2') format('woff2'),
    url('../fonts/rosatom/Rosatom-Regular_W.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rosatom';
  src:
    url('../fonts/rosatom/Rosatom-Italic_W.woff2') format('woff2'),
    url('../fonts/rosatom/Rosatom-Italic_W.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Rosatom';
  src:
    url('../fonts/rosatom/Rosatom-Bold_W.woff2') format('woff2'),
    url('../fonts/rosatom/Rosatom-Bold_W.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  /* Project font variables */
  --font-rosatom: 'Rosatom', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-rosatom-light: 300;
  --font-rosatom-regular: 400;
  --font-rosatom-bold: 700;

  /* Bootstrap overrides (so all components switch to Rosatom) */
  --bs-font-sans-serif: var(--font-rosatom);
  --bs-body-font-family: var(--font-rosatom);
}

body{
  font-family: var(--font-rosatom);
  font-weight: var(--font-rosatom-regular);
}

strong, b, .fw-bold{ font-weight: var(--font-rosatom-bold) !important; }
.fw-light{ font-weight: var(--font-rosatom-light) !important; }
/* Bootstrap's fw-semibold (600) has no real Rosatom file in this project.
   Map it to the closest real weight to avoid synthetic rendering. */
.fw-semibold{ font-weight: var(--font-rosatom-bold) !important; }
