/* Base styles for the page */
.page-huong-dan-choi-rut-tien-an-toan {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--bg-color, #FFFFFF);
}

.page-huong-dan-choi-rut-tien-an-toan__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-huong-dan-choi-rut-tien-an-toan__section {
  padding: 40px 0;
}

.page-huong-dan-choi-rut-tien-an-toan__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-huong-dan-choi-rut-tien-an-toan__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-huong-dan-choi-rut-tien-an-toan ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-huong-dan-choi-rut-tien-an-toan li {
  font-size: 17px;
  margin-bottom: 10px;
}

/* Hero Section */
.page-huong-dan-choi-rut-tien-an-toan__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  background-color: #f0f8f0; /* Light green tint */
  margin-bottom: 40px;
}

.page-huong-dan-choi-rut-tien-an-toan__hero-image {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-huong-dan-choi-rut-tien-an-toan__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-huong-dan-choi-rut-tien-an-toan__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  z-index: 1;
}

.page-huong-dan-choi-rut-tien-an-toan__main-title {
  font-size: 44px;
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-huong-dan-choi-rut-tien-an-toan__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #555;
}

/* Buttons */
.page-huong-dan-choi-rut-tien-an-toan__btn-primary,
.page-huong-dan-choi-rut-tien-an-toan__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-choi-rut-tien-an-toan__btn-primary {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-huong-dan-choi-rut-tien-an-toan__btn-primary:hover {
  background: #005f2f;
  border-color: #005f2f;
}

.page-huong-dan-choi-rut-tien-an-toan__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-huong-dan-choi-rut-tien-an-toan__btn-secondary:hover {
  background: #f0f0f0;
  color: #005f2f;
  border-color: #005f2f;
}

.page-huong-dan-choi-rut-tien-an-toan__cta-bottom {
    margin-top: 30px;
}

/* Article Figures */
.page-huong-dan-choi-rut-tien-an-toan__article-figure {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi-rut-tien-an-toan__article-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
}

.page-huong-dan-choi-rut-tien-an-toan__article-figure figcaption {
  padding: 15px 20px;
  font-size: 15px;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

/* Step-by-step Guide */
.page-huong-dan-choi-rut-tien-an-toan__guide .page-huong-dan-choi-rut-tien-an-toan__step-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}

.page-huong-dan-choi-rut-tien-an-toan__guide .page-huong-dan-choi-rut-tien-an-toan__step-item:hover {
  transform: translateY(-5px);
}

.page-huong-dan-choi-rut-tien-an-toan__step-title {
  font-size: 22px;
  color: #017439;
  margin-top: 0;
  margin-bottom: 15px;
}

/* Method Cards */
.page-huong-dan-choi-rut-tien-an-toan__methods .page-huong-dan-choi-rut-tien-an-toan__container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-huong-dan-choi-rut-tien-an-toan__method-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 calc(50% - 30px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
  box-sizing: border-box;
  min-width: 300px;
}

.page-huong-dan-choi-rut-tien-an-toan__method-card:hover {
  transform: translateY(-5px);
}

.page-huong-dan-choi-rut-tien-an-toan__method-title {
  font-size: 24px;
  color: #017439;
  margin-top: 0;
  margin-bottom: 15px;
}

/* FAQ Section */
details.page-huong-dan-choi-rut-tien-an-toan__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-huong-dan-choi-rut-tien-an-toan__faq-item summary.page-huong-dan-choi-rut-tien-an-toan__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-huong-dan-choi-rut-tien-an-toan__faq-item summary.page-huong-dan-choi-rut-tien-an-toan__faq-question::-webkit-details-marker {
  display: none;
}
details.page-huong-dan-choi-rut-tien-an-toan__faq-item summary.page-huong-dan-choi-rut-tien-an-toan__faq-question:hover {
  background: #f5f5f5;
}
.page-huong-dan-choi-rut-tien-an-toan__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-huong-dan-choi-rut-tien-an-toan__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-huong-dan-choi-rut-tien-an-toan__faq-item .page-huong-dan-choi-rut-tien-an-toan__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Responsive styles */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-huong-dan-choi-rut-tien-an-toan__main-title {
    font-size: 38px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__hero-description {
    font-size: 18px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__section-title {
    font-size: 28px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__text-block,
  .page-huong-dan-choi-rut-tien-an-toan li,
  .page-huong-dan-choi-rut-tien-an-toan__faq-qtext {
    font-size: 16px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__btn-primary,
  .page-huong-dan-choi-rut-tien-an-toan__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-huong-dan-choi-rut-tien-an-toan__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-huong-dan-choi-rut-tien-an-toan__section {
    padding: 30px 0;
  }

  /* HERO 主图区域 */
  .page-huong-dan-choi-rut-tien-an-toan__hero-section {
    padding-top: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .page-huong-dan-choi-rut-tien-an-toan__hero-content {
    padding: 30px 15px;
    text-align: center;
  }

  .page-huong-dan-choi-rut-tien-an-toan__main-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 15px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-huong-dan-choi-rut-tien-an-toan__section-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  .page-huong-dan-choi-rut-tien-an-toan__text-block {
    font-size: 16px;
    text-align: left;
    padding: 0 5px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__article-figure {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__article-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-huong-dan-choi-rut-tien-an-toan__article-figure figcaption {
    font-size: 14px;
  }

  /* 通用图片与容器 */
  .page-huong-dan-choi-rut-tien-an-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .page-huong-dan-choi-rut-tien-an-toan__btn-primary,
  .page-huong-dan-choi-rut-tien-an-toan__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-huong-dan-choi-rut-tien-an-toan__methods .page-huong-dan-choi-rut-tien-an-toan__container {
    flex-direction: column;
    gap: 20px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__method-card {
    flex: 1 1 100%;
    padding: 20px;
  }

  .page-huong-dan-choi-rut-tien-an-toan__step-title,
  .page-huong-dan-choi-rut-tien-an-toan__method-title {
    font-size: 20px;
  }

  details.page-huong-dan-choi-rut-tien-an-toan__faq-item summary.page-huong-dan-choi-rut-tien-an-toan__faq-question { padding: 15px; }
  .page-huong-dan-choi-rut-tien-an-toan__faq-qtext { font-size: 15px; }
  details.page-huong-dan-choi-rut-tien-an-toan__faq-item .page-huong-dan-choi-rut-tien-an-toan__faq-answer { padding: 0 15px 15px; }

  .page-huong-dan-choi-rut-tien-an-toan__cta-bottom {
    margin-top: 25px;
  }
}