/* Base styles for the page */
.page-blog-huong-dan-choi-b52-win {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

.page-blog-huong-dan-choi-b52-win__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-huong-dan-choi-b52-win__container--center {
  text-align: center;
}

.page-blog-huong-dan-choi-b52-win__section {
  padding: 40px 0;
}

.page-blog-huong-dan-choi-b52-win__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-huong-dan-choi-b52-win__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

/* Hero Section */
.page-blog-huong-dan-choi-b52-win__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

.page-blog-huong-dan-choi-b52-win__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-blog-huong-dan-choi-b52-win__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-blog-huong-dan-choi-b52-win__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image */
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-choi-b52-win__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-huong-dan-choi-b52-win__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
}

.page-blog-huong-dan-choi-b52-win__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-huong-dan-choi-b52-win__btn-primary,
.page-blog-huong-dan-choi-b52-win__btn-secondary,
.page-blog-huong-dan-choi-b52-win__btn-small,
.page-blog-huong-dan-choi-b52-win__btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-huong-dan-choi-b52-win__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-blog-huong-dan-choi-b52-win__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
}

.page-blog-huong-dan-choi-b52-win__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-blog-huong-dan-choi-b52-win__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
}

.page-blog-huong-dan-choi-b52-win__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  background-color: #017439;
  color: #ffffff;
  border: 1px solid #017439;
  margin-top: 15px;
}

.page-blog-huong-dan-choi-b52-win__btn-small:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

/* Guide Steps */
.page-blog-huong-dan-choi-b52-win__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-huong-dan-choi-b52-win__guide-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-huong-dan-choi-b52-win__guide-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-choi-b52-win__guide-item h3 {
  font-size: 22px;
  color: #017439;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-blog-huong-dan-choi-b52-win__guide-item p {
  font-size: 16px;
  color: #666666;
  flex-grow: 1;
}

/* Ordered List */
.page-blog-huong-dan-choi-b52-win__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-blog-huong-dan-choi-b52-win__ordered-list li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #444;
}

.page-blog-huong-dan-choi-b52-win__ordered-list li strong {
  color: #017439;
}

/* Card Grid for Tips */
.page-blog-huong-dan-choi-b52-win__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-huong-dan-choi-b52-win__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog-huong-dan-choi-b52-win__card img {
  width: 100%;
  height: 225px; /* Fixed height for consistent card image display */
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-choi-b52-win__card h3 {
  font-size: 22px;
  color: #017439;
  padding: 20px 25px 10px;
  margin: 0;
}

.page-blog-huong-dan-choi-b52-win__card ul {
  list-style-type: disc;
  padding: 0 25px 25px 45px;
  margin: 0;
  flex-grow: 1;
}

.page-blog-huong-dan-choi-b52-win__card ul li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #555;
}

/* Download Section */
.page-blog-huong-dan-choi-b52-win__download-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-blog-huong-dan-choi-b52-win__btn-download {
  min-width: 200px;
}

.page-blog-huong-dan-choi-b52-win__download-image {
  margin-top: 40px;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
details.page-blog-huong-dan-choi-b52-win__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog-huong-dan-choi-b52-win__faq-item summary.page-blog-huong-dan-choi-b52-win__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-huong-dan-choi-b52-win__faq-item summary.page-blog-huong-dan-choi-b52-win__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-huong-dan-choi-b52-win__faq-item summary.page-blog-huong-dan-choi-b52-win__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-huong-dan-choi-b52-win__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-blog-huong-dan-choi-b52-win__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-huong-dan-choi-b52-win__faq-item .page-blog-huong-dan-choi-b52-win__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}
.page-blog-huong-dan-choi-b52-win__faq-answer p {
  margin-bottom: 0;
  color: #555555;
}
.page-blog-huong-dan-choi-b52-win__faq-answer a {
  color: #017439;
  text-decoration: underline;
}
.page-blog-huong-dan-choi-b52-win__faq-answer a:hover {
  color: #005f2e;
}

/* Dark Section (Conclusion) */
.page-blog-huong-dan-choi-b52-win__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-blog-huong-dan-choi-b52-win__dark-section .page-blog-huong-dan-choi-b52-win__section-title {
  color: #ffffff;
}

.page-blog-huong-dan-choi-b52-win__dark-section .page-blog-huong-dan-choi-b52-win__section-title::after {
  background-color: #ffffff;
}

.page-blog-huong-dan-choi-b52-win__dark-section p {
  color: #f0f0f0;
}

