.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main - assuming dark body background */
  background-color: #08160F; /* Background */
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Background */
  overflow: hidden; /* Ensure image does not overflow */
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* No filter property */
}

.page-cockfighting__hero-content {
  position: relative; /* Changed from absolute to relative for "image above text" rule */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-cockfighting__btn-secondary:hover {
  background-color: #57E38D; /* Glow */
  color: #08160F; /* Background */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

/* Section Styling */
.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #57E38D; /* Glow */
  border-radius: 2px;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__paragraph {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__list-item {
  margin-bottom: 8px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__list-item strong {
  color: #F2FFF6; /* Text Main */
}

/* Specific Section Backgrounds */
.page-cockfighting__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
}

.page-cockfighting__light-bg {
  background-color: #11271B; /* Card BG */
  padding: 60px 0;
}

/* Card Styling */
.page-cockfighting__game-type-card,
.page-cockfighting__step-card,
.page-cockfighting__feature-card,
.page-cockfighting__tip-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__game-type-card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__feature-card:hover,
.page-cockfighting__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__card-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #F2FFF6; /* Text Main */
  margin-top: 0;
  margin-bottom: 20px;
}

.page-cockfighting__game-type-image,
.page-cockfighting__feature-image,
.page-cockfighting__tip-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  /* No filter property */
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
}

.page-cockfighting__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit */
}

.page-cockfighting__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  background-color: #0A4B2C; /* Deep Green */
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8rem;
  }
  .page-cockfighting__section-title {
    font-size: 2.2rem;
  }
  .page-cockfighting__sub-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-title {
    font-size: 2rem !important; /* Use !important for mobile override */
    line-height: 1.3;
  }

  .page-cockfighting__hero-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: 1.4rem !important;
  }

  .page-cockfighting__paragraph,
  .page-cockfighting__list-item,
  .page-cockfighting__faq-answer {
    font-size: 0.9rem;
  }

  .page-cockfighting__game-type-card,
  .page-cockfighting__step-card,
  .page-cockfighting__feature-card,
  .page-cockfighting__tip-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-cockfighting__game-type-image,
  .page-cockfighting__feature-image,
  .page-cockfighting__tip-image,
  .page-cockfighting img { /* General image rule for content area */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset; /* Override min-width for mobile */
    min-height: unset; /* Override min-height for mobile */
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-cockfighting__dark-section,
  .page-cockfighting__light-bg {
    padding: 40px 0;
  }

  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }
}

/* Ensure content area images maintain minimum size on desktop */
.page-cockfighting__game-type-image,
.page-cockfighting__feature-image,
.page-cockfighting__tip-image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no CSS filter for images */
.page-cockfighting img {
  filter: none;
}

/* Color contrast fixes for text within specific elements if needed, though assumed light text on dark bg is fine */
/* If body was light, these would be different */
.page-cockfighting a {
  color: #57E38D; /* Glow for links */
  text-decoration: none;
}
.page-cockfighting a:hover {
  text-decoration: underline;
}