/* Base Styles for .page-blog-huong-dan-dang-ky-xo-88 */
.page-blog-huong-dan-dang-ky-xo-88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

.page-blog-huong-dan-dang-ky-xo-88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-xo-88__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-xo-88__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-xo-88__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-xo-88__section-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-xo-88__dark-section .page-blog-huong-dan-dang-ky-xo-88__section-title {
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-xo-88__light-bg .page-blog-huong-dan-dang-ky-xo-88__section-title {
  color: #11A84E;
}

.page-blog-huong-dan-dang-ky-xo-88__section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-xo-88__dark-section .page-blog-huong-dan-dang-ky-xo-88__section-subtitle {
  color: var(--text-secondary);
}

.page-blog-huong-dan-dang-ky-xo-88__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-xo-88__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-blog-huong-dan-dang-ky-xo-88__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-xo-88__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-blog-huong-dan-dang-ky-xo-88__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-xo-88__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-main);
  overflow: hidden;
  min-height: 600px;
}

.page-blog-huong-dan-dang-ky-xo-88__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 70vh;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-xo-88__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-dang-ky-xo-88__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above any other elements if z-index is used elsewhere */
  z-index: 1;
}

.page-blog-huong-dan-dang-ky-xo-88__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-huong-dan-dang-ky-xo-88__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-xo-88__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-xo-88__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-blog-huong-dan-dang-ky-xo-88__text-block {
  flex: 1;
  padding: 20px 0;
}

.page-blog-huong-dan-dang-ky-xo-88__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-secondary);
}

.page-blog-huong-dan-dang-ky-xo-88__dark-section .page-blog-huong-dan-dang-ky-xo-88__text-block p {
  color: var(--text-secondary);
}

