.page-choi-co-trach-niem {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text color for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for clarity, aligns with default body */
}

.page-choi-co-trach-niem__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-choi-co-trach-niem__hero-section {
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 40px;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column; /* Enforce top-image, bottom-text rule */
  align-items: center;
  text-align: center;
}

.page-choi-co-trach-niem__hero-image {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and content */
}

.page-choi-co-trach-niem__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-choi-co-trach-niem__hero-content {
  max-width: 900px;
  padding: 0 15px;
  order: 2; /* Content after image */
}

.page-choi-co-trach-niem__hero-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-choi-co-trach-niem__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-choi-co-trach-niem__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styles */
.page-choi-co-trach-niem__section {
  padding: 60px 0;
}

.page-choi-co-trach-niem__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 25px;
}

.page-choi-co-trach-niem__section-description {
  font-size: 1.05em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-choi-co-trach-niem__section-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-choi-co-trach-niem__list,
.page-choi-co-trach-niem__ordered-list {
  list-style-type: disc;
  margin: 0 auto 30px auto;
  padding-left: 25px;
  max-width: 900px;
  color: #333333;
}

.page-choi-co-trach-niem__ordered-list {
  list-style-type: decimal;
}

.page-choi-co-trach-niem__list li,
.page-choi-co-trach-niem__ordered-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-choi-co-trach-niem__image-wrapper {
  margin: 40px auto;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-choi-co-trach-niem__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dark Section Background */
.page-choi-co-trach-niem__dark-section {
  background-color: #017439;
  color: #FFFFFF;
}

.page-choi-co-trach-niem__dark-section .page-choi-co-trach-niem__section-title,
.page-choi-co-trach-niem__dark-section .page-choi-co-trach-niem__section-description,
.page-choi-co-trach-niem__dark-section .page-choi-co-trach-niem__section-text,
.page-choi-co-trach-niem__dark-section .page-choi-co-trach-niem__list li,
.page-choi-co-trach-niem__dark-section .page-choi-co-trach-niem__ordered-list li,
.page-choi-co-trach-niem__dark-section .page-choi-co-trach-niem__tool-title,
.page-choi-co-trach-niem__dark-section .page-choi-co-trach-niem__tool-text {
  color: #FFFFFF; /* Ensure white text on dark background */
}

/* Tools Section Grid */
.page-choi-co-trach-niem__grid-4-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-choi-co-trach-niem__tool-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-choi-co-trach-niem__tool-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-choi-co-trach-niem__tool-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Buttons */
.page-choi-co-trach-niem__btn-primary,
.page-choi-co-trach-niem__btn-secondary,
.page-choi-co-trach-niem a[class*="button"],
.page-choi-co-trach-niem a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-choi-co-trach-niem__btn-primary {
  background-color: #C30808; /* Red for primary action */
  color: #FFFF00; /* Yellow text for contrast */
  border: 2px solid #C30808;
}

.page-choi-co-trach-niem__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
  color: #FFFFFF;
}

.page-choi-co-trach-niem__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-choi-co-trach-niem__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

/* FAQ Section */
.page-choi-co-trach-niem__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-choi-co-trach-niem__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-choi-co-trach-niem__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker */
}

.page-choi-co-trach-niem__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-choi-co-trach-niem__faq-item[open] .page-choi-co-trach-niem__faq-question {
  background-color: #e6f7ed; /* Light green when open */
  color: #017439;
}

.page-choi-co-trach-niem__faq-question:hover {
  background-color: #f0f0f0;
}

.page-choi-co-trach-niem__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-choi-co-trach-niem__faq-item[open] .page-choi-co-trach-niem__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'X' or just change to '-' */
}

.page-choi-co-trach-niem__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
}

.page-choi-co-trach-niem__faq-answer p {
  margin: 0;
}

/* Contact Section */
.page-choi-co-trach-niem__contact-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-choi-co-trach-niem__contact-container {
  max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-choi-co-trach-niem__container,
  .page-choi-co-trach-niem__hero-content,
  .page-choi-co-trach-niem__image-wrapper,
  .page-choi-co-trach-niem__hero-cta,
  .page-choi-co-trach-niem__contact-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-choi-co-trach-niem__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
    flex-direction: column;
  }

  .page-choi-co-trach-niem__hero-image {
    margin-bottom: 20px;
  }

  .page-choi-co-trach-niem__hero-title {
    font-size: 2em;
  }

  .page-choi-co-trach-niem__hero-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-choi-co-trach-niem__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  /* General Sections */
  .page-choi-co-trach-niem__section {
    padding: 40px 0;
  }

  .page-choi-co-trach-niem__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-choi-co-trach-niem__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-choi-co-trach-niem__list,
  .page-choi-co-trach-niem__ordered-list {
    padding-left: 20px;
    font-size: 0.95em;
  }

  .page-choi-co-trach-niem__list li,
  .page-choi-co-trach-niem__ordered-list li {
    margin-bottom: 10px;
  }

  /* Images */
  .page-choi-co-trach-niem img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Tools Grid */
  .page-choi-co-trach-niem__grid-4-columns {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-choi-co-trach-niem__tool-item {
    padding: 20px;
  }

  .page-choi-co-trach-niem__tool-title {
    font-size: 1.2em;
  }

  /* Buttons */
  .page-choi-co-trach-niem__btn-primary,
  .page-choi-co-trach-niem__btn-secondary,
  .page-choi-co-trach-niem a[class*="button"],
  .page-choi-co-trach-niem 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 !important;
    padding-right: 15px !important;
    font-size: 0.95em !important;
  }

  /* FAQ */
  .page-choi-co-trach-niem__faq-list {
    margin-top: 30px;
  }

  .page-choi-co-trach-niem__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-choi-co-trach-niem__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* Contact Section */
  .page-choi-co-trach-niem__contact-section {
    padding-bottom: 60px;
  }
}