.page-blog {
  background-color: #08160F; /* Background from palette */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Example font */
  line-height: 1.6;
}

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden; /* Ensure no overflow issues */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px; /* Example style */
}

.page-blog__hero-content {
  max-width: 800px;
  padding: 0 20px;
  color: #F2FFF6;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow color from palette */
}

.page-blog__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  background: transparent;
  color: #11A84E;
  border: 2px solid #11A84E;
  box-shadow: 0 0 10px rgba(17, 168, 78, 0.3);
}

.page-blog__btn-secondary:hover {
  background: #11A84E;
  color: #F2FFF6;
}

/* General Section Styles */
.page-blog__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-blog__section:last-of-type {
  border-bottom: none;
}

.page-blog__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-blog__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #A7D9B8;
}

.page-blog__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #22C768; /* Secondary color for sub-titles */
}

.page-blog__text-block p,
.page-blog__card-text,
.page-blog__feature-item p,
.page-blog__faq-answer p {
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
}

.page-blog__text-block a,
.page-blog__card-title a,
.page-blog__faq-answer a {
  color: #2AD16F; /* Link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__text-block a:hover,
.page-blog__card-title a:hover,
.page-blog__faq-answer a:hover {
  color: #57E38D; /* Glow color for hover */
  text-decoration: underline;
}

/* About Section */
.page-blog__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-blog__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-blog__text-block {
  flex: 1;
}

.page-blog__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Featured Topics Cards */
.page-blog__topic-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog__card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #F2FFF6;
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.4);
}

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

.page-blog__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 20px 20px 10px 20px;
  color: #22C768;
}

.page-blog__card-title a {
  color: inherit; /* Inherit from parent */
  text-decoration: none;
}

.page-blog__card-title a:hover {
  color: #57E38D;
  text-decoration: underline;
}

.page-blog__card-text {
  padding: 0 20px 20px 20px;
  font-size: 0.95rem;
  flex-grow: 1;
  color: #A7D9B8;
}

/* Feature List */
.page-blog__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

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

.page-blog__feature-item:hover {
  transform: translateY(-5px);
}

.page-blog__feature-icon {
  width: 100px; /* Display size, but generated image is 400x400 */
  height: 100px;
  margin: 0 auto 20px auto;
  object-fit: contain;
}

.page-blog__feature-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #22C768;
}

/* FAQ Section */
.page-blog__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green for question background */
  color: #F2FFF6;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-blog__faq-question:hover {
  background-color: #11A84E; /* Primary color on hover */
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Glow color for toggle */
}

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

.page-blog__faq-item[open] .page-blog__faq-question {
  background-color: #11A84E; /* Primary color when open */
}

/* Call to Action Section */
.page-blog__call-to-action {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-blog__content-grid {
    flex-direction: column;
    align-items: center;
  }

  .page-blog__content-grid--reverse {
    flex-direction: column;
  }

  .page-blog__image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-blog__container {
    padding: 0 15px;
  }

  .page-blog__hero-section,
  .page-blog__section {
    padding: 40px 0;
  }

  .page-blog__hero-content {
    padding: 0 15px;
  }

  .page-blog__main-title {
    font-size: 2.2rem;
  }

  .page-blog__intro-text,
  .page-blog__section-description {
    font-size: 1rem;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important; /* Important for full width */
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-blog__topic-cards,
  .page-blog__feature-list {
    grid-template-columns: 1fr;
  }

  .page-blog__card-image {
    height: 180px;
  }

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

  .page-blog__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-blog__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-blog__faq-toggle {
    font-size: 1.2rem;
  }

  .page-blog p,
  .page-blog li,
  .page-blog__faq-answer p {
    font-size: 0.95rem;
  }

  /* Image responsive rules */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__hero-image-wrapper,
  .page-blog__image-wrapper,
  .page-blog__card,
  .page-blog__feature-item,
  .page-blog__cta-buttons,
  .page-blog__button-group,
  .page-blog__btn-container,
  .page-blog__section,
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific for hero-section to avoid double padding */
  .page-blog__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}