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

:root {
  --fa8bet-primary-color: #017439;
  --fa8bet-secondary-color: #FFFFFF;
  --fa8bet-text-dark: #333333;
  --fa8bet-text-light: #ffffff;
  --fa8bet-accent-red: #C30808;
  --fa8bet-accent-yellow: #FFFF00;
}

.page-blog-huong-dan-dang-ky-fa8bet {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--fa8bet-text-dark);
  background-color: var(--fa8bet-secondary-color); /* Default white background */
}

.page-blog-huong-dan-dang-ky-fa8bet__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

.page-blog-huong-dan-dang-ky-fa8bet__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
  background-color: var(--fa8bet-secondary-color);
}

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

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

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

.page-blog-huong-dan-dang-ky-fa8bet__hero-content {
  flex: 1 1 40%;
  min-width: 300px;
}

.page-blog-huong-dan-dang-ky-fa8bet__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
  color: var(--fa8bet-primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-blog-huong-dan-dang-ky-fa8bet__hero-description {
  font-size: 1.15em;
  color: var(--fa8bet-text-dark);
  margin-bottom: 30px;
}

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

.page-blog-huong-dan-dang-ky-fa8bet__btn-primary,
.page-blog-huong-dan-dang-ky-fa8bet__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-fa8bet__btn-primary {
  background-color: var(--fa8bet-primary-color);
  color: var(--fa8bet-text-light);
  border-color: var(--fa8bet-primary-color);
}

.page-blog-huong-dan-dang-ky-fa8bet__btn-primary:hover {
  background-color: darken(var(--fa8bet-primary-color), 10%);
  border-color: darken(var(--fa8bet-primary-color), 10%);
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-fa8bet__btn-secondary {
  background-color: var(--fa8bet-secondary-color);
  color: var(--fa8bet-primary-color);
  border-color: var(--fa8bet-primary-color);
}

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

.page-blog-huong-dan-dang-ky-fa8bet__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--fa8bet-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-blog-huong-dan-dang-ky-fa8bet__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--fa8bet-text-dark);
}

.page-blog-huong-dan-dang-ky-fa8bet__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-blog-huong-dan-dang-ky-fa8bet__text-content {
  flex: 1 1 55%;
  min-width: 300px;
}

.page-blog-huong-dan-dang-ky-fa8bet__image-content {
  flex: 1 1 35%;
  min-width: 300px;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-fa8bet__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-blog-huong-dan-dang-ky-fa8bet__why-register-section .page-blog-huong-dan-dang-ky-fa8bet__content-wrapper {
  flex-direction: row;
}

.page-blog-huong-dan-dang-ky-fa8bet__important-notes-section .page-blog-huong-dan-dang-ky-fa8bet__content-wrapper {
  flex-direction: row-reverse;
}

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

.page-blog-huong-dan-dang-ky-fa8bet__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--fa8bet-text-dark);
}

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

.page-blog-huong-dan-dang-ky-fa8bet__guide-step {
  background-color: var(--fa8bet-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-fa8bet__step-title {
  font-size: 1.8em;
  color: var(--fa8bet-primary-color);
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-fa8bet__step-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.page-blog-huong-dan-dang-ky-fa8bet__step-content p,
.page-blog-huong-dan-dang-ky-fa8bet__step-content .page-blog-huong-dan-dang-ky-fa8bet__list {
  flex: 1 1 55%;
  min-width: 280px;
}

.page-blog-huong-dan-dang-ky-fa8bet__step-image {
  flex: 1 1 35%;
  min-width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-fa8bet__cta-buttons--inline {
  justify-content: flex-start;
  margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-fa8bet__faq-section {
  background-color: #f9f9f9;
}

.page-blog-huong-dan-dang-ky-fa8bet__faq-list {
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-blog-huong-dan-dang-ky-fa8bet__faq-item {
  background-color: var(--fa8bet-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-fa8bet__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--fa8bet-text-dark);
  cursor: pointer;
  list-style: none;
}

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

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

.page-blog-huong-dan-dang-ky-fa8bet__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--fa8bet-primary-color);
}

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

.page-blog-huong-dan-dang-ky-fa8bet__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

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

.page-blog-huong-dan-dang-ky-fa8bet__faq-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-fa8bet__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-blog-huong-dan-dang-ky-fa8bet__conclusion-section .page-blog-huong-dan-dang-ky-fa8bet__cta-buttons {
  justify-content: center;
  margin-top: 30px;
}

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

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

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

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

  .page-blog-huong-dan-dang-ky-fa8bet__why-register-section .page-blog-huong-dan-dang-ky-fa8bet__content-wrapper,
  .page-blog-huong-dan-dang-ky-fa8bet__important-notes-section .page-blog-huong-dan-dang-ky-fa8bet__content-wrapper {
    flex-direction: column;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__guide-step .page-blog-huong-dan-dang-ky-fa8bet__step-content {
    flex-direction: column;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__step-content p,
  .page-blog-huong-dan-dang-ky-fa8bet__step-content .page-blog-huong-dan-dang-ky-fa8bet__list {
    flex: none;
    width: 100%;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__step-image {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* HERO section */
  .page-blog-huong-dan-dang-ky-fa8bet__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__hero-container {
    padding: 20px 15px !important;
    gap: 20px !important;
  }

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

  .page-blog-huong-dan-dang-ky-fa8bet__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  /* Buttons and button containers */
  .page-blog-huong-dan-dang-ky-fa8bet__cta-button,
  .page-blog-huong-dan-dang-ky-fa8bet__btn-primary,
  .page-blog-huong-dan-dang-ky-fa8bet__btn-secondary,
  .page-blog-huong-dan-dang-ky-fa8bet a[class*="button"],
  .page-blog-huong-dan-dang-ky-fa8bet a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 1em !important;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__cta-buttons,
  .page-blog-huong-dan-dang-ky-fa8bet__button-group,
  .page-blog-huong-dan-dang-ky-fa8bet__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  /* General images and containers */
  .page-blog-huong-dan-dang-ky-fa8bet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__section,
  .page-blog-huong-dan-dang-ky-fa8bet__card,
  .page-blog-huong-dan-dang-ky-fa8bet__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden;
  }

  /* Content modules (why register, guide, important notes, conclusion) */
  .page-blog-huong-dan-dang-ky-fa8bet__section {
    padding: 40px 0 !important;
  }

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

  .page-blog-huong-dan-dang-ky-fa8bet__section-description {
    font-size: 0.95em !important;
    margin-bottom: 20px !important;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__content-wrapper {
    gap: 30px !important;
  }

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

  .page-blog-huong-dan-dang-ky-fa8bet__guide-step {
    padding: 20px !important;
    margin-bottom: 20px !important;
  }

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

  .page-blog-huong-dan-dang-ky-fa8bet__step-content {
    gap: 20px !important;
  }

  /* FAQ section */
  .page-blog-huong-dan-dang-ky-fa8bet__faq-list {
    margin-bottom: 30px !important;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__faq-item summary {
    padding: 15px !important;
    font-size: 1em !important;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__faq-answer {
    padding: 0 15px 15px !important;
    font-size: 0.9em !important;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__faq-image-wrapper {
    margin-top: 30px !important;
  }

  .page-blog-huong-dan-dang-ky-fa8bet__conclusion-section {
    padding-bottom: 60px !important;
  }
}