/* style/ban-ca.css */

/* General styles for the page-ban-ca scope */
.page-ban-ca {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #FFD86A; /* Gold-like for titles */
  line-height: 1.2;
}

.page-ban-ca__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap; /* Default for desktop */
  word-wrap: normal;
  box-sizing: border-box;
  max-width: 300px; /* Limit button width */
  width: auto;
}

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: 2px solid #F2B544; /* Border custom color */
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-ban-ca__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-ban-ca__btn-secondary {
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #E53935; /* Accent color */
}

.page-ban-ca__btn-secondary:hover {
  background: #E53935; /* Accent color */
  color: #ffffff;
}

.page-ban-ca__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on desktop if needed, but primarily for mobile */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

/* Main Visual Section (non-homepage HERO replacement) */
.page-ban-ca__main-visual-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #7A0E0E; /* Deep Red for this section background */
}

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

.page-ban-ca__main-visual-image-wrapper {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: center;
}

.page-ban-ca__main-visual-image {
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-ban-ca__main-visual-content {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: left;
}

.page-ban-ca__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: #FFD86A; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.1;
}

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

/* Intro Section */
.page-ban-ca__intro-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

/* Features Section */
.page-ban-ca__features-section {
  background-color: #C91F17; /* Main color */
  color: #FFF5E1;
}

.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-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__feature-image {
  width: 400px; /* Display width for desktop */
  height: 300px; /* Display height for desktop */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-ban-ca__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FFD86A;
  margin-bottom: 15px;
}

.page-ban-ca__feature-description {
  font-size: 1em;
  color: #FFF5E1;
}

/* Guide Section */
.page-ban-ca__guide-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-ban-ca__guide-item {
  background-color: #D32F2F; /* Card BG */
  border-left: 5px solid #FFD86A; /* Gold accent */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__guide-step-title {
  font-size: 1.4em;
  color: #FFD86A;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-ban-ca__guide-item p {
  color: #FFF5E1;
  margin-bottom: 15px;
}

.page-ban-ca__guide-image {
  width: 800px; /* Display width for desktop */
  height: 600px; /* Display height for desktop */
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Promo Section */
.page-ban-ca__promo-section {
  background-color: #C91F17; /* Main color */
  color: #FFF5E1;
}

.page-ban-ca__promo-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
  color: #FFF5E1;
  font-size: 1.1em;
}

.page-ban-ca__promo-item {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

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

.page-ban-ca__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD86A;
  cursor: pointer;
  background-color: #C91F17; /* Main color for summary background */
  border-bottom: 1px solid #E53935;
  list-style: none; /* For details/summary */
}

.page-ban-ca__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
  border-bottom: 1px solid #7A0E0E;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFD86A;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
  content: '−';
}

.page-ban-ca__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #FFF5E1;
  background-color: #D32F2F; /* Card BG */
}

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

/* CTA Section */
.page-ban-ca__cta-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
  text-align: center;
}

.page-ban-ca__cta-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-ban-ca__container {
    padding: 20px 15px;
  }

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

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

  /* Main Visual Section */
  .page-ban-ca__main-visual-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 20px;
  }

  .page-ban-ca__main-visual-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }

  .page-ban-ca__main-visual-image-wrapper {
    order: 1; /* Image appears first */
    width: 100%;
  }
  
  .page-ban-ca__main-visual-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__main-visual-content {
    order: 2; /* Content appears second */
    text-align: center;
    width: 100%;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Smaller responsive font size */
    margin-bottom: 15px;
  }

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

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

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

  /* Features Section */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }

  .page-ban-ca__feature-item {
    padding: 20px;
  }

  .page-ban-ca__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  /* Guide Section */
  .page-ban-ca__guide-item {
    padding: 20px;
  }

  .page-ban-ca__guide-step-title {
    font-size: 1.2em;
  }

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

  /* Promo Section */
  .page-ban-ca__promo-list {
    padding-left: 15px;
    font-size: 1em;
  }
}