/* Custom styles for the blog*/

/* Yellowish background for better reading */
body {
  background-color: #fffef8; /* Soft cream */
}

.quarto-title-block {
  background-color: #fffef8 !important;
}

/* Keep content areas readable */
.quarto-post, article {
  background-color: #fffef8;
}

/* Footnotes background matching blog */
.footnotes, .footnotes ol, .footnotes li {
  background-color: #fffef8 !important;
}

/* Remove right ToC margin on mobile devices */
@media (max-width: 991.98px) {
  /* Target Quarto's column layout */
  body.quarto-layout-article .page-columns .page-column-body {
    grid-column: page-start/page-end !important;
  }
  
  /* Remove right padding */
  .quarto-layout-panel {
    padding-right: 0 !important;
  }
  
  /* Full width on mobile */
  article {
    max-width: 100% !important;
  }
}
