.post-date {
    display: inline-block;
    width: 100px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    max-width: 50rem;
    margin: 0 auto;
    padding: 0 1rem;
}


img {
    max-width: 100%;
    height: auto;
}

.post-meta {
    color: #666;
}

#blog-list p {
  display: flex;         /* put date and title side by side */
  flex-wrap: wrap;       /* allow title to wrap if it’s too long */
  gap: 0.5rem;           /* space between date and title */
  margin: 0 0 0.75rem 0; /* spacing between posts */
}

#blog-list .post-date {
  color: #666;
  white-space: nowrap;   /* keep the date together (no break in the middle) */
  font-size: 0.9rem;
  flex-shrink: 0;        /* don’t let date squeeze smaller */
}

#blog-list a {
  color: #0066cc;
  text-decoration: none;
  flex: 1;               /* let the title take remaining space */
  min-width: 0;          /* important: allow wrapping inside flex container */
  word-break: break-word;/* break long words if necessary */
}

#blog-list a:hover {
  text-decoration: underline;
}

aside {
  background: #f8f9fa;           /* subtle light background */
  border-left: 4px solid #0077cc;/* accent color bar */
  padding: 1rem;                 /* inner spacing */
  margin: 1.5rem 0;              /* space around aside box */
  font-size: 0.95rem;            /* slightly smaller than main text */
  line-height: 1.5;
  border-radius: 4px;            /* optional rounded corners */
  color: #333;
}

aside h4 {
  margin-top: 0;                 /* remove default heading spacing */
  font-size: 1rem;
  font-weight: 600;
  color: #0056b3;                /* accent heading color */
}

aside p:last-child {
  margin-bottom: 0;              /* avoid extra space at the bottom */
}

code {
  background-color: #f5f2f0;  /* light, subtle shading */
  padding: 0.15em 0.3em;      /* a little space around text */
  border-radius: 4px;         /* rounded corners */
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;          /* slightly smaller than body text */
  color: #c7254e;             /* optional: change text color */
}
