/* style/huong-dan-nap-rut.css */
.page-huong-dan-nap-rut {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding to account for fixed header */
}

.page-huong-dan-nap-rut__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
}

.page-huong-dan-nap-rut__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-huong-dan-nap-rut__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-huong-dan-nap-rut__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-top: -80px; /* Overlap slightly for visual flow */
  position: relative;
  z-index: 1;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency for content box */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-huong-dan-nap-rut__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}

.page-huong-dan-nap-rut__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-huong-dan-nap-rut__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-huong-dan-nap-rut__cta-buttons--center {
  margin-top: 40px;
}

.page-huong-dan-nap-rut__btn-primary,
.page-huong-dan-nap-rut__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-nap-rut__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: 2px solid transparent;
}

.page-huong-dan-nap-rut__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-huong-dan-nap-rut__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-huong-dan-nap-rut__btn-secondary:hover {
  background: #222222;
  color: #FFD86A;
  transform: translateY(-2px);
}

.page-huong-dan-nap-rut__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-huong-dan-nap-rut__dark-section {
  background-color: #111111; /* Card BG */
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-huong-dan-nap-rut__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Main color */
  margin-bottom: 30px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-huong-dan-nap-rut__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD36B; /* Glow */
  border-radius: 2px;
}

.page-huong-dan-nap-rut__text-block {
  font-size: 1.05rem;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-huong-dan-nap-rut__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-huong-dan-nap-rut__method-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-nap-rut__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 calc(33% - 40px);
  max-width: calc(33% - 40px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-huong-dan-nap-rut__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-huong-dan-nap-rut__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-huong-dan-nap-rut__card-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 8px;
  object-fit: cover;
  margin-top: auto; /* Push image to bottom if content is shorter */
}

.page-huong-dan-nap-rut__step-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-huong-dan-nap-rut__list-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-left: 5px solid #F2C14E; /* Main color for emphasis */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-huong-dan-nap-rut__list-title {
  font-size: 1.3rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-huong-dan-nap-rut__list-item p {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-huong-dan-nap-rut__bullet-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-huong-dan-nap-rut__bullet-list .page-huong-dan-nap-rut__list-item {
  border-left: 5px solid #FFD36B; /* Glow for emphasis */
}

.page-huong-dan-nap-rut__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-huong-dan-nap-rut__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-huong-dan-nap-rut__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  background-color: #181818;
  list-style: none;
  user-select: none;
}

.page-huong-dan-nap-rut__faq-question::-webkit-details-marker {
  display: none;
}

.page-huong-dan-nap-rut__faq-qtext {
  flex-grow: 1;
}

.page-huong-dan-nap-rut__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-huong-dan-nap-rut__faq-item[open] .page-huong-dan-nap-rut__faq-toggle {
  transform: rotate(45deg);
}

.page-huong-dan-nap-rut__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.5;
}

.page-huong-dan-nap-rut__conclusion-section {
  background-color: #0A0A0A;
  padding-bottom: 80px;
}

/* General image responsiveness */
.page-huong-dan-nap-rut img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-huong-dan-nap-rut__hero-content {
    margin-top: -60px;
    padding: 25px;
  }

  .page-huong-dan-nap-rut__method-cards {
    gap: 20px;
  }

  .page-huong-dan-nap-rut__card {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }

  .page-huong-dan-nap-rut__section {
    padding: 50px 15px;
  }

  .page-huong-dan-nap-rut__text-block {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .page-huong-dan-nap-rut {
    padding-top: 10px !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-huong-dan-nap-rut__hero-content {
    margin-top: -40px;
    padding: 20px;
    max-width: 95%;
  }

  .page-huong-dan-nap-rut__main-title {
    font-size: 2.2rem;
  }

  .page-huong-dan-nap-rut__intro-text {
    font-size: 1rem;
  }

  .page-huong-dan-nap-rut__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-huong-dan-nap-rut__btn-primary,
  .page-huong-dan-nap-rut__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-huong-dan-nap-rut__section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-nap-rut__section-title {
    font-size: 2rem;
  }

  .page-huong-dan-nap-rut__text-block {
    font-size: 0.95rem;
    padding: 0;
  }

  .page-huong-dan-nap-rut__content-image,
  .page-huong-dan-nap-rut__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-nap-rut__method-cards {
    flex-direction: column;
    gap: 20px;
  }

  .page-huong-dan-nap-rut__card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box !important;
  }

  .page-huong-nap-rut__list-item,
  .page-huong-nap-rut__faq-item {
    padding: 20px;
  }

  .page-huong-dan-nap-rut__list-title {
    font-size: 1.2rem;
  }

  .page-huong-dan-nap-rut__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-huong-dan-nap-rut__faq-answer {
    padding: 0 20px 15px;
  }
}