/* style/blog-huong-dan-dang-ky-88clup.css */
:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --card-bg-color: #FFFFFF;
  --body-bg-color: #F5F7FA;
  --text-main-color: #333333;
  --border-color: #E0E0E0;
  --header-offset: 122px; /* Default value, assumed shared.css sets body padding-top */
}

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

.page-blog-huong-dan-dang-ky-88clup__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-88clup__hero-section {
  padding-top: 10px; /* Assumed shared.css sets body padding-top */
  padding-bottom: 60px;
  background-color: var(--card-bg-color);
}

.page-blog-huong-dan-dang-ky-88clup__hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.page-blog-huong-dan-dang-ky-88clup__hero-content {
  flex: 1;
  padding-right: 20px;
}

.page-blog-huong-dan-dang-ky-88clup__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px; /* Restrict H1 width */
}

.page-blog-huong-dan-dang-ky-88clup__hero-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  margin-bottom: 30px;
}

.page-blog-huong-dan-dang-ky-88clup__hero-image {
  flex: 1;
  text-align: center;
}

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

.page-blog-huong-dan-dang-ky-88clup__cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-blog-huong-dan-dang-ky-88clup__btn-primary,
.page-blog-huong-dan-dang-ky-88clup__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  border: none; /* Remove default button border */
}

.page-blog-huong-dan-dang-ky-88clup__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

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

.page-blog-huong-dan-dang-ky-88clup__btn-secondary {
  background-color: var(--card-bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-88clup__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* General Sections */
.page-blog-huong-dan-dang-ky-88clup__intro-section,
.page-blog-huong-dan-dang-ky-88clup__benefits-section,
.page-blog-huong-dan-dang-ky-88clup__cta-section {
  padding: 60px 0;
  background-color: var(--card-bg-color);
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-88clup__guide-section,
.page-blog-huong-dan-dang-ky-88clup__faq-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: #ffffff; /* Dark background, so light text */
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-88clup__dark-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

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

.page-blog-huong-dan-dang-ky-88clup__section-title--light {
  color: #ffffff;
}

.page-blog-huong-dan-dang-ky-88clup__section-description--light {
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
}

.page-blog-huong-dan-dang-ky-88clup__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-88clup__text-block p {
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-88clup__dark-section .page-blog-huong-dan-dang-ky-88clup__text-block p {
  color: #ffffff;
}

/* Guide Steps */
.page-blog-huong-dan-dang-ky-88clup__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-88clup__step-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-huong-dan-dang-ky-88clup__step-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-blog-huong-dan-dang-ky-88clup__step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-dang-ky-88clup__step-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-88clup__step-description {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-huong-dan-dang-ky-88clup__step-details-list {
  text-align: left;
  width: 100%;
  list-style: disc inside;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-88clup__step-details-list li {
  margin-bottom: 8px;
}

/* Benefits Section */
.page-blog-huong-dan-dang-ky-88clup__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-blog-huong-dan-dang-ky-88clup__benefit-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: var(--text-main-color);
}

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

/* FAQ Section */
.page-blog-huong-dan-dang-ky-88clup__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-dang-ky-88clup__faq-item {
  background-color: var(--card-bg-color);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-88clup__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}

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

.page-blog-huong-dan-dang-ky-88clup__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-88clup__faq-item[open] .page-blog-huong-dan-dang-ky-88clup__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-huong-dan-dang-ky-88clup__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-main-color);
}

/* Universal Image Styles */
.page-blog-huong-dan-dang-ky-88clup img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-88clup__main-title {
    font-size: 2.5em;
  }
  .page-blog-huong-dan-dang-ky-88clup__section-title {
    font-size: 2em;
  }
  .page-blog-huong-dan-dang-ky-88clup__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-blog-huong-dan-dang-ky-88clup__hero-content {
    padding-right: 0;
  }
  .page-blog-huong-dan-dang-ky-88clup__main-title {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-88clup {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Section */
  .page-blog-huong-dan-dang-ky-88clup__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-blog-huong-dan-dang-ky-88clup__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
  }
  .page-blog-huong-dan-dang-ky-88clup__hero-content {
    text-align: center;
    padding-right: 0;
  }
  .page-blog-huong-dan-dang-ky-88clup__main-title {
    font-size: 2em;
    margin-bottom: 15px;
    max-width: 100%; /* Ensure H1 adapts to mobile width */
  }
  .page-blog-huong-dan-dang-ky-88clup__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-blog-huong-dan-dang-ky-88clup__hero-illustration {
    border-radius: 4px;
  }
  .page-blog-huong-dan-dang-ky-88clup__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons */
  .page-blog-huong-dan-dang-ky-88clup__btn-primary,
  .page-blog-huong-dan-dang-ky-88clup__btn-secondary,
  .page-blog-huong-dan-dang-ky-88clup a[class*="button"],
  .page-blog-huong-dan-dang-ky-88clup 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;
    padding-right: 15px;
  }

  /* Button containers */
  .page-blog-huong-dan-dang-ky-88clup__cta-group,
  .page-blog-huong-dan-dang-ky-88clup__button-group,
  .page-blog-huong-dan-dang-ky-88clup__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* General Sections */
  .page-blog-huong-dan-dang-ky-88clup__intro-section,
  .page-blog-huong-dan-dang-ky-88clup__benefits-section,
  .page-blog-huong-dan-dang-ky-88clup__cta-section,
  .page-blog-huong-dan-dang-ky-88clup__guide-section,
  .page-blog-huong-dan-dang-ky-88clup__faq-section {
    padding: 40px 0;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-88clup__container {
    padding: 0 15px;
  }

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

  /* Guide Steps */
  .page-blog-huong-dan-dang-ky-88clup__step-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-huong-dan-dang-ky-88clup__step-item {
    padding: 25px;
  }
  .page-blog-huong-dan-dang-ky-88clup__step-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
  }
  .page-blog-huong-dan-dang-ky-88clup__step-title {
    font-size: 1.3em;
  }
  .page-blog-huong-dan-dang-ky-88clup__step-description {
    font-size: 0.95em;
  }

  /* Benefits */
  .page-blog-huong-dan-dang-ky-88clup__benefit-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-blog-huong-dan-dang-ky-88clup__benefit-list li {
    font-size: 1em;
  }

  /* FAQ */
  .page-blog-huong-dan-dang-ky-88clup__faq-list {
    margin-top: 30px;
  }
  .page-blog-huong-dan-dang-ky-88clup__faq-item summary {
    padding: 18px 20px;
    font-size: 1em;
  }
  .page-blog-huong-dan-dang-ky-88clup__faq-answer {
    padding: 0 20px 18px 20px;
    font-size: 0.95em;
  }

  /* Universal Image Styles */
  .page-blog-huong-dan-dang-ky-88clup img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All containers with images */
  .page-blog-huong-dan-dang-ky-88clup__section,
  .page-blog-huong-dan-dang-ky-88clup__card,
  .page-blog-huong-dan-dang-ky-88clup__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Text block for mobile */
  .page-blog-huong-dan-dang-ky-88clup__text-block {
    padding: 0 15px;
  }
}