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

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Spacing below content */
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for initial section, body handles --header-offset */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  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 {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
  z-index: 1;
  position: relative;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 20px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #F2FFF6; /* Custom Text Main */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 255, 100, 0.2);
}

.page-cockfighting__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 100, 0.3);
}

.page-cockfighting__cta-button--center {
  display: block;
  margin: 40px auto 0;
  width: fit-content;
}

.page-cockfighting__section-spacing {
  padding: 80px 0;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Custom Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

.page-cockfighting__keyword {
  color: #2AD16F; /* Highlight keywords */
  font-weight: 600;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__numbered-list,
.page-cockfighting__unordered-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-cockfighting__numbered-list {
  counter-reset: list-counter;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  counter-increment: list-counter;
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #2AD16F; /* Custom Button */
  color: #08160F; /* Dark background for number */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2em;
}

.page-cockfighting__unordered-list .page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}

.page-cockfighting__unordered-list .page-cockfighting__list-item::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #2AD16F; /* Custom Button */
  font-size: 1.5em;
  line-height: 1;
}

.page-cockfighting__list-title {
  font-size: 1.3em;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 10px;
}

.page-cockfighting__list-item p {
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 0;
}

.page-cockfighting__dark-section {
  background-color: #11271B; /* Custom Card BG */
}

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

.page-cockfighting__faq-item {
  background-color: #0A4B2C; /* Custom Deep Green */
  border: 1px solid #2E7A4E; /* Custom Border */
  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.2em;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Custom Divider */
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #2E7A4E; /* Custom Border */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Custom Glow */
  transition: transform 0.3s ease;
}

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

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

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

/* Details element native styling reset */
.page-cockfighting__faq-item > summary {
  list-style: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
}

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

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding for content */
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

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

  .page-cockfighting__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

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

  .page-cockfighting__cta-button--center {
    margin: 30px auto 0;
  }

  .page-cockfighting__section-spacing {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__content-image {
    margin: 30px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__numbered-list,
  .page-cockfighting__unordered-list {
    margin: 30px 0;
  }

  .page-cockfighting__numbered-list .page-cockfighting__list-item {
    padding-left: 50px;
    margin-bottom: 20px;
  }

  .page-cockfighting__numbered-list .page-cockfighting__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }

  .page-cockfighting__list-title {
    font-size: 1.1em;
  }

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

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.6em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 300px;
  }
}