.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: var(--background, #08160F); /* Fallback to Deep Green if --background not set */
}

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

.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #F2FFF6; /* Text Main */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: 80px;
}

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

.page-blog__hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-blog__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
}

.page-blog__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-blog__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__text-block strong {
  color: #F2FFF6; /* Text Main */
}

.page-blog__introduction-section,
.page-blog__why-choose-us-section,
.page-blog__conclusion-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  color: #F2FFF6;
}

.page-blog__categories-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-blog__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-blog__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  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__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog__category-title,
.page-blog__post-title,
.page-blog__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-blog__category-title a,
.page-blog__post-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
}

.page-blog__category-title a:hover,
.page-blog__post-title a:hover {
  color: #2AD16F; /* Lighter green from button gradient */
}

.page-blog__category-text,
.page-blog__feature-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__featured-posts-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

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

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

.page-blog__post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog__post-content {
  flex-grow: 1;
}

.page-blog__post-meta {
  font-size: 0.9rem;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
}

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

.page-blog__read-more {
  color: #2AD16F; /* Lighter green from button gradient */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

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

.page-blog__view-all-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-blog__view-all-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-blog__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-blog__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-blog__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-blog__faq-item summary:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-blog__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-blog__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 20px;
  color: #57E38D; /* Glow */
}

.page-blog__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__faq-answer p {
  margin-top: 10px;
}

.page-blog__faq-answer a {
  color: #2AD16F; /* Lighter green from button gradient */
  text-decoration: none;
}

.page-blog__faq-answer a:hover {
  text-decoration: underline;
}

.page-blog__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    padding-top: 60px;
  }
  .page-blog__main-title {
    font-size: 2.8rem;
  }
  .page-blog__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-content {
    padding-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__main-title {
    font-size: 2.2rem;
  }
  .page-blog__hero-description {
    font-size: 1rem;
  }
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-blog__section-title {
    font-size: 2rem;
  }
  .page-blog__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-blog__introduction-section,
  .page-blog__categories-section,
  .page-blog__featured-posts-section,
  .page-blog__why-choose-us-section,
  .page-blog__faq-section,
  .page-blog__conclusion-section {
    padding: 50px 0;
  }
  .page-blog__container {
    padding: 0 15px;
  }
  .page-blog__category-grid,
  .page-blog__post-grid,
  .page-blog__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog__card {
    padding: 25px;
  }
  .page-blog__post-image {
    height: 180px;
  }
  .page-blog__faq-item summary {
    padding: 18px 20px;
    font-size: 1.05rem;
  }
  .page-blog__faq-answer {
    padding: 0 20px 18px;
  }

  /* Mobile responsive images */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-section,
  .page-blog__introduction-section,
  .page-blog__categories-section,
  .page-blog__featured-posts-section,
  .page-blog__why-choose-us-section,
  .page-blog__faq-section,
  .page-blog__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__hero-section {
    padding-top: 10px !important;
  }

  /* Mobile responsive buttons */
  .page-blog__cta-button,
  .page-blog__view-all-button,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__cta-wrapper,
  .page-blog__view-all-wrapper {
    display: flex;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__cta-wrapper .page-blog__cta-button,
  .page-blog__view-all-wrapper .page-blog__view-all-button {
    flex-grow: 1;
  }
}