.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Ensures 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.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-cockfighting__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-cockfighting a {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Color Contrast Specifics */
.page-cockfighting__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow on mobile */
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-content {
  flex: 1;
  padding: 20px;
  z-index: 1;
  max-width: 50%;
}

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

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

.page-cockfighting__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
  position: relative;
  z-index: 0;
}

.page-cockfighting__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Rules Section */
.page-cockfighting__rules-section {
  padding: 80px 0;
}

.page-cockfighting__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__text-content {
  flex: 1;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
}

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

.page-cockfighting__unordered-list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 20px auto 40px auto;
  padding-left: 20px;
}

.page-cockfighting__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #ffffff;
}

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

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

.page-cockfighting__promo-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-cockfighting__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__promo-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting__promo-title a:hover {
  text-decoration: underline;
}

.page-cockfighting__promo-description {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__cta-center {
  margin-top: 50px;
}

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

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

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

.page-cockfighting__safety-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

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

.page-cockfighting__safety-description {
  font-size: 1em;
  color: #555555;
}

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

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

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

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

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  font-size: 1em; /* Adjust to fit parent font size */
  color: #333333;
}

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

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

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

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

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

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

.page-cockfighting__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    flex-direction: column;
    text-align: center;
  }

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

  .page-cockfighting__hero-image-wrapper {
    padding-right: 0;
    margin-top: 40px;
  }

  .page-cockfighting__hero-title {
    font-size: 3em;
  }

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

  .page-cockfighting__content-grid {
    flex-direction: column;
  }

  .page-cockfighting__image-wrapper {
    margin-top: 30px;
  }
}

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

  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    padding-bottom: 40px;
  }

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

  .page-cockfighting__subtitle {
    font-size: 1.5em;
  }

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

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

  .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: 1em;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__safety-item {
    padding: 20px;
  }

  /* Image responsive rules for mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset; /* Allow smaller images if needed for layout, but still enforce 200px rule globally */
    min-height: unset;
  }

  /* Container specific mobile padding/width */
  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__text-content,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__promo-grid,
  .page-cockfighting__safety-grid,
  .page-cockfighting__cta-content,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-cockfighting__ordered-list,
  .page-cockfighting__unordered-list {
    margin-left: 0;
    padding-left: 20px;
  }

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

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}