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

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

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

.page-blog-huong-dan-dang-ky-6ffcon__hero-section {
  position: relative;
  padding-top: 10px; /* Small top margin for fixed header */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-6ffcon__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-6ffcon__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-huong-dan-dang-ky-6ffcon__hero-content {
  padding: 20px;
  max-width: 800px;
  margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-6ffcon__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #E53935;
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-6ffcon__intro-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-blog-huong-dan-dang-ky-6ffcon__section-title {
  font-size: 2.2em;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-6ffcon__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-blog-huong-dan-dang-ky-6ffcon__card {
  background: #FFFFFF; /* Custom Card BG */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-blog-huong-dan-dang-ky-6ffcon__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-6ffcon__card-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-6ffcon__card-text {
  font-size: 1em;
  color: #333333;
  flex-grow: 1;
}

.page-blog-huong-dan-dang-ky-6ffcon__card-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 4px;
  object-fit: cover;
}

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

.page-blog-huong-dan-dang-ky-6ffcon__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-blog-huong-dan-dang-ky-6ffcon__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.page-blog-huong-dan-dang-ky-6ffcon__step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-blog-huong-dan-dang-ky-6ffcon__step-item:nth-child(even) {
  align-items: flex-end;
  text-align: right;
}

.page-blog-huong-dan-dang-ky-6ffcon__step-item:nth-child(even) .page-blog-huong-dan-dang-ky-6ffcon__step-image {
  order: -1; /* Image on left for even steps */
  margin-right: 20px;
  margin-left: 0;
}

.page-blog-huong-dan-dang-ky-6ffcon__step-item:nth-child(odd) .page-blog-huong-dan-dang-ky-6ffcon__step-image {
  margin-left: 20px;
  margin-right: 0;
}

.page-blog-huong-dan-dang-ky-6ffcon__step-title {
  font-size: 1.8em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-6ffcon__step-item p {
  font-size: 1.05em;
  color: #333333;
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-6ffcon__step-image {
  max-width: 60%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

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

.page-blog-huong-dan-dang-ky-6ffcon__list li {
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-6ffcon__list-icon {
  list-style: none;
  padding-left: 0;
}

.page-blog-huong-dan-dang-ky-6ffcon__list-icon li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1em;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-6ffcon__list-icon-bullet {
  color: #E53935;
  font-size: 1.2em;
  margin-right: 10px;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-6ffcon__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-blog-huong-dan-dang-ky-6ffcon__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-6ffcon__faq-question {
  font-size: 1.2em;
  color: #E53935;
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin: 0; /* Reset margin for h3 */
}

.page-blog-huong-dan-dang-ky-6ffcon__faq-answer {
  padding: 0 25px 20px;
  color: #333333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-blog-huong-dan-dang-ky-6ffcon__faq-answer p {
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-6ffcon__faq-item.active .page-blog-huong-dan-dang-ky-6ffcon__faq-answer {
  max-height: 500px; /* Adjust as needed */
}

.page-blog-huong-dan-dang-ky-6ffcon__faq-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 15px;
  border-radius: 4px;
}

.page-blog-huong-dan-dang-ky-6ffcon__conclusion-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #333333;
}

/* Buttons */
.page-blog-huong-dan-dang-ky-6ffcon__btn-primary,
.page-blog-huong-dan-dang-ky-6ffcon__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-6ffcon__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom Button color */
  color: #ffffff;
  border: none;
}

.page-blog-huong-dan-dang-ky-6ffcon__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-6ffcon__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-blog-huong-dan-dang-ky-6ffcon__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

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

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-6ffcon {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-blog-huong-dan-dang-ky-6ffcon__section {
    padding: 20px 0;
  }

  /* Hero Section */
  .page-blog-huong-dan-dang-ky-6ffcon__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Section Titles */
  .page-blog-huong-dan-dang-ky-6ffcon__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  /* Card Layouts */
  .page-blog-huong-dan-dang-ky-6ffcon__grid-2-cols,
  .page-blog-huong-dan-dang-ky-6ffcon__grid-3-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__card-title {
    font-size: 1.2em;
  }

  /* Step-by-step */
  .page-blog-huong-dan-dang-ky-6ffcon__step-by-step {
    gap: 30px;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__step-item:nth-child(even),
  .page-blog-huong-dan-dang-ky-6ffcon__step-item:nth-child(odd) {
    align-items: center;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__step-item:nth-child(even) .page-blog-huong-dan-dang-ky-6ffcon__step-image,
  .page-blog-huong-dan-dang-ky-6ffcon__step-item:nth-child(odd) .page-blog-huong-dan-dang-ky-6ffcon__step-image {
    order: unset;
    margin: 20px 0 0 0;
    max-width: 100%;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__step-image {
    max-width: 100%;
    width: 100%;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__list {
    margin-left: 0;
    padding-left: 20px;
    text-align: left;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__list-icon li {
    font-size: 1em;
    text-align: left;
  }

  /* FAQ Section */
  .page-blog-huong-dan-dang-ky-6ffcon__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-blog-huong-dan-dang-ky-6ffcon__faq-answer {
    padding: 0 20px 15px;
  }

  /* Buttons */
  .page-blog-huong-dan-dang-ky-6ffcon__btn-primary,
  .page-blog-huong-dan-dang-ky-6ffcon__btn-secondary,
  .page-blog-huong-dan-dang-ky-6ffcon a[class*="button"],
  .page-blog-huong-dan-dang-ky-6ffcon 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-left: 15px;
    padding-right: 15px;
    margin-top: 10px; /* Add some spacing between stacked buttons */
  }

  /* Button containers for multiple buttons */
  .page-blog-huong-dan-dang-ky-6ffcon__hero-content,
  .page-blog-huong-dan-dang-ky-6ffcon__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Generic images */
  .page-blog-huong-dan-dang-ky-6ffcon img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure no horizontal scroll */
  .page-blog-huong-dan-dang-ky-6ffcon {
    overflow-x: hidden;
  }
}