/* ===== CSS cho trang blog-huong-dan-tai-xiu ===== */
.page-blog-huong-dan-tai-xiu {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
  padding-bottom: 40px;
}

.page-blog-huong-dan-tai-xiu__section-title {
  text-align: center;
  color: #F2C14E;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.3;
  letter-spacing: 0.5px;
  max-width: 900px;
  margin: 0 auto 20px auto;
  padding: 16px 16px 0 16px;
}

.page-blog-huong-dan-tai-xiu__article-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.95rem;
  color: #FFD36B;
  margin-bottom: 30px;
}

.page-blog-huong-dan-tai-xiu__hero-image,
.page-blog-huong-dan-tai-xiu__article-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  border: 1px solid #3A2A12;
}
  
.page-blog-huong-dan-tai-xiu__content-wrapper {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-huong-dan-tai-xiu__paragraph {
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF6D6;
}

.page-blog-huong-dan-tai-xiu__paragraph a {
  color: #FFD36B;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-blog-huong-dan-tai-xiu__paragraph a:hover {
  color: #F2C14E;
}

.page-blog-huong-dan-tai-xiu__sub-heading {
  color: #F2C14E;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 15px;
  border-left: 4px solid #FFD36B;
  padding-left: 15px;
}

.page-blog-huong-dan-tai-xiu__cta-section {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 24px 20px;
  margin: 30px 0;
  text-align: center;
  text-align: -webkit-center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-huong-dan-tai-xiu__cta-text {
  color: #FFF6D6;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.page-blog-huong-dan-tai-xiu__cta-button {
  display: inline-block;
  max-width: 100%;
  min-width: 240px;
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
  white-space: normal;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
}

.page-blog-huong-dan-tai-xiu__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.5);
  filter: brightness(1.03);
  color: #000000;
}

.page-blog-huong-dan-tai-xiu__faq-section {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #3A2A12;
}

.page-blog-huong-dan-tai-xiu__faq-title {
  color: #F2C14E;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.page-blog-huong-dan-tai-xiu__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-huong-dan-tai-xiu__faq-question {
  padding: 15px 20px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  color: #FFF6D6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-blog-huong-dan-tai-xiu__faq-question:hover {
  background-color: #1A1610;
}

.page-blog-huong-dan-tai-xiu__faq-answer {
  padding: 5px 20px 20px 20px;
  color: #FFF6D6;
  opacity: 0.9;
}

.page-blog-huong-dan-tai-xiu__faq-item .page-blog-huong-dan-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-huong-dan-tai-xiu__faq-item[open] .page-blog-huong-dan-tai-xiu__faq-question {
  border-bottom: 1px solid #3A2A12;
}

/* ----- Responsive: Tablet & Mobile ----- */
@media (max-width: 768px) {
  .page-blog-huong-dan-tai-xiu {
    padding: 0 0 30px 0;
  }

  .page-blog-huong-dan-tai-xiu__section-title {
    font-size: 1.6rem;
    padding: 10px 10px 0 10px;
  }

  .page-blog-huong-dan-tai-xiu__article-meta {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .page-blog-huong-dan-tai-xiu__content-wrapper {
    padding: 0 12px;
  }

  .page-blog-huong-dan-tai-xiu__hero-image,
  .page-blog-huong-dan-tai-xiu__article-image {
    max-width: 100%;
    height: auto;
  }

  .page-blog-huong-dan-tai-xiu__paragraph {
    font-size: 1rem; /* Giữ nguyên kích thước để dễ đọc */
  }

  .page-blog-huong-dan-tai-xiu__sub-heading {
    font-size: 1.3rem;
  }
  
  .page-blog-huong-dan-tai-xiu__cta-section {
    flex-direction: column;
    align-items: stretch;
  }

  .page-blog-huong-dan-tai-xiu__cta-button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
  }
  
  .page-blog-huong-dan-tai-xiu__faq-title {
    font-size: 1.4rem;
  }
  
  .page-blog-huong-dan-tai-xiu__faq-question {
    font-size: 1rem;
  }
}

/* Thêm rule mobile để chống tràn cho toàn bộ img trong page */
@media (max-width: 768px) {
  .page-blog-huong-dan-tai-xiu img {
    max-width: 100%!important;
    height: auto!important;
  }
}