/* Base Styles */
.page-ban-ca {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #FFF5E1); /* Default text color for the page, overridden by specific sections */
  background-color: var(--page-bg, #B71C1C);
}

.page-ban-ca__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-ban-ca__section {
  padding: 60px 0;
  text-align: center;
}

.page-ban-ca__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-ban-ca__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border: none;
  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: #7A0E0E;
  color: #FFD86A;
  border: 2px solid #FFD86A;
  margin-left: 20px;
  box-shadow: 0 4px 15px rgba(122, 14, 14, 0.4);
}

.page-ban-ca__btn-secondary:hover {
  background: #7A0E0E;
  color: #F4D34D;
  border-color: #F4D34D;
  box-shadow: 0 6px 20px rgba(122, 14, 14, 0.6);
}

.page-ban-ca__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px;
  overflow: hidden;
  color: #FFF5E1;
  background-color: #C91F17;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD86A;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ban-ca__hero-section .page-ban-ca__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #FFF5E1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Specifics */
.page-ban-ca__introduction-section {
  background-color: #B71C1C;
  color: #FFF5E1;
}

.page-ban-ca__introduction-section .page-ban-ca__section-title,
.page-ban-ca__introduction-section .page-ban-ca__text-block p {
  color: #FFF5E1;
}

.page-ban-ca__content-area {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: left;
}

.page-ban-ca__content-area p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 17px;
  color: #FFF5E1;
}

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

.page-ban-ca__features-section {
  background-color: #C91F17;
  color: #FFF5E1;
  padding-bottom: 80px;
}

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

.page-ban-ca__feature-card {
  background-color: #D32F2F;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF5E1;
}

.page-ban-ca__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-ban-ca__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD86A;
  text-align: center;
}

.page-ban-ca__card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF5E1;
  text-align: center;
}

.page-ban-ca__guide-section {
  background-color: #B71C1C;
  color: #FFF5E1;
}

.page-ban-ca__article-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  color: #FFF5E1;
}

.page-ban-ca__article-body h3 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFD86A;
}

.page-ban-ca__article-body p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #FFF5E1;
}

.page-ban-ca__article-body ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-ban-ca__article-body ul li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-ban-ca__article-body a {
  color: #F4D34D;
  text-decoration: underline;
}

.page-ban-ca__article-body a:hover {
  color: #FFCC66;
}

.page-ban-ca__article-figure {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__fish-types-section {
  background-color: #7A0E0E;
  color: #FFF5E1;
}

.page-ban-ca__fish-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.page-ban-ca__fish-list li {
  background-color: #D32F2F;
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
  border: 1px solid #F2B544;
}

.page-ban-ca__fish-list li strong {
  color: #FFD86A;
}

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

.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

details.page-ban-ca__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544;
  overflow: hidden;
  background: #D32F2F;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF5E1;
}

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

details.page-ban-ca__faq-item summary.page-ban-ca__faq-question:hover {
  background: #C91F17;
}

.page-ban-ca__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A;
}

.page-ban-ca__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-ban-ca__faq-item .page-ban-ca__faq-answer {
  padding: 0 25px 20px;
  background: #C91F17;
  border-radius: 0 0 10px 10px;
  color: #FFF5E1;
  font-size: 16px;
  line-height: 1.6;
}

.page-ban-ca__faq-answer p {
  margin: 0;
  color: #FFF5E1;
}

.page-ban-ca__faq-answer a {
  color: #F4D34D;
  text-decoration: underline;
}

.page-ban-ca__faq-answer a:hover {
  color: #FFCC66;
}

/* Final CTA Section */
.page-ban-ca__cta-final-section {
  background-color: #C91F17;
  padding-bottom: 80px;
  color: #FFF5E1;
}

.page-ban-ca__cta-final-section .page-ban-ca__section-title,
.page-ban-ca__cta-final-section .page-ban-ca__description {
  color: #FFF5E1;
}

.page-ban-ca__dark-bg {
  background-color: #C91F17;
  color: #FFF5E1;
}

.page-ban-ca__light-bg {
  background-color: #B71C1C;
  color: #FFF5E1;
}

.page-ban-ca__dark-section {
  background: #7A0E0E;
  color: #FFF5E1;
}

.page-ban-ca__text-contrast-fix {
  color: #FFF5E1 !important;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .page-ban-ca__container {
    padding: 15px;
  }

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

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

  .page-ban-ca__description {
    font-size: 16px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-ban-ca__btn-secondary {
    margin-left: 15px;
  }

  .page-ban-ca__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-ban-ca__feature-card {
    padding: 25px;
  }

  .page-ban-ca__card-title {
    font-size: 20px;
  }

  .page-ban-ca__card-description {
    font-size: 15px;
  }

  .page-ban-ca__article-body h3 {
    font-size: 24px;
  }

  .page-ban-ca__article-body p,
  .page-ban-ca__article-body ul li,
  .page-ban-ca__fish-list li {
    font-size: 16px;
  }

  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }

  .page-ban-ca__faq-answer {
    font-size: 15px;
  }
}

@media (max-width: 849px) {
  .page-ban-ca__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  /* Hero Section Mobile */
  .page-ban-ca__hero-section {
    padding-top: 10px;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-ban-ca__hero-section .page-ban-ca__description {
    font-size: 1rem;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }

  /* General Content Images Mobile */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-ban-ca__content-image {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  /* Features Grid Mobile */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

  .page-ban-ca__card-title {
    font-size: 20px;
  }

  .page-ban-ca__card-description {
    font-size: 15px;
  }

  /* Article Body Mobile */
  .page-ban-ca__article-body {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-ban-ca__article-body h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-ban-ca__article-body p,
  .page-ban-ca__article-body ul li {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-ban-ca__article-figure {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  /* Fish List Mobile */
  .page-ban-ca__fish-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ban-ca__fish-list li {
    font-size: 16px;
    padding: 12px 20px;
  }

  /* FAQ Mobile */
  .page-ban-ca__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-ban-ca__faq-item summary.page-ban-ca__faq-question {
    padding: 15px 20px;
  }

  .page-ban-ca__faq-qtext {
    font-size: 16px;
  }

  .page-ban-ca__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

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

  /* Ensure all content containers prevent overflow */
  .page-ban-ca__section,
  .page-ban-ca__introduction-section,
  .page-ban-ca__features-section,
  .page-ban-ca__guide-section,
  .page-ban-ca__fish-types-section,
  .page-ban-ca__faq-section,
  .page-ban-ca__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}