.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--dark-bg-1, #0d0d0d); /* Assuming shared.css defines a dark background for body */
}

.page-cockfighting__dark-section {
  background-color: var(--dark-bg-1, #0d0d0d); /* Use dark background from shared or default */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

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

.page-cockfighting__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__video-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background-color: var(--dark-bg-1, #0d0d0d);
  color: #ffffff;
}

.page-cockfighting__video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
}

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

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__container {
  max-width: 960px;
  margin: 0 auto;
}

.page-cockfighting__heading-two {
  font-size: 2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-cockfighting__heading-three {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-cockfighting__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-cockfighting__ordered-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 30px 0;
}

.page-cockfighting__list-item {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__list-item .page-cockfighting__heading-three {
  margin-top: 0;
}

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

.page-cockfighting__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-cockfighting__tip-item {
  background-color: #f0f8ff; /* Light blue background */
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__tip-item .page-cockfighting__heading-three {
  color: #26A9E0;
  margin-top: 0;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-cockfighting__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #eaf6ff; /* Lighter blue for question background */
  transition: background-color 0.3s ease;
}

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

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change + to X-like symbol */
  content: '−';
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to reveal content */
  padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

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

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

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

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

.page-cockfighting__btn-small {
  font-size: 0.9em;
  padding: 8px 18px;
  background-color: #26A9E0;
  color: #ffffff;
  border: 1px solid #26A9E0;
}

.page-cockfighting__btn-small:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__text-link:hover {
  text-decoration: underline;
}

.page-cockfighting__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }

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

  .page-cockfighting__heading-two {
    font-size: 1.8em;
  }

  .page-cockfighting__heading-three {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 80px 15px 40px;
    min-height: 500px;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
  }
  
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

  .page-cockfighting__video-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
  }
  
  .page-cockfighting__video-wrapper {
    padding-bottom: 75%; /* Adjust aspect ratio for better mobile viewing if needed, or keep 16:9 */
  }

  .page-cockfighting__video,
  .page-cockfighting__video-link {
    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: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__content-area {
    padding: 20px 15px;
  }

  .page-cockfighting__container {
    padding: 0;
  }

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

  .page-cockfighting__heading-two {
    font-size: 1.6em;
  }

  .page-cockfighting__heading-three {
    font-size: 1.2em;
  }

  .page-cockfighting__list-item,
  .page-cockfighting__card,
  .page-cockfighting__tip-item,
  .page-cockfighting__faq-item {
    padding: 15px;
  }

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

  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content area images are not too small */
  .page-cockfighting__content-area img {
    min-width: 200px; /* Enforce minimum size if not handled by max-width: 100% */
    min-height: 200px;
    object-fit: cover;
  }
}

/* General image responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area images CSS size lower bound */
.page-cockfighting__content-area img,
.page-cockfighting__list-item img,
.page-cockfighting__card img,
.page-cockfighting__tip-item img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Contrast Fixes */
.page-cockfighting__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-cockfighting__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}