/* === Single Blog Post Styles === */

/* Reset spacing */
body.single-post {
  margin: 0;
  padding: 0;
  background-color: #1b1020; /* Midnight */
  font-family: 'Georgia', serif;
  color: #1b1020; /* Default text color on cream background */
}

/* Hero section with parallax image */
.hero-image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 60vh;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.post-title {
  position: relative;
  z-index: 2;
  color: #f7f0e9; /* Cream */
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  padding-top: 6rem;
  margin: 0;
}

/* Main post content */
.post-content {
  position: relative;
  z-index: 3;
  background-color: #f7f0e9; /* Cream */
  width: 75%;
  max-width: 800px;
  margin: -4rem auto 3rem auto;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Typography */
.post-content h2,
.post-content h3 {
  color: #1b1020;
  margin-top: 2rem;
}

.post-content p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
    padding-top: 4rem;
  }

  .post-content {
    width: 90%;
    margin-top: -3rem;
    padding: 1.5rem;
  }
}
