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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles header-offset, this is small additional padding */
  overflow: hidden;
  min-height: 70vh;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with opacity */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%; /* Ensure buttons adapt */
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

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

.page-cockfighting__btn-secondary {
  background: none;
  color: #2AD16F; /* Button color for text */
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-cockfighting__about-section,
.page-cockfighting__rules-section,
.page-cockfighting__benefits-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F; /* Bright green */
  border-radius: 2px;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-cockfighting__content-area p,
.page-cockfighting__content-area li {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__content-area a {
  color: #57E38D; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__content-area a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__image-wrapper {
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-wrapper--center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
}

.page-cockfighting__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2AD16F; /* Bright green checkmark */
  font-weight: bold;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  color: #F2C14E; /* Gold number */
  font-weight: bold;
  left: 0;
  font-size: 1.1em;
  width: 25px;
  text-align: right;
  margin-right: 5px;
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-cockfighting__cta-buttons--top-margin {
  margin-top: 60px;
}

/* Benefits Section */
.page-cockfighting__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__benefit-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 380px; /* Ensure consistent height */
}

.page-cockfighting__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__benefit-icon {
  width: 100%;
  max-width: 250px; /* Ensure icon is not too large */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
  min-width: 200px;
}

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

.page-cockfighting__benefit-card p {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

/* Blog/Tips Section */
.page-cockfighting__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__blog-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__blog-card .page-cockfighting__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.4;
  text-align: left;
}

.page-cockfighting__blog-card .page-cockfighting__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-cockfighting__blog-card .page-cockfighting__card-title a:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-cockfighting__card-date {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__read-more {
  display: inline-block;
  color: #2AD16F; /* Bright green */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__read-more:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #1E3A2A; /* Divider - slightly darker for summary */
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-qtext a {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
  line-height: 1;
}

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__image-wrapper {
    order: -1; /* Image on top for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
    min-height: 60vh;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section {
    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__sub-title {
    font-size: 1.5em;
  }

  .page-cockfighting__content-area p,
  .page-cockfighting__content-area li {
    font-size: 1em;
  }

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

  .page-cockfighting__image-wrapper,
  .page-cockfighting__benefit-icon,
  .page-cockfighting__card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__benefits-grid,
  .page-cockfighting__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__benefit-card {
    min-height: auto;
    padding: 25px;
  }

  .page-cockfighting__card-image {
    height: 200px; /* Adjust fixed height for mobile */
  }

  .page-cockfighting__blog-card .page-cockfighting__card-title {
    font-size: 1.2em;
  }

  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 18px 20px;
  }

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

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