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

.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 as per rule */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog__hero-content {
  padding: 20px;
  max-width: 800px;
  margin-top: 20px;
}

.page-blog__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  /* No fixed font-size, rely on clamp if needed, otherwise default browser sizing */
}

.page-blog__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-blog__latest-articles-section,
.page-blog__explore-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-blog__section-title {
  font-size: 2.2em;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-blog__article-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-blog__article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-blog__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__article-content {
  padding: 20px;
}

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

.page-blog__article-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-excerpt {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
  margin-bottom: 15px;
}

.page-blog__read-more {
  color: #2AD16F; /* A brighter green from the button gradient start */
  font-weight: bold;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-blog__article-link:hover .page-blog__read-more {
  color: #57E38D; /* Glow */
}

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

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

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

.page-blog__explore-description {
  text-align: center;
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog__explore-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.page-blog__explore-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 25px;
  border: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-blog__explore-link:hover {
  background-color: #0A4B2C; /* Deep Green */
  border-color: #57E38D; /* Glow */
}

.page-blog__cta-wrapper {
  text-align: center;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog__main-title {
    font-size: 2em; /* Example adjustment, still not fixed large */
  }

  .page-blog__section-title {
    font-size: 1.8em;
  }

  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__hero-image {
    max-height: 400px; /* Adjust hero image height for smaller screens */
  }

  /* Critical: Mobile content area image overflow fix */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }

  .page-blog__article-image {
    height: auto; /* Allow height to adjust for aspect ratio */
  }

  .page-blog__explore-links {
    flex-direction: column;
    align-items: center;
  }

  .page-blog__cta-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: 1.7em;
  }

  .page-blog__section-title {
    font-size: 1.5em;
  }

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

  .page-blog__explore-link {
    width: 100%;
    max-width: 200px;
  }
}