/* ===== Global Layout ===== */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: #0d1117; /* GitHub Dark background */
    color: #eaedf0;           /* GitHub blue 58a6ff*/
    text-align: center;       /* Center all text */
    line-height: 1.6;
}

/* ===== Container for Blog Content ===== */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: .25rem;
    text-align: left;
}

.post-list {
  text-align: left;
  margin-top: .25rem;
}


/* ===== Headings ===== */
h1, h2, h3, h4, h5, h6 {
    color: #58a6ff; /* GitHub blue */
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ===== Links ===== */
a {
    color: #58a6ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== Blog Navigation (Prev / Next) ===== */
.post-nav {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.post-nav a {
    color: #58a6ff;
}

/* ===== Code Blocks ===== */
pre, code {
    background-color: #161b22; /* GitHub Dark code block background */
    color: #c9d1d9;            /* Light gray text */
    padding: 0.5rem 1rem;
    border-radius: 6px;
    overflow-x: auto;
}

/* ===== Images ===== */
img {
    max-width: 100%;
    border-radius: 6px;
}

/* ===== Footer ===== */
footer {
    margin-top: 4rem;
    padding: 2rem 0;
    color: #8b949e; /* GitHub muted gray */
    font-size: 0.9rem;
}

/* ===== Header Styling ===== */
.site-header {
  background-color: #0d1117; /* GitHub Dark background */
  color: #c9d1d9;            /* Light gray text */
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: none;
  top: 0;
  z-index: 1000;
}

/* ===== Title ===== */
.site-header h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  color: #58a6ff; /* GitHub blue */
}

/* ===== Navigation ===== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 1rem;
  padding-bottom: 0.5rem;    /* spacing above the line */
}

.site-nav a {
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: inherit;
  font-weight: 600;

}

.site-nav a:hover {
  color: #58a6ff; /* GitHub blue on hover */
  line-height: 1;
}

.nav-container {
  display: flex;
  justify-content: space-between; /* pushes nav to the far right */
  align-items: center;
  gap: 2rem; /* space between RJ and nav links */
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #30363d;
}

/* RJ name styling */
.site-name {
  font-size: 1rem;
  color: #58a6ff; /* GitHub blue */
  font-weight: 600;
  margin: 0; /* ← Prevent vertical misalignment */
  line-height: 1; /* Optional: keeps it snug */
  display: flex;  /* ensures it aligns like the nav */
  align-items: center;
  position: relative;
  top: 1px; /* or -1px depending on direction */
  vertical-align: middle;
}

ul {
  padding: 0;
  margin: 0;
}

