/* style/ban-ca.css */

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --gradient-button: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --background-page: #F4F7FB;
  --text-main: #1F2D3D;
  --text-black: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --white-color: #ffffff;
}

.page-ban-ca {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for light backgrounds */
  background-color: var(--background-page);
}

.page-ban-ca__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background: var(--primary-color);
  color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--white-color);
}

.page-ban-ca__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--white-color);
}

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

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

.page-ban-ca__btn-primary {
  background: var(--gradient-button);
  color: var(--white-color);
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__btn-secondary {
  background: var(--white-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-ban-ca__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-ban-ca__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ban-ca__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-ban-ca__section-title--white {
  color: var(--white-color);
}

.page-ban-ca__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-main);
}

.page-ban-ca__paragraph--white {
  color: var(--white-color);
}

.page-ban-ca__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 680px;
}

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

.page-ban-ca__figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.page-ban-ca__figcaption--white {
  color: #ccc;
}

.page-ban-ca__dark-section {
  background: var(--primary-color);
  color: var(--white-color);
}

.page-ban-ca__light-bg {
  background: var(--background-page);
  color: var(--text-main);
}

.page-ban-ca__faq-list {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--white-color);
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  color: var(--white-color);
  list-style: none;
  user-select: none;
}

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

.page-ban-ca__faq-qtext {
  flex-grow: 1;
}

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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: 15px 25px 20px;
  font-size: 1em;
  color: var(--white-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-ban-ca {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-ban-ca__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

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

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
  }

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

  .page-ban-ca__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-ban-ca__paragraph {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

  .page-ban-ca__figure {
    margin: 20px auto;
  }

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

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

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