.page-blog-huong-dan-dang-ky-m66 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background sections */
  background: var(--color-background, #f8f8f8); /* Inherit from shared or fallback to light grey */
}

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

.page-blog-huong-dan-dang-ky-m66__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 60px;
  background: #B71C1C;
  color: #FFF5E1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-m66__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-blog-huong-dan-dang-ky-m66__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover to fill space */
  opacity: 0.2; /* Subtle background image */
  display: block;
}

.page-blog-huong-dan-dang-ky-m66__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
}

.page-blog-huong-dan-dang-ky-m66__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD86A; /* Gold color for main title */
}

.page-blog-huong-dan-dang-ky-m66__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1;
}

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

.page-blog-huong-dan-dang-ky-m66__btn-primary,
.page-blog-huong-dan-dang-ky-m66__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-m66__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-blog-huong-dan-dang-ky-m66__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-blog-huong-dan-dang-ky-m66__btn-secondary {
  background: #B71C1C;
  color: #FFF5E1;
  border: 2px solid #FFCC66; /* Glow color for border */
}

.page-blog-huong-dan-dang-ky-m66__btn-secondary:hover {
  background: #7A0E0E;
  border-color: #F4D34D;
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-m66__content-section {
  padding: 60px 0;
  background: #ffffff; /* Light background for content */
  color: #333333; /* Dark text for light background */
}

.page-blog-huong-dan-dang-ky-m66__content-section:nth-of-type(odd) {
  background: #f9f9f9; /* Slightly different background for alternating sections */
}

.page-blog-huong-dan-dang-ky-m66__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #C91F17; /* Main brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-blog-huong-dan-dang-ky-m66__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-blog-huong-dan-dang-ky-m66__article-body h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #E53935; /* Auxiliary color for subheadings */
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-m66__article-body p {
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-m66__article-body ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-m66__article-body ol {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-m66__article-body li {
  margin-bottom: 8px;
}

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

.page-blog-huong-dan-dang-ky-m66__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-huong-dan-dang-ky-m66__article-figure figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #666;
}

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

.page-blog-huong-dan-dang-ky-m66__step-title {
  font-size: 1.8rem;
  color: #C91F17;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-blog-huong-dan-dang-ky-m66__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-blog-huong-dan-dang-ky-m66__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

details.page-blog-huong-dan-dang-ky-m66__faq-item summary.page-blog-huong-dan-dang-ky-m66__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;
  font-weight: 600;
  color: #333333;
}

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

details.page-blog-huong-dan-dang-ky-m66__faq-item summary.page-blog-huong-dan-dang-ky-m66__faq-question:hover {
  background: #f5f5f5;
}

.page-blog-huong-dan-dang-ky-m66__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: #C91F17; /* Main brand color for FAQ questions */
}

.page-blog-huong-dan-dang-ky-m66__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  line-height: 1;
}

details.page-blog-huong-dan-dang-ky-m66__faq-item .page-blog-huong-dan-dang-ky-m66__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  font-size: 1rem;
  color: #555;
}

.page-blog-huong-dan-dang-ky-m66__final-cta-section {
  padding: 80px 0;
  background: #B71C1C;
  color: #FFF5E1;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-m66__final-cta-section .page-blog-huong-dan-dang-ky-m66__section-title {
  color: #FFD86A; /* Gold for final CTA title */
}

.page-blog-huong-dan-dang-ky-m66__final-cta-section .page-blog-huong-dan-dang-ky-m66__description {
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-m66__container {
    padding: 0 15px;
  }

  .page-blog-huong-dan-dang-ky-m66__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-m66__hero-image img {
    object-fit: contain !important; /* Mobile: contain to show full image, prevent cropping */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio if set */
    height: 100% !important;
    width: 100% !important;
  }

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

  .page-blog-huong-dan-dang-ky-m66__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust clamp for smaller screens */
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-m66__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-blog-huong-dan-dang-ky-m66__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-blog-huong-dan-dang-ky-m66__btn-primary,
  .page-blog-huong-dan-dang-ky-m66__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-blog-huong-dan-dang-ky-m66__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding: 0 15px 10px; /* Add padding to prevent text overflow */
    box-sizing: border-box;
  }

  .page-blog-huong-dan-dang-ky-m66__article-body {
    font-size: 1rem;
    padding: 0 15px; /* Add padding to prevent text overflow */
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
  }

  .page-blog-huong-dan-dang-ky-m66__article-body h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-m66__article-figure {
    margin: 20px 0;
  }

  .page-blog-huong-dan-dang-ky-m66__article-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure min size on mobile too */
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-m66__article-figure figcaption {
    font-size: 0.9rem;
  }

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

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

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

  details.page-blog-huong-dan-dang-ky-m66__faq-item summary.page-blog-huong-dan-dang-ky-m66__faq-question {
    padding: 15px;
  }

  .page-blog-huong-dan-dang-ky-m66__faq-qtext {
    font-size: 1rem;
  }

  .page-blog-huong-dan-dang-ky-m66__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
    margin-left: 10px;
  }

  details.page-blog-huong-dan-dang-ky-m66__faq-item .page-blog-huong-dan-dang-ky-m66__faq-answer {
    padding: 0 15px 15px;
  }

  .page-blog-huong-dan-dang-ky-m66__final-cta-section {
    padding: 60px 0;
  }

  .page-blog-huong-dan-dang-ky-m66__final-cta-section .page-blog-huong-dan-dang-ky-m66__description {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  /* Ensure all img tags within content sections are responsive */
  .page-blog-huong-dan-dang-ky-m66 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-m66__content-area,
  .page-blog-huong-dan-dang-ky-m66__text-block,
  .page-blog-huong-dan-dang-ky-m66__why-choose,
  .page-blog-huong-dan-dang-ky-m66__registration-guide,
  .page-blog-huong-dan-dang-ky-m66__troubleshooting,
  .page-blog-huong-dan-dang-ky-m66__security-tips,
  .page-blog-huong-dan-dang-ky-m66__promotions,
  .page-blog-huong-dan-dang-ky-m66__faq-section,
  .page-blog-huong-dan-dang-ky-m66__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}