.page {
  position: relative;
  width: calc(100% - 4rem); 
  /*the calc() function is used to subtract 4rem (2rem on the left and 2rem on the right) from the full width of the container, 
    ensuring there is space on both sides of the element.*/
  max-width: 100%;
  margin: 0 1rem; /*By setting margin: 0 1rem;, it will apply a 1rem margin on both the left and right sides of the element, effectively centering it horizontally.*/
}

.admonition {
  position: relative;
  margin: 1rem 0;
  padding: 0 .75rem;
  background-color: map-get($admonition-background-color-map, 'note');
  border-left: .25rem solid map-get($admonition-color-map, 'note');
  overflow: auto;

  .admonition-content {
    max-width: 100%;
    height: auto;
    padding: .5rem 0;
  }    
}

figure {
  .image-caption:not(:empty) {
    display: block !important;
  }
}