/* ===== page-ban-ca: Bắn Cá ===== */
.page-ban-ca {
  background: #F4F7FB;
  color: #1F2D3D;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* ===== Hero ===== */
.page-ban-ca__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 16px 16px 0;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(47, 107, 255, 0.1);
}

.page-ban-ca__hero-image-block {
  width: 100%;
}

.page-ban-ca__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.page-ban-ca__hero-content {
  padding: 24px 16px;
  text-align: center;
}

.page-ban-ca__main-title {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #1F2D3D;
  max-width: 720px;
  margin: 0 auto 12px;
}

.page-ban-ca__hero-description {
  color: #1F2D3D;
  max-width: 720px;
  margin: 0 auto 24px;
}

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

.page-ban-ca__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-ban-ca__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35);
}

.page-ban-ca__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.45);
}

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

.page-ban-ca__btn--secondary:hover {
  background: #F0F5FF;
}

.page-ban-ca__btn:hover {
  opacity: 0.95;
}

/* ===== Logo grid ===== */
.page-ban-ca__logo-grid-section {
  padding: 32px 16px;
}

.page-ban-ca__logo-grid-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(47, 107, 255, 0.08);
}

.page-ban-ca__section-title {
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.75rem;
}

.page-ban-ca__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
}

.page-ban-ca__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  width: 100%;
  padding: 16px;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  background: #FFFFFF;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-ban-ca__logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.12);
}

.page-ban-ca__logo-image {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
  background: #FFFFFF;
}

.page-ban-ca__logo-cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
}

.page-ban-ca__logo-cta:hover {
  opacity: 0.95;
}

/* 4+2 layout: 5th and 6th items centered on row 2 */
.page-ban-ca__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-ban-ca__logo-item:nth-child(6) {
  grid-column: 3;
}

/* ===== Guide ===== */
.page-ban-ca__guide-section {
  padding: 0 16px 48px;
}

.page-ban-ca__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(47, 107, 255, 0.08);
}

.page-ban-ca__guide-title {
  text-align: center;
  color: #1F2D3D;
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.page-ban-ca__guide-intro {
  text-align: center;
  color: #1F2D3D;
  margin-bottom: 32px;
}

.page-ban-ca__guide-step {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  background: #F4F7FB;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #D6E2FF;
  box-sizing: border-box;
}

.page-ban-ca__guide-figure {
  flex: 1 1 280px;
  min-width: 280px;
}

.page-ban-ca__guide-figure img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.page-ban-ca__guide-text {
  flex: 1 1 260px;
  min-width: 260px;
}

.page-ban-ca__guide-step-title {
  color: #2F6BFF;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-ban-ca__guide-text p {
  color: #1F2D3D;
  margin-bottom: 16px;
}

.page-ban-ca__guide-text .page-ban-ca__btn {
  margin-top: 8px;
}

.page-ban-ca__faq-item {
  background: #F4F7FB;
  border: 1px solid #D6E2FF;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 24px;
}

.page-ban-ca__faq-item summary {
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  list-style: none;
}

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

.page-ban-ca__faq-item[open] summary {
  color: #2F6BFF;
}

.page-ban-ca__faq-item p {
  margin-top: 12px;
  color: #333333;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-ban-ca__logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-ban-ca__logo-item:nth-child(5) {
    grid-column: auto;
  }
  .page-ban-ca__logo-item:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    margin-top: 8px;
    padding: 8px 8px 0;
  }
  .page-ban-ca__hero-image {
    aspect-ratio: 2 / 1;
  }
  .page-ban-ca__hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-ban-ca__btn {
    width: 100%;
    max-width: 100%;
  }
  .page-ban-ca__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .page-ban-ca__logo-item:nth-child(5) {
    grid-column: auto;
  }
  .page-ban-ca__logo-item:nth-child(6) {
    grid-column: auto;
  }
  .page-ban-ca__logo-image {
    max-width: 120px;
  }
  .page-ban-ca__guide-step {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-ban-ca__guide-figure {
    width: 100%;
    min-width: 0;
  }
  .page-ban-ca__guide-text {
    width: 100%;
    min-width: 0;
  }
  .page-ban-ca__guide-title {
    font-size: 1.25rem;
  }
  .page-ban-ca img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-ban-ca {
    max-width: 100%;
    overflow-x: hidden;
  }
}