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

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

.page-blog__dark-section {
  background-color: #08160F; /* Background */
  padding: 60px 0;
}

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

.page-blog__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

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

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

.page-blog__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-blog__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 10px 0 60px 0; /* body already handles top padding */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

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

.page-blog__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  padding: 0 20px;
}

.page-blog__main-title {
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 100%;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-blog__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Articles */
.page-blog__featured-articles .page-blog__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-blog__article-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__article-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #57E38D; /* Glow */
}

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

.page-blog__article-excerpt {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Recent Posts */
.page-blog__recent-posts .page-blog__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-blog__articles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-blog__list-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px;
}

.page-blog__list-image {
  width: 200px;
  min-width: 200px;
  height: 112px; /* Fixed aspect ratio for list items */
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.page-blog__list-title {
  font-size: 1.25em;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-blog__list-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__list-title a:hover {
  color: #57E38D; /* Glow */
}

.page-blog__list-meta {
  font-size: 0.85em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
}

.page-blog__list-excerpt {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

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

/* FAQ Section */
.page-blog__faq-section .page-blog__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-blog__faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-blog__faq-item {
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  padding-right: 15px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-blog__faq-question::marker {
  display: none;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

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

/* CTA Section */
.page-blog__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-blog__cta-content {
  max-width: 800px;
}

.page-blog__cta-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__list-item {
    flex-direction: column;
    text-align: center;
  }
  .page-blog__list-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    margin-bottom: 15px;
  }
  .page-blog__list-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__hero-section,
  .page-blog__featured-articles,
  .page-blog__recent-posts,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding: 40px 0 !important;
  }
  .page-blog__hero-section {
    padding-top: 10px !important; /* body already handles top padding */
  }

  .page-blog__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

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

  .page-blog__article-title {
    font-size: 1.2em;
  }

  .page-blog__list-item {
    padding: 15px;
  }

  .page-blog__list-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  .page-blog__list-title {
    font-size: 1.1em;
  }

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

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 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;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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-image-wrapper,
  .page-blog__article-card,
  .page-blog__list-item,
  .page-blog__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}