.page-cockfighting {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 20px;
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 40px;
  background-color: #F4F7FB;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 20px 20px 0;
}

.page-cockfighting__main-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 15px;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-cockfighting__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-cockfighting__secondary-cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background-color: #D6E2FF;
  color: #2F6BFF;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #D6E2FF;
  margin-left: 15px;
  font-size: 1rem;
}

.page-cockfighting__secondary-cta-button:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
}

.page-cockfighting__about-section,
.page-cockfighting__game-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__final-cta-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-cockfighting__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-cockfighting__content-wrapper p {
  margin-bottom: 15px;
  color: #1F2D3D;
}

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

.page-cockfighting__type-card,
.page-cockfighting__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-cockfighting__type-card:hover,
.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__type-image,
.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 400px; /* Ensures image is not too wide in card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.page-cockfighting__type-title,
.page-cockfighting__feature-title {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__type-description,
.page-cockfighting__feature-description {
  font-size: 0.95rem;
  color: #1F2D3D;
}

.page-cockfighting__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 20px;
}

.page-cockfighting__guide-list li {
  margin-bottom: 10px;
  color: #1F2D3D;
}

.page-cockfighting__guide-list li strong {
  color: #000000;
}

.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  font-size: 1.15rem;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__faq-answer {
  font-size: 0.95rem;
  color: #1F2D3D;
}

.page-cockfighting__final-cta-section .page-cockfighting__content-wrapper {
  text-align: center;
  padding-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__types-grid,
  .page-cockfighting__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }
}

@media (max-width: 549px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 30px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.1rem, 7vw, 2rem);
  }
  .page-cockfighting__hero-description {
    font-size: 0.9rem;
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__secondary-cta-button {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }
  .page-cockfighting__hero-content {
    padding: 15px 15px 0;
  }
  .page-cockfighting__types-grid,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__about-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__final-cta-section {
    margin: 30px auto;
    padding: 0 15px;
  }
  .page-cockfighting__content-wrapper p,
  .page-cockfighting__guide-list li,
  .page-cockfighting__faq-answer {
    font-size: 0.9rem;
  }
  .page-cockfighting__faq-question {
    font-size: 1.05rem;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-cockfighting img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content area images are not smaller than 200px */
.page-cockfighting__hero-image,
.page-cockfighting__type-image,
.page-cockfighting__feature-icon {
  min-width: 200px;
  min-height: 200px;
}

/* Specific override for the small button in guide section */
.page-cockfighting__guide-section .page-cockfighting__cta-button {
  margin-top: 20px;
}