.page-huong-dan-nap-rut-tien {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--secondary-color); /* Matches body background */
}

.page-huong-dan-nap-rut-tien__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-huong-dan-nap-rut-tien__hero-section {
  padding-top: 10px; /* Small top padding for hero, relies on body padding-top */
  background-color: #017439;
  color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-huong-dan-nap-rut-tien__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-huong-dan-nap-rut-tien__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-huong-dan-nap-rut-tien__hero-content {
  position: relative;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up slightly over the image */
  z-index: 1;
}

.page-huong-dan-nap-rut-tien__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-huong-dan-nap-rut-tien__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-huong-dan-nap-rut-tien__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-huong-dan-nap-rut-tien__btn-primary,
.page-huong-dan-nap-rut-tien__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-nap-rut-tien__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-huong-dan-nap-rut-tien__btn-primary:hover {
  background-color: #ff3333;
  border-color: #ff3333;
}

.page-huong-dan-nap-rut-tien__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-huong-dan-nap-rut-tien__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-huong-dan-nap-rut-tien__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-huong-dan-nap-rut-tien__section:last-of-type {
  border-bottom: none;
}

.page-huong-dan-nap-rut-tien__intro-section {
  background-color: #f8f8f8;
  color: #333333;
}

.page-huong-dan-nap-rut-tien__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #017439;
  margin-bottom: 40px;
  text-align: center;
}

.page-huong-dan-nap-rut-tien__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-huong-dan-nap-rut-tien__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333333;
}

.page-huong-dan-nap-rut-tien__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-huong-dan-nap-rut-tien__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-huong-dan-nap-rut-tien__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-huong-dan-nap-rut-tien__image-block {
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
}

.page-huong-dan-nap-rut-tien__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.page-huong-dan-nap-rut-tien__image-caption {
  font-size: 0.95rem;
  color: #666666;
  margin-top: 10px;
}

.page-huong-dan-nap-rut-tien__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-huong-dan-nap-rut-tien__dark-section .page-huong-dan-nap-rut-tien__section-title,
.page-huong-dan-nap-rut-tien__dark-section .page-huong-dan-nap-rut-tien__sub-title {
  color: #ffffff;
}

.page-huong-dan-nap-rut-tien__dark-section .page-huong-dan-nap-rut-tien__text-block,
.page-huong-dan-nap-rut-tien__dark-section .page-huong-dan-nap-rut-tien__list,
.page-huong-dan-nap-rut-tien__dark-section .page-huong-dan-nap-rut-tien__ordered-list,
.page-huong-dan-nap-rut-tien__dark-section .page-huong-dan-nap-rut-tien__list-item {
  color: #f0f0f0;
}

.page-huong-dan-nap-rut-tien__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-huong-dan-nap-rut-tien__safety-tips-section {
  background-color: #f8f8f8;
}

.page-huong-dan-nap-rut-tien__conclusion-section {
  text-align: center;
  background-color: #017439;
  color: #ffffff;
}

.page-huong-dan-nap-rut-tien__conclusion-section .page-huong-dan-nap-rut-tien__section-title {
  color: #ffffff;
}

.page-huong-dan-nap-rut-tien__conclusion-section .page-huong-dan-nap-rut-tien__text-block {
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-nap-rut-tien__hero-content {
    margin-top: -100px;
  }
  .page-huong-dan-nap-rut-tien__section-title {
    font-size: 2.2rem;
  }
  .page-huong-dan-nap-rut-tien__sub-title {
    font-size: 1.6rem;
  }
  .page-huong-dan-nap-rut-tien__text-block,
  .page-huong-dan-nap-rut-tien__list-item {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-huong-dan-nap-rut-tien__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-nap-rut-tien__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
  }

  .page-huong-dan-nap-rut-tien__hero-content {
    margin-top: -80px; /* Adjust for smaller screens */
    padding: 30px 15px;
  }

  .page-huong-dan-nap-rut-tien__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust clamp for mobile */
  }

  .page-huong-dan-nap-rut-tien__hero-description {
    font-size: 1rem;
  }

  .page-huong-dan-nap-rut-tien__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-huong-dan-nap-rut-tien__btn-primary,
  .page-huong-dan-nap-rut-tien__btn-secondary,
  .page-huho-dan-nap-rut-tien a[class*="button"],
  .page-huong-dan-nap-rut-tien a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-huong-dan-nap-rut-tien__section {
    padding: 40px 0;
  }

  .page-huong-dan-nap-rut-tien__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-huong-dan-nap-rut-tien__sub-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-huong-dan-nap-rut-tien__text-block,
  .page-huong-dan-nap-rut-tien__list-item {
    font-size: 1rem;
  }

  .page-huong-dan-nap-rut-tien img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-huong-dan-nap-rut-tien__image-block,
  .page-huong-dan-nap-rut-tien__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-huong-dan-nap-rut-tien__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 549px) {
  .page-huong-dan-nap-rut-tien__hero-content {
    margin-top: -60px;
  }
  .page-huong-dan-nap-rut-tien__hero-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .page-huong-dan-nap-rut-tien__section-title {
    font-size: 1.8rem;
  }
  .page-huong-dan-nap-rut-tien__sub-title {
    font-size: 1.2rem;
  }
  .page-huong-dan-nap-rut-tien__hero-buttons {
    gap: 10px;
  }
}