.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #08160F; /* Nền chính */
  color: #F2FFF6; /* Màu chữ chính */
}

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

.page-blog__section-spacing {
  padding: 60px 0;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__section-description {
  font-size: 1.1em;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body đã có padding-top, đây chỉ là khoảng cách nhỏ */
  background-color: #08160F;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

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

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__lead-text {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

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

.page-blog__cta-button--secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-blog__cta-button--secondary:hover {
  background: #2AD16F;
  color: #ffffff;
}

.page-blog__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-blog__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Latest Posts Section */
.page-blog__latest-posts {
  background-color: #0A4B2C;
}

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

.page-blog__post-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-blog__post-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-blog__post-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog__post-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__post-title a {
  color: #F2FFF6;
  text-decoration: none;
}

.page-blog__post-title a:hover {
  color: #2AD16F;
}

.page-blog__post-excerpt {
  font-size: 0.95em;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__post-excerpt a {
  color: #2AD16F;
  text-decoration: none;
}

.page-blog__post-excerpt a:hover {
  text-decoration: underline;
}

.page-blog__post-date {
  font-size: 0.85em;
  color: #A7D9B8;
  display: block;
}

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

/* Categories Section */
.page-blog__categories-section {
  background-color: #08160F; /* Deep Green */
}

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

.page-blog__category-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  background-color: #1A382A; /* Slightly lighter on hover */
}

.page-blog__category-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-blog__category-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-blog__category-text {
  font-size: 0.95em;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-blog__category-text a {
  color: #2AD16F;
  text-decoration: none;
}

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

/* Benefits Section */
.page-blog__benefits-section {
  background-color: #0A4B2C;
}

.page-blog__benefits-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-blog__benefits-content {
  flex: 1;
}

.page-blog__benefit-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-blog__benefit-item {
  font-size: 1.1em;
  color: #F2FFF6;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-blog__benefit-item::before {
  content: '✔';
  color: #57E38D; /* Glow color */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-blog__benefit-item a {
  color: #2AD16F;
  text-decoration: none;
}

.page-blog__benefit-item a:hover {
  text-decoration: underline;
}

.page-blog__benefits-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-blog__benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-blog__faq-section {
  background-color: #08160F; /* Deep Green */
}

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

.page-blog__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-blog__faq-question:hover {
  background-color: #1A382A;
}

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

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

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

.page-blog__faq-answer a {
  color: #2AD16F;
  text-decoration: none;
}

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

/* Call to Action Bottom Section */
.page-blog__cta-bottom {
  background-color: #0A4B2C;
  text-align: center;
}

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

/* General link styling */
.page-blog a {
  color: #2AD16F;
  text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-blog__benefits-layout {
    flex-direction: column;
  }

  .page-blog__benefits-image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-blog__section-spacing {
    padding: 40px 0;
  }

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

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

  .page-blog__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-blog__lead-text {
    font-size: 1em;
  }

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

  .page-blog__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog__post-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__category-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__benefits-layout {
    flex-direction: column;
  }

  .page-blog__benefits-image-wrapper {
    margin-top: 30px;
  }

  .page-blog__benefit-item {
    font-size: 1em;
    padding-left: 25px;
  }

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

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

  /* Mobile image, video, button responsive rules */
  .page-blog img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog video {
    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__hero-content,
  .page-blog__cta-group,
  .page-blog__post-card,
  .page-blog__category-card,
  .page-blog__benefits-layout,
  .page-blog__benefits-content,
  .page-blog__benefits-image-wrapper,
  .page-blog__faq-section,
  .page-blog__cta-bottom,
  .page-blog__cta-bottom-content,
  .page-blog__video-container,
  .page-blog__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-blog__hero-section {
    padding-top: 10px !important;
  }
}