.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-ban-ca__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ban-ca__section {
  padding: 60px 0;
}

.page-ban-ca__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-ban-ca__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-ban-ca__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
}

.page-ban-ca__article-body p {
  margin-bottom: 15px;
}

.page-ban-ca__article-body ul,
.page-ban-ca__article-body ol {
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-ban-ca__article-body li {
  margin-bottom: 8px;
}

.page-ban-ca__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-ban-ca__dark-bg .page-ban-ca__text-link {
  color: #FFFF00;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 80px;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop */
  display: block;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
}

.page-ban-ca__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Custom color for registration */
  color: #FFFF00; /* Custom font color for registration */
  border: 2px solid #C30808;
}

.page-ban-ca__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-ban-ca__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-ban-ca__btn-inline {
  margin-top: 20px;
}

.page-ban-ca__btn-play {
  display: block;
  width: 100%;
  padding: 10px 15px;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__btn-play:hover {
  background-color: #02a04e;
}

.page-ban-ca__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Feature Grid */
.page-ban-ca__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-ban-ca__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-ban-ca__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
}

/* Product Grid */
.page-ban-ca__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__product-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-ban-ca__product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-ban-ca__product-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__product-card p {
  font-size: 15px;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 15px;
}

/* Strategy List */
.page-ban-ca__strategy-list {
  list-style: none;
  padding: 0;
}

.page-ban-ca__strategy-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__strategy-list h3 {
  font-size: 22px;
  font-weight: 700;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-ban-ca__strategy-list p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Steps List */
.page-ban-ca__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-ban-ca__steps-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.page-ban-ca__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-ban-ca__step-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 5px;
  color: #017439;
}

/* Promotions List */
.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
}

.page-ban-ca__promo-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-ban-ca__promo-list p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Platform Features */
.page-ban-ca__feature-highlights {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-ban-ca__feature-highlights li {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__highlight-title {
  font-size: 20px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-ban-ca__text-center {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__container {
    padding: 0 15px;
  }
  .page-ban-ca__section-title {
    font-size: 32px;
  }
  .page-ban-ca__hero-content {
    max-width: 700px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(28px, 4.5vw, 42px);
  }
  .page-ban-ca__subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-ban-ca__features-grid,
  .page-ban-ca__products-grid,
  .page-ban-ca__feature-highlights {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 849px) {
  .page-ban-ca__hero-image {
    object-fit: contain !important; /* Prevent cropping on smaller screens */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    height: auto !important;
    min-height: 250px;
  }
  .page-ban-ca__hero-section {
    padding-bottom: 60px;
  }
  .page-ban-ca__hero-image-wrapper {
    height: 100%;
    position: relative; /* Change to relative to prevent content overlap */
  }
  .page-ban-ca__hero-content {
    position: relative;
    top: unset;
    left: unset;
    transform: unset;
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__section {
    padding: 40px 0;
  }
  .page-ban-ca__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-ban-ca__article-body {
    font-size: 16px;
    padding: 0 15px;
  }
  
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-ban-ca__hero-image-wrapper {
    height: auto; /* Ensure image wrapper adapts */
  }
  .page-ban-ca__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
    min-height: 200px;
  }
  .page-ban-ca__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-top: 20px; /* Add margin to separate from image */
  }
  .page-ban-ca__subtitle {
    font-size: clamp(15px, 3vw, 18px);
  }
  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  
  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca__container,
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__feature-item,
  .page-ban-ca__product-card,
  .page-ban-ca__strategy-list li,
  .page-ban-ca__promo-list li,
  .page-ban-ca__feature-highlights li {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 - 2 列 */
  .page-ban-ca__products-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
    gap: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-ban-ca__product-card {
    padding-bottom: 15px;
  }
  .page-ban-ca__product-image {
    height: 150px; /* Adjust height for mobile cards */
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-ban-ca__section-title {
    font-size: 24px;
  }
  .page-ban-ca__article-body {
    text-align: left;
  }
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ban-ca__feature-image {
    height: 200px;
  }
  .page-ban-ca__strategy-list h3,
  .page-ban-ca__promo-title,
  .page-ban-ca__highlight-title {
    font-size: 20px;
  }
  .page-ban-ca__steps-list li {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-ban-ca__steps-list li::before {
    margin-bottom: 10px;
  }
  
  /* 按钮与按钮容器 */
  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca__btn-play,
  .page-ban-ca a[class*="button"],
  .page-ban-ca 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;
  }
}