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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom padding */
  background-color: #08160F; /* Ensure background matches page */
  overflow: hidden; /* To contain image */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width of hero image */
  margin-bottom: 30px; /* Space between image and content */
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-blog__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-blog__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none; /* Ensure no default button border */
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #22C768; /* Auxiliary color */
  border-radius: 2px;
}

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

.page-blog__text {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog__introduction-section,
.page-blog__categories-section,
.page-blog__featured-articles-section,
.page-blog__guides-tips-section,
.page-blog__news-events-section,
.page-blog__why-choose-section,
.page-blog__faq-section,
.page-blog__cta-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-blog__categories-section,
.page-blog__featured-articles-section,
.page-blog__guides-tips-section,
.page-blog__news-events-section {
  background-color: #0A4B2C; /* Deep Green for alternating sections */
}

.page-blog__category-grid,
.page-blog__article-list,
.page-blog__guides-grid,
.page-blog__news-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-blog__article-list,
.page-blog__news-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-blog__guides-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-blog__category-card,
.page-blog__article-card,
.page-blog__guide-item,
.page-blog__news-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__category-card:hover,
.page-blog__article-card:hover,
.page-blog__guide-item:hover,
.page-blog__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

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

.page-blog__category-card h3,
.page-blog__article-card h3,
.page-blog__guide-item h3,
.page-blog__news-card h3 {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  padding: 15px 20px 10px;
  margin: 0;
}

.page-blog__category-card p,
.page-blog__article-card p,
.page-blog__guide-item p,
.page-blog__news-card p {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-blog__article-meta,
.page-blog__news-meta {
  font-size: 0.85em;
  color: #57E38D; /* Glow */
  padding: 0 20px;
  margin-bottom: 10px;
}

.page-blog__btn-secondary,
.page-blog__btn-link {
  display: inline-block;
  padding: 10px 20px;
  margin: 15px 20px 20px;
  background-color: transparent;
  color: #57E38D; /* Glow */
  text-decoration: none;
  border: 2px solid #57E38D; /* Glow */
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  align-self: flex-start; /* Align to start for consistent button position */
}

.page-blog__btn-secondary:hover,
.page-blog__btn-link:hover {
  background-color: #57E38D; /* Glow */
  color: #08160F; /* Background */
  border-color: #57E38D;
}

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

.page-blog__why-choose-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog__why-choose-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-blog__why-choose-heading {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-blog__why-choose-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__faq-list {
  margin-top: 40px;
}

.page-blog__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-blog__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green for open FAQ */
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  transition: color 0.3s ease;
  list-style: none; /* Remove default marker for details */
}

.page-blog__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-blog__faq-qtext {
  flex-grow: 1;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-blog__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

.page-blog__faq-answer p {
  margin: 0;
  padding: 0;
}

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

.page-blog__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    padding: 0 40px;
  }
  .page-blog__category-grid,
  .page-blog__article-list,
  .page-blog__guides-grid,
  .page-blog__news-grid,
  .page-blog__why-choose-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 10px 15px 40px;
  }
  .page-blog__hero-content {
    padding: 0 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-blog__description {
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }
  .page-blog__container {
    padding: 30px 15px;
  }
  .page-blog__text {
    font-size: 0.95em;
  }

  /* Images responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog__category-image,
  .page-blog__article-image,
  .page-blog__guide-image,
  .page-blog__news-image {
    height: 180px; /* Adjust height for mobile */
  }

  /* Containers responsiveness */
  .page-blog__introduction-section,
  .page-blog__categories-section,
  .page-blog__featured-articles-section,
  .page-blog__guides-tips-section,
  .page-blog__news-events-section,
  .page-blog__why-choose-section,
  .page-blog__faq-section,
  .page-blog__cta-section,
  .page-blog__container,
  .page-blog__category-grid,
  .page-blog__article-list,
  .page-blog__guides-grid,
  .page-blog__news-grid,
  .page-blog__why-choose-list,
  .page-blog__faq-list,
  .page-blog__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsiveness */
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__btn-link,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-blog__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-blog__category-grid,
  .page-blog__article-list,
  .page-blog__guides-grid,
  .page-blog__news-grid,
  .page-blog__why-choose-list {
    grid-template-columns: 1fr; /* Single column layout */
  }

  .page-blog__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-blog__faq-answer {
    padding: 0 15px 15px;
  }
}

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

/* Ensure content area images are not too small */
.page-blog__category-image,
.page-blog__article-image,
.page-blog__guide-image,
.page-blog__news-image {
  min-width: 200px;
  min-height: 200px;
}