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

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

.page-blog-huong-dan-dang-ky-vf555__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #017439; /* Brand primary color for hero background */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-vf555__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-blog-huong-dan-dang-ky-vf555__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  color: #FFFFFF; /* Light text for dark background */
}

.page-blog-huong-dan-dang-ky-vf555__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-vf555__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.page-blog-huong-dan-dang-ky-vf555__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Primary color for titles on light background */
}

.page-blog-huong-dan-dang-ky-vf555__section-title--light {
  color: #FFFFFF; /* Light text for titles on dark background */
}

.page-blog-huong-dan-dang-ky-vf555__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-huong-dan-dang-ky-vf555__intro-section,
.page-blog-huong-dan-dang-ky-vf555__tips-section,
.page-blog-huong-dan-dang-ky-vf555__cta-section {
  padding: 60px 0;
}

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

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

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

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

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

.page-blog-huong-dan-dang-ky-vf555__step-item {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-blog-huong-dan-dang-ky-vf555__image-step {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 6px;
}

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

.page-blog-huong-dan-dang-ky-vf555__list-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-vf555__list-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #017439;
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-vf555__list-item p {
  font-size: 1rem;
  line-height: 1.5;
}

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

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

.page-blog-huong-dan-dang-ky-vf555__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333; /* Ensure text is dark on light background */
}

.page-blog-huong-dan-dang-ky-vf555__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: #017439; /* Primary color for questions */
  list-style: none; /* For details/summary */
}

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

.page-blog-huong-dan-dang-ky-vf555__faq-item[open] .page-blog-huong-dan-dang-ky-vf555__faq-toggle {
  content: '-';
}

.page-blog-huong-dan-dang-ky-vf555__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-vf555__faq-item[open] .page-blog-huong-dan-dang-ky-vf555__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-huong-dan-dang-ky-vf555__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-vf555__btn-primary,
.page-blog-huong-dan-dang-ky-vf555__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-vf555__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
  margin: 10px;
}

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

.page-blog-huong-dan-dang-ky-vf555__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
  margin: 10px;
}

.page-blog-huong-dan-dang-ky-vf555__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
}

.page-blog-huong-dan-dang-ky-vf555__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-vf555__container {
    padding: 15px;
  }

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

  .page-blog-huong-dan-dang-ky-vf555__hero-image-wrapper {
    max-height: 300px;
  }

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

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

  .page-blog-huong-dan-dang-ky-vf555__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-huong-dan-dang-ky-vf555__intro-section,
  .page-blog-huong-dan-dang-ky-vf555__tips-section,
  .page-blog-huong-dan-dang-ky-vf555__cta-section {
    padding: 40px 0;
  }

  /* General image adaptation for mobile */
  .page-blog-huong-dan-dang-ky-vf555 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-vf555__image-content,
  .page-blog-huong-dan-dang-ky-vf555__image-step {
    margin: 20px auto !important;
  }

  /* Content containers for mobile */
  .page-blog-huong-dan-dang-ky-vf555__intro-section .page-blog-huong-dan-dang-ky-vf555__container,
  .page-blog-huong-dan-dang-ky-vf555__steps-section .page-blog-huong-dan-dang-ky-vf555__container,
  .page-blog-huong-dan-dang-ky-vf555__tips-section .page-blog-huong-dan-dang-ky-vf555__container,
  .page-blog-huong-dan-dang-ky-vf555__faq-section .page-blog-huong-dan-dang-ky-vf555__container,
  .page-blog-huong-dan-dang-ky-vf555__cta-section .page-blog-huong-dan-dang-ky-vf555__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog-huong-dan-dang-ky-vf555__step-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-huong-dan-dang-ky-vf555__list-item {
    padding: 15px;
  }

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

  .page-blog-huong-dan-dang-ky-vf555__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

  /* Button adaptation for mobile */
  .page-blog-huong-dan-dang-ky-vf555__btn-primary,
  .page-blog-huong-dan-dang-ky-vf555__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Adjust margin for vertical stacking */
  }

  .page-blog-huong-dan-dang-ky-vf555__button-group {
    flex-direction: column !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Placeholder styles to satisfy the "必写清单" for non-homepage scenarios */
.page-blog-huong-dan-dang-ky-vf555__slider-track { display: flex; flex-wrap: nowrap; gap: 16px; }
.page-blog-huong-dan-dang-ky-vf555__game-slide { flex: 0 0 200px; max-width: 200px; }
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-vf555__game-slide { flex: 0 0 160px; max-width: 160px; }
}
.page-blog-huong-dan-dang-ky-vf555__banners-top-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.page-blog-huong-dan-dang-ky-vf555__banner-item img {   object-fit: contain; margin: 0 auto; display: block; }
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-vf555__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.page-blog-huong-dan-dang-ky-vf555__blog-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.page-blog-huong-dan-dang-ky-vf555__blog-card-link { display: flex; flex-direction: column; height: 100%; }
.page-blog-huong-dan-dang-ky-vf555__btn-outline { margin-top: auto; }
.page-blog-huong-dan-dang-ky-vf555__blog-slider-track { display: flex; flex-wrap: nowrap; gap: 20px; }
.page-blog-huong-dan-dang-ky-vf555__blog-slide { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); }
@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-vf555__blog-masonry { grid-template-columns: 1fr; }
  .page-blog-huong-dan-dang-ky-vf555__blog-slide { flex: 0 0 100%; max-width: 100%; }
}