/* ==========================================================================
   SpinaFX Base Styles
   Reset & overrides for SpinaFX page templates
   ========================================================================== */

/* Force 1rem = 16px for consistency */
html {
  font-size: 16px;
}

body.spinafx-page {
  font-family: var(--spinafx-font-body);
  color: var(--spinafx-primary-950);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body.spinafx-page a {
  text-decoration: none;
}

body.spinafx-page img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

/* Override Astra default container */
body.spinafx-page #page-wrapper,
body.spinafx-page .entry-content,
body.spinafx-page .ast-container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

body.spinafx-page .site-content > .ast-container {
  max-width: 100%;
  padding: 0;
}

/* ===== Reusable Container ===== */
.spinafx-container {
  width: 100%;
  max-width: var(--spinafx-container-max);
  margin-left: auto;
  margin-right: auto;
}
