/* style/ban-ca.css */
.page-ban-ca {
  color: #FFF3E6; /* Text Main color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-ban-ca__dark-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-ban-ca__card {
  background-color: #17191F;
  color: #FFF3E6;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-ban-ca__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-ban-ca__main-title {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  color: #FF8C1A;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-ban-ca__main-description,
.page-ban-ca__text-block {
  font-size: clamp(16px, 2vw, 18px);
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-ban-ca__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Banner Section */
.page-ban-ca__banner-section {
  padding-top: 10px; /* Consistent with header offset rule */
  padding-bottom: 40px;
  background-color: #0D0E12;
}

.page-ban-ca__banner-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 20px 16px;
}

.page-ban-ca__banner-content {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: left;
}

.page-ban-ca__banner-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-ban-ca__cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-ban-ca__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
}

.page-ban-ca__btn-text {
  color: #FF8C1A;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-ban-ca__btn-text:hover {
  text-decoration: underline;
}

/* Intro Section */
.page-ban-ca__intro-section {
  padding: 60px 0;
}

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

.page-ban-ca__intro-item {
  text-align: center;
}

.page-ban-ca__intro-item img {
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-ban-ca__intro-item-title {
  font-size: 24px;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-ban-ca__intro-item-text {
  font-size: 16px;
  color: #FFF3E6;
}

/* Features Section */
.page-ban-ca__features-section {
  padding: 60px 0;
  background-color: #17191F;
}

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

.page-ban-ca__feature-card {
  text-align: center;
}

.page-ban-ca__feature-card img {
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-ban-ca__feature-title {
  font-size: 22px;
  color: #FFA53A;
  margin-bottom: 10px;
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding: 60px 0;
}

.page-ban-ca__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__guide-step {
  text-align: center;
  padding: 20px;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  background-color: #17191F;
}

.page-ban-ca__guide-icon {
  width: 50px;
  height: 50px;
  background-color: #FF8C1A;
  color: #FFF3E6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-ban-ca__guide-title {
  font-size: 20px;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-ban-ca__cta-center {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Promo Section */
.page-ban-ca__promo-section {
  padding: 60px 0;
}

.page-ban-ca__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ban-ca__promo-card {
  text-align: center;
}

.page-ban-ca__promo-card img {
  margin-bottom: 20px;
  border-radius: 8px;
}

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

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
}

.page-ban-ca__faq-list {
  margin-top: 40px;
}

.page-ban-ca__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #FF8C1A;
  cursor: pointer;
  list-style: none; /* Remove default marker for details */
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none;
}

.page-ban-ca__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #FFA53A;
  transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #FFF3E6;
  line-height: 1.6;
}

.page-ban-ca__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-ban-ca__cta-final {
  padding: 60px 0;
}

.page-ban-ca__cta-final .page-ban-ca__content-area {
  text-align: center;
  padding: 40px 16px;
  border-radius: 10px;
}

.page-ban-ca__cta-final .page-ban-ca__section-title {
  color: #FF8C1A;
}

.page-ban-ca__cta-final .page-ban-ca__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ban-ca__banner-container {
    flex-direction: column;
    text-align: center;
  }

  .page-ban-ca__banner-content {
    text-align: center;
  }

  .page-ban-ca__main-title {
    font-size: clamp(30px, 4.5vw, 45px);
  }
}

@media (max-width: 768px) {
  .page-ban-ca__banner-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-ban-ca__content-area {
    padding: 30px 15px;
  }

  .page-ban-ca__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 20px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .page-ban-ca__main-description,
  .page-ban-ca__text-block,
  .page-ban-ca__intro-item-text,
  .page-ban-ca__faq-answer {
    font-size: 15px !important;
  }

  .page-ban-ca__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-ban-ca__cta-group,
  .page-ban-ca__cta-center {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-ban-ca__intro-grid,
  .page-ban-ca__features-grid,
  .page-ban-ca__guide-steps,
  .page-ban-ca__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-ban-ca__intro-item-title,
  .page-ban-ca__feature-title,
  .page-ban-ca__guide-title,
  .page-ban-ca__promo-title {
    font-size: 20px;
  }

  .page-ban-ca__guide-step {
    padding: 15px;
  }

  .page-ban-ca__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
  }

  .page-ban-ca__cta-final .page-ban-ca__content-area {
    padding: 30px 15px;
  }

  /* Specific image sizing for non-square items in mobile */
  .page-ban-ca__intro-item img,
  .page-ban-ca__feature-card img,
  .page-ban-ca__promo-card img {
    width: 100%;
    height: auto;
  }
}