/* Base styles for the page content */
.page-blog-huong-dan-dang-ky-77wim {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared, default to white */
  padding-bottom: 40px; /* Add some bottom padding */
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-77wim__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared */
  margin-bottom: 40px;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-77wim__hero-image {
  max-width: 100%;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-77wim__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

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

.page-blog-huong-dan-dang-ky-77wim__main-title {
  color: #26A9E0; /* Brand primary color for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for readability */
  max-width: 100%; /* Ensure H1 doesn't overflow */
}

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

/* CTA Buttons */
.page-blog-huong-dan-dang-ky-77wim__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 15px; /* Added padding to ensure buttons don't touch edges on desktop */
}

.page-blog-huong-dan-dang-ky-77wim__cta-buttons--centered {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-77wim__btn-primary,
.page-blog-huong-dan-dang-ky-77wim__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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-77wim__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-blog-huong-dan-dang-ky-77wim__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-blog-huong-dan-dang-ky-77wim__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Primary brand color for text */
  border: 2px solid #26A9E0;
}

.page-blog-huong-dan-dang-ky-77wim__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

/* Specific button styles for dark background sections */
.page-blog-huong-dan-dang-ky-77wim__btn-primary--dark-bg {
  background-color: #EA7C07; /* Login color for primary on dark bg */
  border-color: #EA7C07;
  color: #FFFFFF;
}
.page-blog-huong-dan-dang-ky-77wim__btn-primary--dark-bg:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-blog-huong-dan-dang-ky-77wim__btn-secondary--dark-bg {
  background-color: #FFFFFF;
  border-color: #EA7C07; /* Login color for border on dark bg */
  color: #EA7C07; /* Login color for text on dark bg */
}
.page-blog-huong-dan-dang-ky-77wim__btn-secondary--dark-bg:hover {
  background-color: #fce8d2;
  border-color: #d16e06;
  color: #d16e06;
}

/* General Section Styles */
.page-blog-huong-dan-dang-ky-77wim__section {
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 30px 15px;
  box-sizing: border-box;
  background-color: #FFFFFF; /* Default light background */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #333333; /* Dark text for light background */
}

.page-blog-huong-dan-dang-ky-77wim__section-title {
  color: #26A9E0; /* Primary brand color for H2 */
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.2em;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-77wim__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.05em;
  color: #555555;
}

/* Dark background sections */
.page-blog-huong-dan-dang-ky-77wim__dark-bg {
  background-color: #26A9E0; /* Primary brand color as dark background */
  color: #FFFFFF; /* White text for dark background */
  box-shadow: none;
}

.page-blog-huong-dan-dang-ky-77wim__dark-bg .page-blog-huong-dan-dang-ky-77wim__section-title,
.page-blog-huong-dan-dang-ky-77wim__dark-bg .page-blog-huong-dan-dang-ky-77wim__section-description {
  color: #FFFFFF; /* Ensure titles and descriptions are white on dark background */
}

/* Feature Grid (Why Register section) */
.page-blog-huong-dan-dang-ky-77wim__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-77wim__feature-item {
  background-color: #f8f8f8; /* Slightly off-white for feature cards */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  text-align: left;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-77wim__feature-title {
  color: #26A9E0; /* Primary brand color for H3 */
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-77wim__feature-text {
  font-size: 0.95em;
  color: #555555;
}

/* Step-by-Step Guide */
.page-blog-huong-dan-dang-ky-77wim__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-77wim__step-item {
  text-align: center;
}

.page-blog-huong-dan-dang-ky-77wim__step-image {
  margin-bottom: 20px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-blog-huong-dan-dang-ky-77wim__step-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-blog-huong-dan-dang-ky-77wim__step-title {
  color: #FFFFFF; /* White text for dark background */
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-77wim__step-text {
  color: #f0f0f0; /* Light gray text for dark background */
}

/* Important Notes Section */
.page-blog-huong-dan-dang-ky-77wim__note-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-blog-huong-dan-dang-ky-77wim__note-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-left: 5px solid #26A9E0; /* Accent border */
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  color: #333333;
}

.page-blog-huong-dan-dang-ky-77wim__note-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-77wim__note-text {
  font-size: 0.95em;
  color: #555555;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-77wim__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-blog-huong-dan-dang-ky-77wim__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-77wim__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  background-color: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-blog-huong-dan-dang-ky-77wim__faq-item[open] .page-blog-huong-dan-dang-ky-77wim__faq-question {
  background-color: #e0f2f7; /* Lighter blue when open */
  color: #26A9E0;
}

.page-blog-huong-dan-dang-ky-77wim__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-blog-huong-dan-dang-ky-77wim__faq-item[open] .page-blog-huong-dan-dang-ky-77wim__faq-toggle {
  transform: rotate(45deg); /* Change + to X */
}

.page-blog-huong-dan-dang-ky-77wim__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  color: #555555;
}

/* Final CTA Section */
.page-blog-huong-dan-dang-ky-77wim__final-cta {
  text-align: center;
  padding: 50px 15px;
  margin-bottom: 0; /* Last section */
}

/* Image specific styles for min size and alt */
.page-blog-huong-dan-dang-ky-77wim img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distortion */
}

/* Text contrast fix for dark backgrounds */
.page-blog-huong-dan-dang-ky-77wim__text-contrast-fix {
  color: #FFFFFF !important; /* Force white text on dark backgrounds */
}

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

  /* HERO Section */
  .page-blog-huong-dan-dang-ky-77wim__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 30px;
  }

  .page-blog-huong-dan-dang-ky-77wim__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-77wim__hero-content {
    padding: 15px;
  }

  .page-blog-huong-dan-dang-ky-77wim__main-title {
    font-size: 1.8em; /* Adjusted for mobile */
  }

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

  /* CTA Buttons */
  .page-blog-huong-dan-dang-ky-77wim__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-huong-dan-dang-ky-77wim__btn-primary,
  .page-blog-huong-dan-dang-ky-77wim__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px; /* Adjust padding for mobile */
  }

  /* General Section Styles */
  .page-blog-huong-dan-dang-ky-77wim__section {
    margin: 0 auto 30px auto;
    padding: 20px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-77wim__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-77wim__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Feature Grid */
  .page-blog-huong-dan-dang-ky-77wim__feature-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

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

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

  /* Step-by-Step Guide */
  .page-blog-huong-dan-dang-ky-77wim__step-by-step-guide {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 30px;
  }

  .page-blog-huong-dan-dang-ky-77wim__step-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-77wim__step-title {
    font-size: 1.3em;
  }

  /* Important Notes Section */
  .page-blog-huong-dan-dang-ky-77wim__note-list {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

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

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

  /* FAQ Section */
  .page-blog-huong-dan-dang-ky-77wim__faq-list {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-blog-huong-dan-dang-ky-77wim__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  /* Universal image and container mobile adaptation */
  .page-blog-huong-dan-dang-ky-77wim img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-huong-dan-dang-ky-77wim__section,
  .page-blog-huong-dan-dang-ky-77wim__card,
  .page-blog-huong-dan-dang-ky-77wim__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}