/* Base styles for the page content, ensuring text visibility on a dark body background */
.page-blog-huong-dan-dang-ky-mgo99 {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background, consistent with shared */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Ensure body padding-top is handled by shared.css */
.page-blog-huong-dan-dang-ky-mgo99__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-mgo99__hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog-huong-dan-dang-ky-mgo99__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-blog-huong-dan-dang-ky-mgo99__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-huong-dan-dang-ky-mgo99__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-blog-huong-dan-dang-ky-mgo99__hero-description {
  font-size: 1.25rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-blog-huong-dan-dang-ky-mgo99__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-mgo99__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-blog-huong-dan-dang-ky-mgo99__cta-button--secondary {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-blog-huong-dan-dang-ky-mgo99__cta-button--secondary:hover {
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-huong-dan-dang-ky-mgo99__section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-blog-huong-dan-dang-ky-mgo99__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-blog-huong-dan-dang-ky-mgo99__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-mgo99__content-area p {
  margin-bottom: 15px;
  color: #FFF6D6;
  font-size: 1rem;
}

.page-blog-huong-dan-dang-ky-mgo99__content-area a {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-mgo99__content-area a:hover {
  text-decoration: underline;
}

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

.page-blog-huong-dan-dang-ky-mgo99__list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-blog-huong-dan-dang-ky-mgo99__list li strong {
  color: #FFD36B;
}

.page-blog-huong-dan-dang-ky-mgo99__article-image,
.page-blog-huong-dan-dang-ky-mgo99__step-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-blog-huong-dan-dang-ky-mgo99__step-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-huong-dan-dang-ky-mgo99__step-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #F2C14E;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700;
}

/* FAQ Section */
details.page-blog-huong-dan-dang-ky-mgo99__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border color for dark theme */
  overflow: hidden;
  background: #111111; /* Card BG color */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
details.page-blog-huong-dan-dang-ky-mgo99__faq-item summary.page-blog-huong-dan-dang-ky-mgo99__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-mgo99__faq-item summary.page-blog-huong-dan-dang-ky-mgo99__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-huong-dan-dang-ky-mgo99__faq-item summary.page-blog-huong-dan-dang-ky-mgo99__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Slight highlight on hover */
}
.page-blog-huong-dan-dang-ky-mgo99__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Main text color */
}
.page-blog-huong-dan-dang-ky-mgo99__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Brand color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-huong-dan-dang-ky-mgo99__faq-item .page-blog-huong-dan-dang-ky-mgo99__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background color for answer area */
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-mgo99__hero-image img {
    object-fit: contain !important; /* Ensure image is not cropped on smaller screens */
    aspect-ratio: unset !important; /* Allow aspect ratio to adjust */
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-mgo99 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-huong-dan-dang-ky-mgo99__hero-section {
    padding-top: 10px;
    min-height: 400px;
    padding-bottom: 30px;
  }

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

  .page-blog-huong-dan-dang-ky-mgo99__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-mgo99__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-mgo99__cta-button,
  .page-blog-huong-dan-dang-ky-mgo99 a[class*="button"],
  .page-blog-huong-dan-dang-ky-mgo99 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: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-blog-huong-dan-dang-ky-mgo99__section {
    padding: 40px 0;
  }

  .page-blog-huong-dan-dang-ky-mgo99__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-mgo99__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-blog-huong-dan-dang-ky-mgo99__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-mgo99__content-area p,
  .page-blog-huong-dan-dang-ky-mgo99__list li {
    font-size: 0.95rem;
  }

  .page-blog-huong-dan-dang-ky-mgo99__article-image,
  .page-blog-huong-dan-dang-ky-mgo99__step-image {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-blog-huong-dan-dang-ky-mgo99__step-title {
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    margin-bottom: 15px;
  }

  details.page-blog-huong-dan-dang-ky-mgo99__faq-item summary.page-blog-huong-dan-dang-ky-mgo99__faq-question {
    padding: 15px;
  }
  .page-blog-huong-dan-dang-ky-mgo99__faq-qtext {
    font-size: 1rem;
  }
  .page-blog-huong-dan-dang-ky-mgo99__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
    margin-left: 10px;
  }
  details.page-blog-huong-dan-dang-ky-mgo99__faq-item .page-blog-huong-dan-dang-ky-mgo99__faq-answer {
    padding: 0 15px 15px;
  }
}