hr {
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Image sizing classes */
.img-small {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 20px auto;
}

.img-medium {
  max-width: 500px;
  height: auto;
  display: block;
  margin: 20px auto;
}

.img-large {
  max-width: 700px;
  height: auto;
  display: block;
  margin: 20px auto;
}

.img-full {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.img-center {
  display: block;
  margin: 20px auto;
}

/* Post navigation links */
.post_navi {
  display: flex;
}

.post_navi-label {
  font-size: 0.8em;
  opacity: 0.5;
}

.post_navi .post_navi-item {
  padding: 0 2.2em;
  width: 50%;
  position: relative;
  color: inherit !important;
}

.post_navi .nav_prev {
  text-align: left;
}

.post_navi .nav_next {
  text-align: right;
}

.post_navi .nav_prev .post_navi-arrow {
  left: 0;
}

.post_navi .nav_next .post_navi-arrow {
  right: 0;
}

.post_navi .post_navi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5em;
  opacity: 0.3;
}
/* Custom Code Block Styling */
.code-block-container {
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5em 0;
  background-color: #212529;
}

.code-block-header {
  background-color: #343a40;
  padding: 0.5em 1em;
  color: #e9ecef;
  font-family: monospace;
  font-size: 0.9em;
}

.code-block-container pre {
  margin: 0;
}

/* Override highlight.js default background and padding */
.code-block-container .hljs {
  background: transparent;
  padding: 1em;
  color: #f8f9fa; /* Light text for dark background */
}

/* Styling for specific tokens on a dark background */
.code-block-container .hljs-variable {
    color: #90EE90; /* Light Green for variables */
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.55em 1.1em;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-primary {
  background-color: transparent;
  color: #2a7ae2 !important;
  border-color: #2a7ae2;
}

.btn-primary:hover {
  background-color: transparent;
  color: #1f64bb !important;
  border-color: #1f64bb;
}

/* --- Global Typography & Spacing Improvements --- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #4a4a4a; /* Slightly softer dark gray for a vintage feel */
  background-color: #f5f5dc; /* Beige background */
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #222;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; border-bottom: 2px solid #eee; padding-bottom: 0.3em; }
h3 { font-size: 1.5rem; }

a {
  color: #2a7ae2;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: #1155cc;
  text-decoration: underline;
}



/* ... keep your other h1, h2, etc. styles here ... */

/* --- Header/Nav Styling --- */
.site-header {
  background-color: #f5f5dc; /* Tan header */
  border-top: 5px solid #8b4513; /* Dark brown accent border at the very top */
  border-bottom: 2px solid #f5f5dc; /* Slightly darker tan for the bottom border */
  padding-bottom: 15px;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.site-nav .page-link {
  font-weight: 500;
  margin-left: 20px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* --- Home Page (About Me & Posts) --- */
.home {
  max-width: 800px;
  margin: 0 auto;
}

/* --- Home Page (About Me & Posts) --- */
.about-section {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 3em;
  padding: 2em;
  background-color: #f5f5dc; /* Dusty Slate Blue */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(139, 69, 19, 0.15); 
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.1rem;
  color: #555;
}

/* Placeholder for a profile image */
.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* --- Post List Styling --- */
.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 2em;
}

.post-meta {
  font-size: 0.9rem;
  color: #888;
  display: block;
  margin-bottom: 0.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-link {
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
}

.post-link:hover {
  color: #2a7ae2;
  text-decoration: none;
}

/* Button styles */
.btn-primary {
  background-color: #d2b48c; /* Tan background */
  color: #4a4a4a !important; /* Dark gray/brown text for readability */
  border-color: #b89f7a; /* Slightly darker tan border */
}

.btn-primary:hover {
  background-color: #b89f7a; /* Darker tan on hover */
  color: #fff !important; /* Changes text to white on hover */
  border-color: #8b4513; /* Dark brown border on hover */
}
/* --- Footer Styling --- */
.site-footer {
  background-color: #f5f5dc; /* Tan to match the header */
  border-top: 2px solid #b89f7a; /* Matches the header's bottom border */
  border-bottom: 5px solid #8b4513; /* Dark brown accent to match the header's top border */
  color: #4a4a4a; /* Ensures text stays dark and readable against the tan */
}

/* Ensure the links in the footer also look good against the tan */
.site-footer a {
  color: #8b4513;
}

.site-footer a:hover {
  color: #5e2f0d;
}