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

.page-ban-ca__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
}

.page-ban-ca__hero-image-wrap {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background for readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image for visual effect, but not obscuring */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-ban-ca__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-ban-ca__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  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: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-ban-ca__btn--secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-ban-ca__btn--register {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin-top: 20px;
}

.page-ban-ca__btn--register:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-ban-ca__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-ban-ca__section {
  padding: 50px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

.page-ban-ca__section:nth-of-type(even) {
  background-color: #FFFFFF;
}

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-ban-ca__subsection-title {
  font-size: 1.8em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ban-ca__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555555;
}

.page-ban-ca__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-ban-ca__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ban-ca__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-ban-ca__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-ban-ca__card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-ban-ca__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__faq-section {
  background-color: #f9f9f9;
  padding: 50px 0;
}

.page-ban-ca__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-ban-ca__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__faq-question {
  font-size: 1.2em;
  color: #26A9E0;
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.page-ban-ca__faq-answer {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px 20px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  /* 1. Top section title + dual CTA */
  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }
  
  .page-ban-ca__hero-content {
    margin-top: -40px; /* Adjust overlap for mobile */
    padding: 15px;
  }

  .page-ban-ca__main-title {
    font-size: 1.8em !important;
    margin-bottom: 10px;
  }

  .page-ban-ca__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-ban-ca__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .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;
  }

  /* 2. Single column long text container */
  .page-ban-ca__container {
    padding: 0 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.8em;
    margin-bottom: 25px;
  }

  .page-ban-ca__subsection-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-ban-ca__list {
    margin-left: 20px;
  }

  .page-ban-ca__list li {
    font-size: 0.95em;
  }

  /* 3. General images and figure */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__game-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-ban-ca__card-image {
    height: 180px;
  }

  /* 4. Buttons and button containers (already covered by .page-ban-ca__btn and __hero-cta-buttons) */
  .page-ban-ca__hero-cta-buttons,
  .page-ban-ca__game-card .page-ban-ca__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 10px;
  }

  /* 5. Registration tutorial and FAQ block (FAQ is H3/P, so general text rules apply) */
  .page-ban-ca__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-ban-ca p {
    font-size: 0.95em;
  }
}