/* Base styles for the page-blog-huong-dan-dang-ky-8go */
.page-blog-huong-dan-dang-ky-8go {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--secondary-color, #f8f8f8); /* Assuming light background from shared */
}

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

.page-blog-huong-dan-dang-ky-8go__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-8go__section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-8go__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-8go__description {
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-8go__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #f0f8ff; /* Light background for hero */
  text-align: center;
  padding-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-8go__hero-image {
  margin-bottom: 30px;
}

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

.page-blog-huong-dan-dang-ky-8go__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.page-blog-huong-dan-dang-ky-8go__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s 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-8go__btn-primary:hover {
  background-color: #1a8cc4;
  transform: translateY(-2px);
}

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

/* Content Wrappers for image and text side-by-side */
.page-blog-huong-dan-dang-ky-8go__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-8go__text-content {
  flex: 1;
  min-width: 300px;
}

.page-blog-huong-dan-dang-ky-8go__image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

.page-blog-huong-dan-dang-ky-8go__content-wrapper--reversed {
  flex-direction: row-reverse;
}

/* Lists */
.page-blog-huong-dan-dang-ky-8go__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 15px;
}

.page-blog-huong-dan-dang-ky-8go__list li {
  margin-bottom: 10px;
  color: #333333;
}

/* Step-by-step guide */
.page-blog-huong-dan-dang-ky-8go__step-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-8go__step-title {
  font-size: clamp(22px, 3vw, 28px);
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-8go__step-content img {
  margin-top: 20px;
  margin-bottom: 20px;
}

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

details.page-blog-huong-dan-dang-ky-8go__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-blog-huong-dan-dang-ky-8go__faq-item summary.page-blog-huong-dan-dang-ky-8go__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-8go__faq-item summary.page-blog-huong-dan-dang-ky-8go__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-blog-huong-dan-dang-ky-8go__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-8go__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-8go__faq-item .page-blog-huong-dan-dang-ky-8go__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-blog-huong-dan-dang-ky-8go__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Conclusion section specific styles */
.page-blog-huong-dan-dang-ky-8go__conclusion {
  text-align: center;
  padding-bottom: 60px;
}

.page-blog-huong-dan-dang-ky-8go__conclusion p {
  margin-bottom: 30px;
  font-size: 17px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-8go__hero-image img {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-8go__container {
    padding: 0 15px;
  }

  .page-blog-huong-dan-dang-ky-8go__section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-8go__main-title {
    font-size: clamp(28px, 8vw, 36px);
    padding: 0 10px;
  }

  .page-blog-huong-dan-dang-ky-8go__description {
    font-size: 16px;
    padding: 0 10px;
  }

  .page-blog-huong-dan-dang-ky-8go__hero-section {
    padding-top: 10px; /* Small top padding for mobile, consistent with desktop */
    padding-bottom: 30px;
  }
  
  .page-blog-huong-dan-dang-ky-8go__hero-image {
    margin-bottom: 20px;
  }
  
  .page-blog-huong-dan-dang-ky-8go__hero-image img {
    object-fit: contain !important; /* Mobile: prevent cropping */
    aspect-ratio: unset !important; /* Mobile: allow natural aspect ratio */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 0; /* Optional: sharper edges on mobile */
  }

  .page-blog-huong-dan-dang-ky-8go__section-title {
    font-size: clamp(24px, 7vw, 30px);
    margin-bottom: 20px;
    text-align: center;
    padding: 0 10px; /* Prevent text overflow */
  }

  /* General image and container rules for mobile */
  .page-blog-huong-dan-dang-ky-8go img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    box-sizing: border-box !important;
  }
  
  .page-blog-huong-dan-dang-ky-8go__section,
  .page-blog-huong-dan-dang-ky-8go__container,
  .page-blog-huong-dan-dang-ky-8go__content-wrapper,
  .page-blog-huong-dan-dang-ky-8go__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Content wrappers for mobile */
  .page-blog-huong-dan-dang-ky-8go__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-blog-huong-dan-dang-ky-8go__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-blog-huong-dan-dang-ky-8go__text-content,
  .page-blog-huong-dan-dang-ky-8go__image-content {
    min-width: unset;
    width: 100%;
  }

  /* Buttons for mobile */
  .page-blog-huong-dan-dang-ky-8go__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-blog-huong-dan-dang-ky-8go__btn-large {
    padding: 15px 20px;
    font-size: 18px;
  }

  /* FAQ for mobile */
  details.page-blog-huong-dan-dang-ky-8go__faq-item summary.page-blog-huong-dan-dang-ky-8go__faq-question {
    padding: 15px;
  }

  .page-blog-huong-dan-dang-ky-8go__faq-qtext {
    font-size: 15px;
  }
}