/* Base styles for the Bắn Cá page */
.page-ban-ca {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: var(--page-bg, #F5F7FA); /* Default background from shared */
  line-height: 1.6;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  background-color: #0a1429; /* Dark background for hero to contrast with content */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
}

.page-ban-ca__hero-content-wrapper {
  position: relative; /* Ensure content is above image if any layering issue */
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
  margin-top: -150px; /* Pull content up over the image slightly */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-ban-ca__main-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700; /* Gold-like color for title */
  line-height: 1.2;
}

.page-ban-ca__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-ban-ca__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-ban-ca__cta-buttons--center {
  margin-top: 30px;
  justify-content: center;
}

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

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

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

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

.page-ban-ca__section-title {
  font-size: 2.2em;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

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

.page-ban-ca p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

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

/* Lists */
.page-ban-ca__ordered-list,
.page-ban-ca__unordered-list {
  margin-left: 25px;
  margin-bottom: 20px;
  list-style-position: outside;
  color: #333333;
}

.page-ban-ca__ordered-list li,
.page-ban-ca__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.5;
}

.page-ban-ca__ordered-list li strong {
  color: #E53935;
}

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

.page-ban-ca__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-ban-ca__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-ban-ca__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-ban-ca__btn-secondary:hover {
  background: #f0f0f0;
  color: #E53935;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-ban-ca__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #333333;
  font-size: 1.1em;
  list-style: none; /* Hide default marker for details summary */
}

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

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

/* Conclusion Section */
.page-ban-ca__conclusion-section {
  text-align: center;
  background-color: #F5F7FA;
}

.page-ban-ca__conclusion-section p {
  max-width: 900px;
  margin: 0 auto 30px;
}

/* Responsive Styles */

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

.page-ban-ca__section,
.page-ban-ca__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .page-ban-ca__main-title {
    font-size: 2.5em;
  }

  .page-ban-ca__hero-content-wrapper {
    margin-top: -100px;
  }

  .page-ban-ca__section-title {
    font-size: 2em;
  }

  .page-ban-ca__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-ban-ca__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 30px;
  }

  .page-ban-ca__hero-image {
    max-height: 400px;
  }

  .page-ban-ca__hero-content-wrapper {
    margin-top: -80px; /* Adjust overlap */
    padding: 15px;
  }

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

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

  /* 按钮与按钮容器 */
  .page-ban-ca__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }

  .page-ban-ca__btn-primary,
  .page-ban-ca__btn-secondary,
  .page-ban-ca a[class*="button"],
  .page-ban-ca a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .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;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 通用图片与容器 */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-ban-ca__section,
  .page-ban-ca__card,
  .page-ban-ca__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-ban-ca__sub-title {
    font-size: 1.3em;
  }

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

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

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