/* Base styles for the page */
.page-blog-huong-dan-choi-no-hu-an-tien {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

/* HERO Section */
.page-blog-huong-dan-choi-no-hu-an-tien__hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}

.page-blog-huong-dan-choi-no-hu-an-tien__hero-image {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-huong-dan-choi-no-hu-an-tien__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-blog-huong-dan-choi-no-hu-an-tien__hero-content {
  width: 100%;
  max-width: 800px;
}

.page-blog-huong-dan-choi-no-hu-an-tien__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-huong-dan-choi-no-hu-an-tien__intro-text {
  font-size: 1.15rem;
  color: #555555;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-blog-huong-dan-choi-no-hu-an-tien__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-huong-dan-choi-no-hu-an-tien__btn-primary,
.page-blog-huong-dan-choi-no-hu-an-tien__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-choi-no-hu-an-tien__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-blog-huong-dan-choi-no-hu-an-tien__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-blog-huong-dan-choi-no-hu-an-tien__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-blog-huong-dan-choi-no-hu-an-tien__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-blog-huong-dan-choi-no-hu-an-tien__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 30px;
}

/* Content Area */
.page-blog-huong-dan-choi-no-hu-an-tien__content-area {
  padding: 40px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-blog-huong-dan-choi-no-hu-an-tien__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-blog-huong-dan-choi-no-hu-an-tien__dark-bg h2,
.page-blog-huong-dan-choi-no-hu-an-tien__dark-bg h3 {
  color: #ffffff;
}

.page-blog-huong-dan-choi-no-hu-an-tien__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-blog-huong-dan-choi-no-hu-an-tien__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  color: #017439;
}

.page-blog-huong-dan-choi-no-hu-an-tien__dark-bg .page-blog-huong-dan-choi-no-hu-an-tien__section-title {
  color: #ffffff;
}

.page-blog-huong-dan-choi-no-hu-an-tien__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-blog-huong-dan-choi-no-hu-an-tien__dark-bg .page-blog-huong-dan-choi-no-hu-an-tien__sub-title {
  color: #ffffff;
}

.page-blog-huong-dan-choi-no-hu-an-tien p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-blog-huong-dan-choi-no-hu-an-tien__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Comparison Table */
.page-blog-huong-dan-choi-no-hu-an-tien__comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.page-blog-huong-dan-choi-no-hu-an-tien__comparison-table th,
.page-blog-huong-dan-choi-no-hu-an-tien__comparison-table td {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  text-align: left;
  font-size: 0.95rem;
}

.page-blog-huong-dan-choi-no-hu-an-tien__comparison-table th {
  background-color: #017439;
  color: #ffffff;
  font-weight: 600;
}

.page-blog-huong-dan-choi-no-hu-an-tien__comparison-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* FAQ Section */
.page-blog-huong-dan-choi-no-hu-an-tien__faq-list {
  margin-top: 30px;
}

.page-blog-huong-dan-choi-no-hu-an-tien__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-blog-huong-dan-choi-no-hu-an-tien__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #017439;
  cursor: pointer;
  list-style: none; /* Remove default marker */
}

.page-blog-huong-dan-choi-no-hu-an-tien__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-huong-dan-choi-no-hu-an-tien__faq-qtext {
  flex-grow: 1;
}

.page-blog-huong-dan-choi-no-hu-an-tien__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-choi-no-hu-an-tien__faq-item[open] .page-blog-huong-dan-choi-no-hu-an-tien__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-huong-dan-choi-no-hu-an-tien__faq-answer {
  padding: 0 20px 15px;
  font-size: 1rem;
  color: #555555;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-blog-huong-dan-choi-no-hu-an-tien {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__hero-section {
    padding-top: 10px; /* Ensure small top padding for mobile */
    gap: 15px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem); /* Smaller H1 for mobile */
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__btn-primary,
  .page-blog-huong-dan-choi-no-hu-an-tien__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__content-area {
    padding: 30px 0;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__container {
    padding: 0 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__sub-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien p {
    font-size: 0.95rem;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__comparison-table {
    display: block;
    overflow-x: auto; /* Enable horizontal scroll for tables */
    white-space: nowrap; /* Prevent content from wrapping */
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__comparison-table thead,
  .page-blog-huong-dan-choi-no-hu-an-tien__comparison-table tbody,
  .page-blog-huong-dan-choi-no-hu-an-tien__comparison-table tr,
  .page-blog-huong-dan-choi-no-hu-an-tien__comparison-table th,
  .page-blog-huong-dan-choi-no-hu-an-tien__comparison-table td {
    white-space: normal; /* Reset for table content */
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__comparison-table td {
    white-space: normal; /* Allow cell content to wrap */
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-blog-huong-dan-choi-no-hu-an-tien__faq-answer {
    padding: 0 15px 12px;
    font-size: 0.9rem;
  }
}