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

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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-blog__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image for visual flow */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 1) 50%);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.page-blog__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

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

.page-blog__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-blog__introduction-section,
.page-blog__featured-topics-section,
.page-blog__why-follow-section,
.page-blog__latest-posts-section,
.page-blog__faq-section,
.page-blog__call-to-action-section {
  padding: 60px 0;
}

.page-blog__text-block {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-blog__card-image,
.page-blog__post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog__topic-card .page-blog__card-title,
.page-blog__post-card .page-blog__post-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

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

.page-blog__topic-card .page-blog__card-title a:hover,
.page-blog__post-card .page-blog__post-title a:hover {
  color: #22C768; /* Auxiliary Color */
}

.page-blog__card-text,
.page-blog__post-excerpt {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px 15px 20px;
  flex-grow: 1;
}

.page-blog__card-list {
  list-style: none;
  padding: 0 20px 15px 40px;
  margin: 0;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog__card-list li {
  margin-bottom: 8px;
  position: relative;
}

.page-blog__card-list li::before {
  content: '•';
  color: #22C768; /* Auxiliary Color */
  position: absolute;
  left: -20px;
  font-weight: bold;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  margin: 0 10px 20px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-blog__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button Color (lighter green for text) */
  border: 2px solid #2AD16F; /* Button Color */
}

.page-blog__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

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

.page-blog__reason-card {
  background: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
}

.page-blog__reason-card .page-blog__card-title {
  font-size: 1.8em;
  margin-top: 0;
  color: #F2FFF6; /* Text Main */
}

.page-blog__reason-card .page-blog__card-text {
  text-align: center;
  padding: 0;
  color: #A7D9B8; /* Text Secondary */
}

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

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

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

.page-blog__read-more {
  color: #2AD16F; /* Button Color */
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  align-self: flex-start;
  transition: color 0.3s ease;
}

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

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

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

.page-blog__faq-item {
  background: #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 {
  list-style: none;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #F2FFF6; /* Text Main */
  position: relative;
}

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #2AD16F; /* Button Color */
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-blog__call-to-action-section {
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
  padding: 80px 0;
}

.page-blog__call-to-action-section .page-blog__section-title {
  color: #F2FFF6; /* Text Main */
}

.page-blog__call-to-action-section .page-blog__text-block {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Ensure all images are responsive */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all buttons are responsive */
.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog a[class*="button"],
.page-blog a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog__hero-content {
    margin-top: -50px;
    padding: 20px 15px;
  }

  .page-blog__main-title {
    font-size: 2em;
  }

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

  .page-blog__introduction-section,
  .page-blog__featured-topics-section,
  .page-blog__why-follow-section,
  .page-blog__latest-posts-section,
  .page-blog__faq-section,
  .page-blog__call-to-action-section {
    padding: 40px 0;
  }

  .page-blog__container {
    padding: 0 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .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: 10px 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__hero-section .page-blog__btn-primary {
    margin-left: 0;
    margin-right: 0;
  }

  .page-blog__call-to-action-section .page-blog__btn-primary,
  .page-blog__call-to-action-section .page-blog__btn-secondary {
    margin-left: 0;
    margin-right: 0;
  }

  .page-blog__topic-card .page-blog__btn-secondary {
    margin-left: 20px;
    margin-right: 20px;
  }

  .page-blog__view-all-button-container .page-blog__btn-primary {
    margin-left: 0;
    margin-right: 0;
  }

  .page-blog__grid,
  .page-blog__reason-grid,
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image specific rules */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog__hero-section,
  .page-blog__introduction-section,
  .page-blog__featured-topics-section,
  .page-blog__why-follow-section,
  .page-blog__latest-posts-section,
  .page-blog__faq-section,
  .page-blog__call-to-action-section,
  .page-blog__container,
  .page-blog__topic-card,
  .page-blog__post-card,
  .page-blog__reason-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog__topic-card,
  .page-blog__post-card,
  .page-blog__reason-card {
    margin-left: 15px;
    margin-right: 15px;
  }

  .page-blog__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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