/* 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: #ffffff; /* Default body background */
}

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

.page-ban-ca__section {
  padding: 40px 20px;
  margin-bottom: 20px;
}

.page-ban-ca__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-ban-ca__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-ban-ca__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: inherit;
}

/* Hero Section */
.page-ban-ca__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust as needed */
  overflow: hidden;
}

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

.page-ban-ca__hero-content {
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual effect, but content below image */
  position: relative; /* Ensure it's above the image if negative margin is used */
  z-index: 1;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #017439; /* Brand color for main title */
}

.page-ban-ca__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

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

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
  display: inline-block;
  padding: 12px 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;
}

.page-ban-ca__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-ban-ca__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2b;
}

/* General Text Blocks */
.page-ban-ca__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-ban-ca__feature-card {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-ban-ca__feature-card:hover {
  transform: translateY(-5px);
}

.page-ban-ca__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439; /* Brand primary color */
}

.page-ban-ca__card-text {
  font-size: 1em;
  line-height: 1.6;
}

/* Guide List */
.page-ban-ca__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__guide-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__list-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: #017439;
}

.page-ban-ca__guide-cta {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Promotion List */
.page-ban-ca__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-ban-ca__promo-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-ban-ca__promo-list .page-ban-ca__list-title {
  color: #ffffff;
}

.page-ban-ca__promo-list p {
  color: #f0f0f0;
}

.page-ban-ca__promo-cta {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-ban-ca__faq-list {
  margin-top: 30px;
}

.page-ban-ca__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ban-ca__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  color: #017439;
  list-style: none; /* For details/summary */
}

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

.page-ban-ca__faq-question::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: 10px;
  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 20px 15px;
  color: #555555;
  line-height: 1.6;
}

/* Conclusion Section */
.page-ban-ca__conclusion .page-ban-ca__text-block {
  color: #ffffff;
}

.page-ban-ca__conclusion .page-ban-ca__section-title {
  color: #ffffff;
}

.page-ban-ca__text-link {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: underline;
}

.page-ban-ca__text-link:hover {
  color: #e0e000;
}

/* Global image and button responsive styles (from requirements) */
.page-ban-ca img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-ban-ca__section,
.page-ban-ca__card,
.page-ban-ca__container,
.page-ban-ca__hero-section,
.page-ban-ca__hero-content,
.page-ban-ca__features-grid,
.page-ban-ca__feature-card,
.page-ban-ca__guide-list,
.page-ban-ca__promo-list,
.page-ban-ca__faq-list,
.page-ban-ca__faq-item {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-ban-ca__section {
    padding: 20px 15px;
  }

  .page-ban-ca__container {
    padding: 0 15px;
  }

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

  /* HERO Section */
  .page-ban-ca__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-ban-ca__hero-content {
    padding: 20px 15px !important;
    margin-top: -50px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }

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

  .page-ban-ca__intro-text {
    font-size: 1em !important;
  }

  .page-ban-ca__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px !important;
  }

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

  /* Content Images */
  .page-ban-ca img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
  }

  /* Features Grid */
  .page-ban-ca__features-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .page-ban-ca__feature-card {
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }

  /* Guide List */
  .page-ban-ca__guide-list li {
    padding: 15px !important;
    margin-bottom: 10px !important;
  }

  /* Promotion List */
  .page-ban-ca__promo-list li {
    padding: 15px !important;
    margin-bottom: 10px !important;
  }

  /* FAQ Section */
  .page-ban-ca__faq-item {
    margin-bottom: 10px !important;
  }

  .page-ban-ca__faq-question {
    padding: 12px 15px !important;
  }

  .page-ban-ca__faq-answer {
    padding: 0 15px 12px !important;
  }

  /* No specific game/gameshow/blog slider/masonry for this non-homepage page, but general image/button rules apply */
  /* The following rules are placeholders for the mandatory checklist, though not strictly needed for this page's content structure. */
  .page-ban-ca__home-content { /* Mandatory checklist item */
    height: auto !important;
    overflow-y: visible !important;
    padding: 15px !important;
  }
  .page-ban-ca__row-games, .page-ban-ca__row-sport, .page-ban-ca__row-coop { /* Mandatory checklist item */
    padding: 20px 15px !important;
  }
  .page-ban-ca__slider-track { /* Mandatory checklist item */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-ban-ca__game-slide { /* Mandatory checklist item */
    flex: 0 0 80% !important;
    max-width: 80% !important;
    scroll-snap-align: start;
  }
  .page-ban-ca__banners-top-wrapper { /* Mandatory checklist item */
    grid-template-columns: repeat(2, 1fr) !important; /* Adjusted for smaller screens */
    gap: 10px !important;
  }
  .page-ban-ca__banner-item img { /* Mandatory checklist item */
    
    
  }
  .page-ban-ca__blog-masonry { /* Mandatory checklist item */
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }
  .page-ban-ca__blog-card-link { /* Mandatory checklist item */
    height: auto !important;
  }
  .page-ban-ca__blog-slider-track { /* Mandatory checklist item */
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-ban-ca__blog-slide { /* Mandatory checklist item */
    flex: 0 0 90% !important;
    max-width: 90% !important;
    scroll-snap-align: start;
  }
}