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

/* Base styles for the page content container */
.page-blog-huong-dan-dang-ky-open88 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Default body background is light */
}

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

/* Top Section (Hero-like) */
.page-blog-huong-dan-dang-ky-open88__top-section {
  background-color: #B71C1C; /* Deep Red background as per custom color */
  color: #FFF5E1; /* Text Main color for contrast */
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 50px;
  text-align: center;
}

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

.page-blog-huong-dan-dang-ky-open88__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFF5E1; /* Text Main color */
  letter-spacing: -0.02em;
}

.page-blog-huong-dan-dang-ky-open88__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons in Top Section */
.page-blog-huong-dan-dang-ky-open88__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-open88__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word wrapping */
  max-width: 300px; /* Limit button width */
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-open88__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-open88__btn--primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-open88__btn--secondary {
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main color */
  border: 2px solid #E53935; /* Auxiliary color for border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-open88__btn--secondary:hover {
  background: #E53935; /* Lighter red on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Article Section */
.page-blog-huong-dan-dang-ky-open88__article-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for article content */
}

.page-blog-huong-dan-dang-ky-open88__article-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-huong-dan-dang-ky-open88__heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #C91F17; /* Main color for headings */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-blog-huong-dan-dang-ky-open88 h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #E53935; /* Auxiliary color for subheadings */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-open88 p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-open88__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-open88__list li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.page-blog-huong-dan-dang-ky-open88__note {
  font-style: italic;
  color: #555555;
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-left: 4px solid #E53935;
  border-radius: 4px;
}

/* Step-by-step guide */
.page-blog-huong-dan-dang-ky-open88__step-by-step {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-open88__step-item {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e0e0e0;
}

.page-blog-huong-dan-dang-ky-open88__step-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-blog-huong-dan-dang-ky-open88__step-title {
  color: #C91F17; /* Main color for step titles */
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Figures and Images */
.page-blog-huong-dan-dang-ky-open88__figure {
  margin: 30px 0;
  text-align: center;
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.page-blog-huong-dan-dang-ky-open88__figure img {
  max-width: 100%;
  height: auto;
  display: block; /* Ensure block level for margin auto */
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover; /* Ensures images fill their space without distortion */
}

.page-blog-huong-dan-dang-ky-open88__figcaption {
  font-style: italic;
  font-size: 0.95rem;
  color: #666666;
  margin-top: 10px;
}

/* Inline CTA buttons */
.page-blog-huong-dan-dang-ky-open88__cta-buttons--inline {
  justify-content: flex-start;
  margin-top: 25px;
  margin-bottom: 25px;
}

.page-blog-huong-dan-dang-ky-open88__cta-buttons--inline .page-blog-huong-dan-dang-ky-open88__btn {
  max-width: 250px;
}

.page-blog-huong-dan-dang-ky-open88__cta-buttons--center {
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-open88__faq-section {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-open88__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-open88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #C91F17; /* Main color for FAQ questions */
  cursor: pointer;
  background-color: #fdfdfd;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-open88__faq-question:hover {
  background-color: #f5f5f5;
}

.page-blog-huong-dan-dang-ky-open88__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-open88__faq-item.active .page-blog-huong-dan-dang-ky-open88__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-blog-huong-dan-dang-ky-open88__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 25px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-open88__faq-item.active .page-blog-huong-dan-dang-ky-open88__faq-answer {
  max-height: 500px; /* A large enough value to accommodate content */
  padding: 15px 25px 25px;
}

.page-blog-huong-dan-dang-ky-open88__faq-answer p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* General image styling to ensure minimum size */
.page-blog-huong-dan-dang-ky-open88 img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distortion */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-open88__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-blog-huong-dan-dang-ky-open88__heading {
    font-size: 2rem;
  }

  .page-blog-huong-dan-dang-ky-open88 h3 {
    font-size: 1.5rem;
  }

  .page-blog-huong-dan-dang-ky-open88__btn {
    font-size: 1rem;
    padding: 12px 25px;
  }

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

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-blog-huong-dan-dang-ky-open88__top-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

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

  .page-blog-huong-dan-dang-ky-open88__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

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

  .page-blog-huong-dan-dang-ky-open88__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }

  /* 4. 按钮与按钮容器 - 必须包含 */
  .page-blog-huong-dan-dang-ky-open88__btn,
  .page-blog-huong-dan-dang-ky-open88 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;
  }

  .page-blog-huong-dan-dang-ky-open88__cta-buttons,
  .page-blog-huong-dan-dang-ky-open88__button-group,
  .page-blog-huong-dan-dang-ky-open88__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure buttons wrap */
    gap: 10px;
  }
  
  .page-blog-huong-dan-dang-ky-open88__cta-buttons--inline {
    justify-content: center; /* Center inline buttons on mobile */
  }

  /* 2. 单栏长文容器 - 必须包含 */
  .page-blog-huong-dan-dang-ky-open88__article-section {
    padding: 30px 0;
  }

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

  .page-blog-huong-dan-dang-ky-open88__heading {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-open88 h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-open88 p,
  .page-blog-huong-dan-dang-ky-open88__list li {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .page-blog-huong-dan-dang-ky-open88__list {
    margin-left: 20px;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-open88__note {
    padding: 10px;
    font-size: 0.95rem;
  }

  /* 3. 通用图片与 figure - 必须包含 */
  .page-blog-huong-dan-dang-ky-open88__figure {
    margin: 20px 0;
    padding: 10px;
  }

  .page-blog-huong-dan-dang-ky-open88__figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
  }

  .page-blog-huong-dan-dang-ky-open88__figcaption {
    font-size: 0.85rem;
    margin-top: 8px;
  }

  /* FAQ section */
  .page-blog-huong-dan-dang-ky-open88__faq-section {
    margin-top: 25px;
    margin-bottom: 30px;
  }

  .page-blog-huong-dan-dang-ky-open88__faq-item {
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-open88__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .page-blog-huong-dan-dang-ky-open88__faq-question::after {
    font-size: 1.3rem;
  }

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