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

.page-blog-huong-dan-dang-ky-go9__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 60px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-go9__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-blog-huong-dan-dang-ky-go9__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-blog-huong-dan-dang-ky-go9__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #333333; /* Ensure contrast on white background */
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-go9__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-blog-huong-dan-dang-ky-go9__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-blog-huong-dan-dang-ky-go9__btn-primary,
.page-blog-huong-dan-dang-ky-go9__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-go9__btn-primary {
  background-color: #C30808; /* Custom color for Đăng ký/Đăng nhập */
  color: #000000; /* Adjusted for WCAG AA contrast */
  border: 2px solid #C30808;
}

.page-blog-huong-dan-dang-ky-go9__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-blog-huong-dan-dang-ky-go9__btn-secondary {
  background-color: #FFFFFF;
  color: #333333; /* Adjusted for WCAG AA contrast */
  border: 2px solid #017439; /* Brand main color for border */
}

.page-blog-huong-dan-dang-ky-go9__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
}

.page-blog-huong-dan-dang-ky-go9__hero-image {
  flex: 1 1 40%;
  min-width: 280px;
  text-align: center;
}

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

.page-blog-huong-dan-dang-ky-go9__introduction-section,
.page-blog-huong-dan-dang-ky-go9__preparation-section,
.page-blog-huong-dan-dang-ky-go9__guide-section,
.page-blog-huong-dan-dang-ky-go9__post-registration-section,
.page-blog-huong-dan-dang-ky-go9__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-go9__dark-bg {
  background-color: #017439; /* Brand main color */
  color: #FFFFFF; /* White text for dark background */
}

.page-blog-huong-dan-dang-ky-go9__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-blog-huong-dan-dang-ky-go9__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333333; /* Ensure contrast on white background */
}

.page-blog-huong-dan-dang-ky-go9__dark-bg .page-blog-huong-dan-dang-ky-go9__section-title {
  color: #FFFFFF;
}

.page-blog-huong-dan-dang-ky-go9__preparation-list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
}

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

.page-blog-huong-dan-dang-ky-go9__guide-step {
  margin-bottom: 50px;
  padding: 30px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-go9__step-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: #017439; /* Brand main color for step titles */
}

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

.page-blog-huong-dan-dang-ky-go9__step-list {
  list-style: decimal;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 15px;
  margin-bottom: 25px;
}

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

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

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

.page-blog-huong-dan-dang-ky-go9__post-reg-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-blog-huong-dan-dang-ky-go9__item-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-go9__post-reg-item p {
  margin-bottom: 25px;
}

.page-blog-huong-dan-dang-ky-go9__faq-list {
  margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-go9__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-go9__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
}

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

.page-blog-huong-dan-dang-ky-go9__faq-qtext {
  flex-grow: 1;
}

.page-blog-huong-dan-dang-ky-go9__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-blog-huong-dan-dang-ky-go9__faq-item[open] .page-blog-huong-dan-dang-ky-go9__faq-toggle {
  transform: rotate(45deg); /* Simple visual change for open state */
}

.page-blog-huong-dan-dang-ky-go9__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #555555;
  background-color: #f9f9f9;
}

.page-blog-huong-dan-dang-ky-go9__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-go9__conclusion-section .page-blog-huong-dan-dang-ky-go9__section-title {
  margin-bottom: 25px;
  color: #FFFFFF;
}

.page-blog-huong-dan-dang-ky-go9__conclusion-section p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-go9__hero-container {
    padding: 30px 15px;
    gap: 30px;
  }

  .page-blog-huong-dan-dang-ky-go9__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-blog-huong-dan-dang-ky-go9__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }

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

  .page-blog-huong-dan-dang-ky-go9__guide-step {
    padding: 25px;
  }

  .page-blog-huong-dan-dang-ky-go9__step-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
  }

  .page-blog-huong-dan-dang-ky-go9__item-title {
    font-size: 1.4rem;
  }

  .page-blog-huong-dan-dang-ky-go9__faq-item summary {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-go9__hero-section {
    padding-top: 10px !important; /* Ensure small top padding on mobile */
    padding-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-go9__hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }

  .page-blog-huong-dan-dang-ky-go9__hero-content {
    order: 2; /* Content below image */
    flex: 1 1 100%;
  }

  .page-blog-huong-dan-dang-ky-go9__hero-image {
    order: 1; /* Image above content */
    flex: 1 1 100%;
    margin-bottom: 30px;
  }

  .page-blog-huong-dan-dang-ky-go9__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog-huong-dan-dang-ky-go9__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%; /* Ensure container fills width */
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-blog-huong-dan-dang-ky-go9__btn-primary,
  .page-blog-huong-dan-dang-ky-go9__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-huong-dan-dang-ky-go9__hero-side-image,
  .page-blog-huong-dan-dang-ky-go9__step-image,
  .page-blog-huong-dan-dang-ky-go9 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-go9__introduction-section,
  .page-blog-huong-dan-dang-ky-go9__preparation-section,
  .page-blog-huong-dan-dang-ky-go9__guide-section,
  .page-blog-huong-dan-dang-ky-go9__post-registration-section,
  .page-blog-huong-dan-dang-ky-go9__faq-section,
  .page-blog-huong-dan-dang-ky-go9__conclusion-section {
    padding: 40px 0;
  }

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

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

  .page-blog-huong-dan-dang-ky-go9__guide-step {
    padding: 20px;
    margin-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-go9__step-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .page-blog-huong-dan-dang-ky-go9__post-reg-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-huong-dan-dang-ky-go9__item-title {
    font-size: 1.3rem;
  }

  .page-blog-huong-dan-dang-ky-go9__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-huong-dan-dang-ky-go9__faq-answer {
    padding: 10px 20px 20px;
  }

  .page-blog-huong-dan-dang-ky-go9__conclusion-section p {
    font-size: 1rem;
  }
}