.page-cockfighting {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-main, #F2FFF6); /* Default to light text for dark background */
  background-color: var(--background, #08160F);
  line-height: 1.6;
  font-size: 16px;
}

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

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 4.5vw, 48px); /* Responsive font size for H1 */
  font-weight: 800;
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 800px;
}

.page-cockfighting__description {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__text-block {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-cockfighting__center-text {
  text-align: center;
}

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

.page-cockfighting__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 0 20px;
  text-align: center;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--deep-green, #0A4B2C);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__button-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

.page-cockfighting__btn-text-link {
  color: var(--glow, #57E38D);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 15px;
}

.page-cockfighting__btn-text-link:hover {
  color: var(--gold, #F2C14E);
  text-decoration: underline;
}

/* Image Content */
.page-cockfighting__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
}

/* Dark Section */
.page-cockfighting__dark-section {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

/* Card Styles */
.page-cockfighting__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border, #2E7A4E);
}

/* Features Grid */
.page-cockfighting__features-grid,
.page-cockfighting__types-grid,
.page-cockfighting__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Steps List */
.page-cockfighting__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__step-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-cockfighting__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--button-gradient, linear-gradient(180deg, #2AD16F 0%, #13994A 100%));
  color: var(--text-main, #F2FFF6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
}

/* Tips List */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__list-item {
  background-color: var(--deep-green, #0A4B2C);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--glow, #57E38D);
  margin-bottom: 10px;
}

.page-cockfighting__list-text {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-cockfighting__faq-question::-webkit-details-marker { /* Hide default marker for Chrome */
  display: none;
}

.page-cockfighting__faq-question:hover {
  background-color: var(--deep-green, #0A4B2C);
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--glow, #57E38D);
  margin-left: 15px;
  line-height: 1;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 15px;
  }

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

  .page-cockfighting__container {
    padding: 0 15px;
  }

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

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

  .page-cockfighting__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .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: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__button-center {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-cockfighting__card {
    padding: 25px;
  }

  .page-cockfighting__card-title {
    font-size: 20px;
  }

  .page-cockfighting__step-item {
    padding-left: 50px;
    margin-bottom: 25px;
  }

  .page-cockfighting__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .page-cockfighting__step-title {
    font-size: 18px;
  }

  .page-cockfighting__list-item {
    padding: 20px;
  }

  .page-cockfighting__list-title {
    font-size: 18px;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 20px;
  }

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

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

  .page-cockfighting__hero-image-wrapper {
    padding-bottom: 75% !important; /* Adjust aspect ratio for mobile hero if needed, e.g., 4:3 */
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}