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

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

.page-cockfighting__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

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

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

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

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

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  align-items: center;
  padding: var(--header-offset, 120px) 0 80px;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-section.page-cockfighting__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  max-width: 60%;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-cockfighting__hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  max-width: 40%;
}

.page-cockfighting__hero-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%; /* Ensure it takes full width of its container */
  height: auto;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 80px 0;
}

.page-cockfighting__introduction-section.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__introduction-section .page-cockfighting__text-block {
  color: #333333;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 0;
}

.page-cockfighting__features-section.page-cockfighting__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-cockfighting__feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 80px 0;
}

.page-cockfighting__betting-types-section.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__betting-types-section .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__betting-types-section .page-cockfighting__text-block {
  color: #333333;
}

.page-cockfighting__betting-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__list-item {
  background: #f8f8f8;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333;
  line-height: 1.8;
}

.page-cockfighting__list-item strong {
  color: #000000;
}

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

.page-cockfighting__guide-section.page-cockfighting__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-cockfighting__step-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting__step-description a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__step-description a:hover {
  color: #1e87b7;
}

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

.page-cockfighting__promotions-section.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__promotions-section .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__promotions-section .page-cockfighting__text-block {
  color: #333333;
}

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

.page-cockfighting__promo-card {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  color: #000000;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
  color: #555555;
}

/* Safety Section */
.page-cockfighting__safety-section {
  padding: 80px 0;
}

.page-cockfighting__safety-section.page-cockfighting__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__safety-section a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__safety-section a:hover {
  color: #1e87b7;
}

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

.page-cockfighting__faq-section.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #26A9E0;
}

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

.page-cockfighting__faq-item {
  background: #f8f8f8;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #e8e8e8;
}

.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);
  content: '−';
}

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

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

.page-cockfighting__faq-answer p {
  margin: 0;
  color: #333333;
}

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

.page-cockfighting__contact-section.page-cockfighting__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-cockfighting__contact-item {
  margin-bottom: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }

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

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

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

  .page-cockfighting__features-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    flex-direction: column;
    text-align: center;
    padding: var(--header-offset, 120px) 0 40px !important; /* Ensure header offset for mobile */
  }

  .page-cockfighting__hero-content {
    padding-right: 0;
    max-width: 100%;
  }

  .page-cockfighting__hero-title {
    font-size: 2.5em !important;
  }

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

  .page-cockfighting__hero-image-container {
    max-width: 90%;
    margin-top: 30px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px !important;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-cockfighting__text-block,
  .page-cockfighting__card-description,
  .page-cockfighting__list-item,
  .page-cockfighting__step-description,
  .page-cockfighting__promo-card .page-cockfighting__card-description,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer p,
  .page-cockfighting__contact-item {
    font-size: 0.95em !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item {
    padding: 20px !important;
  }

  .page-cockfighting__feature-icon {
    max-width: 120px !important;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__step-title {
    font-size: 1.3em !important;
  }

  .page-cockfighting__promo-image {
    height: 180px !important;
  }

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

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

  .page-cockfighting__faq-answer {
    padding: 0 15px !important;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }
}