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

:root {
  --jj8-primary-color: #E53935;
  --jj8-secondary-color: #FF5A4F;
  --jj8-text-main: #333333;
  --jj8-bg-card: #FFFFFF;
  --jj8-bg-default: #F5F7FA;
  --jj8-border-color: #E0E0E0;
}

.page-blog-huong-dan-dang-ky-jj8 {
  font-family: Arial, sans-serif;
  color: var(--jj8-text-main);
  line-height: 1.6;
}

.page-blog-huong-dan-dang-ky-jj8__hero-section {
  padding-top: 10px; /* Adjusted for shared header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--jj8-secondary-color) 0%, var(--jj8-primary-color) 100%);
  color: #ffffff;
}

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

.page-blog-huong-dan-dang-ky-jj8__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: left;
}

.page-blog-huong-dan-dang-ky-jj8__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog-huong-dan-dang-ky-jj8__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-blog-huong-dan-dang-ky-jj8__btn-primary,
.page-blog-huong-dan-dang-ky-jj8__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-huong-dan-dang-ky-jj8__btn-primary {
  background: var(--jj8-bg-card);
  color: var(--jj8-primary-color);
  border: 2px solid var(--jj8-bg-card);
}

.page-blog-huong-dan-dang-ky-jj8__btn-primary:hover {
  background: var(--jj8-primary-color);
  color: var(--jj8-bg-card);
  border-color: var(--jj8-bg-card);
}

.page-blog-huong-dan-dang-ky-jj8__btn-secondary {
  background: transparent;
  color: var(--jj8-bg-card);
  border: 2px solid var(--jj8-bg-card);
}

.page-blog-huong-dan-dang-ky-jj8__btn-secondary:hover {
  background: var(--jj8-bg-card);
  color: var(--jj8-primary-color);
  border-color: var(--jj8-bg-card);
}

.page-blog-huong-dan-dang-ky-jj8__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

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

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

.page-blog-huong-dan-dang-ky-jj8__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--jj8-primary-color);
}

.page-blog-huong-dan-dang-ky-jj8__intro-section,
.page-blog-huong-dan-dang-ky-jj8__tips-section {
  background-color: var(--jj8-bg-default);
  padding: 60px 0;
}

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

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

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

.page-blog-huong-dan-dang-ky-jj8__step-item {
  background-color: var(--jj8-bg-card);
  border: 1px solid var(--jj8-border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-jj8__step-title {
  font-size: 1.6rem;
  color: var(--jj8-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-jj8__step-description {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-huong-dan-dang-ky-jj8__step-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-blog-huong-dan-dang-ky-jj8__tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog-huong-dan-dang-ky-jj8__tip-item {
  background-color: var(--jj8-bg-card);
  border-left: 5px solid var(--jj8-primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
}

.page-blog-huong-dan-dang-ky-jj8__tip-item strong {
  color: var(--jj8-primary-color);
}

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

.page-blog-huong-dan-dang-ky-jj8__faq-list {
  margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-jj8__faq-item {
  background-color: var(--jj8-bg-card);
  border: 1px solid var(--jj8-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-jj8__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--jj8-text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.page-blog-huong-dan-dang-ky-jj8__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-huong-dan-dang-ky-jj8__faq-qtext {
  flex-grow: 1;
  color: var(--jj8-primary-color);
}

.page-blog-huong-dan-dang-ky-jj8__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--jj8-secondary-color);
}

.page-blog-huong-dan-dang-ky-jj8__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--jj8-text-main);
  text-align: justify;
}

.page-blog-huong-dan-dang-ky-jj8__faq-answer p {
  margin-bottom: 0;
}

.page-blog-huong-dan-dang-ky-jj8__conclusion-section {
  background: linear-gradient(180deg, var(--jj8-primary-color) 0%, var(--jj8-secondary-color) 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-jj8__conclusion-section .page-blog-huong-dan-dang-ky-jj8__section-title {
  color: #ffffff;
}

.page-blog-huong-dan-dang-ky-jj8__conclusion-section .page-blog-huong-dan-dang-ky-jj8__text-block {
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-jj8__btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
  border-radius: 10px;
}

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

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

  /* HERO Section */
  .page-blog-huong-dan-dang-ky-jj8__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-jj8__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-blog-huong-dan-dang-ky-jj8__hero-content {
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-jj8__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-jj8__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-blog-huong-dan-dang-ky-jj8__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-blog-huong-dan-dang-ky-jj8__btn-primary,
  .page-blog-huong-dan-dang-ky-jj8__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
  }

  .page-blog-huong-dan-dang-ky-jj8__hero-image {
    order: -1; /* Move image above content on mobile */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Content Sections */
  .page-blog-huong-dan-dang-ky-jj8__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-blog-huong-dan-dang-ky-jj8__intro-section,
  .page-blog-huong-dan-dang-ky-jj8__guide-section,
  .page-blog-huong-dan-dang-ky-jj8__tips-section,
  .page-blog-huong-dan-dang-ky-jj8__faq-section,
  .page-blog-huong-dan-dang-ky-jj8__conclusion-section {
    padding: 40px 0;
  }

  .page-blog-huong-dan-dang-ky-jj8__text-block,
  .page-blog-huong-dan-dang-ky-jj8__step-description,
  .page-blog-huong-dan-dang-ky-jj8__tip-item,
  .page-blog-huong-dan-dang-ky-jj8__faq-answer p {
    font-size: 1rem;
  }

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

  /* FAQ Section */
  .page-blog-huong-dan-dang-ky-jj8__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

  /* General Image Adaptation */
  .page-blog-huong-dan-dang-ky-jj8 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Button in conclusion section */
  .page-blog-huong-dan-dang-ky-jj8__btn-large {
    padding: 15px 25px;
    font-size: 1rem;
  }
}