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

/* Base styles */
.page-blog-huong-dan-dang-ky-e88 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Use shared background variable */
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-e88__hero-section {
  background-color: #f8f8f8;
  padding: 60px 0;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
}

.page-blog-huong-dan-dang-ky-e88__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-e88__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #26A9E0; /* Brand color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-e88__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-blog-huong-dan-dang-ky-e88__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog-huong-dan-dang-ky-e88__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure button fits container */
  box-sizing: border-box;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-e88__btn--primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-blog-huong-dan-dang-ky-e88__btn--primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-blog-huong-dan-dang-ky-e88__btn--secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-huong-dan-dang-ky-e88__btn--secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-blog-huong-dan-dang-ky-e88__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Article Wrap */
.page-blog-huong-dan-dang-ky-e88__article-wrap {
  max-width: 900px; /* Main content narrower than hero */
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-e88__section {
  margin-bottom: 40px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-e88__section-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-e88__section-title--white {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.page-blog-huong-dan-dang-ky-e88__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-e88__paragraph--white-text {
  color: #f0f0f0;
}

.page-blog-huong-dan-dang-ky-e88__figure {
  margin: 25px 0;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-e88__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-huong-dan-dang-ky-e88__figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-blog-huong-dan-dang-ky-e88__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-e88__list--white-text {
  color: #f0f0f0;
}

.page-blog-huong-dan-dang-ky-e88__list-item {
  margin-bottom: 8px;
  font-size: 1em;
}

/* Step-by-step section */
.page-blog-huong-dan-dang-ky-e88__step-by-step {
  margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-e88__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Dark Section */
.page-blog-huong-dan-dang-ky-e88__dark-section {
  background-color: #26A9E0; /* Brand color as background */
  color: #FFFFFF; /* White text for contrast */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Promo Box */
.page-blog-huong-dan-dang-ky-e88__promo-box {
  background: linear-gradient(135deg, #26A9E0, #1a7fb0); /* Gradient for promo box */
  color: #FFFFFF;
  text-align: center;
  padding: 50px;
  margin-top: 50px;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-e88__faq-list {
  margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-e88__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-e88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  background-color: #eaf7fd; /* Lighter brand color */
  color: #26A9E0;
  list-style: none; /* Hide default marker for details/summary */
}
.page-blog-huong-dan-dang-ky-e88__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-blog-huong-dan-dang-ky-e88__faq-item summary::marker {
  display: none;
}

.page-blog-huong-dan-dang-ky-e88__faq-qtext {
  flex-grow: 1;
}

.page-blog-huong-dan-dang-ky-e88__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-e88__faq-item[open] .page-blog-huong-dan-dang-ky-e88__faq-toggle {
  transform: rotate(45deg); /* Change to X when open */
}

.page-blog-huong-dan-dang-ky-e88__faq-answer {
  padding: 15px 20px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

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

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* 1. Top Section Title + CTA */
  .page-blog-huong-dan-dang-ky-e88__hero-section {
    padding-top: 10px !important; /* Small top padding, relying on body for header offset */
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

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

  .page-blog-huong-dan-dang-ky-e88__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-e88__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    margin-top: 20px;
    padding-left: 15px; /* Add padding to container */
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 4. Buttons and Button Containers */
  .page-blog-huong-dan-dang-ky-e88__btn,
  .page-blog-huong-dan-dang-ky-e88__btn--primary,
  .page-blog-huong-dan-dang-ky-e88__btn--secondary,
  .page-blog-huong-dan-dang-ky-e88 a[class*="button"],
  .page-blog-huong-dan-dang-ky-e88 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;
  }

  .page-blog-huong-dan-dang-ky-e88__button-group, /* Example if button groups exist */
  .page-blog-huong-dan-dang-ky-e88__btn-container { /* Example if button containers exist */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog-huong-dan-dang-ky-e88__promo-box .page-blog-huong-dan-dang-ky-e88__cta-buttons {
    flex-direction: column; /* Ensure buttons stack in promo box */
  }


  /* 2. Single Column Long Article Container & Info/Warning/Promo Box */
  .page-blog-huong-dan-dang-ky-e88__article-wrap {
    margin: 20px auto;
    padding: 0 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-blog-huong-dan-dang-ky-e88__section {
    padding: 20px;
    margin-bottom: 20px;
  }

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

  .page-blog-huong-dan-dang-ky-e88__paragraph,
  .page-blog-huong-dan-dang-ky-e88__list-item {
    font-size: 0.95em;
  }

  .page-blog-huong-dan-dang-ky-e88__dark-section,
  .page-blog-huong-dan-dang-ky-e88__promo-box {
    padding: 30px 20px;
    margin-top: 30px;
  }

  /* 3. General Images and Figure */
  .page-blog-huong-dan-dang-ky-e88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow images to shrink below 200px on mobile if needed for responsiveness */
    min-height: unset !important;
  }
  .page-blog-huong-dan-dang-ky-e88__figure {
    margin: 15px 0;
  }
  .page-blog-huong-dan-dang-ky-e88__figcaption {
    font-size: 0.85em;
  }

  /* 5. Registration Tutorial and FAQ Block */
  .page-blog-huong-dan-dang-ky-e88__step-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-e88__faq-question {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-blog-huong-dan-dang-ky-e88__faq-answer {
    padding: 12px 15px;
    font-size: 0.9em;
  }
}

/* Color contrast fixes if needed */
.page-blog-huong-dan-dang-ky-e88__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-blog-huong-dan-dang-ky-e88__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}