.page-blog {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding for first section */
  padding-bottom: 40px;
  background-color: #08160F;
  position: relative;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-blog__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1920/600;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-blog__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-blog__main-title {
  color: #F2FFF6;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
  /* Using clamp for responsive font size, no fixed large value */
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.page-blog__hero-description {
  color: #A7D9B8;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.page-blog__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-blog__posts-section {
  padding: 50px 0;
  background-color: #08160F;
}

.page-blog__section-title {
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: bold;
}

.page-blog__posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__post-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-blog__post-card img {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-blog__post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-blog__post-date {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.page-blog__post-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__post-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-title a:hover {
  color: #2AD16F; /* Button hover color for links */
}

.page-blog__post-excerpt {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  display: inline-block;
  padding: 8px 15px;
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  background: #1E3A2A; /* Divider color for hover */
}

.page-blog__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-blog__view-all-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.page-blog__view-all-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-blog__hero-content {
    padding: 0 15px;
  }

  .page-blog__main-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .page-blog__hero-description {
    font-size: 1rem;
  }

  .page-blog__posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-blog__post-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-blog__container {
    padding: 15px;
  }
  .page-blog__hero-image-wrapper img,
  .page-blog__post-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 549px) {
  .page-blog__main-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .page-blog__hero-description {
    font-size: 0.95rem;
  }

  .page-blog__posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__post-card img {
    height: auto; /* Allow auto height for single column layout */
    aspect-ratio: 16/9;
  }

  .page-blog__post-title {
    font-size: 1.2rem;
  }

  .page-blog__post-excerpt {
    font-size: 0.9rem;
  }

  .page-blog__read-more {
    font-size: 0.85rem;
  }

  .page-blog__section-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

  .page-blog__cta-button, .page-blog__view-all-button {
    width: 100%;
    max-width: 280px; /* Constrain width on small screens */
    margin: 0 auto;
  }
}

/* Ensure no image filter */
.page-blog img {
  filter: none;
}