/* ============================================================
   Wabisabi — site fonts
   Far-Rooznameh → whole site: body text (var(--font-body)) and titles (var(--font-title))
   Far-Rooznameh is Persian-only; Latin text falls back to Rubik.
   ============================================================ */

@font-face {
  font-family: "Far-Rooznameh";
  src: url("../fonts/Far-Rooznameh.woff2") format("woff2"),
       url("../fonts/Far-Rooznameh.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Glyph patch: Far-Rooznameh has no "ٔ" (U+0654, as in هفتهٔ) or "٬" (U+066C,
   Persian thousands separator). Only these two characters are borrowed from
   Neirizi; the browser downloads Neirizi only if one of them is on the page. */
@font-face {
  font-family: "Rooznameh-Patch";
  src: url("../fonts/Neirizi.woff2") format("woff2"),
       url("../fonts/Neirizi.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0654, U+066C;
}

:root {
  --font-body: "Far-Rooznameh", "Rooznameh-Patch", "Rubik", Tahoma, sans-serif;
  --font-title: "Far-Rooznameh", "Rooznameh-Patch", "Rubik", Tahoma, sans-serif;

  /* Base size — every rem on the site scales from this */
  --base-font-size: 17px; /* Far-Rooznameh glyphs run ~25% smaller than Neirizi */

  /* Side padding of the main content column */
  --side-gutter: 16px;
}
@media (min-width: 100000px) /* desktop layout disabled — mobile layout everywhere; was (min-width: 768px) */  { :root { --side-gutter: 48px; } }
@media (min-width: 100000px) /* desktop layout disabled — mobile layout everywhere; was (min-width: 992px) */  { :root { --side-gutter: 100px; } }

html { font-size: var(--base-font-size); }

body,
.btn, input, select, textarea, button,
.form-control, .form-select {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.card-title, .section-title {
  font-family: var(--font-title);
  font-weight: 400; /* single-weight font: avoid faux bold */
}
.card-title { font-size: 1.45rem; line-height: 1.6; }