.page-blog-huong-dan-choi-b52-win__dark-section .page-blog-huong-dan-choi-b52-win__btn-primary {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

.page-blog-huong-dan-choi-b52-win__dark-section .page-blog-huong-dan-choi-b52-win__btn-primary:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
  color: #005f2e;
}

.page-blog-huong-dan-choi-b52-win__dark-section .page-blog-huong-dan-choi-b52-win__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-blog-huong-dan-choi-b52-win__dark-section .page-blog-huong-dan-choi-b52-win__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* Global image styles */
.page-blog-huong-dan-choi-b52-win img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-huong-dan-choi-b52-win__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-blog-huong-dan-choi-b52-win__main-title {
    font-size: clamp(24px, 3.5vw, 40px);
  }

  .page-blog-huong-dan-choi-b52-win__description {
    font-size: 16px;
  }

  .page-blog-huong-dan-choi-b52-win__section-title {
    font-size: 28px;
  }

  .page-blog-huong-dan-choi-b52-win__btn-primary,
  .page-blog-huong-dan-choi-b52-win__btn-secondary {
    padding: 12px 24px;
    font-size: 16px;
  }

  .page-blog-huong-dan-choi-b52-win__card img {
    
  }
}

/* Mobile-specific styles */
@media (max-width: 849px) {
  .page-blog-huong-dan-choi-b52-win__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  /* General page content adjustments */
  .page-blog-huong-dan-choi-b52-win {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-huong-dan-choi-b52-win__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-choi-b52-win__section {
    padding: 30px 0;
  }

  /* HERO 主图区域 */
  .page-blog-huong-dan-choi-b52-win__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }
  .page-blog-huong-dan-choi-b52-win__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important;
  }
  .page-blog-huong-dan-choi-b52-win__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
    border-radius: 8px;
  }
  .page-blog-huong-dan-choi-b52-win__main-title {
    font-size: clamp(22px, 6vw, 32px);
    margin-bottom: 15px;
  }
  .page-blog-huong-dan-choi-b52-win__description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-blog-huong-dan-choi-b52-win__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* 通用按钮与容器 */
  .page-blog-huong-dan-choi-b52-win__btn-primary,
  .page-blog-huong-dan-choi-b52-win__btn-secondary,
  .page-blog-huong-dan-choi-b52-win__btn-small,
  .page-blog-huong-dan-choi-b52-win__btn-download,
  .page-blog-huong-dan-choi-b52-win a[class*="button"],
  .page-blog-huong-dan-choi-b52-win 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;
    font-size: 16px;
  }
  .page-blog-huong-dan-choi-b52-win__cta-buttons,
  .page-blog-huong-dan-choi-b52-win__button-group,
  .page-blog-huong-dan-choi-b52-win__btn-container,
  .page-blog-huong-dan-choi-b52-win__download-options {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for buttons */
  }

  /* Decorate main title + long text SEO area */
  .page-blog-huong-dan-choi-b52-win__section-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  .page-blog-huong-dan-choi-b52-win__section-title::after {
    width: 60px;
    height: 3px;
  }
  .page-blog-huong-dan-choi-b52-win__article-body,
  .page-blog-huong-dan-choi-b52-win__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-blog-huong-dan-choi-b52-win__article-body p,
  .page-blog-huong-dan-choi-b52-win__article-body li {
    font-size: 15px;
  }

  /* Guide steps */
  .page-blog-huong-dan-choi-b52-win__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-huong-dan-choi-b52-win__guide-item h3 {
    font-size: 20px;
  }

  /* Card Grid for Tips */
  .page-blog-huong-dan-choi-b52-win__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-huong-dan-choi-b52-win__card img {
     /* Adjust height for mobile */
  }
  .page-blog-huong-dan-choi-b52-win__card h3 {
    font-size: 20px;
  }
  .page-blog-huong-dan-choi-b52-win__card ul {
    padding: 0 15px 15px 35px;
  }

  /* Download image */
  .page-blog-huong-dan-choi-b52-win__download-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* FAQ */
  details.page-blog-huong-dan-choi-b52-win__faq-item summary.page-blog-huong-dan-choi-b52-win__faq-question { padding: 15px; }
  .page-blog-huong-dan-choi-b52-win__faq-qtext { font-size: 15px; }
  .page-blog-huong-dan-choi-b52-win__faq-answer { padding: 0 15px 15px; }
}