/* style/blog-huong-dan-dang-ky-qh88.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --button-text-color: #FFFF00;
  --background-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #FFFFFF;
  --border-color: #e0e0e0;
}

.page-blog-huong-dan-dang-ky-qh88 {
  font-family: Arial, sans-serif;
  color: var(--text-color-dark); /* Default text color for light body background */
  background-color: var(--background-color);
  line-height: 1.6;
}

.page-blog-huong-dan-dang-ky-qh88__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-blog-huong-dan-dang-ky-qh88__hero-image-wrapper {
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-qh88__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-qh88__hero-content {
  max-width: 900px;
  width: 100%;
}

.page-blog-huong-dan-dang-ky-qh88__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-color-light);
  max-width: 100%;
}

.page-blog-huong-dan-dang-ky-qh88__subtitle {
  font-size: 1.15em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-qh88__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-qh88__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-huong-dan-dang-ky-qh88__btn-primary {
  background-color: var(--register-button-color);
  color: var(--button-text-color);
}

.page-blog-huong-dan-dang-ky-qh88__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-qh88__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-huong-dan-dang-ky-qh88__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-qh88__content-area {
  padding: 40px 0;
  background-color: var(--background-color);
}

.page-blog-huong-dan-dang-ky-qh88__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-huong-dan-dang-ky-qh88__section {
  margin-bottom: 40px;
  padding: 25px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-qh88__section-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-qh88__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-color-dark);
}

.page-blog-huong-dan-dang-ky-qh88__paragraph a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-blog-huong-dan-dang-ky-qh88__registration-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-qh88__step-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-qh88__step-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-qh88__figure {
  margin: 0 0 20px 0;
  width: 100%;
  max-width: 680px;
}

.page-blog-huong-dan-dang-ky-qh88__step-image,
.page-blog-huong-dan-dang-ky-qh88__image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-qh88__figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.page-blog-huong-dan-dang-ky-qh88__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-blog-huong-dan-dang-ky-qh88__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-blog-huong-dan-dang-ky-qh88__list-item strong {
  color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-qh88__warning-card {
  background-color: #fff3cd; /* Light yellow for warning */
  border-color: #ffeeba;
  color: #856404; /* Dark yellow text */
}

.page-blog-huong-dan-dang-ky-qh88__warning-card .page-blog-huong-dan-dang-ky-qh88__section-title {
  color: #856404;
}

.page-blog-huong-dan-dang-ky-qh88__warning-card .page-blog-huong-dan-dang-ky-qh88__paragraph,
.page-blog-huong-dan-dang-ky-qh88__warning-card .page-blog-huong-dan-dang-ky-qh88__list-item {
  color: #856404;
}

.page-blog-huong-dan-dang-ky-qh88__faq-section {
  background-color: #e6f7e6; /* Light green for FAQ */
  border-color: #d4edda;
}

.page-blog-huong-dan-dang-ky-qh88__faq-section .page-blog-huong-dan-dang-ky-qh88__section-title {
  color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-qh88__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-qh88__faq-question {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.page-blog-huong-dan-dang-ky-qh88__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-color-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-blog-huong-dan-dang-ky-qh88__faq-item.active .page-blog-huong-dan-dang-ky-qh88__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding-top: 10px;
}

.page-blog-huong-dan-dang-ky-qh88__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-qh88__faq-item.active .page-blog-huong-dan-dang-ky-qh88__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-blog-huong-dan-dang-ky-qh88__promo-box {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  text-align: center;
  padding: 30px;
}

.page-blog-huong-dan-dang-ky-qh88__promo-box .page-blog-huong-dan-dang-ky-qh88__section-title {
  color: var(--text-color-light);
}

.page-blog-huong-dan-dang-ky-qh88__promo-box .page-blog-huong-dan-dang-ky-qh88__paragraph {
  color: var(--text-color-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-qh88__promo-box .page-blog-huong-dan-dang-ky-qh88__paragraph a {
  color: var(--button-text-color);
}

/* --- Responsive Styles --- */

/* Tablet styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-qh88__hero-section {
    padding: 10px 15px 30px;
  }

  .page-blog-huong-dan-dang-ky-qh88__main-title {
    font-size: 2.5em;
  }

  .page-blog-huong-dan-dang-ky-qh88__subtitle {
    font-size: 1.1em;
  }

  .page-blog-huong-dan-dang-ky-qh88__btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-blog-huong-dan-dang-ky-qh88__article-wrap {
    padding: 0 15px;
  }

  .page-blog-huong-dan-dang-ky-qh88__section-title {
    font-size: 1.8em;
  }

  .page-blog-huong-dan-dang-ky-qh88__paragraph,
  .page-blog-huong-dan-dang-ky-qh88__list-item {
    font-size: 1em;
  }

  .page-blog-huong-dan-dang-ky-qh88__step-title {
    font-size: 1.4em;
  }

  .page-blog-huong-dan-dang-ky-qh88__faq-question {
    font-size: 1.1em;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  /* 1. Top section title + Dual CTA */
  .page-blog-huong-dan-dang-ky-qh88__hero-section {
    padding: 10px 15px 20px !important;
  }

  .page-blog-huong-dan-dang-ky-qh88__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-qh88__subtitle {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-qh88__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* 4. Buttons and button containers */
  .page-blog-huong-dan-dang-ky-qh88__btn,
  .page-blog-huong-dan-dang-ky-qh88 a[class*="button"],
  .page-blog-huong-dan-dang-ky-qh88 a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 2. Single column long text container */
  .page-blog-huong-dan-dang-ky-qh88__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-qh88__section {
    padding: 20px 15px;
    margin-bottom: 30px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-qh88__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-qh88__paragraph,
  .page-blog-huong-dan-dang-ky-qh88__list-item,
  .page-blog-huong-dan-dang-ky-qh88__figcaption {
    font-size: 0.95em;
    line-height: 1.5;
  }

  /* 3. General images and figure */
  .page-blog-huong-dan-dang-ky-qh88 img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-huong-dan-dang-ky-qh88__figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-qh88__registration-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-huong-dan-dang-ky-qh88__step-card {
    padding: 20px;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-blog-huong-dan-dang-ky-qh88__step-title {
    font-size: 1.2em;
  }

  .page-blog-huong-dan-dang-ky-qh88__faq-question {
    font-size: 1em;
    padding: 8px 0;
  }

  .page-blog-huong-dan-dang-ky-qh88__faq-answer {
    font-size: 0.95em;
  }

  .page-blog-huong-dan-dang-ky-qh88__promo-box {
    padding: 25px 15px;
  }
}