.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Rely on shared.css for body background */
}

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

/* Sections */
.page-cockfighting__hero-section,
.page-cockfighting__introduction-section,
.page-cockfighting__history-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategies-section,
.page-cockfighting__promotions-section,
.page-cockfighting__safety-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

/* Specific section backgrounds and colors */
.page-cockfighting__dark-section {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

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

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 40px 20px;
  margin-top: 20px; /* Space below image */
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 8px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-cockfighting__lead-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-cockfighting__section-title.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__section-title.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #333333;
}

.page-cockfighting p {
  margin-bottom: 1em;
  font-size: 1.05em;
  color: inherit;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Lists */
.page-cockfighting__feature-list,
.page-cockfighting__step-list,
.page-cockfighting__tip-list,
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-cockfighting__feature-list li,
.page-cockfighting__step-list li,
.page-cockfighting__tip-list li,
.page-cockfighting__promo-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
  color: #ffffff;
  width: calc(50% - 20px);
  box-sizing: border-box;
  text-align: left;
}

.page-cockfighting__light-bg .page-cockfighting__feature-list li,
.page-cockfighting__light-bg .page-cockfighting__step-list li,
.page-cockfighting__light-bg .page-cockfighting__tip-list li,
.page-cockfighting__light-bg .page-cockfighting__promo-list li {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-cockfighting__feature-list li::before,
.page-cockfighting__step-list li::before,
.page-cockfighting__tip-list li::before,
.page-cockfighting__promo-list li::before {
  content: '✓';
  position: absolute;
  left: 15px;
  color: #EA7C07; /* Highlight color */
  font-weight: bold;
}

.page-cockfighting__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #EA7C07;
  color: #ffffff;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  left: 10px;
}

/* Buttons */
.page-cockfighting__cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary {
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* FAQ */
.page-cockfighting__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background: #f8f8f8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__light-bg .page-cockfighting__faq-question:hover {
  background-color: #e9e9e9;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #555555;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.5em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__feature-list li,
  .page-cockfighting__step-list li,
  .page-cockfighting__tip-list li,
  .page-cockfighting__promo-list li {
    width: calc(100% - 20px);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__history-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
    margin-top: 10px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em); /* Use clamp for H1 */
  }
  .page-cockfighting__lead-text {
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting p {
    font-size: 0.95em;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

  /* Mobile image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-content,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    min-height: 400px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.6em, 7vw, 2em);
  }
  .page-cockfighting__lead-text {
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting p {
    font-size: 0.9em;
  }
}