.page-cockfighting {
  background-color: var(--site-bg, #08160F); /* Fallback to Background color if --site-bg is not set */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px; /* Space for content below image */
  background-color: #08160F; /* Background */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height on desktop */
  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; /* Ensure content is above image if image is background-like */
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Pull content up over the image slightly for better visual */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary:hover {
  background: #22C768; /* Auxiliary */
  color: #11271B;
  border-color: #22C768;
}

.page-cockfighting__video-section {
  padding: 40px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #08160F; /* Background */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  padding: 15px; /* Inner padding for video container */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%; /* Important for desktop */
  max-width: 100%;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  cursor: pointer;
}

.page-cockfighting__video-description {
  color: #A7D9B8; /* Text Secondary */
  margin-top: 20px;
  font-style: italic;
}

.page-cockfighting__video-cta {
  margin-top: 30px;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #08160F; /* Background */
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #F2FFF6; /* Text Main */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-cockfighting__paragraph {
  font-size: 1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-main {
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__inline-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__inline-link:hover {
  text-decoration: underline;
  color: #2AD16F;
}

.page-cockfighting__features-grid,
.page-cockfighting__promotions-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: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 15px;
  flex-grow: 1; /* Allow text to take up available space */
}

.page-cockfighting__card-cta {
  margin-top: 20px;
  margin-left: 15px;
  margin-right: 15px;
  width: calc(100% - 30px); /* Adjust width for padding */
}

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

.page-cockfighting__list-item {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #11A84E; /* Main color */
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__list-title {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 5px;
}

.page-cockfighting__list-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  list-style-type: decimal;
  background-color: #11271B; /* Card BG */
  border-left: none;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__checklist .page-cockfighting__list-item {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #22C768; /* Auxiliary */
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 45px; /* Space for custom checkmark */
}

.page-cockfighting__checklist .page-cockfighting__list-item::before {
  content: '\2713'; /* Checkmark unicode */
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #57E38D; /* Glow */
  font-size: 1.2em;
  font-weight: bold;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 0 20px 15px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 500px; /* Sufficiently large to show content */
}

/* Fallback for browsers not supporting [open] on details */
.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 500px !important;
}

.page-cockfighting__cta-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  margin-top: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__large-cta {
  font-size: 1.2em;
  padding: 18px 35px;
  margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.8em);
  }

  .page-cockfighting__description {
    font-size: 1em;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__content-area,
  .page-cockfighting__cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-cockfighting__paragraph,
  .page-cockfighting__card-text,
  .page-cockfighting__list-description,
  .page-cockfighting__faq-answer {
    font-size: 0.95em;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

  .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: 0; /* Container padding applied by parent section */
    padding-right: 0;
    overflow: hidden !important;
  }

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

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0; /* Inner padding for elements, section provides outer padding */
    padding-right: 0;
  }

  .page-cockfighting__card-cta {
    width: calc(100% - 30px);
  }

  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
}