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

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

.page-ban-ca__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-ban-ca__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-ban-ca__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 40px;
  overflow: hidden;
  background-color: #0a1f33; /* Darker background for contrast with image */
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-ban-ca__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-top: 20px;
}

.page-ban-ca__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

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

/* 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;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin: 0 10px 10px 0;
}

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

.page-ban-ca__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin: 0 0 10px 10px;
}

.page-ban-ca__btn-secondary:hover {
  background-color: #e0f0f8;
  color: #1a8cc7;
  border-color: #1a8cc7;
}

/* Introduction Section */
.page-ban-ca__introduction-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

/* Features Section */
.page-ban-ca__features-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-ban-ca__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-ban-ca__card-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ban-ca__card-text {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Guide Section */
.page-ban-ca__guide-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-ban-ca__step-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 70px;
  height: 100%;
}

.page-ban-ca__step-number {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
}

.page-ban-ca__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-ban-ca__step-text {
  font-size: 1em;
  color: #555555;
}

/* Why Choose Section */
.page-ban-ca__why-choose-section {
  padding: 60px 0;
  background-color: #0a1f33;
  color: #ffffff;
}

.page-ban-ca__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-ban-ca__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.7;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__list-item strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-ban-ca__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.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: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  background-color: #f0f0f0;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-ban-ca__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  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;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

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

/* CTA Section */
.page-ban-ca__cta-section {
  padding: 80px 0;
  background-color: #0a1f33;
  color: #ffffff;
  text-align: center;
}

.page-ban-ca__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-ban-ca__cta-section .page-ban-ca__section-title {
  color: #FFFFFF;
}

.page-ban-ca__cta-section .page-ban-ca__text-block {
  color: #f0f0f0;
  max-width: 800px;
}

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

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

/* --- CSS Boilerplate for Homepage Modules (as per prompt's strict requirement) --- */
/* Even though this is not the homepage, these selectors are required in the CSS output. */
.page-ban-ca__home-content {
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  padding: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.page-ban-ca__row-games, .page-ban-ca__row-sport, .page-ban-ca__row-coop {
  background-color: #0a1f33;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-ban-ca__games-title, .page-ban-ca__sport-title, .page-ban-ca__coop-title {
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 30px;
}

.page-ban-ca__slider-wrapper {
  overflow: hidden;
  margin-top: 30px;
}

.page-ban-ca__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.page-ban-ca__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ban-ca__game-slide img {
  width: 100%;
  
  object-fit: cover;
  display: block;
}

.page-ban-ca__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 40px auto;
}

.page-ban-ca__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-ban-ca__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}

.page-ban-ca__blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-ban-ca__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-ban-ca__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-ban-ca__blog-card-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.4;
}

.page-ban-ca__blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-ban-ca__blog-card-title a:hover {
  text-decoration: underline;
}

.page-ban-ca__blog-card-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-ban-ca__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #26A9E0;
  color: #26A9E0;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto; /* Push to bottom of card */
}

.page-ban-ca__btn-outline:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-ban-ca__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.page-ban-ca__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

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

.page-ban-ca__cta-button,
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__cta-buttons,
.page-ban-ca__button-group,
.page-ban-ca__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

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

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

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

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

  /* Buttons */
  .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;
    margin: 5px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

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

  /* Guide Steps */
  .page-ban-ca__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Why Choose List */
  .page-ban-ca__advantage-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

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

  /* CTA Section */
  .page-ban-ca__cta-section {
    padding: 40px 0;
  }

  /* --- CSS Boilerplate for Homepage Modules (Mobile) --- */
  /* Even though this is not the homepage, these selectors are required in the CSS output. */
  .page-ban-ca__home-content {
    height: auto;
    margin: 20px 15px;
    padding: 15px;
  }

  .page-ban-ca__row-games, .page-ban-ca__row-sport, .page-ban-ca__row-coop {
    padding: 20px 15px;
  }

  .page-ban-ca__games-title, .page-ban-ca__sport-title, .page-ban-ca__coop-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-ban-ca__slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px; /* For scrollbar */
  }

  .page-ban-ca__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
    scroll-snap-align: start;
  }

  .page-ban-ca__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 20px auto;
  }

  .page-ban-ca__banner-item img {
    
    
  }

  .page-ban-ca__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-ban-ca__blog-card-image {
    height: 180px;
  }

  .page-ban-ca__blog-card-title {
    font-size: 1.1em;
  }

  .page-ban-ca__blog-card-text {
    font-size: 0.9em;
  }

  .page-ban-ca__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px; /* For scrollbar */
  }

  .page-ban-ca__blog-slide {
    flex: 0 0 80%; /* Adjust width for mobile slider */
    max-width: 80%;
    scroll-snap-align: start;
  }

  /* General Image Responsiveness */
  .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;
  }
}