/* ----------------------------
   Global Styles
---------------------------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ----------------------------
   Header Styles
---------------------------- */
header {
  background-color: #007BFF; /* blue */
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header nav {
  margin-top: 10px;
}

header nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}

/* ----------------------------
   Post Styling
---------------------------- */
.post {
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  overflow: hidden;
  box-sizing: border-box;


 /* ensures content stays inside the box */
}

.post,
.post * {
  box-sizing: border-box;
}

/* ----------------------------
   Blog Post Images
---------------------------- */
.post img {
  max-width: 100%;      /* scale image to container width */
  height: auto;         /* keep aspect ratio */
  display: block;       /* remove inline spacing issues */
  margin: 16px 0;       /* spacing above and below image */
  border-radius: 4px;   /* optional: soft corners */
