/* style/huong-dan-rut-tien-chi-tiet.css */

:root {
  --page-primary-color: #2F6BFF;
  --page-secondary-color: #6FA3FF;
  --page-text-main: #1F2D3D;
  --page-text-heading: #000000;
  --page-card-bg: #FFFFFF;
  --page-background: #F4F7FB;
  --page-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --page-border-color: #D6E2FF;
  --page-glow-color: #A5C4FF;
}

.page-huong-dan-rut-tien-chi-tiet {
  font-family: 'Arial', sans-serif;
  color: var(--page-text-main);
  background-color: var(--page-background);
  line-height: 1.6;
  font-size: 16px;
}

.page-huong-dan-rut-tien-chi-tiet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-huong-dan-rut-tien-chi-tiet__hero-section {
  text-align: center;
  padding: 10px 0 40px 0; /* Adjusted padding-top to 10px */
  background-color: var(--page-primary-color);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-huong-dan-rut-tien-chi-tiet__main-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-huong-dan-rut-tien-chi-tiet__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.page-huong-dan-rut-tien-chi-tiet__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-huong-dan-rut-tien-chi-tiet__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-rut-tien-chi-tiet__btn--primary {
  background: var(--page-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-rut-tien-chi-tiet__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-huong-dan-rut-tien-chi-tiet__btn--secondary {
  background-color: #ffffff;
  color: var(--page-primary-color);
  border: 2px solid var(--page-primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-rut-tien-chi-tiet__btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--page-primary-color);
  color: #ffffff;
}

.page-huong-dan-rut-tien-chi-tiet__article-wrap {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: var(--page-card-bg);
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.page-huong-dan-rut-tien-chi-tiet__section {
  padding: 40px 0;
  border-bottom: 1px solid var(--page-border-color);
}

.page-huong-dan-rut-tien-chi-tiet__section:last-of-type {
  border-bottom: none;
}

.page-huong-dan-rut-tien-chi-tiet__section-title {
  font-size: 2em;
  color: var(--page-text-heading);
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-huong-dan-rut-tien-chi-tiet__sub-title {
  font-size: 1.5em;
  color: var(--page-text-heading);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-huong-dan-rut-tien-chi-tiet__text-block {
  margin-bottom: 15px;
  color: var(--page-text-main);
}

.page-huong-dan-rut-tien-chi-tiet__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-huong-dan-rut-tien-chi-tiet__list-item {
  margin-bottom: 10px;
  color: var(--page-text-main);
}

.page-huong-dan-rut-tien-chi-tiet__nested-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 5px;
}

.page-huong-dan-rut-tien-chi-tiet__link {
  color: var(--page-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-huong-dan-rut-tien-chi-tiet__link:hover {
  text-decoration: underline;
}

.page-huong-dan-rut-tien-chi-tiet__info-card,
.page-huong-dan-rut-tien-chi-tiet__warning-card {
  background-color: var(--page-background);
  border: 1px solid var(--page-border-color);
  border-left: 5px solid var(--page-primary-color);
  padding: 20px;
  border-radius: 8px;
  margin-top: 25px;
  margin-bottom: 25px;
  font-size: 0.95em;
  line-height: 1.5;
}

.page-huong-dan-rut-tien-chi-tiet__warning-card {
  border-left-color: #FF5733; /* A warning-like color */
}

.page-huong-dan-rut-tien-chi-tiet__info-card p,
.page-huong-dan-rut-tien-chi-tiet__warning-card p {
  margin: 0;
  color: var(--page-text-main);
}

.page-huong-dan-rut-tien-chi-tiet__figure {
  margin: 25px 0;
  text-align: center;
}

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

.page-huong-dan-rut-tien-chi-tiet__figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.page-huong-dan-rut-tien-chi-tiet__faq-section .page-huong-dan-rut-tien-chi-tiet__faq-question {
  font-size: 1.3em;
  color: var(--page-text-heading);
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-huong-dan-rut-tien-chi-tiet__faq-section .page-huong-dan-rut-tien-chi-tiet__faq-answer {
  padding-left: 0;
  padding-bottom: 15px;
  line-height: 1.6;
  color: var(--page-text-main);
}

.page-huong-dan-rut-tien-chi-tiet__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-rut-tien-chi-tiet__main-title {
    font-size: 2.5em;
  }

  .page-huong-dan-rut-tien-chi-tiet__subtitle {
    font-size: 1.1em;
  }

  .page-huong-dan-rut-tien-chi-tiet__article-wrap {
    margin: 30px auto;
  }

  .page-huong-dan-rut-tien-chi-tiet__section-title {
    font-size: 1.8em;
  }

  .page-huong-dan-rut-tien-chi-tiet__sub-title {
    font-size: 1.4em;
  }

  .page-huong-dan-rut-tien-chi-tiet__btn {
    padding: 12px 25px;
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section Title + CTA */
  .page-huong-dan-rut-tien-chi-tiet__hero-section {
    padding: 10px 0 30px 0 !important; /* Fixed header spacing */
  }

  .page-huong-dan-rut-tien-chi-tiet__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    padding: 0 15px;
  }

  .page-huong-dan-rut-tien-chi-tiet__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-huong-dan-rut-tien-chi-tiet__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 2. Single Column Long Article Container */
  .page-huong-dan-rut-tien-chi-tiet__article-wrap {
    margin: 20px auto;
    padding: 0 15px;
    border-radius: 0;
    box-shadow: none;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-rut-tien-chi-tiet__section {
    padding: 25px 0;
  }

  .page-huong-dan-rut-tien-chi-tiet__section-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .page-huong-dan-rut-tien-chi-tiet__sub-title {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-huong-dan-rut-tien-chi-tiet__text-block {
    font-size: 0.95em;
  }

  .page-huong-dan-rut-tien-chi-tiet__info-card,
  .page-huong-dan-rut-tien-chi-tiet__warning-card {
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  /* 3. General Images and Figure */
  .page-huong-dan-rut-tien-chi-tiet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-rut-tien-chi-tiet__figure {
    margin: 15px 0;
  }

  .page-huong-dan-rut-tien-chi-tiet__figcaption {
    font-size: 0.85em;
  }

  /* 4. Buttons and Button Containers */
  .page-huong-dan-rut-tien-chi-tiet__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-huong-dan-rut-tien-chi-tiet__cta-buttons,
  .page-huong-dan-rut-tien-chi-tiet__button-group,
  .page-huong-dan-rut-tien-chi-tiet__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 5. Registration Tutorial and FAQ Blocks (applied to general content structure) */
  .page-huong-dan-rut-tien-chi-tiet p,
  .page-huong-dan-rut-tien-chi-tiet li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-huong-dan-rut-tien-chi-tiet__faq-section .page-huong-dan-rut-tien-chi-tiet__faq-question {
    font-size: 1.15em;
    margin-top: 20px;
  }

  .page-huong-dan-rut-tien-chi-tiet__faq-section .page-huong-dan-rut-tien-chi-tiet__faq-answer {
    padding-bottom: 10px;
  }

  .page-huong-dan-rut-tien-chi-tiet__cta-buttons--bottom {
    margin-top: 30px;
    margin-bottom: 15px;
  }
}