.page-blog-huong-dan-dang-ky-xo-88__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-huong-dan-dang-ky-xo-88__image-block--center {
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-xo-88__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-blog-huong-dan-dang-ky-xo-88__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-xo-88__benefit-card {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-xo-88__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-xo-88__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-huong-dan-dang-ky-xo-88__benefit-card p {
  font-size: 16px;
  color: var(--text-secondary);
}

.page-blog-huong-dan-dang-ky-xo-88__registration-guide .page-blog-huong-dan-dang-ky-xo-88__step-item {
  margin-bottom: 40px;
  text-align: left;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-blog-huong-dan-dang-ky-xo-88__step-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-blog-huong-dan-dang-ky-xo-88__step-title::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.page-blog-huong-dan-dang-ky-xo-88__registration-guide .page-blog-huong-dan-dang-ky-xo-88__container {
  counter-reset: step-counter;
}

.page-blog-huong-dan-dang-ky-xo-88__step-item p,
.page-blog-huong-dan-dang-ky-xo-88__step-list li {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-xo-88__step-list {
  list-style-type: disc;
  margin-left: 25px;
  padding-left: 0;
}

.page-blog-huong-dan-dang-ky-xo-88__step-list li {
  margin-bottom: 8px;
}

.page-blog-huong-dan-dang-ky-xo-88__image--step {
  margin-top: 20px;
  max-width: 800px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-xo-88__note-block {
  background-color: var(--deep-green);
  border: 1px solid var(--glow);
  border-left: 5px solid var(--glow);
  padding: 25px;
  border-radius: 8px;
  margin-top: 50px;
  text-align: left;
}

.page-blog-huong-dan-dang-ky-xo-88__note-title {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-blog-huong-dan-dang-ky-xo-88__note-list {
  list-style-type: none;
  padding-left: 0;
}

.page-blog-huong-dan-dang-ky-xo-88__note-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--text-secondary);
}

.page-blog-huong-dan-dang-ky-xo-88__note-list li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
}

.page-blog-huong-dan-dang-ky-xo-88__cta-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

/* FAQ Section Styles */
details.page-blog-huong-dan-dang-ky-xo-88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-secondary);
}

details.page-blog-huong-dan-dang-ky-xo-88__faq-item summary.page-blog-huong-dan-dang-ky-xo-88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-blog-huong-dan-dang-ky-xo-88__faq-item summary.page-blog-huong-dan-dang-ky-xo-88__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-huong-dan-dang-ky-xo-88__faq-item summary.page-blog-huong-dan-dang-ky-xo-88__faq-question:hover {
  background: var(--deep-green);
}

.page-blog-huong-dan-dang-ky-xo-88__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-blog-huong-dan-dang-ky-xo-88__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: var(--glow);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog-huong-dan-dang-ky-xo-88__faq-item .page-blog-huong-dan-dang-ky-xo-88__faq-answer {
  padding: 0 25px 20px;
  background: var(--deep-green);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
  text-align: left;
}

.page-blog-huong-dan-dang-ky-xo-88__faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Conclusion Section */
.page-blog-huong-dan-dang-ky-xo-88__conclusion-section {
  padding-bottom: 80px;
}

/* Image sizing for all images */
.page-blog-huong-dan-dang-ky-xo-88 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-xo-88__section-title {
    font-size: 32px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__hero-description {
    font-size: 18px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__content-wrapper--reverse {
    flex-direction: column-reverse;
  }
  .page-blog-huong-dan-dang-ky-xo-88__image-block {
    order: -1; /* For reverse order in column layout */
  }
  .page-blog-huong-dan-dang-ky-xo-88__image-block--center {
    order: unset;
  }
  .page-blog-huong-dan-dang-ky-xo-88__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-blog-huong-dan-dang-ky-xo-88__step-title {
    font-size: 24px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__note-title {
    font-size: 22px;
  }
  details.page-blog-huong-dan-dang-ky-xo-88__faq-item summary.page-blog-huong-dan-dang-ky-xo-88__faq-question {
    padding: 15px 20px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__faq-qtext {
    font-size: 16px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__faq-toggle {
    font-size: 22px;
    width: 26px;
  }
  details.page-blog-huong-dan-dang-ky-xo-88__faq-item .page-blog-huong-dan-dang-ky-xo-88__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-xo-88 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-huong-dan-dang-ky-xo-88__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-huong-dan-dang-ky-xo-88__section {
    padding: 40px 0;
  }
  .page-blog-huong-dan-dang-ky-xo-88__hero-section {
    min-height: unset;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-blog-huong-dan-dang-ky-xo-88__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-huong-dan-dang-ky-xo-88__hero-content {
    padding: 30px 15px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .page-blog-huong-dan-dang-ky-xo-88__hero-description {
    font-size: 16px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__btn {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog-huong-dan-dang-ky-xo-88__cta-wrapper {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-huong-dan-dang-ky-xo-88__section-title {
    font-size: 26px;
    padding: 0 10px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__content-wrapper {
    gap: 20px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__text-block p {
    font-size: 15px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-blog-huong-dan-dang-ky-xo-88__overview-section .page-blog-huong-dan-dang-ky-xo-88__image-block,
  .page-blog-huong-dan-dang-ky-xo-88__deposit-guide .page-blog-huong-dan-dang-ky-xo-88__image-block,
  .page-blog-huong-dan-dang-ky-xo-88__app-download .page-blog-huong-dan-dang-ky-xo-88__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__benefit-card {
    padding: 25px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__card-title {
    font-size: 20px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__step-item {
    padding: 15px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__step-title {
    font-size: 20px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__step-title::before {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__step-item p,
  .page-blog-huong-dan-dang-ky-xo-88__step-list li {
    font-size: 15px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__note-block {
    padding: 20px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__note-title {
    font-size: 20px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__note-list li {
    font-size: 15px;
  }
  details.page-blog-huong-dan-dang-ky-xo-88__faq-item summary.page-blog-huong-dan-dang-ky-xo-88__faq-question {
    padding: 15px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__faq-qtext {
    font-size: 15px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-blog-huong-dan-dang-ky-xo-88__faq-item .page-blog-huong-dan-dang-ky-xo-88__faq-answer {
    padding: 0 15px 15px;
  }
}

/* Ensure images within content sections do not cause overflow */
.page-blog-huong-dan-dang-ky-xo-88__content-area img,
.page-blog-huong-dan-dang-ky-xo-88__text-block img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-xo-88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-huong-dan-dang-ky-xo-88__section,
  .page-blog-huong-dan-dang-ky-xo-88__card,
  .page-blog-huong-dan-dang-ky-xo-88__container,
  .page-blog-huong-dan-dang-ky-xo-88__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-huong-dan-dang-ky-xo-88__cta-button,
  .page-blog-huong-dan-dang-ky-xo-88__btn-primary,
  .page-blog-huong-dan-dang-ky-xo-88__btn-secondary,
  .page-blog-huong-dan-dang-ky-xo-88 a[class*="button"],
  .page-blog-huong-dan-dang-ky-xo-88 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-xo-88__cta-buttons,
  .page-blog-huong-dan-dang-ky-xo-88__button-group,
  .page-blog-huong-dan-dang-ky-xo-88__btn-container {
    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-xo-88__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}