.page-cockfighting {
  background-color: var(--bg-color, #08160F); /* Default if shared.css doesn't define --bg-color */
  color: #F2FFF6; /* Text Main */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting h4,
.page-cockfighting h5,
.page-cockfighting h6 {
  color: #F2FFF6; /* Main text color for headings */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting p {
  margin-bottom: 10px;
}

.page-cockfighting a {
  color: #2AD16F; /* A vibrant green for links */
  text-decoration: none;
}

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

/* Card and specific section backgrounds */
.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-cockfighting__section-bg-dark {
  background-color: #08160F; /* Background */
  padding: 40px 0;
}

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

/* Buttons */
.page-cockfighting__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for buttons */
  border: none;
  text-decoration: none;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in width calculation */
}

.page-cockfighting__btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding: 20px; /* Small padding */
  text-align: center;
  overflow: hidden; /* Ensure no overflow */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 20px; /* Space between image and text */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  width: 100%;
  padding: 0 15px; /* Add some horizontal padding */
  box-sizing: border-box;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2FFF6;
}

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

.page-cockfighting__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  width: 100%; /* Ensure container takes full width for wrapping */
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6;
}

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

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

.page-cockfighting__list-item {
  margin-bottom: 8px;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__text-center {
  text-align: center;
}

.page-cockfighting__highlight {
  color: #57E38D; /* Glow color for highlights */
  font-weight: bold;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #11271B; /* Card BG */
}

.page-cockfighting__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6;
  list-style: none; /* Remove default marker */
}

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

.page-cockfighting__faq-question {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #2AD16F;
}

.page-cockfighting__faq-answer {
  padding: 0 20px 15px 20px;
  color: #A7D9B8;
  line-height: 1.6;
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px; /* Adjusted padding */
  padding-top: 10px; /* Small top padding for video section */
  background-color: #08160F;
  text-align: center;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer; /* Indicate it's clickable */
}

/* Divider */
.page-cockfighting__divider {
  width: 80%;
  max-width: 600px;
  height: 2px;
  background-color: #1E3A2A; /* Divider */
  margin: 40px auto;
}

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

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

  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

  .page-cockfighting__cta-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__btn {
    width: 100%;
    padding: 12px 15px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__subsection-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    margin-top: 20px;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body already handles header offset */
  }

  /* Ensure button containers also adapt */
  .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;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}