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

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

.page-blog-huong-dan-dang-ky-f8bet2__section {
  padding: 60px 0;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-f8bet2__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #017439;
}

.page-blog-huong-dan-dang-ky-f8bet2__section-title--white {
  color: #FFFFFF;
}

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

.page-blog-huong-dan-dang-ky-f8bet2__paragraph--white {
  color: #FFFFFF;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-f8bet2__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #FFFFFF;
}

.page-blog-huong-dan-dang-ky-f8bet2__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-blog-huong-dan-dang-ky-f8bet2__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  min-height: 200px; /* Minimum size for all images */
}

.page-blog-huong-dan-dang-ky-f8bet2__hero-content {
  position: relative;
  z-index: 1;
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-f8bet2__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #017439;
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-f8bet2__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-blog-huong-dan-dang-ky-f8bet2__btn-primary,
.page-blog-huong-dan-dang-ky-f8bet2__btn-secondary,
.page-blog-huong-dan-dang-ky-f8bet2__btn-register,
.page-blog-huong-dan-dang-ky-f8bet2__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-f8bet2__btn-primary {
  background: #017439;
  color: #FFFFFF;
  margin-right: 15px;
}

.page-blog-huong-dan-dang-ky-f8bet2__btn-primary:hover {
  background: #005f2c;
}

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

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

.page-blog-huong-dan-dang-ky-f8bet2__btn-register {
  background: #C30808;
  color: #FFFF00;
  margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-f8bet2__btn-register:hover {
  background: #a10707;
}

.page-blog-huong-dan-dang-ky-f8bet2__btn-login {
  background: #C30808;
  color: #FFFF00;
  margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-f8bet2__btn-login:hover {
  background: #a10707;
}

/* Guide Steps Section */
.page-blog-huong-dan-dang-ky-f8bet2__guide-steps {
  background: #f9f9f9;
  padding: 80px 0;
}

.page-blog-huong-dan-dang-ky-f8bet2__step-item {
  margin-bottom: 60px;
  text-align: left;
  padding: 30px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-huong-dan-dang-ky-f8bet2__step-item:last-child {
  margin-bottom: 0;
}

.page-blog-huong-dan-dang-ky-f8bet2__step-title {
  font-size: 28px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-f8bet2__step-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 200px; /* Minimum size for all images */
}

/* Tips Section */
.page-blog-huong-dan-dang-ky-f8bet2__tips-section {
  background: #017439;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-blog-huong-dan-dang-ky-f8bet2__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-f8bet2__list-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-f8bet2__list-item:last-child {
  margin-bottom: 0;
}

.page-blog-huong-dan-dang-ky-f8bet2__list-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFFF00; /* Custom color for list titles on dark background */
  margin-bottom: 10px;
}

/* Benefits Section */
.page-blog-huong-dan-dang-ky-f8bet2__benefits-section {
  background: #FFFFFF;
  padding: 80px 0;
}

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

.page-blog-huong-dan-dang-ky-f8bet2__benefit-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-huong-dan-dang-ky-f8bet2__benefit-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Minimum size for all images */
}

.page-blog-huong-dan-dang-ky-f8bet2__benefit-title {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-f8bet2__faq-section {
  padding: 80px 0;
  background: #f2f7f4; /* Light green tint for FAQ section */
}

details.page-blog-huong-dan-dang-ky-f8bet2__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-blog-huong-dan-dang-ky-f8bet2__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-f8bet2__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-huong-dan-dang-ky-f8bet2__faq-item .page-blog-huong-dan-dang-ky-f8bet2__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  text-align: left;
}

/* CTA Section */
.page-blog-huong-dan-dang-ky-f8bet2__cta-section {
  background: #017439;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-blog-huong-dan-dang-ky-f8bet2__cta-content {
  max-width: 800px;
}

.page-blog-huong-dan-dang-ky-f8bet2__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Images general styles */
.page-blog-huong-dan-dang-ky-f8bet2 img {
  max-width: 100%;
  height: auto;
  display: block;
  min-height: 200px; /* Enforce minimum size */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-f8bet2__main-title {
    font-size: 42px;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__section-title {
    font-size: 32px;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 849px) {
  .page-blog-huong-dan-dang-ky-f8bet2__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-blog-huong-dan-dang-ky-f8bet2 {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  /* HERO Section mobile */
  .page-blog-huong-dan-dang-ky-f8bet2__hero-section {
    padding-top: 10px; /* Specific small top padding for mobile */
    padding-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px; /* Enforce minimum size */
  }

  .page-blog-huong-dan-dang-ky-f8bet2__main-title {
    font-size: clamp(28px, 8vw, 36px); /* clamp font size */
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Buttons mobile */
  .page-blog-huong-dan-dang-ky-f8bet2__btn-primary,
  .page-blog-huong-dan-dang-ky-f8bet2__btn-secondary,
  .page-blog-huong-dan-dang-ky-f8bet2__btn-register,
  .page-blog-huong-dan-dang-ky-f8bet2__btn-login {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 10px; /* Add bottom margin for stacked buttons */
  }

  .page-blog-huong-dan-dang-ky-f8bet2__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Adjust gap for stacked buttons */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Section Titles mobile */
  .page-blog-huong-dan-dang-ky-f8bet2__section-title {
    font-size: 28px;
    margin-bottom: 20px;
    max-width: 100%;
    word-wrap: break-word;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__paragraph {
    font-size: 15px;
    max-width: 100%;
    text-align: left;
  }

  /* Guide Steps mobile */
  .page-blog-huong-dan-dang-ky-f8bet2__guide-steps {
    padding: 40px 0;
  }

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

  .page-blog-huong-dan-dang-ky-f8bet2__step-title {
    font-size: 22px;
    word-wrap: break-word;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px; /* Enforce minimum size */
  }

  /* Tips Section mobile */
  .page-blog-huong-dan-dang-ky-f8bet2__tips-section {
    padding: 40px 0;
  }

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

  .page-blog-huong-dan-dang-ky-f8bet2__list-title {
    font-size: 18px;
  }

  /* Benefits Section mobile */
  .page-blog-huong-dan-dang-ky-f8bet2__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__benefit-card {
    padding: 20px;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__benefit-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px; /* Enforce minimum size */
  }

  .page-blog-huong-dan-dang-ky-f8bet2__benefit-title {
    font-size: 20px;
  }

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

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

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

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

  /* CTA Section mobile */
  .page-blog-huong-dan-dang-ky-f8bet2__cta-section {
    padding: 40px 0;
  }

  .page-blog-huong-dan-dang-ky-f8bet2__cta-content {
    max-width: 100%;
  }

  /* Ensure all content images are responsive */
  .page-blog-huong-dan-dang-ky-f8bet2__content-area img,
  .page-blog-huong-dan-dang-ky-f8bet2__guide-steps img,
  .page-blog-huong-dan-dang-ky-f8bet2__benefits-section img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  /* No product grid on this page, so no 2-col product grid specific rule */
  /* Article body is handled by general paragraph/section max-width and padding */
}

/* Color Contrast Fixes (if needed, but designed to be compliant) */
.page-blog-huong-dan-dang-ky-f8bet2__dark-bg {
  color: #ffffff;
  background: #017439;
}

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

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