/* style/blog-huong-dan-dang-ky-win8.css */

:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-background-dark: #08160F;
  --color-card-bg: #11271B;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-blog-huong-dan-dang-ky-win8 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light background sections */
  background-color: #f8f9fa; /* A light background for general page content */
}

.page-blog-huong-dan-dang-ky-win8__dark-bg {
  background-color: var(--color-background-dark);
  color: var(--color-text-main);
}

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

.page-blog-huong-dan-dang-ky-win8__text-main {
  color: var(--color-text-main);
}

.page-blog-huong-dan-dang-ky-win8__text-secondary {
  color: var(--color-text-secondary);
}

.page-blog-huong-dan-dang-ky-win8__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-win8__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--color-primary);
}

.page-blog-huong-dan-dang-ky-win8__dark-bg .page-blog-huong-dan-dang-ky-win8__section-title {
  color: var(--color-text-main);
}

.page-blog-huong-dan-dang-ky-win8__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-win8__hero-section {
  padding-top: 10px; /* Small top padding, relies on shared for body padding */
  padding-bottom: 60px;
  background-color: #e0f2f1; /* Light background for contrast with text and image */
}

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

.page-blog-huong-dan-dang-ky-win8__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #1a1a1a; /* Dark text for light background */
}

.page-blog-huong-dan-dang-ky-win8__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-deep-green);
}

.page-blog-huong-dan-dang-ky-win8__description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #444444;
}

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

.page-blog-huong-dan-dang-ky-win8__btn-primary,
.page-blog-huong-dan-dang-ky-win8__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-win8__btn-primary {
  background: var(--button-gradient);
  color: var(--color-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-blog-huong-dan-dang-ky-win8__btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.page-blog-huong-dan-dang-ky-win8__btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-main);
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-win8__hero-image {
  flex: 1 1 40%;
  text-align: center;
}

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

/* Why Register Section */
.page-blog-huong-dan-dang-ky-win8__why-register-section {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-blog-huong-dan-dang-ky-win8__benefit-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-win8__benefit-item:hover {
  transform: translateY(-5px);
}

.page-blog-huong-dan-dang-ky-win8__benefit-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-win8__benefit-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-deep-green);
}

.page-blog-huong-dan-dang-ky-win8__benefit-text {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-blog-huong-dan-dang-ky-win8__guide-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-blog-huong-dan-dang-ky-win8__step-item {
  background-color: var(--color-card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
}

.page-blog-huong-dan-dang-ky-win8__step-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-gold);
}

.page-blog-huong-dan-dang-ky-win8__step-text {
  font-size: 1.1em;
  margin-bottom: 25px;
}

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

.page-blog-huong-dan-dang-ky-win8__step-button {
  margin-top: 15px;
}

.page-blog-huong-dan-dang-ky-win8__info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.page-blog-huong-dan-dang-ky-win8__info-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-blog-huong-dan-dang-ky-win8__info-list li::before {
  content: '✔';
  color: var(--color-glow);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Notes Section */
.page-blog-huong-dan-dang-ky-win8__notes-section {
  background-color: #f0fdfc;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-blog-huong-dan-dang-ky-win8__note-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding-left: 0;
}

.page-blog-huong-dan-dang-ky-win8__note-item {
  background-color: #ffffff;
  border-left: 4px solid var(--color-primary);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-win8__note-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.page-blog-huong-dan-dang-ky-win8__note-text {
  font-size: 1em;
  color: #555555;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-win8__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-blog-huong-dan-dang-ky-win8__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-win8__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--color-deep-green);
  color: var(--color-text-main);
  list-style: none; /* For details/summary */
}

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

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

.page-blog-huong-dan-dang-ky-win8__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
}

.page-blog-huong-dan-dang-ky-win8__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--color-text-secondary);
  background-color: var(--color-card-bg);
  border-top: 1px solid var(--color-divider);
}

/* CTA Bottom Section */
.page-blog-huong-dan-dang-ky-win8__cta-bottom-section {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
  background-color: #e0f2f1;
}

.page-blog-huong-dan-dang-ky-win8__cta-bottom-section .page-blog-huong-dan-dang-ky-win8__section-title {
  color: var(--color-deep-green);
}

.page-blog-huong-dan-dang-ky-win8__cta-bottom-section .page-blog-huong-dan-dang-ky-win8__description {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  color: #444444;
}

/* General image responsiveness */
.page-blog-huong-dan-dang-ky-win8 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-win8__hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .page-blog-huong-dan-dang-ky-win8__hero-content {
    order: 2;
  }

  .page-blog-huong-dan-dang-ky-win8__hero-image {
    order: 1;
  }

  .page-blog-huong-dan-dang-ky-win8__cta-buttons {
    justify-content: center;
  }

  .page-blog-huong-dan-dang-ky-win8__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

@media (max-width: 768px) {
  /* Fixed header spacing for first section */
  .page-blog-huong-dan-dang-ky-win8__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

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

  .page-blog-huong-dan-dang-ky-win8__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-win8__description,
  .page-blog-huong-dan-dang-ky-win8__section-intro {
    font-size: 1em !important;
    text-align: center !important;
  }

  .page-blog-huong-dan-dang-ky-win8__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .page-blog-huong-dan-dang-ky-win8__btn-primary,
  .page-blog-huong-dan-dang-ky-win8__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  /* Module 1 (Benefits Grid) */
  .page-blog-huong-dan-dang-ky-win8__benefits-grid {
    grid-template-columns: 1fr !important;
  }

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

  .page-blog-huong-dan-dang-ky-win8__benefit-icon {
    width: 100px !important;
    height: 100px !important;
  }

  /* Guide Section (Steps) */
  .page-blog-huong-dan-dang-ky-win8__step-item {
    padding: 25px !important;
  }

  .page-blog-huong-dan-dang-ky-win8__step-title {
    font-size: 1.5em !important;
  }

  .page-blog-huong-dan-dang-ky-win8__step-text {
    font-size: 0.95em !important;
  }

  /* Notes Section */
  .page-blog-huong-dan-dang-ky-win8__note-list {
    grid-template-columns: 1fr !important;
  }

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

  /* FAQ Section */
  .page-blog-huong-dan-dang-ky-win8__faq-question {
    padding: 15px 20px !important;
    font-size: 1em !important;
  }

  .page-blog-huong-dan-dang-ky-win8__faq-answer {
    padding: 15px 20px !important;
    font-size: 0.95em !important;
  }

  .page-blog-huong-dan-dang-ky-win8__faq-toggle {
    font-size: 1.2em !important;
  }

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

  /* All containers with images/buttons */
  .page-blog-huong-dan-dang-ky-win8__hero-section,
  .page-blog-huong-dan-dang-ky-win8__why-register-section,
  .page-blog-huong-dan-dang-ky-win8__guide-section,
  .page-blog-huong-dan-dang-ky-win8__notes-section,
  .page-blog-huong-dan-dang-ky-win8__faq-section,
  .page-blog-huong-dan-dang-ky-win8__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}