.page-cockfighting {
  font-family: 'Arial', sans-serif;
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
}

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__dark-section {
  background-color: #11271B; /* Custom Card BG, used for dark sections */
  color: #F2FFF6;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #A7D9B8; /* Custom Text Secondary */
}

.page-cockfighting__text-block a {
  color: #57E38D; /* Custom Glow for links */
  text-decoration: none;
  font-weight: bold;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already handles top padding from header */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -150px; /* Overlap with image for visual flow, but text is below */
  padding: 20px;
  background: rgba(17, 39, 27, 0.8); /* Semi-transparent Card BG for content box */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 900;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-cockfighting__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-cockfighting__description a {
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 255, 100, 0.3);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 255, 100, 0.4);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #57E38D; /* Custom Glow */
  border: 2px solid #2E7A4E; /* Custom Border */
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
  transform: translateY(-2px);
}

/* Image Content */
.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Card Grid */
.page-cockfighting__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__card {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #A7D9B8;
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-cockfighting__card .page-cockfighting__btn-primary {
  margin-top: auto; /* Push button to bottom */
  width: fit-content;
  align-self: flex-start;
}

/* Ordered/Unordered Lists */
.page-cockfighting__ordered-list,
.page-cockfighting__feature-list,
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__ordered-list li,
.page-cockfighting__feature-item,
.page-cockfighting__strategy-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: #A7D9B8;
}

.page-cockfighting__ordered-list li:last-child,
.page-cockfighting__feature-item:last-child,
.page-cockfighting__strategy-item:last-child {
  margin-bottom: 0;
}

.page-cockfighting__list-title,
.page-cockfighting__feature-title,
.page-cockfighting__strategy-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
}

.page-cockfighting__ordered-list li p {
  color: #A7D9B8;
}

.page-cockfighting__ordered-list li a {
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__ordered-list li a:hover {
  text-decoration: underline;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #A7D9B8;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: #F2FFF6; /* Custom Text Main */
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary::-webkit-details-marker,
.page-cockfighting__faq-item summary::marker {
  display: none;
}

.page-cockfighting__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter border color for hover */
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  font-size: 1.2em;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: #F2C14E; /* Custom Gold */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #A7D9B8; /* Custom Text Secondary */
}

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

.page-cockfighting__faq-answer a {
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding-bottom: 80px;
}

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

@media (max-width: 768px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
  }

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

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

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

  .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: 1em;
  }

  .page-cockfighting__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__ordered-list li,
  .page-cockfighting__feature-item,
  .page-cockfighting__strategy-item {
    padding: 20px;
  }

  .page-cockfighting__list-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__strategy-title {
    font-size: 1.2em;
  }

  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
  }

  .page-cockfighting__faq-qtext {
    font-size: 1em;
  }

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

  /* Mobile image responsiveness */
  .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-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-content,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__card-grid,
  .page-cockfighting__ordered-list,
  .page-cockfighting__feature-list,
  .page-cockfighting__strategy-list,
  .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; /* Ensure no overflow */
  }
  
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
  
  .page-cockfighting__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}