.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 40px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-blog__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

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

.page-blog__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 5px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-blog__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-blog__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-blog__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
}

.page-blog__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-blog__section-title {
  font-size: 2.2em;
  color: #017439;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-blog__section-title--white {
  color: #FFFFFF;
}

.page-blog__sub-title {
  font-size: 1.6em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #333333;
}

.page-blog__paragraph--white {
  color: #FFFFFF;
}

.page-blog__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__list-item {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-blog__faq-section {
  background-color: #017439;
  padding: 60px 20px;
  color: #FFFFFF;
}

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

.page-blog__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-blog__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #333333;
}

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #017439;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  content: '−';
}

.page-blog__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-blog__cta-section {
  background-color: #017439;
  padding: 60px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-blog__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 10px 15px 30px;
  }

  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog__hero-description {
    font-size: 1em;
  }

  .page-blog__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    margin: 5px 0;
  }
  
  .page-blog__cta-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__content-area {
    padding: 30px 15px;
  }

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

  .page-blog__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog__paragraph,
  .page-blog__list-item {
    font-size: 0.95em;
  }

  .page-blog__content-image,
  .page-blog__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__faq-section {
    padding: 40px 15px;
  }

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

  .page-blog__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }

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

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__video-section {
    padding-top: 10px !important; /* body đã đảm nhiệm --header-offset */
  }

  .page-blog__cta-buttons,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-blog__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}