.page-cockfighting-rules {
  background-color: #08160F; /* Main background */
  color: #F2FFF6; /* Main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-cockfighting-rules__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px; /* Adjust as needed */
  background-color: #0A4B2C; /* Deep Green for hero section background */
}

.page-cockfighting-rules__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3; /* Make it a subtle background */
}

.page-cockfighting-rules__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card B G with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 50px; /* Push content down slightly from top */
}

.page-cockfighting-rules__main-title {
  font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size */
  font-weight: bold;
  color: #F2C14E; /* Gold for title */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-cockfighting-rules__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-rules__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main for button text */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-cockfighting-rules__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

.page-cockfighting-rules__cta-button--large {
  padding: 18px 40px;
  font-size: 1.25rem;
}

.page-cockfighting-rules__cta-button--final {
  margin-top: 30px;
}

.page-cockfighting-rules__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-cockfighting-rules__dark-section {
  background-color: #11271B; /* Card B G for alternating sections */
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-cockfighting-rules__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting-rules__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #22C768; /* Auxiliary color */
  border-radius: 2px;
}

.page-cockfighting-rules__sub-title {
  font-size: 1.8rem;
  color: #22C768; /* Auxiliary color for sub titles */
  margin-top: 35px;
  margin-bottom: 20px;
  border-left: 5px solid #F2C14E; /* Gold accent */
  padding-left: 15px;
}

.page-cockfighting-rules__text-block p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting-rules__text-block strong {
  color: #F2C14E; /* Highlight strong text with Gold */
}

.page-cockfighting-rules__text-block ul,
.page-cockfighting-rules__text-block ol {
  margin-bottom: 15px;
  padding-left: 25px;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting-rules__text-block li {
  margin-bottom: 8px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting-rules__text-block li strong {
  color: #F2C14E; /* Gold for strong text in lists */
}

.page-cockfighting-rules__text-center {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting-rules__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* FAQ Section Styling */
.page-cockfighting-rules__faq-list {
  margin-top: 40px;
}

.page-cockfighting-rules__faq-item {
  background-color: #0A4B2C; /* Deep Green for FAQ item background */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting-rules__faq-item[open] {
  background-color: #11271B; /* Card B G when open */
}

.page-cockfighting-rules__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.page-cockfighting-rules__faq-question:hover {
  background-color: rgba(34, 199, 104, 0.1); /* Auxiliary color with transparency */
}

.page-cockfighting-rules__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-cockfighting-rules__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit */
}

.page-cockfighting-rules__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting-rules__faq-toggle {
  font-size: 1.5rem;
  color: #22C768; /* Auxiliary color */
  margin-left: 15px;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-cockfighting-rules__hero-section {
    padding-top: 10px !important; /* body handles header offset, this is extra visual padding */
    padding-bottom: 30px;
  }

  .page-cockfighting-rules__hero-content {
    padding: 15px;
    margin-top: 30px;
  }

  .page-cockfighting-rules__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-cockfighting-rules__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-cockfighting-rules__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting-rules__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  .page-cockfighting-rules__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting-rules__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-cockfighting-rules__sub-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  /* Images responsive */
  .page-cockfighting-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-cockfighting-rules__image-full-width {
    margin: 20px auto;
  }

  /* Containers for images/buttons */
  .page-cockfighting-rules__section,
  .page-cockfighting-rules__card,
  .page-cockfighting-rules__container,
  .page-cockfighting-rules__text-block,
  .page-cockfighting-rules__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-cockfighting-rules__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-cockfighting-rules__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  .page-cockfighting-rules__cta-buttons,
  .page-cockfighting-rules__button-group,
  .page-cockfighting-rules__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;
  }
}