/* === Reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Global === */



body {
  /* layout */
  padding: 0.5rem; /* space on all sides */
  display: flex;
  flex-direction: column;

  /* box model */
  min-height: 100vh;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.25rem;
  overflow-y: scroll;

  /* typography */
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-weight: 400;
  line-height: 1.5;
  color: #000;

  /* visuals */
  background-color: #ffffff;
}

h1 {
  font-size: 2rem;

}

.blog-content{
  font-family: "Georgia", "Times New Roman", Times, serif;
  font-size: 1rem;
  margin-top: 0rem;
}
.blog-content p {
  margin-bottom: 1rem; /* space after each paragraph */
}





time {
  /* box model */
  margin-top: -0.3rem;
  margin-bottom: 1rem;

  /* typography */
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.875rem; 
  font-style: italic;
  font-weight: normal;
  color: #7f7f7f;
}


sup {
  font-size: 0.75em;     /* make it smaller */
  vertical-align: super; /* lift it above baseline */
  line-height: 0;        /* prevent extra spacing */
}

/* === Header === */
header-blog {
  margin-top: 0rem;
}


p code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;              /* slightly smaller than body text */
  background: rgba(0,0,0,0.04);   
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.08em 0.35em; 
  border-radius: 4px;
  white-space: nowrap;
  line-height: auto;
  vertical-align: 0.15em; /* align with surrounding text */
}




/* ===== Notes * =======*/
.notes {
  max-width: 500px;
  margin: 3rem 0 3rem 0; /* top, right, bottom, left */
  padding-right: 1rem; /* left/right padding */
  padding-left: 1rem; /* left/right padding */
  font-size: 1rem;
  line-height: 1.25;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  color:#000
}


.notes h2 {
  margin: 0 0 16px 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

/* === Notes numbering: [1], [2] with precise control === */
.notes-list { 
  list-style: none; 
  counter-reset: n; 
  margin: 0; 
  padding: 0;
  font-size: 1rem;
}

.notes-list > li {
  position: relative;
  counter-increment: n;
  padding-left: 4ch;   /* ← move JUST the numbers by changing this one value */
}

.notes-list > li::before {
  content: "[" counter(n) "]";
  position: absolute;
  left: 0;                /* usually leave this at 0 */
  width: 3.25ch;          /* keeps [1], [12] aligned */
  text-align: right;
  
}

.notes-list {
  margin-left: -2rem;   /* pushes [1] + gray bar + text to the right */
  
}

.note-quote {
  border-left: 3px solid #d3d3d3; /* light gray line on the left */
  padding-left: 0.75rem;
}

.note-quote p{
  margin: 0 0 0 0; 
  font-style: normal;
  font-size: 0.9375rem;; 
  line-height: 1.15em;
}

.note-quote p code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;              /* slightly smaller than body text */
  background: rgba(0,0,0,0.04);   
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.08em 0.35em; 
  border-radius: 4px;
  white-space: nowrap;    
}


.note-citation {
  margin-top: 0.09rem;
  margin-bottom: 1rem;
  color: #000000; 
  font-size: 0.9375rem;

}
.note-citation cite {
  font-style: normal; 
}
.note-citation .cname {
  font-weight: bold;
  font-size: .875rem;
}
.notes a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-skip-ink: none; 
}
.cdescription {
  font-weight: 400;
}


/*
.note-quote.poem p {
  margin: 0 0 0 0
}
*/

/* ===== END of Notes * =======*/






/* ===== Icon * =======*/





/* ===== Links * =======*/
a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-skip-ink: none; 
}









/* ===== Margin of Content * =======*/
.blog-content, 
h1,
.poem-container,
time{
  margin-left: 0;
  margin-right: auto;
}
.notes {
  margin-left: -1rem;   /* shift the whole block 1rem to the left */
}









@media (max-width: 800px) {
  body {
    padding: 0.5rem 1rem 1rem 1rem; 
  }
  h1 {
    font-size: 1.75rem; 
  }
  time {
    font-size: 0.75rem; 
  }

  .blog-content {
    font-size: 1rem; 
  }

  .notes { 
    margin: 2rem 0 2rem 0rem; 
  }         /* still aligned with title */
  .notes h2 { margin-left: 0; }

  .notes-list > li {
    --num-slot: 3.25ch;              /* slightly tighter gutter on small screens */
    --gap: 0.5rem;
  }

  


  
}





