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

.page-ban-ca__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

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

/* Top Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Approx 10px top spacing */
  padding-bottom: 40px;
  text-align: center;
}

.page-ban-ca__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #017439;
}

.page-ban-ca__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-ban-ca__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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; /* Register button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-ban-ca__btn--secondary {
  background-color: #C30808; /* Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-ban-ca__btn--secondary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-ban-ca__btn--link {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
  padding: 8px 15px;
  font-size: 0.95em;
}

.page-ban-ca__btn--link:hover {
  background-color: #017439;
  color: #FFFFFF;
}

/* General Section Styling */
.page-ban-ca__section {
  padding: 60px 0;
}

.page-ban-ca__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherits from section background */
}

.page-ban-ca__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-ban-ca__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
}

/* Image Styling */
.page-ban-ca__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__image-caption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

/* Feature List */
.page-ban-ca__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

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

.page-ban-ca__feature-item .page-ban-ca__feature-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: inherit;
}

.page-ban-ca__feature-item .page-ban-ca__feature-description {
  font-size: 0.95em;
  color: inherit;
}

/* Promo List */
.page-ban-ca__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-ban-ca__promo-item {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  text-align: center;
}

.page-ban-ca__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-ban-ca__promo-description {
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-ban-ca__cta-buttons--centered {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Why Choose List */
.page-ban-ca__reason-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-ban-ca__reason-item {
  background-color: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-ban-ca__reason-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-ban-ca__reason-description {
  font-size: 0.95em;
}

/* FAQ Section */
.page-ban-ca__faq-list {
  margin-top: 30px;
}

.page-ban-ca__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none; /* For <summary> */
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 1em;
  color: #555555;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  padding-top: 50px;
  padding-bottom: 70px;
  text-align: center;
}

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

.page-ban-ca__cta-final-section .page-ban-ca__description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* --- Responsive Styles --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: clamp(2em, 4.5vw, 2.8em);
  }

  .page-ban-ca__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.4em);
  }

  .page-ban-ca__feature-list,
  .page-ban-ca__promo-list,
  .page-ban-ca__reason-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

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

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Top Section / CTA */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Specific top padding */
    padding-bottom: 30px;
  }

  .page-ban-ca__main-title {
    font-size: 2em; /* Fixed font size for mobile H1 */
    margin-bottom: 15px;
  }

  .page-ban-ca__description {
    font-size: 1em;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

  .page-ban-ca__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Single Column Long Text Container */
  .page-ban-ca__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-ban-ca__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-ban-ca__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
  }

  .page-ban-ca__text-block {
    font-size: 0.95em;
  }

  /* Generic Images and Figure */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-ban-ca__image-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-ban-ca__image-caption {
    font-size: 0.85em;
    padding: 0 10px;
  }

  /* Buttons and Button Containers */
  .page-ban-ca__cta-buttons,
  .page-ban-ca__button-group,
  .page-ban-ca__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  /* Ensure buttons within flex containers stack */
  .page-ban-ca__cta-buttons {
    flex-direction: column !important;
  }

  /* Registration Tutorial and FAQ Blocks */
  .page-ban-ca__feature-list,
  .page-ban-ca__promo-list,
  .page-ban-ca__reason-list {
    grid-template-columns: 1fr; /* Single column for lists */
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px;
  }

  .page-ban-ca__feature-item,
  .page-ban-ca__promo-item,
  .page-ban-ca__reason-item,
  .page-ban-ca__faq-item {
    padding: 20px;
  }

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

  .page-ban-ca__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9em;
  }

  .page-ban-ca__cta-final-section {
    padding-top: 30px;
    padding-bottom: 50px;
  }
}