.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensuring consistency with body background */
}

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

/* Color Contrast Handling */
.page-cockfighting__dark-bg {
  background-color: #000000; /* Ensuring dark background */
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-cockfighting__section-title,
.page-cockfighting__hero-title {
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  line-height: 1.2;
}

.page-cockfighting__section-description,
.page-cockfighting__hero-description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 15px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.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.4);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-cockfighting__hero-title {
  color: #ffffff;
  margin-top: 0;
  font-size: 3.2em;
}

.page-cockfighting__hero-description {
  color: #f0f0f0;
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-large,
.page-cockfighting__btn-text-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-cockfighting__btn-large {
  padding: 18px 36px;
  font-size: 1.1em;
}

.page-cockfighting__btn-text-link {
  background: none;
  border: none;
  padding: 0;
  color: #26A9E0;
  text-decoration: underline;
  font-weight: normal;
  font-size: 1em;
  margin-top: 10px;
}

.page-cockfighting__btn-text-link:hover {
  color: #1a7fb0;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 60px 0;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__grid-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-cockfighting__grid-title {
  color: #26A9E0;
  font-size: 1.5em;
  margin-top: 0;
}

.page-cockfighting__grid-text {
  color: #555555;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
}

.page-cockfighting__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
}

.page-cockfighting__card-text {
  color: #f0f0f0;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
}

.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  color: #26A9E0;
  font-size: 1.5em;
  margin-top: 0;
}

.page-cockfighting__step-text {
  color: #555555;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 60px 0;
}

.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
  /* Icons should be large enough, minimum 200x200px for generation, but can be displayed smaller */
}

.page-cockfighting__feature-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin-top: 0;
}

.page-cockfighting__feature-text {
  color: #f0f0f0;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
}

.page-cockfighting__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-title {
  color: #26A9E0;
  font-size: 1.5em;
  margin: 20px 15px 10px 15px;
}

.page-cockfighting__promo-text {
  color: #555555;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin: 0 15px 20px 15px;
  align-self: center;
  width: calc(100% - 30px);
}

.page-cockfighting__promo-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: #ffffff;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting__faq-title {
  color: #ffffff;
  margin: 0;
  font-size: 1.2em;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-cockfighting__faq-text {
  margin-bottom: 0;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__cta-content {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: #333333;
}

.page-cockfighting__cta-title {
  color: #26A9E0;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-cockfighting__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding: 60px 15px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-large,
  .page-cockfighting__btn-text-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-description {
    margin-bottom: 30px;
  }
  .page-cockfighting__content-grid,
  .page-cockfighting__card-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__feature-grid,
  .page-cockfighting__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }
  .page-cockfighting__cta-content {
    padding: 30px;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__promo-card,
  .page-cockfighting__grid-item,
  .page-cockfighting__step-item,
  .page-cockfighting__feature-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.6em;
  }
  .page-cockfighting__btn-large {
    font-size: 1em;
    padding: 12px 24px;
  }
}