.page-blog-huong-dan-dang-ky-m99 {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #F5F7FA; /* Background color from custom scheme */
}

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

/* Hero Section */
.page-blog-huong-dan-dang-ky-m99__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding for fixed header, not var(--header-offset) */
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-m99__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-m99__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-m99__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-blog-huong-dan-dang-ky-m99__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-m99__description {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
}

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

.page-blog-huong-dan-dang-ky-m99__btn-primary,
.page-blog-huong-dan-dang-ky-m99__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-huong-dan-dang-ky-m99__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.page-blog-huong-dan-dang-ky-m99__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

.page-blog-huong-dan-dang-ky-m99__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-m99__btn-secondary:hover {
  transform: translateY(-2px);
  background: #f5f5f5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Content Section */
.page-blog-huong-dan-dang-ky-m99__content-section {
  padding: 40px 0;
}

.page-blog-huong-dan-dang-ky-m99__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-m99__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF5A4F 0%, #E53935 100%);
  border-radius: 2px;
}

.page-blog-huong-dan-dang-ky-m99__paragraph {
  font-size: 16px;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

/* Benefits List */
.page-blog-huong-dan-dang-ky-m99__benefits-list,
.page-blog-huong-dan-dang-ky-m99__exclusive-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-blog-huong-dan-dang-ky-m99__benefits-item,
.page-blog-huong-dan-dang-ky-m99__exclusive-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-huong-dan-dang-ky-m99__benefits-item:hover,
.page-blog-huong-dan-dang-ky-m99__exclusive-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-m99__benefits-title,
.page-blog-huong-dan-dang-ky-m99__exclusive-item strong {
  font-size: 20px;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-m99__benefits-text {
  font-size: 15px;
  color: #555555;
}

/* Step-by-Step Guide */
.page-blog-huong-dan-dang-ky-m99__step-by-step-guide {
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-m99__guide-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-m99__guide-title {
  font-size: 22px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-m99__guide-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-blog-huong-dan-dang-ky-m99__article-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-m99__figcaption {
  font-size: 14px;
  color: #777777;
  margin-top: 10px;
  text-align: center;
}

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

.page-blog-huong-dan-dang-ky-m99__info-item {
  margin-bottom: 10px;
  font-size: 16px;
}

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

.page-blog-huong-dan-dang-ky-m99__trouble-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-m99__trouble-title {
  font-size: 20px;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-m99__trouble-text {
  font-size: 15px;
  color: #555555;
}

/* CTA Bottom */
.page-blog-huong-dan-dang-ky-m99__cta-bottom {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-blog-huong-dan-dang-ky-m99__cta-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #333333;
  margin-bottom: 15px;
}

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

.page-blog-huong-dan-dang-ky-m99__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* FAQ Section */
details.page-blog-huong-dan-dang-ky-m99__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog-huong-dan-dang-ky-m99__faq-item summary.page-blog-huong-dan-dang-ky-m99__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-huong-dan-dang-ky-m99__faq-item summary.page-blog-huong-dan-dang-ky-m99__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-huong-dan-dang-ky-m99__faq-item summary.page-blog-huong-dan-dang-ky-m99__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-huong-dan-dang-ky-m99__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-blog-huong-dan-dang-ky-m99__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-huong-dan-dang-ky-m99__faq-item .page-blog-huong-dan-dang-ky-m99__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Related Articles */
.page-blog-huong-dan-dang-ky-m99__related-articles {
  padding: 50px 0;
  background-color: #F5F7FA;
}

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

.page-blog-huong-dan-dang-ky-m99__article-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-huong-dan-dang-ky-m99__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-blog-huong-dan-dang-ky-m99__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-dang-ky-m99__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-huong-dan-dang-ky-m99__card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog-huong-dan-dang-ky-m99__card-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-m99__card-title a:hover {
  color: #E53935;
}

.page-blog-huong-dan-dang-ky-m99__card-date {
  font-size: 13px;
  color: #888888;
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-m99__card-excerpt {
  font-size: 15px;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog-huong-dan-dang-ky-m99__read-more {
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-m99__read-more:hover {
  text-decoration: underline;
  color: #FF5A4F;
}

.page-blog-huong-dan-dang-ky-m99__view-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* General image styling */
.page-blog-huong-dan-dang-ky-m99 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-m99__hero-image-wrapper {
    max-height: 400px;
  }
  .page-blog-huong-dan-dang-ky-m99__main-title {
    font-size: clamp(28px, 5vw, 40px);
  }
  .page-blog-huong-dan-dang-ky-m99__description {
    font-size: 17px;
  }
  .page-blog-huong-dan-dang-ky-m99__btn-primary,
  .page-blog-huong-dan-dang-ky-m99__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-blog-huong-dan-dang-ky-m99__section-title {
    font-size: clamp(24px, 4vw, 32px);
  }
  .page-blog-huong-dan-dang-ky-m99__benefits-list,
  .page-blog-huong-dan-dang-ky-m99__exclusive-benefits,
  .page-blog-huong-dan-dang-ky-m99__troubleshooting {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-blog-huong-dan-dang-ky-m99__guide-title {
    font-size: 20px;
  }
  .page-blog-huong-dan-dang-ky-m99__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 849px) {
  .page-blog-huong-dan-dang-ky-m99__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-m99__container {
    padding: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* HERO Section */
  .page-blog-huong-dan-dang-ky-m99__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-blog-huong-dan-dang-ky-m99__hero-image-wrapper {
    max-height: 300px;
  }
  .page-blog-huong-dan-dang-ky-m99__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-blog-huong-dan-dang-ky-m99__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-blog-huong-dan-dang-ky-m99__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-blog-huong-dan-dang-ky-m99__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-blog-huong-dan-dang-ky-m99__btn-primary,
  .page-blog-huong-dan-dang-ky-m99__btn-secondary,
  .page-blog-huong-dan-dang-ky-m99 a[class*="button"],
  .page-blog-huong-dan-dang-ky-m99 a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-blog-huong-dan-dang-ky-m99__cta-buttons,
  .page-blog-huong-dan-dang-ky-m99__button-group,
  .page-blog-huong-dan-dang-ky-m99__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Content Sections */
  .page-blog-huong-dan-dang-ky-m99__content-section {
    padding: 30px 0;
  }
  .page-blog-huong-dan-dang-ky-m99__section-title {
    font-size: clamp(22px, 6vw, 28px);
    margin-bottom: 25px;
  }
  .page-blog-huong-dan-dang-ky-m99__paragraph {
    font-size: 15px;
    margin-bottom: 15px;
  }

  /* Benefits & Troubleshooting */
  .page-blog-huong-dan-dang-ky-m99__benefits-list,
  .page-blog-huong-dan-dang-ky-m99__exclusive-benefits,
  .page-blog-huong-dan-dang-ky-m99__troubleshooting {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
  }
  .page-blog-huong-dan-dang-ky-m99__benefits-item,
  .page-blog-huong-dan-dang-ky-m99__exclusive-item,
  .page-blog-huong-dan-dang-ky-m99__trouble-item {
    padding: 20px;
  }
  .page-blog-huong-dan-dang-ky-m99__benefits-title,
  .page-blog-huong-dan-dang-ky-m99__exclusive-item strong,
  .page-blog-huong-dan-dang-ky-m99__trouble-title {
    font-size: 18px;
  }
  .page-blog-huong-dan-dang-ky-m99__benefits-text,
  .page-blog-huong-dan-dang-ky-m99__trouble-text {
    font-size: 14px;
  }

  /* Step-by-Step Guide */
  .page-blog-huong-dan-dang-ky-m99__guide-item {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-blog-huong-dan-dang-ky-m99__guide-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .page-blog-huong-dan-dang-ky-m99__guide-text {
    font-size: 15px;
  }
  .page-blog-huong-dan-dang-ky-m99__info-list {
    margin-left: 15px;
  }
  .page-blog-huong-dan-dang-ky-m99__info-item {
    font-size: 15px;
  }

  /* Article Figures and Images */
  .page-blog-huong-dan-dang-ky-m99__article-figure {
    margin: 20px 0;
  }
  .page-blog-huong-dan-dang-ky-m99__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-huong-dan-dang-ky-m99__figcaption {
    font-size: 13px;
  }

  /* CTA Bottom */
  .page-blog-huong-dan-dang-ky-m99__cta-bottom {
    padding: 30px 20px;
    margin-top: 40px;
  }
  .page-blog-huong-dan-dang-ky-m99__cta-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 10px;
  }
  .page-blog-huong-dan-dang-ky-m99__cta-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-blog-huong-dan-dang-ky-m99__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }

  /* FAQ Section */
  details.page-blog-huong-dan-dang-ky-m99__faq-item summary.page-blog-huong-dan-dang-ky-m99__faq-question { padding: 15px; }
  .page-blog-huong-dan-dang-ky-m99__faq-qtext { font-size: 15px; }
  details.page-blog-huong-dan-dang-ky-m99__faq-item .page-blog-huong-dan-dang-ky-m99__faq-answer { padding: 0 15px 15px; }

  /* Related Articles */
  .page-blog-huong-dan-dang-ky-m99__related-articles {
    padding: 30px 0;
  }
  .page-blog-huong-dan-dang-ky-m99__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-huong-dan-dang-ky-m99__article-image {
    height: 180px;
  }
  .page-blog-huong-dan-dang-ky-m99__card-title {
    font-size: 18px;
  }
  .page-blog-huong-dan-dang-ky-m99__card-excerpt,
  .page-blog-huong-dan-dang-ky-m99__read-more {
    font-size: 14px;
  }
}