.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Body background is var(--black-color) from shared.css, which is dark. Use light text. */
.page-cockfighting,
.page-cockfighting p,
.page-cockfighting li {
  color: #f0f0f0; /* Light text for dark body background */
}

.page-cockfighting a {
  color: #26A9E0; /* Brand primary color for links */
  text-decoration: none;
}

.page-cockfighting a:hover {
  text-decoration: underline;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #000000; /* Dark background for hero section */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit image height */
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-bottom: 20px; /* Space between image and content */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 100%;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

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

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background */
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  background-color: #1a1a1a;
  border-radius: 10px;
  width: 100%; /* Ensure wrapper takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-cockfighting__video-caption {
  margin-top: 20px;
  font-style: italic;
  color: #f0f0f0;
}

.page-cockfighting__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-cockfighting__content-section {
  padding: 60px 20px;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image-block--center {
  text-align: center;
}

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

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
}

.page-cockfighting__why-choose-us {
  padding: 60px 20px;
}

.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting__promotions-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-cockfighting__promo-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #333333; /* Dark text for light background */
}

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

.page-cockfighting__promo-text {
  font-size: 0.95em;
  color: #555555;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 30px;
}

.page-cockfighting__advice-section {
  padding: 60px 20px;
}

.page-cockfighting__faq-section {
  padding: 60px 20px;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-cockfighting__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333; /* Dark text for light background */
}

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

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

.page-cockfighting__faq-question:hover {
  background-color: #f0f0f0;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Brand color for question text */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  background-color: #ffffff;
  color: #555555;
  font-size: 0.95em;
}

.page-cockfighting__btn-full-width {
  width: 100%;
  margin-top: 20px;
}

/* Color Contrast Classes */
.page-cockfighting__dark-section {
  background-color: #000000; /* Explicit dark background */
  color: #ffffff; /* Light text */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.5em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__content-section,
  .page-cockfighting__why-choose-us,
  .page-cockfighting__promotions-section,
  .page-cockfighting__advice-section,
  .page-cockfighting__faq-section {
    padding: 40px 15px !important; /* Adjust padding for mobile */
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em); /* Clamp for H1 */
    margin-bottom: 15px;
  }

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

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container */
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
  }

  .page-cockfighting__container {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__image-block {
    order: -1; /* Image above text on mobile for some sections */
  }

  .page-cockfighting__grid-layout,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Mobile video responsive rules */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px; /* Video container handles its own padding */
    padding-right: 0px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }

  .page-cockfighting__promo-card,
  .page-cockfighting__feature-card,
  .page-cockfighting__faq-item {
    padding: 20px !important;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px !important;
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }

  .page-cockfighting__section-title {
    font-size: 1.6em;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.9em;
  }
}