/* Custom styles for khairu-aqsara blog */

/* Local font faces */
/* Body/content: Copernicus Book (400) */
@font-face {
  font-family: "Copernicus";
  src: url("/assets/fonts/Copernicus-Book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
/* Headings/titles: StyreneA (use Medium file mapped to 700 if bold not available) */
@font-face {
  font-family: "StyreneA";
  src: url("/assets/fonts/StyreneA-Medium-Web.woff2") format("woff2");
  font-style: normal;
  font-weight: 700; /* mapping Medium to bold weight */
  font-display: swap;
}

/* Wire the theme font variables */
:root {
  --body-font: "Copernicus", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-font: "StyreneA", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Headings and title-like elements use bold (700) */
h1, h2, h3, h4, h5, h6,
.navbar-custom .navbar-brand,
.intro-header .page-heading h1,
.intro-header .post-heading h1,
.post-preview a h2,
.post-preview a h3,
.post-preview a h4,
.blog-post h1,
.blog-post h2,
.blog-post h3,
.blog-post h4,
.pager li a,
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  font-weight: 700;
}

/* Ensure body/content uses normal weight by default */
body { font-weight: 400; }

p {
    line-height: 2;
    margin: 1.875rem 0;
    font-size: 15px;
}
