.blog-hero-container {
  margin-top: 60px;
  background-image: url("../images/hero_bg.png");
  height: 300px;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-hero-container h1 {
  text-align: center;
  color: white;
  font-family: "Open Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #ffffff;
}

.cards-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.blog-cards-section {
  background: #e2e4d7;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.blog-card-container {
  background-color: #e2e4d7;
  padding-bottom: 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 14px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
}

.blog-btn {
  width: fit-content;
  padding: 8px 18px;
  background-color: #3f5f4b;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  transition: background 0.3s ease;
  width: 100%;
  text-align: center;
}

.blog-btn:hover {
  background-color: #2f4a3a;
}

.post {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.post-card {
  max-width: 1100px;
  width: 100%;
  overflow: hidden;
}

.post-image {
  width: 100%;
  height: 450px;
  display: block;
}

.post-content {
  padding: 20px 0px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.7;
}

.post-content h4 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
}

.post-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
}

.post-title {
  font-family: "Open Sans", sans-serif;
  padding: 1rem;
  font-size: 3rem;
  padding-block: 2rem;
}

.post-title-container {
  margin-top: 5rem;
  padding-inline: 15rem;
  line-height: 3.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Hide menu on mobile by default */
@media (max-width: 768px) {
  .blog-cards-section {
    background: #e2e4d7;
    padding: 15px;
  }

  .post-title {
    text-align: center;
    font-size: 28px;
    padding: 1px;
  }

  .post-title-container {
    margin-top: 5rem;
    padding-inline: 1px;
    line-height: 3.5rem;
  }

  .post-image {
    width: 100%;
    height: 250px;
    display: block;
  }

  .post-content h4 {
    font-size: 16px;
  }

  .post-content p {
    font-size: 12px;
  }
}
